-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Full screen UI improvements #2493
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
Conversation
| const [lastSessionId, setLastSessionId] = useState<string | undefined>(); | ||
|
|
||
| useEffect(() => { | ||
| const storedId = localStorage.getItem("lastSessionId"); |
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 have a file with typings for all of our localStorage accessors: https://github.com/continuedev/continue/blob/main/gui/src/util/localStorage.ts
So I think we should add this there and update to use the getLocalStorage fn.
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.
This code actually wasn't needed. Removed it 👌
| // Note that these breakpoints are primarily optimized for the input toolbar | ||
| screens: { | ||
| xxs: "170px", // Smallest width for Primary Sidebar in VS Code | ||
| "2xs": "170px", // Smallest width for Primary Sidebar in VS Code |
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.
Thanks for making this update! 😁
TyDunn
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.
@tomasz-stefaniak Looks like a good next iteration! My two thoughts:
- I suspect we'll want to increase the breakpoint a little, so that the history section is only added if the sidebar is expanded a bit wider than the current breakpoint
- I think we should work on making the history page look / feel much nicer after we get this merged
|
Description
Added history sidebar on large screens.
Checklist
dev, rather thanmainScreenshots
Screen.Recording.2024-10-08.at.5.50.00.PM.mov
Testing
[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change. ]