Skip to content

Bulk Export of Services #861

@matKlju

Description

@matKlju

AS A Service Administrator
I WANT the ability to export multiple services at once and also export individual services directly
SO THAT I can efficiently download service definitions for backup, migration, or external processing.

Introduce two export mechanisms on the Services Overview page:

  1. Bulk Export — a new top-right button “Export many / Ekspordi mitu” that opens a selection modal.
  2. Single Export — an “Export / Ekspordi” button added at the end of each service row, exporting only that service.

Detailed Requirements

1. Bulk Export Button (Top-Right of Overview Page)

  • Positioned next to the Create New Service button.
  • Label: Export many / Ekspordi mitu.
  • On click, opens a modal window.

Modal: “Export many / Ekspordi mitu”

  • Displays a list of all available services.
  • Each service row is selectable:
    • Clicking a service toggles its selection.
    • Selected services appear with a darker background.
  • At the bottom of the modal:
    • Export / Ekspordi (primary button)
    • Cancel / Loobu (secondary button)

Behavior

  • If no services are selected, the Export button is greyed out / inactive.
  • When Export is pressed:
    • A system dialog opens asking for download destination.
    • A bulk download of all selected services begins.
  • When Cancel is pressed:
    • Modal closes.
    • No changes or downloads occur.

2. Export Button Per Service (Row-Level)

  • Added to each service row on the Overview page.
  • Label: Export / Ekspordi.
  • On click:
    • Opens the OS download destination dialog.
    • Downloads the corresponding single service file.

Acceptance Criteria

  • A new Export many / Ekspordi mitu button is added next to the Create button.
  • Clicking it opens a modal titled Export many / Ekspordi mitu.
  • The modal lists all services with selectable rows.
  • Selected rows visibly change style (darker background).
  • Export button is disabled until at least one service is selected.
  • Cancel button closes the modal with no action.
  • Exporting triggers OS download dialog → selected services are downloaded.
  • Each service row includes a dedicated Export / Ekspordi button.
  • Row-level export downloads exactly one service.

Metadata

Metadata

Assignees

Labels

Projects

Status

Released

Relationships

None yet

Development

No branches or pull requests

Issue actions