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

Create UI: implement new Amalgamating Businesses component - Part III #18640

Closed
6 of 12 tasks
Mihai-QuickSilverDev opened this issue Nov 17, 2023 · 9 comments
Closed
6 of 12 tasks
Assignees
Labels

Comments

@Mihai-QuickSilverDev
Copy link
Collaborator

Mihai-QuickSilverDev commented Nov 17, 2023

This ticket is the second third of this new component.

This ticket can be started (but not finished) before #18535 is finished.

To do:

  • implement table - see UI designs for various scenarios
    • consider what a foreign business looks like (see 18722) re: optional data
  • implement review version of table (step 5)
  • implement calls to Legal API to fetch business data done in Create UI: implement new Amalgamating Businesses component - Part I - DO THIS FIRST! #18535
    • except foreign companies
    • verify affiliation (may need to handle 401, or call Auth API instead)
    • fetch mailing address
    • fetch email (contact point)
  • figure out "amalgamatingBusinesses" data structure
  • implement initial validations
    • per item (see constraints and other rules) -- see UI designs for various scenarios
      • if staff, show validation issues but allow NIGS and foreign (ie, show warning icon but component is valid)
      • if staff, allow un-affiliated businesses in table (since staff can fetch their data always) (no need to add to MBR)
    • for entire component
  • implement tooltips - see UI designs for various scenarios
    • if there are multiple validation issues, only show the most important one
  • implement "Remove" action
  • implement "Adopt NOA from this business" action in sub-menu obsolete
    • prepopulate the following from this business (see a NOA for example):
      • business addresses
      • contact info
      • people and roles (including incorporator + directors) (completing party is for THIS filing)
      • share structure
      • incorporation agreement
      • override original amalgamation entity type (if numbered)
      • show validation error if doesn't match amalg entity type (if NR)
  • implement remaining validations (per rules document below) moved to Create UI: Amalgamating Businesses component - Part 3b (remaining validations) #18971
  • verify table is validated when a draft is resumed (ie, when this component is created/mounted) done by Karim
  • verify table is validated when a new NR is used (ie, verify compatible entity types) future; cannot add NR yet
  • ensure validations are up to date when user clicks File and Pay no need -- table validations are reactive

Notes:

Consolidated rules: https://docs.google.com/document/d/1Dt2jzPA2SLtQO7Ns2aPCzVchGdv4YrYB/edit

@severinbeauvais
Copy link
Collaborator

severinbeauvais commented Dec 11, 2023

@yuisotozaki Only a few validations are currently implemented so far but could you please have a look at the UI and UX now? This is now in Dev.

@severinbeauvais
Copy link
Collaborator

This ticket has been implemented and deployed to Dev.

Note the following incomplete items:

@yuisotozaki
Copy link

@severinbeauvais Are the "initial validations" implemented in this ticket? The affiliation check appears in the description above, but also covered in the advanced validation document linked in 18971.

@severinbeauvais
Copy link
Collaborator

Yes, some validations are in place, but maybe don't focus on those and instead leave it for the next ticket ;)

@yuisotozaki
Copy link

Observations:

  • Hover on Ready status checkbox does not trigger a tooltip.
  • Cannot test foreign company in the list yet (will do when the UI is up)

@severinbeauvais
Copy link
Collaborator

Is a tooltip required on the Ready status check mark? Could you point me to the UI design for its text?

@yuisotozaki
Copy link

The business list component off screen to the right has tooltip on Ready status row.
https://preview.uxpin.com/7f4cfe5fe4b0ba15a83d518177efe82a08e99167#/pages/164828179

@severinbeauvais
Copy link
Collaborator

Thanks. Can I move this requirement to #18971 so that we can move THIS ticket along?

@yuisotozaki
Copy link

Let's do it!
Ready for QA.

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

No branches or pull requests

4 participants