Gemeente-DenHaag / mijndenhaag-pwa

Progressive Web App based on React and Gatsby for the MijnDenHaag personal environment.
Other
1 stars 1 forks source link

As a user, I want to be able to see the documents belonging to a "zaak" #40

Open ogjtech opened 3 years ago

ogjtech commented 3 years ago

As a user, I want to be able to see the documents belonging to a "zaak", so that I know which documents are uploaded to the "zaak".

Scope

Data is fetched only from the OpenZaak API through the front-end gateway. Upon load, only the first four documents are shown in the component. A "View more" button will show all the documents belonging to the "zaak". Each document has a clickable "eye"-icon next to it, which allows the user to view the document in the browser. The download button downloads the document from the Document API.

Dependencies

In order for this story to be implemented, some other stories from other projects must be implemented.

Supporting media

Design: image

Acceptance criteria

ogjtech commented 3 years ago

On load, only the first four documents are shown.

@petervanmanen @vwmvanbeek how should these documents be filtered? Based on date, or name, or something entirely different?

vwmvanbeek commented 3 years ago

On load, only the first four documents are shown.

@petervanmanen @vwmvanbeek how should these documents be filtered? Based on date, or name, or something entirely different?

@ogjtech they can be sorted by date, most recent on top.