Skip to content

Comments

32323 plugin share structure to transition#394

Merged
deetz99 merged 10 commits intobcgov:mainfrom
deetz99:32323-plugin-share-structure-to-transition
Feb 18, 2026
Merged

32323 plugin share structure to transition#394
deetz99 merged 10 commits intobcgov:mainfrom
deetz99:32323-plugin-share-structure-to-transition

Conversation

@deetz99
Copy link
Collaborator

@deetz99 deetz99 commented Feb 17, 2026

Issue #: /bcgov/entity#32323

Description of changes:

  • add ManageShareStructure to transition application
  • init share classes in transition store init

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@deetz99 deetz99 self-assigned this Feb 17, 2026
@deetz99
Copy link
Collaborator Author

deetz99 commented Feb 17, 2026

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-registry-home-dev--pr-394-76xcxnsq.web.app

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-corps-dev--pr-394-94qlxtlf.web.app

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-people-dev--pr-394-ljyocsk7.web.app

@deetz99
Copy link
Collaborator Author

deetz99 commented Feb 17, 2026

Comment on lines 23 to 29
// Still needed?
// export interface ShareStructure {
// resolutionDates?: string[]
// valid?: boolean
// changed?: boolean
// shareClasses: ShareClass[]
// }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe not, if commented?

Copy link
Collaborator

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

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

Looks great to me sir.
Don't have any major comments to add!

*Edit - i guess the only feedback is maybe to provide brief PR descriptions 😆

@@ -0,0 +1,29 @@
export function formatShareClassesUi(
classes: ShareClass[]
// config = 'table' // add other format config as necessary
Copy link
Collaborator

Choose a reason for hiding this comment

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

For future reference?

Copy link
Collaborator

@kialj876 kialj876 left a comment

Choose a reason for hiding this comment

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

Nice work!

getBusinessAddressesMock(),
'STAFF'
)
await page.route(`**/api/v2/businesses/${identifier}/share-classes`, async (route) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

add this into mockCommonApiCallsForFiling?

await expect(page.getByTestId('share-structure-section')).toBeVisible()
// has articles
await expect(page.getByTestId('articles-section')).toBeVisible()
await assertCorrectShareStructure(page)
Copy link
Collaborator

Choose a reason for hiding this comment

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

add to client test as well? Maybe better if the client / staff were in a for each like the DOD tests

Copy link
Collaborator Author

@deetz99 deetz99 Feb 18, 2026

Choose a reason for hiding this comment

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

oops yeah I forgot to add here

This is in the common assertion helper so it is in the client test already

@deetz99
Copy link
Collaborator Author

deetz99 commented Feb 18, 2026

/gcbrun

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-registry-home-dev--pr-394-76xcxnsq.web.app

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-corps-dev--pr-394-94qlxtlf.web.app

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://business-people-dev--pr-394-ljyocsk7.web.app

@deetz99 deetz99 merged commit 252925d into bcgov:main Feb 18, 2026
37 checks passed
@github-actions github-actions bot mentioned this pull request Feb 18, 2026
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.

4 participants