-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: improve condensing UI styling to match API request component #9928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Reviewed the styling changes to the
No issues found. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
brunobergher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments
| }} | ||
| onClick={() => setIsExpanded(!isExpanded)}> | ||
| <div className="flex items-center gap-2 flex-grow"> | ||
| <div style={{ display: "flex", alignItems: "center", gap: "10px", flexGrow: 1 }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should stick to tailwind classes
| "tokens": "tokens", | ||
| "condensation": { | ||
| "title": "Context Condensed", | ||
| "title": "context condensed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, "Context consensed", sentence case. And we need to update other locales accordingly.
| <span className={`codicon codicon-chevron-${isExpanded ? "up" : "down"}`}></span> | ||
| <div className="flex items-center gap-2"> | ||
| <div | ||
| className="text-xs text-vscode-dropdown-foreground border-vscode-dropdown-border/50 border px-1.5 py-0.5 rounded-lg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to check visually, but this seems to match the code I wanted it to
This PR improves the condensing UI component styling to match the API request component style as discussed in Slack.
Changes
Visual Comparison
The condensing component now has the same visual treatment as the API request component:
View task on Roo Code Cloud