Skip to content
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

pane: Add ability to use custom tooltip content #22879

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

danilo-leal
Copy link
Contributor

@danilo-leal danilo-leal commented Jan 9, 2025

This PR is an alternate version of #22850, but now using a similar approach to the existing tab_content and tab_content_text, where tab_tooltip_content refers to the existing tab_tooltip_text if there's no custom tooltip content/trait defined, meaning it will simplify render the text/string content in this case.

This is all motivated by #21955, as we want to pull off the ability to add custom content to a terminal tab tooltip.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 9, 2025
Copy link
Member

@maxdeviant maxdeviant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@danilo-leal danilo-leal added this pull request to the merge queue Jan 9, 2025
Merged via the queue into zed-industries:main with commit 5c239be Jan 9, 2025
15 checks passed
@danilo-leal danilo-leal deleted the pane-tab-content-alt branch January 9, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants