Files
TX/artifacts/tx-os
Replit Agent 36a723d47e Task #745: allow collapsing sidebar groups even when a child tab is active
- protocol.tsx: `open` for roomsGroup/gifts group now follows only the
  user-controlled state (roomsGroupOpen/giftsGroupOpen) instead of
  `...Open || groupActive`, so the chevron actually collapses the group
  while you're inside one of its tabs (e.g. «الإعدادات»).
- Added a useEffect on `tab` that auto-opens the containing group when
  the active tab becomes one of its children (initial load, deep link,
  or tab switch), so the active item is never hidden unintentionally.
- Group header keeps its text-sky-600 highlight when collapsed with an
  active child (existing styling, unchanged).
- tx-os tsc clean; architect review passed.
2026-07-09 10:19:31 +00:00
..