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 button shapes on New Tab Page #3586

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Fix button shapes on New Tab Page #3586

merged 1 commit into from
Nov 18, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Nov 18, 2024

Task/Issue URL: https://app.asana.com/0/1206226850447395/1208777193348112/f
Tech Design URL:
CC:

Description:

Default button style in SwiftUI is defining a border shape which is visible when "Button Shapes" are enabled in Accessibility -> Display & Text Size. This sets custom button styles to plain in order to prevent them from appearing.

Steps to test this PR:

  1. Enable Accessibility -> Display & Text Size -> Button Shapes
  2. Make sure there is no gray-ish shape around Favorites
  3. Enable NTP Sections in Debug settings
  4. Check there's no border around shortcuts on New Tab Page and in Customize view.

Definition of Done (Internal Only):

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 requested review from a team and miasma13 and removed request for a team November 18, 2024 09:49
Copy link
Contributor

@miasma13 miasma13 left a comment

Choose a reason for hiding this comment

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

Works as described 👍

@dus7 dus7 merged commit f8bf08e into main Nov 18, 2024
18 of 19 checks passed
@dus7 dus7 deleted the mariusz/button-shapes branch November 18, 2024 10:23
samsymons added a commit that referenced this pull request Nov 21, 2024
…g-error

# By Mariusz Śpiewak (4) and others
# Via GitHub (1) and Mariusz Śpiewak (1)
* main:
  Re-prompt for crash reporting (#3595)
  Fix running BoolFileMarkerTest on device (#3601)
  Run Sync e2e tests only on latest version (#3602)
  Release 7.146.0-1 (#3600)
  Fix autofill search authentication looping (#3598)
  Fix invalid OmniBar state transition on loading  (#3599)
  Update autoconsent to v11.5.0 (#3581)
  Release 7.146.0-0 (#3594)
  deps: Bump [email protected] and BSK@211 (#3588)
  Update subtitle (#3592)
  Limits TipKit availability to iOS 18+ (#3589)
  Fix alpha build compilation (#3584)
  Update VPN auth token check logic (#3585)
  Fix button shapes on New Tab Page (#3586)
  Temporarily disable TipKit (#3564)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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.

2 participants