Skip to content

feat(web): refine workspace layout and profile controls#96

Merged
RussellLuo merged 4 commits into
OpenCSGs:mainfrom
jialudev:feat/web-css
May 21, 2026
Merged

feat(web): refine workspace layout and profile controls#96
RussellLuo merged 4 commits into
OpenCSGs:mainfrom
jialudev:feat/web-css

Conversation

@jialudev
Copy link
Copy Markdown
Collaborator

@jialudev jialudev commented May 21, 2026

Summary

  • Use @radix-ui/react-select as the first Radix UI integration sample, covering dependency setup, shared component wrapping, and workspace form usage.
  • Introduce Tailwind CSS support with tailwindcss and @tailwindcss/vite so future styling work can build on a consistent utility layer.
  • Rework the higher-level workspace layout styles, including the sidebar, top bar, user menu, modal surfaces, spacing, and responsive structure.
  • Update web UI documentation to define clearer component reuse, layering, and styling rules.

Purpose

This PR is mainly groundwork for a broader UX upgrade. The Radix Select integration is a concrete sample for adopting Radix UI in the web app, while the Tailwind setup and structural styling changes establish clearer rules for follow-up UX and visual design iterations.

Testing

  • Not run in this turn per request; user verified locally.

@jialudev
Copy link
Copy Markdown
Collaborator Author

image

jialudev added 4 commits May 21, 2026 17:06
… forms

- Updated NotifierControls to use the new Select component for delivery mode selection.
- Refactored AgentDetailPane to replace select elements with the Select component for provider, model, and reasoning selections.
- Modified AgentProfileModal to utilize the Select component for template, runtime kind, provider, model, and reasoning selections.
- Changed ManagerProfileSetupModal to implement the Select component for runtime kind, provider, model, and reasoning selections.
- Updated ManagerRebuildModal to use the Select component for runtime kind selection.
- Added new Select component with styles and functionality based on Radix UI.
- Adjusted CSS for various components to ensure proper z-index values and styling.
- Included global styles for Tailwind CSS and updated tokens for z-index variables.
- Added tests for the ManagerRebuildModal to ensure proper functionality with the new Select component.
- Added WorkspaceTopBar component to display branding in the workspace layout.
- Integrated WorkspaceTopBar into WorkspaceLayout for improved UI.
- Created SidebarUserButton for user settings, including theme and language options.
- Updated SidebarRail to include SidebarUserButton for better accessibility.
- Refactored SidebarHeader and WorkspaceSidebar to streamline layout and functionality.
- Improved WorkspaceTabBar to support different display variants (default and rail).
- Added localization support for new settings and appearance options in messages.
- Updated CSS for improved styling and layout consistency across components.
- Added `bot_type` to `AgentLike` type for better agent categorization.
- Introduced `AgentDraftSource` type to streamline agent draft creation.
- Implemented `hasUpgradeAttention` function to determine if upgrade actions are needed based on status.
- Refactored `agentToDraft` to utilize new `bot_type` for normalization.
- Removed deprecated `SidebarFooter` component and integrated its functionality into `SidebarUserButton`.
- Created `SidebarRailControlButton` for sidebar expansion/collapse actions.
- Updated CSS styles for improved layout and visual feedback in the sidebar.
- Enhanced version display and upgrade status notifications in the sidebar.
- Added tests for new upgrade status functions to ensure correct behavior.
@RussellLuo RussellLuo merged commit 8b32959 into OpenCSGs:main May 21, 2026
@jialudev jialudev deleted the feat/web-css branch May 27, 2026 12:33
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.

2 participants