Skip to content

BRD: Magic link not giving valid message in case the user clicks it twice. & NR is already consumed #25284

Closed

Description

@riyazuddinsyed

Describe the bug in the current situation
When the user in case clicks on the Magic link where the NR is consumed then the UI throws an error saying "The link appears to be entered incorrectly. Please go back and click the full link." which is not a valid error neither informative.

Steps to reproduce the behavior:

  1. Go to 'https://dev.names.bcregistry.gov.bc.ca/'
  2. Create an NR
  3. Affiliate it to an account using the Magic link and Register a business using the NR
  4. Now in case if the user clicks on the ,Magic link again it throws a generic error(This is just one case when the message comes up)

Screenshots/ Visual Reference/ Source
Screen Shot 2025-01-14 at 3.22.44 PM.png

Activity

  1. added
    bug
    Entities Team
    on Jan 14, 2025
  2. changed the title [-]Magic link not giving valid message in case the user clicks it twice.[/-] [+]BRD: Magic link not giving valid message in case the user clicks it twice.[/+] on Jan 15, 2025
  3. severinbeauvais commented on Jan 16, 2025

    @severinbeauvais
    Collaborator

    This is a situation where the magic link was clicked once and a business was incorporated. Then, the magic link was clicked again -- but the NR is already consumed.

    I agree that it would be nice to have some specific error messages, such as:

    • "cannot use this NR because it is already consumed"
    • "cannot use this NR because it isn't approved yet"

    @jacqueline-williams-549 Thoughts? Designs?

  4. changed the title [-]BRD: Magic link not giving valid message in case the user clicks it twice.[/-] [+][Replicate] BRD: Magic link not giving valid message in case the user clicks it twice.[/+] on Jan 16, 2025
  5. changed the title [-][Replicate] BRD: Magic link not giving valid message in case the user clicks it twice.[/-] [+]BRD: Magic link not giving valid message in case the user clicks it twice.[/+] on Jan 16, 2025
  6. vikas-gov commented on Jan 17, 2025

    @vikas-gov
    Collaborator

    Create a generic message with possible reasons as :
    "cannot use this NR because it is already consumed"
    "cannot use this NR because it isn't approved yet"

  7. changed the title [-]BRD: Magic link not giving valid message in case the user clicks it twice.[/-] [+]BRD: Magic link not giving valid message in case the user clicks it twice. & NR is already consumed[/+] on Jan 17, 2025
  8. severinbeauvais commented on Jan 17, 2025

    @severinbeauvais
    Collaborator

    The generic message would also be displayed if there's a problem with the magic link (ie, the current dialog).

  9. self-assigned this
    on Jan 17, 2025
  10. jacqueline-williams-549 commented on Jan 18, 2025

    @jacqueline-williams-549

    This looks great!

    Whenever you get a chance, can you remove X button and make the Close button bigger (about 100 px wide and 44 px in height).

    I see a comment from Karim that he will be merging this for now and be fixing these issues mentioned above ^ next week, so I will move to QA

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

Metadata

Metadata

Assignees

Labels

Entities TeamPriority2UX Assurancebug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions