Skip to content

Conversation

@bramburn
Copy link
Contributor

Context

Because things are getting out of hand in the taskpane

https://www.youtube.com/watch?v=FMSjLmB2ejs

Implementation

use Ctrl + shift + p then select roo code settings for now
image

Screenshots

before after

How to Test

Ctrl + shift + p for opening the settings page

Get in Touch

- add a new settings webview using React, TypeScript, Vite, and Fluent UI
- implement basic two-column layout for settings navigation and content
- set up communication between the extension and settings webview

🔧 chore(build): integrate settings webview build process

- add new build script for settings webview
- update package script to build webview before package
- configure knip to include settings webview

🐛 fix(commands): add command to open settings webview

- add new command `roo-cline.openSettingsWebview` to open the new settings webview
- update menu to include new command
- implement settings webview using react and fluentui
- add esbuild configs for building the settings webview
- add vscode api typings
- add general, permissions, and about settings
- add placeholder settings for other categories
- render settings based on selected category
- add background color to webview
- add general, permissions, and about settings
- add placeholder settings for other categories
- render settings based on selected category
- add background color to webview
- correct vscode api initialization for webview context
- switch to MemoryRouter to fix routing issues within the webview
- ensure image base URI is correctly passed to the webview
@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2025

⚠️ No Changeset found

Latest commit: e7b1363

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap Apr 14, 2025
@nickchomey
Copy link

This looks great! Ideally we could open this by just clicking the settings button rather than Ctrl+Shift+P

-Migrated from Fluent UI React to Tailwind CSS for improved customization and VS Code theme consistency.
-【package.json】
-- Removed `@fluentui/react-components` dependency.
-- Added `class-variance-authority`, `clsx`, and `tailwind-merge` dependencies.
-- Added `autoprefixer`, `postcss`, and `tailwindcss` as dev dependencies.
-【postcss.config.js】
-- Added new file for PostCSS configuration with Tailwind and Autoprefixer.
-【tailwind.config.js】
-- Added new file for Tailwind CSS configuration, including VS Code theme colors.
-【src/App.tsx】
-- Removed FluentProvider and theme logic.
-- Updated styles to use Tailwind CSS classes for VS Code theme integration.
-【src/components/*】
-- Replaced Fluent UI components with standard HTML elements styled with Tailwind CSS.
-- Removed Fluent UI specific styling (e.g., makeStyles, shorthands, tokens).
-【src/index.css】
-- Added Tailwind base, components, and utilities imports.
-【src/utils/tailwind.ts】
-- Added utility for conditional class names with Tailwind.
@bramburn
Copy link
Contributor Author

bramburn commented Apr 15, 2025 via email

- migrate from Fluent UI to Tailwind CSS for a lighter and more customizable UI
- add heroicons for settings categories
- implement a new SettingsSettings component for general app settings
- improve classname handling with tailwind-merge
- add vscode theme support
- add a header with title and buttons
- add a new dev command to start settings webview

📦 build(settings-webview): update dependencies and build process

- update dependencies in package.json
- add a new dev command to start settings webview
- update build command to include settings-webview
- updated copy script to include settings webview files

✅ test(settings-webview): update tests for Tailwind CSS

- update tests to reflect the new tailwind css implementation
- update tests to reflect the new heroicons implementation

🔧 chore(.vscode): add dev settings task and update watch task

- add a new task to watch settings webview changes
- update watch task to include settings webview
- set up background process to check settings webview server

📝 docs(settings-webview): update README.md with Tailwind CSS info

- update README.md to reflect changes to tailwind css
@hannesrudolph hannesrudolph moved this from PR [Pre Approval Review] to PR [Draft/WIP] in Roo Code Roadmap May 10, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Draft/WIP] in Roo Code Roadmap May 20, 2025
@hannesrudolph hannesrudolph moved this from PR [Draft / In Progress] to TEMP in Roo Code Roadmap May 26, 2025
@daniel-lxs
Copy link
Member

Hey @bramburn,
Thank you for your contribution, We noticed this PR is stale and will be closed. If you plan to revisit this, please create an issue first as required by our issue-first approach before opening a new PR.

@daniel-lxs daniel-lxs closed this May 26, 2025
@github-project-automation github-project-automation bot moved this from PR [Draft/WIP] to Done in Roo Code Roadmap May 26, 2025
@github-project-automation github-project-automation bot moved this from TEMP to Done in Roo Code Roadmap May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants