Skip to content

Conversation

@snipe
Copy link
Member

@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.

@what-the-diff
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]>
@snipe snipe closed this Jul 16, 2025
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.

2 participants