Skip to content

Business Registry Dashboard: updates for NEW (incorporation application) #24226

Closed

Description

@severinbeauvais

Description

  1. add support for a "magic link" route
  • URL param = NR id
  • URL param = NR security (phone or email)
  1. redirect to login if needed (with return URL)
    • PREREQUISITE: need to fix redirect on login (currently not working)
  2. validate the NR using security
    • modal if rejected
  3. affiliate the NR to the current account
  4. create draft IA and affiliate it to the current account
  5. redirect to IA business dashboard

Use Cases

User doesn't have a BCROS account

  1. After clicking the magic link, the user is redirected to a login page (eg, https://dev.account.bcregistry.gov.bc.ca/login).
  2. Since the user doesn't have a login, they need to click Create Account (in page header).
  3. The user follows the steps to create an account, but we cannot take them back to the magic link URL -- they will need to click the link again in the email or PDF. For this reason, we should tell them to create a BCROS account before clicking the magic link.

User has a BCROS account but isn't currently logged in

  1. After clicking the magic link, the user is redirected to a login page (eg, https://dev.account.bcregistry.gov.bc.ca/login).
  2. The user logs in, after which they are automatically redirected back to the magic link URL.
  3. The magic link automatically:
    • affiliates the NR to the current account
    • creates a draft IA and affiliates it to the current account
    • redirects the user to the IA bootstrap dashboard

User is already logged in

  1. The magic link automatically:
    • affiliates the NR to the current account
    • creates a draft IA and affiliates it to the current account
    • redirects the user to the IA bootstrap dashboard

Old Description

A NEW NR may be added to the user's MBR, so they could incorporate the company in LEAR from there. Or they could go to COLIN to incorporate it. If they try to do both, the second one will fail as the NR will already have been consumed.

This would require the enable-bc-ccc-ulc FF to be enabled in Prod.

If we don't allow the MBR to "incorporate now" in LEAR then there is no way for a user to create a draft IA in LEAR.

Old Description

We need to lead the user to create a numbered or named company (BC, CC, ULC) in either LEAR or COLIN. (BENs are LEAR-only).

We need a FF to enable this change on the Directed Launch date. Before that date, the existing FF should be used to direct company types to LEAR or COLIN. After that date, the old FF can be ignored and the new functionality should be displayed.

Activity

  1. added
    Dependency
    Entities Team
    Names Team
    on Nov 5, 2024
  2. changed the title [-]Copy of Namerequest UI: updates for NEW (incorporation application)[/-] [+]Auth Web MBR: updates for NEW (incorporation application)[/+] on Nov 5, 2024
  3. added
    connect
    and removed
    Names Team
    on Nov 5, 2024
  4. severinbeauvais commented on Nov 20, 2024

    @severinbeauvais
    CollaboratorAuthor

    Blocked while waiting for final UX design.

  5. changed the title [-]Auth Web MBR: updates for NEW (incorporation application)[/-] [+]Business Registry Dashboard: updates for NEW (incorporation application)[/+] on Dec 5, 2024
  6. JazzarKarim commented on Dec 18, 2024

    @JazzarKarim
    Collaborator
  7. jacqueline-williams-549 commented on Dec 22, 2024

    @jacqueline-williams-549

    This looks great! Moving to review.

  8. vishnup0422 commented on Dec 23, 2024

    @vishnup0422
    Collaborator

    Verified in DEV env.

    Case1:

    NR is approved.
    User is already loggedIn.
    NR is affiliated to the loggedIn Account.

    Private Zenhub Video

    Case2:

    User is Not LoggedIn.
    The magic link will redirect to LoginPage and
    NR is affiliated to the account with which the user logsIn.

    Private Zenhub Video

    Case3:

    When NR is created and not approved
    https://business-registry-dev.web.app/incorporateNow?nr=NR+0848672&phone=7787787781
    This throws 404

  9. severinbeauvais commented on Dec 23, 2024

    @severinbeauvais
    CollaboratorAuthor

    Thanks for the testing.

    Note that Case 3 should never happen because users don't receive their Namex email until the NR is approved.

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

Metadata

Metadata

Assignees

Labels

DependencyEntities TeamUX Assuranceconnect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions