-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Show error and warning indicators in tabs #21383
Show error and warning indicators in tabs #21383
Conversation
Even though I didn't get feedback on the related issue yet, I wanted to take a proactive approach and offer an implementation for consideration. This PR is intended as a starting point for discussion, not a push for immediate adoption. I think this would be a nice addition to #18182. Feedback is very welcome! |
@@ -1841,23 +1886,6 @@ impl Pane { | |||
} | |||
} | |||
|
|||
pub fn git_aware_icon_color( |
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.
Does this PR remove the implementation of tabs.git_status
?
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.
No it only removes the coloring of the icons depending on the git status. The text color still changes with the git status if tabs.git_status = true
. #18182 did the same in the project_panel.
Could you include a before image in your example? |
It is important to note that if you set ![]() I did this to make it consistent with the project panel after the changes in #18182:
|
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.
Sweet, this looks great to me, thanks so much!
Follow up to #21383 Mostly adjusting the alignment when there are no file icons. <img width="800" alt="Screenshot 2024-12-06 at 08 35 48" src="https://github.com/user-attachments/assets/6a4206cc-2af5-4317-a92e-49dffa37de99"> Release Notes: - N/A
Closes #21179
Release Notes: