-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add tooltip to KeyValueGridView #1399
base: master
Are you sure you want to change the base?
Conversation
FinniversKit/Sources/Components/KeyValueGridView/KeyValueGridView.swift
Outdated
Show resolved
Hide resolved
FinniversKit/Sources/Components/KeyValueGridView/KeyValueGridView.swift
Outdated
Show resolved
Hide resolved
How does this look in the app if you show it on the itempage, and then scroll the screen? Does the tooltip scroll alongside, or is it "stuck" in its initial position? |
FinniversKit/Sources/Extensions/UIKit/UIApplicationExtensions.swift
Outdated
Show resolved
Hide resolved
let infoButton = UIButton(type: .custom) | ||
infoButton.setImage(Warp.Icon.info.uiImage, for: .normal) | ||
infoButton.translatesAutoresizingMaskIntoConstraints = false |
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.
There's no label for VoiceOver users for this button. How should the button and the presentation work for them?
It looks like this. And I am not able to scroll until I close the tooltip (by clicking on any part of the screen ScreenRecording_02-12-2025.13-33-02_1.MP4 |
infoButton.setImage(Warp.Icon.info.uiImage, for: .normal) | ||
infoButton.translatesAutoresizingMaskIntoConstraints = false | ||
infoButton.accessibilityLabel = pair.infoTooltipAccessibilityLabel | ||
NSLayoutConstraint.activate([ |
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.
@bstien Like this?
Why?
A tooltip was requested on the Mobility Item Page to provide brief explanatory text for a specific specification.
What?
infoTooltip
property inKeyValuePair
.Tooltip implementation in
KeyValueGridView
:infoTooltip
is present.infoTooltip
content on click.Version Change
Minor
UI Changes