Skip to content

Show error when unable to get documents to view #712

Closed
@gsproston-scottlogic

Description

@gsproston-scottlogic

Bug report

Description

We should show an error on the view documents modal if we fail to get any documents.

Reproduction steps

Steps to reproduce the behaviour:

  1. Don't run the backend
  2. Click on the 'view documents' button in the left panel
  3. No error message

Expected behaviour

A clear error message that documents can't be retrieved.

Screenshots

Currently:

image

Suggested solution:

view documents error

Software (please complete the following information):

  • Browser: Edge

Acceptance criteria

GIVEN the backend isn't running
WHEN the user opens the view documents modal
THEN an error is shown on the modal

Metadata

Metadata

Labels

bugSomething isn't workingfrontendRequires work on the frontendtriageNew tickets to be checked by the maintainers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions