feat(connections): persist favorites above the connection list - #754
feat(connections): persist favorites above the connection list#7542160039878-cyber wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Closing as an automated bulk submission that this project cannot absorb. This account opened 35 pull requests here in under 25 hours, a median of 17 minutes apart and four inside the same 13 seconds. That is machine cadence, not a person working through a backlog, and 35 of its 41 pull requests across all of GitHub targeted this one repository. On the earlier ones I did review, the review threads were never answered and review was never re-requested, so nothing closed out. This pull request never reached review, and the account is now blocked at the organization level, so it cannot move forward. If a person wants to contribute here: open one issue, wait for assignment, and send one pull request at a time. |
Description
Each connection now has a star toggle. Starred connections appear in a Favorites group above the remaining connections, with the original order preserved within both groups. The preference survives reload and works for administrator-managed connections without saving a copy of their configuration.
Type of Change
Changes Made
Testing
bun run test:components --pass-with-no-tests -t 'ConnectionsList|ConnectionItem|useStorageSync': 56 matching tests passed, 0 failed.bun run test:unit --pass-with-no-tests -t 'storage facade:': 43 passed, 0 failed.bun run test:api --isolate --pass-with-no-tests -t '/api/storage': 22 passed, 0 failed. The first non-isolated attempt passed those 22 cases but hit six unrelated module-mock import errors; Bun's per-file isolation removes that interference.format,lint,typecheck,knip,readme:check,chart:check,channels:showcase:check,security:check, productionbuild,build:libandattw.Environment: Windows, Node.js 24.18.1, Bun 1.4.2. Both builds ran from a clean checkout of the submitted commit with real local dependencies.
Checklist
Additional Notes
AI-assisted implementation and test execution using Codex. No new dependencies, provider changes or database schema migrations. The new collection contains only connection IDs; connection settings and credentials are not copied or changed by favoriting.