Skip to content

feat: refresh dashboard and workspace workflows - #25

Merged
caorushizi merged 6 commits into
masterfrom
codex/dashboard-workspace-refresh
Sep 2, 2026
Merged

feat: refresh dashboard and workspace workflows#25
caorushizi merged 6 commits into
masterfrom
codex/dashboard-workspace-refresh

Conversation

@caorushizi

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 2, 2026 22:05
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Sep 2, 2026 11:04pm UTC

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

PreviewManifestDraft’s validation error message is misleading for workspace-only previews, and the new preview behavior should be covered by unit tests to prevent regressions.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR refreshes the local Dashboard developer workflow and modernizes the one serve contract to remove the session token, while extending the workspace-manifest editing flow with a manifest preview/diff capability and updating documentation + tests accordingly.

Changes:

  • Add task dev to run the Go one serve API against a checked-in workspace fixture alongside the Vite Dashboard UI.
  • Remove the one serve session token (schema bump to one-cli/serve/v2) and update middleware/tests/docs to match.
  • Add a manifest preview endpoint + canonical before/after serialization and Dashboard-side unified diff rendering, plus related UI refreshes.
File summaries
File Description
Taskfile.yml Adds task dev workflow to run Go API + Vite UI together against a fixture workspace.
skills-lock.json Locks additional agent skill sources/hashes.
packages/skills/one-cli/references/REFERENCE.md Documents serve JSON envelope bump to v2 after token removal.
packages/cli/tests/e2e/snapshot_e2e_serve_test.go Updates serve snapshot expectations to v2 and removes token probing.
packages/cli/tests/e2e/e2e_helpers_test.go Removes token from volatile key scrubbing for serve envelopes.
packages/cli/testdata/reference/serve.json Updates reference envelope snapshot to one-cli/serve/v2 and removes token.
packages/cli/testdata/reference/help/serve.txt Updates help text to remove token-based security model.
packages/cli/testdata/dashboard-dev-workspace/one.manifest.json Adds checked-in workspace fixture used by task dev.
packages/cli/internal/transport/http/server.go Removes token generation/printing; bumps serve schema; adjusts URL output.
packages/cli/internal/transport/http/middleware.go Removes token middleware and cookie plumbing; keeps host/origin gating.
packages/cli/internal/transport/http/handlers_workspaces.go Adds workspace-scoped manifest preview route.
packages/cli/internal/transport/http/handlers_workspaces_test.go Updates tests to remove token query parameter usage.
packages/cli/internal/transport/http/handlers_workspace_test.go Updates tests to use non-token API request helper.
packages/cli/internal/transport/http/handlers_workspace_mutate.go Adds manifest preview handler wiring to the application service.
packages/cli/internal/transport/http/handlers_workspace_mutate_test.go Updates mutation tests to remove token query parameter usage.
packages/cli/internal/transport/http/handlers_preferences_test.go Updates preferences tests for tokenless API; removes token-required test.
packages/cli/internal/transport/http/handlers_configure_profile_name_test.go Updates tests to use non-token API request helper.
packages/cli/internal/transport/http/handlers_catalog_test.go Updates catalog handler tests to remove token query parameter usage.
packages/cli/internal/transport/cobra/serve/cmd.go Adjusts workspace discovery to include registry entry ID; opens dashboard workspace route.
packages/cli/internal/platform/errors/codes.go Removes SERVE_TOKEN_INVALID error code.
packages/cli/internal/core/workspace/manifest_write.go Extracts canonical manifest byte rendering into MarshalManifest.
packages/cli/internal/core/workspace/dashboard_dev_fixture_test.go Adds a contract test ensuring the dev workspace fixture stays valid/representative.
packages/cli/internal/application/manifest/service.go Adds manifest preview schema + preview method and workspace env patch support.
docs/plans/2026-09-03-dashboard-visual-refresh-design.md Adds design direction notes for the dashboard visual refresh.
docs/plans/2026-09-03-dashboard-deployment-image-configuration.md Adds implementation plan for deployment/image configuration UI behavior.
docs/plans/2026-09-02-dashboard-fixed-manifest-development.md Adds implementation plan for fixture-workspace + live-profiles dev mode.
CONTRIBUTING.md Documents task dev and the fixture/live-profile development boundary.
CHANGELOG.md Notes breaking removal of one serve session token and schema bump to v2.
apps/docs/src/app/(home)/home-page.tsx Updates marketing/tutorial copy to reflect tokenless one serve model.
apps/docs/content/tutorials/zh/json-output-error-codes.mdx Removes SERVE_TOKEN_INVALID from tutorial references.
apps/docs/content/tutorials/en/json-output-error-codes.mdx Removes SERVE_TOKEN_INVALID from tutorial references.
apps/docs/content/docs/zh/serve.md Updates serve docs for tokenless API, schema v2, and security model changes.
apps/docs/content/docs/zh/error-codes.md Removes SERVE_TOKEN_INVALID reference entry.
apps/docs/content/docs/en/serve.md Updates serve docs for tokenless API, schema v2, and security model changes.
apps/docs/content/docs/en/error-codes.md Removes SERVE_TOKEN_INVALID reference entry.
apps/dashboard/vitest.config.ts Updates jsdom URL to remove ?token= assumption.
apps/dashboard/vite.config.ts Updates proxy settings to rewrite Host/Origin appropriately for dev.
apps/dashboard/src/vite-env.d.ts Types new VITE_DEV_DATA_MODE env flag.
apps/dashboard/src/types/api.ts Adds manifest preview request/response types.
apps/dashboard/src/styles/tailwind.css Updates global typography variables and adds sidebar color tokens.
apps/dashboard/src/router/SettingsDialog.tsx Adds embedded settings dialog route component.
apps/dashboard/src/router/routes.tsx Refines loading/error UI layout and spacing.
apps/dashboard/src/router/routes.test.tsx Updates route tests for revised rail/overview behavior and added handlers.
apps/dashboard/src/providers/I18nProvider.tsx Removes token gating for preferences bootstrap/persist.
apps/dashboard/src/pages/WorkspaceHome.test.tsx Updates tests for refreshed workspace home card content.
apps/dashboard/src/pages/SectionsHome.tsx Adds embedded mode and refreshes sections listing UI.
apps/dashboard/src/pages/SectionDetail.tsx Adds embeddable section detail content and visual tweaks.
apps/dashboard/src/lib/http.ts Removes token propagation via query/cookie; simplifies HTTP client setup.
apps/dashboard/src/features/workspace-settings/WorkspaceSettingsDialog.tsx Adds workspace settings dialog with env + secrets tabs.
apps/dashboard/src/features/workspace-registry/WorkspaceRail.tsx Refreshes workspace rail layout and active styling.
apps/dashboard/src/features/secrets/SecretsManager.tsx Adds embedded variant + fixedProject support and refines loading/error UI.
apps/dashboard/src/features/project-settings/ProjectMatrix.tsx Removes container column and adds collapsible filter controls.
apps/dashboard/src/features/project-settings/forms/GeneralForm.tsx Embeds secrets manager for Infisical-backed projects.
apps/dashboard/src/features/project-settings/forms/FormLayout.tsx Simplifies layout primitives; replaces checkbox field with switch field.
apps/dashboard/src/features/project-settings/forms/EnvironmentForm.tsx Refactors env form to remove profile binding UI and refresh layout.
apps/dashboard/src/features/project-settings/forms/ContainerForm.tsx Refactors container settings UI and profile binding behavior for embedded usage.
apps/dashboard/src/features/profile-editor/ProfileEditorDialog.tsx Updates dialog layout and styling for profile editor.
apps/dashboard/src/features/profile-binding/ProfileBindingField.tsx Adds embedded variant and optional description rendering.
apps/dashboard/src/features/manifest-draft/unified-diff.ts Adds LCS-based unified diff generation for full manifest previews.
apps/dashboard/src/features/manifest-draft/manifest-draft-store.ts Extends summary metadata with section/path/changed fields.
apps/dashboard/src/features/environment-context/EnvironmentSelector.tsx Replaces toggle group with select-based environment selector (+ icon variant).
apps/dashboard/src/features/environment-context/EnvironmentSelector.test.tsx Updates tests for tokenless URL params and new selector behavior.
apps/dashboard/src/components/ui/textarea.tsx Updates textarea sizing and focus transition styling.
apps/dashboard/src/components/ui/table.tsx Adjusts table head/cell typography and spacing.
apps/dashboard/src/components/ui/switch.tsx Adds new Switch UI primitive.
apps/dashboard/src/components/ui/sheet.tsx Refines sheet sizing, rounding, and overflow behavior.
apps/dashboard/src/components/ui/select.tsx Adds chevron toggle + refines select sizing and rounding.
apps/dashboard/src/components/ui/input.tsx Updates input sizing and transition styling.
apps/dashboard/src/components/ui/input-group.tsx Updates input group transitions and styling.
apps/dashboard/src/components/ui/empty.tsx Tweaks empty state borders/rounding and media variant styling.
apps/dashboard/src/components/ui/dropdown-menu.tsx Refines dropdown rounding on content/items.
apps/dashboard/src/components/ui/dialog.tsx Refines dialog rounding/overflow.
apps/dashboard/src/components/ui/card.tsx Updates global card border radius.
apps/dashboard/src/components/ui/button.tsx Updates button sizing, transitions, and active behavior.
apps/dashboard/src/components/ui/badge.tsx Updates badge styling to a monospace/uppercase system.
apps/dashboard/src/components/ui/alert.tsx Adjusts alert radius and padding.
apps/dashboard/src/components/ui/alert-dialog.tsx Adds wide size option and refines alert dialog styling.
apps/dashboard/src/components/TopBar.test.tsx Adds dev data-boundary label tests and updates TopBar rendering.
apps/dashboard/src/components/LanguageSwitcher.tsx Adjusts menu positioning + fixed width for language dropdown.
apps/dashboard/src/components/AppSidebar.tsx Refreshes sidebar styling and navigation item visuals.
apps/dashboard/src/App.tsx Updates app chrome layout and workspace-mode routing behavior.
apps/dashboard/src/api/secrets.ts Treats missing Infisical folder as empty list for smoother UX.
apps/dashboard/src/api/manifest.ts Adds manifest preview API call.
apps/dashboard/src/api/catalog.ts Adds helper to detect container-artifact dependency from backend requirements.
.agents/skills/minimalist-ui/SKILL.md Adds local agent skill content.
.agents/skills/industrial-brutalist-ui/SKILL.md Adds local agent skill content.
.agents/skills/high-end-visual-design/SKILL.md Adds local agent skill content.
.agents/skills/gpt-taste/SKILL.md Adds local agent skill content.
.agents/skills/full-output-enforcement/SKILL.md Adds local agent skill content.
Review details
  • Files reviewed: 109/110 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/cli/internal/application/manifest/service.go
Comment thread packages/cli/internal/application/manifest/service.go
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: caorushizi <19359849+caorushizi@users.noreply.github.com>
@caorushizi
caorushizi merged commit f6ba872 into master Sep 2, 2026
8 checks passed
@caorushizi
caorushizi deleted the codex/dashboard-workspace-refresh branch September 2, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants