Skip to content

Officers v4 design updates #28952

Closed
Closed

Description

@deetz99

Update officers UI to match design changes in Figma V4

Activity

  1. added
    connect
    on Jun 11, 2025
  2. added
    UI
    on Jun 11, 2025
  3. jacqueline-williams-549 commented on Jul 4, 2025

    @jacqueline-williams-549

    This is looking incredible, thank you @deetz99
    Just a couple of small things

    1. Can the top and bottom padding for this component change to be 32px

    Screenshot 2025-07-04 at 10.53.50 AM.png

    1. On the fee summary, font size and left/right padding for the row should be the same for 'Officer Change' and "Total Fees" (it's just a little bit off I think)
      Font size: 0.875 rem
      Left/right padding on row: 12 px

    Screenshot 2025-07-04 at 12.12.28 PM.png

    1. Remove the text that reads 'Delivery Instructions' and make the delivery instructions italicized (this wasn't included in the designs, but would like to align to what we show in other filings if possible)

    Current State
    Screenshot 2025-07-04 at 1.05.01 PM.png

    Desired State
    Screenshot 2025-07-04 at 1.13.20 PM.png

    1. Change the color of the texts and icons in the drop down to be the primary blue color. Also when the drop down is selected, the icon turns upside down and has a blue background (see below)

    Current State
    Screenshot 2025-07-04 at 1.18.43 PM.png

    Desired State
    Screenshot 2025-07-04 at 1.20.11 PM.png

    1. Can you change the order of the values when the roles display in the table so they follow what shows while in edit mode

    Currrent State
    Screenshot 2025-07-04 at 1.33.01 PM.png

    Desired Order
    Chief Executive Officer
    Chief Financial Officer
    President
    Vice President
    Chair
    Treasurer
    Secretary
    Assistant Secretary
    Other Office(s)

    1. This is kind of an edge case probably, but while in edit mode I notice that if I enter a preffered name in the input field and then if I deselect the preferred name checkbox and hit done, then the preferred name still displays (see below).

    I think that if they deselect the preferred name checkbox we should not display the preferred name or the 'name changed' badge.

    Current State
    Screenshot 2025-07-04 at 1.54.34 PM.png

    Thanks so much, and let me know if there any questions
    Testing Link: https://dev.people.business.bcregistry.gov.bc.ca/en-CA/officer-change/BC1239315

  4. jacqueline-williams-549 commented on Jul 15, 2025

    @jacqueline-williams-549

    One more thing is that I notice that the input fields are not showing the empty state - when the input fields are in empty state the label sits in the middle of the field with larger text.

    Current State Screenshot:
    Screenshot 2025-07-15 at 1.41.32 PM.png

  5. deetz99 commented on Jul 21, 2025

    @deetz99
    CollaboratorAuthor

    @jacqueline-williams-549

    That last point about the floating labels I'm not able to reproduce. Are there specific steps you're doing for that issue to happen or is it on all fields?

    Is it happening as soon as you open the form? Or only when you interact with them? Clicking then exiting or typing something and then deleting it?

  6. jacqueline-williams-549 commented on Jul 22, 2025

    @jacqueline-williams-549

    @deetz99

    I tested it in Chrome and Brave and it looks like it's not happening in either of those browsers. It only happens when I use Safari and it just shows by default on all input fields, I clicked add officer or change officer. Since it's browser specific there might not be a good solution for it?

    Screenshot 2025-07-22 at 9.31.38 AM.png

  7. jacqueline-williams-549 commented on Jul 22, 2025

    @jacqueline-williams-549

    I noticed one small thing about the primary buttons - if it's an easy fix it would be great if they could be set to 100% (right now it looks like it is set to 50% opacity making the border lighter in color)

    --tw-ring-color
    color-mix(in oklab,var(--ui-primary)50%,transparent)

    This is the line I was looking at when inspecting the element - it seems to change the button border to look correct when I change the percentage to 100%

    Screenshot 2025-07-22 at 10.14.32 AM.png

  8. deetz99 commented on Jul 23, 2025

    @deetz99
    CollaboratorAuthor

    @jacqueline-williams-549

    Okay so I have all these done except for a couple caveats.

    1. The edit badges: This isn't only name it's if there's any change, I need to update it to compare against the original officer state that was fetched from the API, instead of the previous edit state. This will take a bit more work so I've created a separate ticket for it here.
    2. The floating labels on Safari: So this is fixed and the labels are in the correct default position but on Safari the label 'jumps' slightly when the animation happens. I will spend some more time on this as Kial and I are working on the new common layers.

    v0.0.22

  9. jacqueline-williams-549 commented on Jul 24, 2025

    @jacqueline-williams-549

    Thanks for creating that ticet. The fixes look great, I am moving to ready for QA.
    The floating labels on safari are also looking great - tested on July 24, 2025 on Macbook (M3 Pro)

  10. moraesfm commented on Aug 11, 2025

    @moraesfm

    @jacqueline-williams-549 @deetz99

    • Topics 1-6 verified and working OK
    • The behavior with Label in Chrome (tested in v136) is still being displayed large in the middle if empty. Video below:
      Private Zenhub Video

    Please advise

    • I wasn't able to find --tw-ring-color
      color-mix(in oklab,var(--ui-primary)50%,transparent) in Dev Tools Elements/Styles
      Please let me know if you are comfortable with the current result and I will consider OK, or if you could please give me more details on how to find that and I will be happy to test it on my end as well
  11. deetz99 commented on Aug 11, 2025

    @deetz99
    CollaboratorAuthor

    The behavior with Label in Chrome (tested in v136) is still being displayed large in the middle if empty. Video below:

    This is correct behaviour

    I wasn't able to find --tw-ring-color
    color-mix(in oklab,var(--ui-primary)50%,transparent)

    You won't be able to find this as it was fixed and doesn't exist anymore.

    @jacqueline-williams-549

    You all good with marking these as OK?

  12. jacqueline-williams-549 commented on Aug 12, 2025

    @jacqueline-williams-549

    @deetz99
    Yes this looks good to me

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

Metadata

Metadata

Assignees

Labels

OfficersUIconnect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions