Skip to content

The open-source app everyone uses to manage agents at work

fix(ui): default issue sort to newest-first for new companies

Forgotten2980f92bbbd7
diff --git a/ui/src/components/IssuesList.tsx b/ui/src/components/IssuesList.tsx
index 97c28899d8..0e390553ad 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({
<Plus className="h-4 w-4 sm:mr-1" />
<span className="hidden sm:inline">New Issue</span>
</Button>
- <div className="relative w-36 sm:w-52 md:w-64">
+ <div className="relative w-48 sm:w-64 md:w-80">
<Search className="pointer-events-none absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" />
<Input
value={issueSearch}
onChange={(e) => 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"
/>
</div>