Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24657 - Notice of Withdrawal filing #707

Merged
merged 40 commits into from
Dec 16, 2024

Conversation

ArwenQin
Copy link
Collaborator

@ArwenQin ArwenQin commented Dec 9, 2024

Issue #: /bcgov/entity#24657

Description of changes:

  • Create the NOW Filing Page
  • 4 new components: Record to be withdrawn, Court Order and POA, Folio/Ref Number, Staff Payment
    By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the business-filings-ui license (Apache 2.0).

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@ArwenQin ArwenQin self-assigned this Dec 9, 2024
@@ -51,7 +51,7 @@
<strong>Date:</strong> {{ formattedCurrentDate || '[unknown]' }}
</p>
<p class="certify-clause">
{{ message }}
<strong v-if="message">Note:</strong> {{ message }}
</p>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the format per design, so needed to update the CertifyText for all business types

src/resources/SP.ts Outdated Show resolved Hide resolved
src/resources/GP.ts Outdated Show resolved Hide resolved
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
src/routes.ts Outdated Show resolved Hide resolved
@severinbeauvais severinbeauvais changed the title Draft 24657 - Notice of Withdraw Filing WIP 24657 - Notice of Withdrawal Filing Dec 10, 2024
@severinbeauvais severinbeauvais changed the title WIP 24657 - Notice of Withdrawal Filing WIP 24657 - Notice of Withdrawal filing Dec 10, 2024
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@ArwenQin ArwenQin marked this pull request as ready for review December 12, 2024 23:45
@ArwenQin ArwenQin changed the title WIP 24657 - Notice of Withdrawal filing 24657 - Notice of Withdrawal filing Dec 12, 2024
@bcgov bcgov deleted a comment from bcregistry-sre Dec 12, 2024
eason-pan-bc

This comment was marked as resolved.

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@ArwenQin
Copy link
Collaborator Author

ArwenQin commented Dec 13, 2024

In Figma, it is 24px image

Agree. 24 px looks better. I updated the space to py-6

@bcgov bcgov deleted a comment from bcregistry-sre Dec 13, 2024
@ArwenQin
Copy link
Collaborator Author

ArwenQin commented Dec 13, 2024

Although in design, the default font size is 16 px; I think the actual default font size should be 14-px, consistent with other filings
image

Currently I use 14-px, which is the same as other filings

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@bcgov bcgov deleted a comment from bcregistry-sre Dec 13, 2024
Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@bcgov bcgov deleted a comment from sonarqubecloud bot Dec 13, 2024
@bcgov bcgov deleted a comment from bcregistry-sre Dec 13, 2024
@severinbeauvais
Copy link
Collaborator

The page looks very good.

I think there's still too much whitespace around some components (and not enough between others).

I am unable to save the filing and cannot test resume.

Let's concentrate on what it will take to finish this ticket asap, and then we'll create follow-up tickets for more changes or fixes.

Signed-off-by: Qin <Arwen.Qin@gov.bc.ca>
@ArwenQin
Copy link
Collaborator Author

Removed the folio/reference number section.
Updated the space.
Ready to merge.

@ArwenQin
Copy link
Collaborator Author

/gcbrun

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
23.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@bcregistry-sre
Copy link
Collaborator

bcregistry-sre commented Dec 14, 2024

@severinbeauvais
Copy link
Collaborator

This filing is blocked by a missing fee code (see ticket 24959) and some Legal API work. Extra work related to those can be done in a future ticket.

However, in this ticket, I'd like to see an updated JSON object on save.

Also, I'd like to see save and resume working. Since you'd only be saving a draft, Legal API should not be performing schema validation. Right now, as staff, I'm still getting a HTTP 401 (not authorized) when trying to save a draft.

Copy link
Collaborator

@severinbeauvais severinbeauvais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There are some blockers (other tickets) and there's a follow-on UI ticket to finish this.

Copy link
Collaborator

@eason-pan-bc eason-pan-bc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM, like Sev mentioned, we'll need some follow-up tickets to finish it.

@ArwenQin ArwenQin merged commit bc2da58 into bcgov:main Dec 16, 2024
10 of 12 checks passed
@eason-pan-bc
Copy link
Collaborator

eason-pan-bc commented Dec 16, 2024

Just realize one issue in the payload for the filing. the filingId under noticeOfWithdrawal should be int instead of string.

Should be this:

"noticeOfWithdrawal": {
            "filingId": 155118
        }

Not this:

"noticeOfWithdrawal": {
            "filingId": "155118"
        }

Otherwise, you won't able to pass the schema check. https://github.com/bcgov/business-schemas/blob/main/src/registry_schemas/schemas/notice_of_withdrawal.json#L17C1-L18C39

I will repost this to the grooming ticket.

@ArwenQin
Copy link
Collaborator Author

I will update the filingId in the next ticket #24953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants