Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -23,29 +23,29 @@ Space route → Lobby.tsx (SpaceCardLobby)
|
||||
|
||||
## Key files
|
||||
|
||||
| Path | Role |
|
||||
|------|------|
|
||||
| `cinny/src/app/features/lobby/Lobby.tsx` | Main lobby view |
|
||||
| `cinny/src/app/features/lobby/LobbyHeader.tsx` | Space header |
|
||||
| `cinny/src/app/features/lobby/LobbyHero.tsx` | Hero banner area |
|
||||
| `cinny/src/app/features/lobby/SpaceHierarchy.tsx` | Room tree/cards |
|
||||
| `cinny/src/app/features/lobby/DnD.tsx` | Drag and drop |
|
||||
| `cinny/src/app/features/lobby/RoomItem.tsx` | Room card |
|
||||
| `cinny/src/app/state/closedLobbyCategories.ts` | Collapsed categories |
|
||||
| `cinny/src/app/state/hooks/closedLobbyCategories.ts` | Jotai hook |
|
||||
| `cinny/src/app/pages/pathUtils.ts` | `getSpaceLobbyPath`, forum routing |
|
||||
| `cinny/src/app/utils/room.ts` | `shouldShowForumLobby`, `getStateEvent` |
|
||||
| `cinny/src/types/matrix/room.ts` | `RoomType.Forum`, `PaarrotRoomKind` |
|
||||
| Path | Role |
|
||||
| ---------------------------------------------------- | --------------------------------------- |
|
||||
| `cinny/src/app/features/lobby/Lobby.tsx` | Main lobby view |
|
||||
| `cinny/src/app/features/lobby/LobbyHeader.tsx` | Space header |
|
||||
| `cinny/src/app/features/lobby/LobbyHero.tsx` | Hero banner area |
|
||||
| `cinny/src/app/features/lobby/SpaceHierarchy.tsx` | Room tree/cards |
|
||||
| `cinny/src/app/features/lobby/DnD.tsx` | Drag and drop |
|
||||
| `cinny/src/app/features/lobby/RoomItem.tsx` | Room card |
|
||||
| `cinny/src/app/state/closedLobbyCategories.ts` | Collapsed categories |
|
||||
| `cinny/src/app/state/hooks/closedLobbyCategories.ts` | Jotai hook |
|
||||
| `cinny/src/app/pages/pathUtils.ts` | `getSpaceLobbyPath`, forum routing |
|
||||
| `cinny/src/app/utils/room.ts` | `shouldShowForumLobby`, `getStateEvent` |
|
||||
| `cinny/src/types/matrix/room.ts` | `RoomType.Forum`, `PaarrotRoomKind` |
|
||||
|
||||
## Data model
|
||||
|
||||
| Event / field | Purpose |
|
||||
|---------------|---------|
|
||||
| `m.space.child` | Child room membership + `order` |
|
||||
| `im.paarrot.sub_rooms` | Paarrot nested children (see sub-rooms handoff) |
|
||||
| `im.paarrot.room.kind` | e.g. `forum_space` for forum behavior |
|
||||
| `m.room.create` `type` | `m.forum` for forum rooms |
|
||||
| Local: `closedLobbyCategories` | UI collapse state (not Matrix) |
|
||||
| Event / field | Purpose |
|
||||
| ------------------------------ | ----------------------------------------------- |
|
||||
| `m.space.child` | Child room membership + `order` |
|
||||
| `im.paarrot.sub_rooms` | Paarrot nested children (see sub-rooms handoff) |
|
||||
| `im.paarrot.room.kind` | e.g. `forum_space` for forum behavior |
|
||||
| `m.room.create` `type` | `m.forum` for forum rooms |
|
||||
| Local: `closedLobbyCategories` | UI collapse state (not Matrix) |
|
||||
|
||||
## Dependencies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user