From 3a4cdf78d82c307d5f382c27fd1625992f325a4e Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Thu, 18 Dec 2025 08:34:48 -0700 Subject: [PATCH] fix: show starred projects with most-recently-added first --- src/components/EntityGrid.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/EntityGrid.vue b/src/components/EntityGrid.vue index 314ce298..6f3163c2 100644 --- a/src/components/EntityGrid.vue +++ b/src/components/EntityGrid.vue @@ -220,7 +220,7 @@ import { TIMEOUTS } from "@/utils/notify"; const INITIAL_BATCH_SIZE = 20; const INCREMENT_SIZE = 20; const RECENT_CONTACTS_COUNT = 3; -const RECENT_BOOKMARKED_PROJECTS_COUNT = 3; +const RECENT_BOOKMARKED_PROJECTS_COUNT = 10; /** * EntityGrid - Unified grid layout for displaying people or projects @@ -476,10 +476,11 @@ export default class EntityGrid extends Vue { -RECENT_BOOKMARKED_PROJECTS_COUNT, ); - // Find projects matching those IDs, preserving the order + // Find projects matching those IDs, sorting with newest first const recentProjects = recentStarredIds .map((id) => projects.find((p) => p.handleId === id)) - .filter((p): p is PlanData => p !== undefined); + .filter((p): p is PlanData => p !== undefined) + .reverse(); return recentProjects; }