From 2980f92bbbd7a67c46e958c8f4074635cb940211 Mon Sep 17 00:00:00 2001 From: Forgotten Date: Fri, 27 Feb 2026 15:55:52 -0600 Subject: [PATCH] fix(ui): default issue sort to newest-first for new companies Changes the default sort from "status ascending" to "created descending" so newest issues appear at the top. Also sets default groupBy to "none" since date-based sorting works best as a flat list. Co-Authored-By: Claude Opus 4.6 --- ui/src/components/IssuesList.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/components/IssuesList.tsx b/ui/src/components/IssuesList.tsx index 97c28899..0e390553 100644 --- a/ui/src/components/IssuesList.tsx +++ b/ui/src/components/IssuesList.tsx @@ -49,9 +49,9 @@ const defaultViewState: IssueViewState = { priorities: [], assignees: [], labels: [], - sortField: "status", - sortDir: "asc", - groupBy: "status", + sortField: "created", + sortDir: "desc", + groupBy: "none", viewMode: "list", collapsedGroups: [], }; @@ -272,13 +272,13 @@ export function IssuesList({ New Issue -
+
setIssueSearch(e.target.value)} placeholder="Search issues..." - className="h-8 pl-7 text-xs sm:text-sm" + className="pl-7 text-xs sm:text-sm" aria-label="Search issues" />