Skip to content

Create UI: The error message "Duplicate File" in the "Continuation in Application" section remains visible until the initially uploaded PDF is removed. #23734

Open

Description

@riyazuddinsyed

Describe the bug in current situation
When the user uploads a PDF file and, by mistake, uploads it for the second time, the "Duplicate File" error text displays, which prevents the user from uploading the duplicate file but still displays "Duplicate File" error text when there is no Duplicate File.

Steps to reproduce the behavior:

  1. Go to 'https://test.create.business.bcregistry.gov.bc.ca/'
  2. Start a Continuation In Filing.
  3. Upload a PDF and try uploading a Duplicate of the same file
  4. This action is not allowed from the UI but the error text of Duplicate Fille still retains when actually there is none

Private Zenhub Video

Activity

  1. added
    bug
    Entities Team
    on Oct 10, 2024
  2. OlgaPotiagalova commented on Oct 10, 2024

    @OlgaPotiagalova
    Collaborator

    Fix after the MVP

  3. severinbeauvais commented on Oct 10, 2024

    @severinbeauvais
    Collaborator

    Possible solution: auto-hide the file upload error after, say, 5 seconds.

    (Could also use a Snackbar component to show the errors. This component supports auto-hiding after a specified delay.)

  4. changed the title [-]The error message "Duplicate File" in the "Continuation in Application" section remains visible until the initially uploaded PDF is removed.[/-] [+]Create UI: The error message "Duplicate File" in the "Continuation in Application" section remains visible until the initially uploaded PDF is removed.[/+] on Oct 10, 2024
  5. severinbeauvais commented on Nov 13, 2024

    @severinbeauvais
    Collaborator

    Needs design.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities TeamPriority3bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions