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

Hide sparkline in top read widget if size category exceeds extra large #4419

Merged
merged 3 commits into from
Dec 9, 2022

Conversation

staykids
Copy link
Contributor

@staykids staykids commented Dec 8, 2022

Phabricator: https://phabricator.wikimedia.org/T323946

Notes

This PR hides the sparkline and description text present in the large top read widget rows if the user changes their accessibility text size to be larger than extra large. Previously, for large text sizes, the sparkline would overlap with next row text if the user had their device set to larger type sizes. The larger size widget will now more closely resemble the medium sized widget in these cases of larger text sizes.

Test Steps

  1. Add a large top read widget to your home screen
  2. Change the accessibility text size in iOS's Settings, confirm the top read widget displays without any elements clipping/overlapping
  3. You can also try to enable display zoom in Settings > Display & Brightness > Display and again confirm that no elements are clipping/overlapping

Screenshots/Videos

tr_graph

@staykids staykids requested review from a team and tonisevener and removed request for a team December 8, 2022 20:59
@tonisevener tonisevener self-assigned this Dec 9, 2022
Copy link
Collaborator

@tonisevener tonisevener left a comment

Choose a reason for hiding this comment

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

Looks good!

@tonisevener tonisevener removed their assignment Dec 9, 2022
@tonisevener tonisevener merged commit fec8cd5 into main Dec 9, 2022
@tonisevener tonisevener deleted the widget/tr-zoom branch December 9, 2022 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants