Lite: misc#13188
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
There was a problem hiding this comment.
Pull request overview
Refactors the Lite workspace UI selection/navigation model and updates related UI/shortcut behavior, while renaming shared “item” styling concepts to “row”.
Changes:
- Reworks workspace selection to separate “selected item” from “selected file/hunk” and introduces a dedicated
Changeitem type. - Replaces the old navigation model with a workspace outline + navigation index (
-WorkspaceModel.ts) and updates keyboard shortcut navigation accordingly. - Renames shared UI styles from
item*torow*across workspace/branches and updates preview close behavior (Escape now maps toClosePreview).
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| apps/lite/ui/src/routes/project/$id/workspace/route.tsx | Adopts new selection model (item vs file), introduces “Change” preview path, and converts UI structure to new row styling. |
| apps/lite/ui/src/routes/project/$id/workspace/route.module.css | Updates padding/line-height vars to --row-* and tweaks layout spacing. |
| apps/lite/ui/src/routes/project/$id/workspace/-WorkspaceShortcuts.ts | Updates shortcut scopes/actions for new item model and adds ClosePreview binding behavior. |
| apps/lite/ui/src/routes/project/$id/workspace/-WorkspaceModel.ts | New outline + navigation index builder for adjacent item/section navigation. |
| apps/lite/ui/src/routes/project/$id/workspace/-Selection.ts | Removes the old navigation/selection model implementation. |
| apps/lite/ui/src/routes/project/$id/workspace/-OperationSubjects.tsx | Renames Changes operation subjects to “ChangesSection*” to match the new conceptual model. |
| apps/lite/ui/src/routes/project/$id/workspace/-Item.ts | Updates item types (splits Changes into Changes + Change) and adds explicit modes for commit/segment. |
| apps/lite/ui/src/routes/project/$id/workspace/-Editing.ts | Removes standalone editing state types in favor of mode-based selection. |
| apps/lite/ui/src/routes/project/$id/branches/route.tsx | Migrates branch rows/actions to the new shared row styling classes. |
| apps/lite/ui/src/routes/project/$id/branches/route.module.css | Updates padding/line-height vars to --row-*. |
| apps/lite/ui/src/routes/project/$id/-state/selection.ts | Adds file to selection state, new normalize helpers, and updates selection resolution API. |
| apps/lite/ui/src/routes/project/$id/-state/project.ts | Ensures SelectFile focuses primary and updates workspace selection consistently. |
| apps/lite/ui/src/routes/project/$id/-state/layout.ts | Introduces ClosePreview action to close fullscreen preview or collapse the preview panel. |
| apps/lite/ui/src/routes/project/$id/-shared.tsx | Updates empty-state class name to rowEmpty. |
| apps/lite/ui/src/routes/project/$id/-shared.module.css | Renames shared styling from item-* to row-* and adjusts hover/action visibility logic. |
| apps/lite/ui/src/routes/project/$id/-ProjectPreviewLayout.tsx | Switches preview close shortcut/button wiring to closePreviewBinding and dispatches ClosePreview. |
| apps/lite/ui/src/global.css | Renames CSS variables from --item-* to --row-* and adds --color-row-hover-bg. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 01c1dccdcc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
No description provided.