Skip to content

Create UI + Edit UI - Updates to par value and shares #32772

Closed

Description

@mstanton1

To do:

  • update Create UI
  • update Edit UI

Requirements:

  • do not display par values or number of share in scientific notation (display as full precision)
  • change input to string to prevent auto-scientific notation due to number type
    • update input type
    • update validation rules
    • no change to filing JSON
  • update unit tests
  • fix table layout

Sample IA with many share value variations:
https://dev.create.business.bcregistry.gov.bc.ca/incorporation-share-structure?id=TC2Qh2MLFt

Sample alteration with many share value variations:
https://dev.edit.business.bcregistry.gov.bc.ca/BC0888490/alteration?businessid=BC0888490

Activity

  1. added
    Entities Team
    on Mar 10, 2026
  2. TVWerdal commented on Mar 10, 2026

    @TVWerdal
    Collaborator

    Is this a duplicate of 31895 ?

  3. changed the title [-]UI - Updates to par value and shares[/-] [+]Create UI + Edit UI - Updates to par value and shares[/+] on Mar 10, 2026
  4. mstanton1 commented on Mar 10, 2026

    @mstanton1
    CollaboratorAuthor

    Good catch. This came out of UXA and I didn't realize it was logged already. Let's keep this ticket because it encompasses all the UXA feedback.

    @severinbeauvais the other ticket calls out the business summary. Do you know if changes are needed there? If so we can edit that ticket to be the business summary only. If there are no additional summary changes we can close that as a duplicate.

  5. severinbeauvais commented on Mar 10, 2026

    @severinbeauvais
    Collaborator

    Is this a duplicate of 31895 ?

    THIS ticket is continuation of #31894 and #32530, which focused on the display of par values.

    #31895 focuses on the entry of par values.

    I think we can use THIS ticket to continue those other 2 and also implement 31895 -- let's close that one.

  6. severinbeauvais commented on Mar 10, 2026

    @severinbeauvais
    Collaborator

    I changed this ticket's parent (epic) since the previous value was for currencies and this is actually for the values.

  7. severinbeauvais commented on Mar 10, 2026

    @severinbeauvais
    Collaborator

    @severinbeauvais the other ticket calls out the business summary. Do you know if changes are needed there? If so we can edit that ticket to be the business summary only. If there are no additional summary changes we can close that as a duplicate.

    I'll respond to this in #32532.

  8. severinbeauvais commented on Mar 24, 2026

    @severinbeauvais
    Collaborator

    I bumped up the estimate because this is taking longer than expected. That's because JavaScript doesn't innately provide the functionality to support our requirements, so I have to piece some of it together manually.

  9. severinbeauvais commented on Mar 30, 2026

    @severinbeauvais
    Collaborator

    Test Notes

    • The share structure table layout was updated to force long values to wrap.
      • Table may be on edit and review page.
      • Table may be shown on different filings (eg, IA, Alteration, Correction).
    • Please verify number input and edit.
    • Maximum number of shares is always a whole number (no decimal).
    • Canadian, US and Australian par values always have at least 2 decimal places, and a "$" currency symbol.
    • Canadian, US and Australian par values use grouping (commas) for values greater than one (eg, 123,456,789).
    • Other currencies have no minimal decimal places.
    • Maximum number of shares supports up to 20 digits (but only 16 significant digits).
    • Par value supports up to 38 digits (but only 16 significant digits).
    • Never show scientific notation (eg, 1E6).

    Sample "extreme" par values:

    • 0.000000000000000000000000000000000001
    • 10000000000000000000000000000000000000
    • 1234567890123456
    • 0.1234567890123456
  10. forgeuxGH5 commented on Apr 7, 2026

    @forgeuxGH5
    Collaborator

    The Add Share Class form shouldn't be in the "validation triggered" state when it is first opened:
    image.png
    When it's first opened none of the fields should not show any validation states. The fields should maintain keystroke validation though.

  11. self-assigned this
    on Apr 22, 2026
  12. gunanagar commented on Apr 22, 2026

    @gunanagar
    Collaborator

    tested, it looks good.

    Screenshot 2026-04-22 at 5.18.56 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions