Skip to content

Add tooltips for nav items in the SUI#12448

Merged
1 commit merged intomainfrom
dev/pabhoj/sui_name_tooltip
Feb 11, 2022
Merged

Add tooltips for nav items in the SUI#12448
1 commit merged intomainfrom
dev/pabhoj/sui_name_tooltip

Conversation

@PankajBhojwani
Copy link
Contributor

Summary of the Pull Request

Profiles with long names were having their titles cut off in the navigation view sidebar. This change adds tooltips to all nav view items so the full names can still be read.

References

#11353

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • [x[ I work here

Validation Steps Performed

sidebartooltip

sidebartooltip2

@PankajBhojwani
Copy link
Contributor Author

I decided to add tooltips to all the other nav view items (Startup, Interaction, etc) since we're already adding them for the profile items. Currently those tooltips' text is exactly the same as the nav view item text, would we rather add more of a description to each of them (so kinda like how the 'open json file' button has a bit of a descriptor)?

@DHowett
Copy link
Member

DHowett commented Feb 9, 2022

I am okay with the tooltips just saying the same thing as the title. I am also surprised that they do not automatically do so when the NavigationView is in collapsed state!

@zadjii-msft
Copy link
Member

I am also surprised that they do not automatically do so when the NavigationView is in collapsed state!

Weirdly, when I (on 1.13.10333) have the nav view collapsed, everything has tooltips for me. Only when I expand it do the profiles not have tooltips.

w e i r d

@zadjii-msft zadjii-msft added the AutoMerge Marked for automatic merge by the bot when requirements are met label Feb 11, 2022
@ghost
Copy link

ghost commented Feb 11, 2022

Hello @zadjii-msft!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@zadjii-msft zadjii-msft mentioned this pull request Feb 11, 2022
17 tasks
@ghost ghost merged commit 19a5eb2 into main Feb 11, 2022
@ghost ghost deleted the dev/pabhoj/sui_name_tooltip branch February 11, 2022 14:17
DHowett pushed a commit that referenced this pull request Mar 28, 2022
## Summary of the Pull Request
Profiles with long names were having their titles cut off in the navigation view sidebar. This change adds tooltips to all nav view items so the full names can still be read.

## References
#11353

## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x[ I work here

## Validation Steps Performed
<img width="261" alt="sidebartooltip" src="https://user-images.githubusercontent.com/26824113/153270004-02ec3ca7-8787-41be-a4ee-c60efa8cc5e6.png">
<img width="341" alt="sidebartooltip2" src="https://user-images.githubusercontent.com/26824113/153270033-263069f6-75ff-4215-9c83-e0a946ce9616.png">

(cherry picked from commit 19a5eb2)
DHowett pushed a commit that referenced this pull request Mar 28, 2022
## Summary of the Pull Request
Profiles with long names were having their titles cut off in the navigation view sidebar. This change adds tooltips to all nav view items so the full names can still be read.

## References
#11353

## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x[ I work here

## Validation Steps Performed
<img width="261" alt="sidebartooltip" src="https://user-images.githubusercontent.com/26824113/153270004-02ec3ca7-8787-41be-a4ee-c60efa8cc5e6.png">
<img width="341" alt="sidebartooltip2" src="https://user-images.githubusercontent.com/26824113/153270033-263069f6-75ff-4215-9c83-e0a946ce9616.png">

(cherry picked from commit 19a5eb2)
@ghost
Copy link

ghost commented Apr 19, 2022

🎉Windows Terminal v1.12.1098 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Apr 19, 2022

🎉Windows Terminal Preview v1.13.1098 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Marked for automatic merge by the bot when requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants