Skip to content

Conversation

@cameronr
Copy link
Collaborator

@cameronr cameronr commented Oct 30, 2025

There was an off by one for the mode string.

Before:
Screenshot 2025-10-29 at 16 38 08
Screenshot 2025-10-29 at 16 38 14

After:
No guard, no truncation, plan
Screenshot 2025-10-29 at 17 55 55

No guard, truncation, plan
Screenshot 2025-10-29 at 17 56 02

No guard, truncation, build
Screenshot 2025-10-29 at 17 56 08

Guard, no truncation, plan
Screenshot 2025-10-29 at 17 55 22

Guard, truncation, plan
Screenshot 2025-10-29 at 17 55 33

Guard, truncation, build
Screenshot 2025-10-29 at 17 56 30

As a design choice, I extend the top bar all the way to the left and right (rather than leaving one empty space on both sides. Given how much we want to show in that area, I figured it was best to have as much room for guard, description, model, and mode

I also tried cleaning the code up to make it easier to think about and, hopefully, extend, if needed.

Not for this request, but I also wonder if the guard icon would make more sense to display in the input area? Maybe something for your context bar at some point.

There was an off by one for the mode string.

I tried cleaning the code up to make it easier to think about
and, hopefully, extend, if needed.
@sudo-tee
Copy link
Owner

Nice catch.

I also start to think that the toolbar is getting a little bit out of control.

I think that the model should be close to the input window in the future.

The guard icon could also be moved.

@sudo-tee sudo-tee merged commit f9289b6 into sudo-tee:main Oct 30, 2025
5 checks passed
@cameronr cameronr deleted the fix/topbar-spacing branch November 4, 2025 21:52
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