nexus/ui/src
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
..
adapters fix: move Skip permissions to Advanced section, fix indentation 2026-02-20 12:50:36 -06:00
api feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
components fix: re-sync company sidebar order from localStorage on data load 2026-02-23 14:43:35 -06:00
context feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
hooks feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
lib feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
pages feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
App.tsx feat(ui): add auth pages, company rail, inbox redesign, and page improvements 2026-02-23 14:41:21 -06:00
index.css Fix @-mention tab completion cursor positioning 2026-02-20 16:07:37 -06:00
main.tsx feat: add toast notification system with success toasts 2026-02-20 13:47:13 -06:00