Modify and use the centralized component for the FSA download modal #191

Closed
opened 2026-09-01 12:43:41 +00:00 by aaperis · 0 comments
aaperis commented 2026-09-01 12:43:41 +00:00 (Migrated from github.com)

Please describe the feature

As a dev, I want to reuse as much code components as possible so that the codebase is not cluttered with code repetitions.

Detailed description

This is a follow-up issue to #149 after this comment.

The idea is to add a boolean prop dismissable to the ModalDialog component that we have so that we can reuse it for the non-dismissible FSA download modal.

  • Refactor code to use the central ModalDialog component for the FSA download modal logic
  • Add a boolean flag to that modal so that we can hide the "Close"-button at will.
  • Ensure that all functionality stays the same after refactoring.
## Please describe the feature As a dev, I want to reuse as much code components as possible so that the codebase is not cluttered with code repetitions. ## Detailed description This is a follow-up issue to #149 after [this](https://github.com/NBISweden/sda-download-ui/pull/173#discussion_r3895321105) comment. The idea is to add a boolean prop dismissable to the ModalDialog component that we have so that we can reuse it for the non-dismissible FSA download modal. - [ ] Refactor code to use the central ModalDialog component for the FSA download modal logic - [ ] Add a boolean flag to that modal so that we can hide the "Close"-button at will. - [ ] Ensure that all functionality stays the same after refactoring.
Sign in to join this conversation.
No description provided.