Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andrabrinzaniuc opened this issue Jan 8, 2025 · 1 comment · May be fixed by #489
Open

Comments

@andrabrinzaniuc
Copy link

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=9977-16388&t=9T1KEyBAZLx5Q62u-4)

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

@alexPopaCode4
Copy link
Contributor

@andrabrinzaniuc in filament, reorder mode save new order on drag and drop.
"Renunță" and "Salvează modificările" actions aren't displayed, we have disable reorder mode action witch is in same position with enable action from figma and i need a label for this.

@alexPopaCode4 alexPopaCode4 linked a pull request Jan 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants