Skip to content

Comments

feat: Implement Jira ticket listing with drag-and-drop sorting and pi…#13

Merged
devdorn merged 1 commit intomainfrom
12-order-of-tickets-and-ability-to-reorder-tickets-via-drag-and-drop
Jan 20, 2026
Merged

feat: Implement Jira ticket listing with drag-and-drop sorting and pi…#13
devdorn merged 1 commit intomainfrom
12-order-of-tickets-and-ability-to-reorder-tickets-via-drag-and-drop

Conversation

@devdorn
Copy link
Owner

@devdorn devdorn commented Jan 20, 2026

This pull request introduces drag-and-drop sorting for both pinned and in-progress tickets in the ticket list UI using the @dnd-kit library. 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-kit drag-and-drop library by adding dependencies in package.json and implementing SortableTicketItem and related logic in TicketList.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:

  • Pinned tickets are now sorted to match the order in settings.pinnedTicketKeys, and can be reordered via drag-and-drop, with changes saved to settings. [1] [2]

Ticket status and sorting enhancements:

  • Extended the JiraTicket.status type to include a categoryKey field, enabling more precise sorting and handling of ticket status categories. [1] [2]…nning functionality.

@devdorn devdorn self-assigned this Jan 20, 2026
@devdorn devdorn linked an issue Jan 20, 2026 that may be closed by this pull request
@devdorn devdorn merged commit 08d9e33 into main Jan 20, 2026
2 checks passed
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.

Order of tickets and ability to reorder tickets via drag and drop

1 participant