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

WIP: Added drag+drop re-ordering for status labels #15670

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

snipe
Copy link
Owner

@snipe snipe commented Oct 15, 2024

This will introduce drag+drop re-ordering for status labels to allow users to customize the order they show up in in the side navigation.

Copy link

what-the-diff bot commented Oct 15, 2024

PR Summary

  • Display Order Field Addition
    The addition of a "display_order" field in the StatusLabelPresenter now allows for the ordered display of items in the data table layout.

  • Database Modification
    A migration has been created to add the "display_order" column in the status_labels table. This addition further enhances data organization by providing a default order value.

  • New Dependencies
    The package.json and package-lock.json files have been updated to include a new dependency, "tablednd". This tool brings exciting drag-and-drop capabilities to our platform.

  • Styling Updates
    Changes to the bootstrap-table.css file now include stylings for reorderable rows. This gives users a visual cue when rearranging the order of items.

  • GridLayout Modification
    Updates to the mix-manifest.json file reflect the changes in the CSS and JS files, mainly due to the addition of the new drag-and-drop table functionality.

  • View Alterations
    Updates to the Blade views incorporate new data attributes which enable item reordering in the status labels index table.

  • Javascript Functionality
    JavaScript has been enhanced to handle row reordering events in the bootstrap-table partial. It vastly improves users' ability to manipulate row orders with ease.

  • Support Files Addition
    Extra files for CSS and Javascript have been included in webpack.mix.js to ensure robust support of the newly added drag-and-drop functionality.

Signed-off-by: snipe <[email protected]>
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