Conversation
…nning functionality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces drag-and-drop sorting for both pinned and in-progress tickets in the ticket list UI using the
@dnd-kitlibrary. It also adds persistent custom ordering for tickets and improves how new tickets are merged and sorted. The changes enhance user experience by allowing ticket reordering and maintaining order across sessions, while ensuring new "In Progress" tickets are visible at the top. Additionally, the ticket status type is extended for better sorting logic.Drag-and-drop sorting and persistent order:
Integrated the
@dnd-kitdrag-and-drop library by adding dependencies inpackage.jsonand implementingSortableTicketItemand related logic inTicketList.tsx, enabling users to reorder both pinned and in-progress tickets via drag-and-drop. [1] [2] [3] [4] [5] [6] [7] [8] [9]Added logic to persist custom ticket order in local storage and restore it on load, including merging new tickets and ensuring new "In Progress" tickets appear at the top of the list for visibility.
Pinned tickets improvements:
settings.pinnedTicketKeys, and can be reordered via drag-and-drop, with changes saved to settings. [1] [2]Ticket status and sorting enhancements:
JiraTicket.statustype to include acategoryKeyfield, enabling more precise sorting and handling of ticket status categories. [1] [2]…nning functionality.