Skip to content

[Superadmin / Nomenclatoare] Implement row order functionality for tables in view mode #479

@andrabrinzaniuc

Description

@andrabrinzaniuc

Implement reorder functionality for tables in view mode (section Nomenclatoare):
A) Servicii
B) Beneficii
C) Rezultate
D) Specialisti

Desired behaviour:

  1. A secondary button "Ordonează listă" is displayed in table header
  2. When user clicks on button, table is displayed in reorder mode, with the following capabilities:
  • the full list is displayed without pagination (view=all)
  • drag icon displayed on each table row
  • user can reorder table rows by drag and drop in the list
  • action buttons in table rows are not available (link buttons such as Modifică are not displayed on table rows or they are disabled/inactive)
  • filter functionality is not available (icon button not displayed or disabled/inactive)
  • sticky footer with buttons "Renunță" and "Salvează modificările" is displayed
  • banner is displayed on table header with info message "Trageți și plasați elementele din listă în ordinea dorită"
  1. IF user clicks on Renunță, changes are not saved, table view reverts to initial state
  2. IF user clicks on Salvează modificările, changes are saved, table view reverts to initial state

Figma screens [here](https://www.figma.com/design/gpOGCkb9B6pTfe1DvleVMm/Sunrise?node-id=11045-32550&t=MoZ3aP7LfEuDqwzY-4)

Screenshots for illustration purposes but please refer to Figma link above for full specs for each of the 4 sections
Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions