-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
workspace: Implement Extended Terminal Layout #21337
base: main
Are you sure you want to change the base?
Conversation
…nal from settings to workspace.
What is the source for the expand asset you're using in this PR? |
I just asked Zed AI for an SVG that was free to use and would match Zed's other icons in terms of style. I think the decision for which icon to use is ultimately up to you guys, whether this icon fits in or not. |
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.
Wow, the AI did a great job on that icon.
That said, we prefer to use Lucide icons when we need new UI buttons. I added some notes about which ones I think we should use and some implementation details.
Thanks for the input on the icons! I moved the property that was on the dock to the workspace, as well as changing out the icons :) |
Awesome! Looks like there's a merge conflict, and could you include a screenshot showing the button you added? Also, I like that we could add a |
After adding the left-contained variant I decided to add in both alignments so people can choose what they prefer. So I thought this was the best way to implement the button, but I'm not quite sure. I encountered a lot of "Rustisms" I didn't quite understand, but hey, it runs! I haven't noticed any weird behaviours or bugs when testing the builds, but I feel like the implementation in |
I also feel like I could use the lucide icon The method This may be too much effort for a feature that I imagine most people will just configure in settings and leave be... |
Hmm, I think this is a good feature but I don't quite like the look of that menu yet, cc: @danilo-leal, @iamnbutler, how do you think we could incorporate this setting / this UI? For reference, VSCode uses a button in the top right of the title bar, and that button opens up a menu with an overall layout menu: |
I think this makes sense too. It feels unnatural to have the layout control on the dock when the property pertains to the workspace itself- and changing the value does change the button's origin, which is horrible for UX: If someone wants to change the layout on the current build, they'll have to chase the button around in order to reset or change the layout. I have noticed that VS Code also has this in the Menu Bar -> View -> Layout (something like this) |
While it looks really small, this is a pretty massive change from our standpoint, as all UI in zed thus-far has been designed and build from the perspective of sidebars always extending the full height of the window. I'm not against us exploring it, but it'll probably have to wait until after the holidays before I can take the time to look into this and give proper feedback. Thanks for the patience! |
Closes #10211
Release Notes: