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 BrowsingMenu layout #3712

Merged
merged 5 commits into from
Dec 19, 2024
Merged

Fix BrowsingMenu layout #3712

merged 5 commits into from
Dec 19, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Dec 11, 2024

Task/Issue URL: https://app.asana.com/0/414709148257752/1208946169184139/f
Tech Design URL:
CC:

Description:

Adjusts layout for BrowsingMenuButton so that it expands along with the label inside. Additionally BrowsingMenuViewController got a new constraint preventing the menu view from going outside view bounds.

Steps to test this PR:

  1. Enable link conditioner with a bad/slow connection profile.
  2. Try to load any site, stop before it finishes loading.
  3. Open menu, check if button titles are visible.
  4. Load site again (without link conditioner).
  5. Check browsing menu sizing and layout is as expected.
  6. Go to System Settings -> Developer -> View (simulator) or Display & Brightness -> Display Zoom (physical device) and set display zoom to "Larger text".
  7. Repeat testing steps.

Definition of Done (Internal Only):

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

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

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 requested a review from Bunn December 11, 2024 11:28
Copy link
Contributor

@Bunn Bunn left a comment

Choose a reason for hiding this comment

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

LGTM

@dus7 dus7 merged commit cdeddba into main Dec 19, 2024
13 checks passed
@dus7 dus7 deleted the mariusz/fix-menu-layout branch December 19, 2024 09:15
samsymons added a commit that referenced this pull request Dec 19, 2024
# By Michal Smaga (10) and others
# Via Michal Smaga (4) and others
* main: (66 commits)
  DuckPlayer: Don’t open new tabs or DuckPlayer at launch when in alwaysAsk mode (#3738)
  Fix BrowsingMenu layout (#3712)
  Remove ESLint config files (#3739)
  Release 7.150.0-1 (#3742)
  An additional protective in case users try to access the passwords list via the extension, before launching the app
  Ensure migration has occurred before accessing vault
  Populate credential store if user has enabled before launching app
  Update to target main app
  Ensure migration has occurred before accessing vault
  Release 7.149.1-0 (#3740)
  An additional protective in case users try to access the passwords list via the extension, before launching the app
  Ensure migration has occurred before accessing vault
  Populate credential store if user has enabled before launching app
  Update to target main app
  Ensure migration has occurred before accessing vault
  Bugfix: Fix Youtube Internal links when 'Watching on Youtube' from Duck Player (#3733)
  point to BSK branch (#3732)
  Remove duck.ai 10min timer (#3731)
  Release 7.150.0-0 (#3729)
  Update autoconsent to v12.3.0 (#3728)
  ...

# Conflicts:
#	Core/PixelEvent.swift
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Dec 19, 2024
* main:
  Crash report cohort ID support for iOS (#3692)
  Fix sharing via the Share & Action extensions on iOS 18 (#3745)
  DuckPlayer: Don’t open new tabs or DuckPlayer at launch when in alwaysAsk mode (#3738)
  Fix BrowsingMenu layout (#3712)
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