Skip to content

feat: add drag-and-drop sorting and configurable menu ordering#3

Open
tohasanali wants to merge 1 commit into
phpcollective:masterfrom
tohasanali:feature/ordering-menu
Open

feat: add drag-and-drop sorting and configurable menu ordering#3
tohasanali wants to merge 1 commit into
phpcollective:masterfrom
tohasanali:feature/ordering-menu

Conversation

@tohasanali

Copy link
Copy Markdown

Summary

This pull request introduces support for drag-and-drop sorting of menu trees in the role assignment UI, along with logic for configurable ordering of menu items.

What Changed

  • Implemented sorting logic to persist and apply menu order
  • Enabled drag-and-drop functionality for nested menu items in role assignment
  • Updated UI and backend integration to support the new sorting behavior

Why

Previously, menu items did not offer user-friendly ordering or configurable positions. This change enables administrators to reorder menus visually and persist that order, improving usability for complex menu hierarchies.

How to Test

  1. Navigate to the role menu assignment interface
  2. Drag items within and across menu trees
  3. Confirm that menu item positions are stored and reflected correctly
  4. Ensure existing functionality is unaffected

feat(sort): Add position field and sorting for menu items with configurable order

feat(sort) Implement drag-and-drop sorting for menu trees in role assignment
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 this pull request may close these issues.

1 participant