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

Fix #1086: Missing tooltip on navigation icons #1088

Merged
merged 4 commits into from
Dec 26, 2024

Conversation

annikabudean
Copy link
Contributor

Related issue

https://github.com/thamara/time-to-leave/issues/1086#issue-2673345139

Context / Background

Some of the icons in the application did not have a hint when hovered over them while others did. It was unclear what the icons without the hints did until using them more and looking into the overall purpose of the application.

What change is being introduced by this PR?

I saw that some of the other icons (such as the "Go to Current Month" icon) already had a hint when I would hover over it. I found where this was happening in the code and replicated that code to do the same thing for icons that did not have this functionality.
I added a "title" attribute to the HTML code for the icons which provides text when hovered over. This will inform users about what these icons do.

How will this be tested?

  • When running the application, hover over the specified icons (can be seen in the screenshot below) to see if their hint appears
  • Check to make sure the hint correctly describes functionality of the icon

image

Copy link
Collaborator

@tupaschoal tupaschoal left a comment

Choose a reason for hiding this comment

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

Please make sure you revert the changes on package-lock.json

renderer/classes/FlexibleMonthCalendar.js Outdated Show resolved Hide resolved
@tupaschoal
Copy link
Collaborator

I've fixed the issues raised previously and also made sure we added the same hints on the day calendar. Here are the previews:

Day View:

hints-day-view.mp4

Month View

hints-month-view.mp4

@tupaschoal tupaschoal changed the title Added Hints to Icons on Hover Fix #1086: Missing tooltip on navigation icons Dec 26, 2024
@tupaschoal tupaschoal merged commit f0b344a into TTLApp:main Dec 26, 2024
4 checks passed
@tupaschoal
Copy link
Collaborator

\changelog-update
Message: Fix [#1086]: Missing tooltip on calendar navigation icons

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.

4 participants