Close method-card Save like first add, keep key-resource chips on the approach they were chosen for, and leave expanded See-all stacks in catalog order.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-25 09:21:07 -06:00
co-authored by Cursor
parent b1ca1a748e
commit 963fa03c5c
12 changed files with 437 additions and 167 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* Canonical ordering for method-card facet `selected*Ids` when the user adds a card:
* most recently confirmed id is index 0 so stack / compact layouts stay consistent
* with {@link orderRankedMethodsWithPinnedSelection}.
* most recently confirmed id is index 0 so compact layouts stay consistent
* with {@link mergeCompactCardIdsWithPinnedSelected}.
*/
export function moveFacetSelectionIdToFront(
prev: readonly string[],