Nexus - Paperclip fork with UI overlay
Find a file
Forgotten b05ac91aa7 fix: re-sync company sidebar order from localStorage on data load
The orderedIds state was initialized at mount time when companies was
still an empty array (React Query hadn't resolved yet). When companies
data arrived, orderedIds remained empty so the sidebar fell back to
API-returned order, ignoring the user's saved drag order.

Add a useEffect that re-derives orderedIds from localStorage whenever
the companies array changes, ensuring the user's custom sort order
persists across data refetches and live update invalidations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:43:35 -06:00
.claude/skills/design-guide UI: Identity component, LiveRunWidget, issue identifiers, and UX improvements 2026-02-19 09:10:07 -06:00
cli feat(cli): add deployment mode prompts, auth bootstrap-ceo command, and doctor check 2026-02-23 14:40:59 -06:00
doc docs: add deployment modes documentation and update plans 2026-02-23 14:41:35 -06:00
docs Add adapter environment testing infrastructure 2026-02-20 12:50:23 -06:00
packages feat(adapter): detect claude-login-required errors and expose errorCode/errorMeta 2026-02-23 14:40:44 -06:00
scripts Add secrets documentation and inline env migration script 2026-02-19 15:44:11 -06:00
server feat(server): integrate Better Auth, access control, and deployment mode startup 2026-02-23 14:40:32 -06:00
skills refactor: organize ActiveAgentsPanel feed by run, fix SKILL.md formatting 2026-02-20 13:47:27 -06:00
ui fix: re-sync company sidebar order from localStorage on data load 2026-02-23 14:43:35 -06:00
.env.example Add project scaffolding and infrastructure config 2026-02-16 13:31:35 -06:00
.gitignore Add tmp/ to gitignore 2026-02-19 09:09:10 -06:00
.npmrc Add project scaffolding and infrastructure config 2026-02-16 13:31:35 -06:00
AGENTS.md Reorganize docs and add implementation spec 2026-02-17 09:07:15 -06:00
docker-compose.yml Add project scaffolding and infrastructure config 2026-02-16 13:31:35 -06:00
Dockerfile Add project scaffolding and infrastructure config 2026-02-16 13:31:35 -06:00
package.json Add secrets documentation and inline env migration script 2026-02-19 15:44:11 -06:00
pnpm-lock.yaml feat: add auth/access foundation - deps, DB schema, shared types, and config 2026-02-23 14:40:16 -06:00
pnpm-workspace.yaml Move adapter implementations into shared workspace packages 2026-02-18 14:23:16 -06:00
tsconfig.json Add project scaffolding and infrastructure config 2026-02-16 13:31:35 -06:00
vitest.config.ts feat(cli): add client commands and home-based local runtime defaults 2026-02-20 07:10:58 -06:00