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

Enhancements of fire button options #484

Merged
merged 9 commits into from
Apr 1, 2022
Merged

Conversation

tomasstrba
Copy link
Contributor

@tomasstrba tomasstrba commented Mar 25, 2022

Task/Issue URL: https://app.asana.com/0/1177771139624306/1201744687581532/f
Tech Design URL: -

Description:
This PR contains some follow-up work related to fire button options. Please see macOS: quick bits from Fire Button option fixes for the complete list of behavioral and visual changes

Steps to test this PR:

  • Verify correct section swap
  1. Make sure the list of fireproofed domains is now under the list of domains to burn (Sections were swapped)
  • Verify favicons of fireproofed domains
  1. Verify fireproofed domains have a favicon (if loaded in cache)
  • Verify burning animation only on burning windows
  1. Open one window with duckduckgo.com and second window with wikipedia.org.
  2. Burn the wikipedia tab
  3. Make sure the burning animation is visible only on the wikipedia window.
  • Test dynamic warning "All tabs open to selected sites will close"
  1. Open one window with duckduckgo.com and second window with wikipedia.org.

  2. Select the window with wikipedia.org, open fire button dialog, and select "Current Tab".

  3. Make sure the warning "All tabs open to selected sites will close" is not visible.

  4. Select duckduckgo.com window and add new tab with wikipedia.org

  5. Open fire button dialog, and select "Current Tab".

  6. Make sure the warning "All tabs open to selected sites will close" is visible.

Testing checklist:

  • Test with Release configuration
  • Test proper deallocation of tabs
  • Make sure committed submodule changes are desired

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@ayoy ayoy self-assigned this Mar 30, 2022
@ayoy
Copy link
Collaborator

ayoy commented Mar 30, 2022

Hi @tomasstrba :) I noticed a small UI glitch when displaying "All tabs open to selected sites will close" label:

  1. open wikipedia.org in two tabs
  2. click the fire button
  3. select "Current tab"
  4. click "Details"

The websites list is not resized correctly (probably doesn't take the "All tabs..." label into account) and websites are not visible. In this state, if you switch back to "All data" and then again "Current tab", the layout is fixed.

@tomasstrba tomasstrba assigned tomasstrba and unassigned ayoy Mar 30, 2022
@tomasstrba tomasstrba assigned ayoy and unassigned tomasstrba Mar 31, 2022
@tomasstrba
Copy link
Contributor Author

good catch Dominik! 💯 the glitch should be fixed

Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

LGTM!

@ayoy ayoy assigned tomasstrba and unassigned ayoy Apr 1, 2022
@tomasstrba tomasstrba merged commit fff81b5 into develop Apr 1, 2022
@tomasstrba tomasstrba deleted the tom/fire-button-options branch April 1, 2022 09:11
samsymons added a commit that referenced this pull request Apr 4, 2022
# By Tomas Strba (5) and others
# Via GitHub
* develop:
  Refresh the Autofill panel after importing (#496)
  Require authentication for login export (#494)
  Observations database clearing improvements (#495)
  Fix handling external schemes in address bar (#493)
  New autoconsent rules and move tab cleanup out of onCommitted (#489)
  Safari CSV Passwords import +LastPass, 1Password (#483)
  Split preferences into multiple screens and add an option to show full URL (#487)
  Color of hover label fixed (#497)
  Add AMP links protection (#488)
  Enhancements of fire button options (#484)
  Rename Logins+ to Autofill (#492)
  new tab page low hanging fruit (#491)
  Fix threading issues in Autoconsent (#478)
  Navigation bar improvement: CMD + back or CMD + forward opens a new tab (#486)
  TextField refactored to TextView in order to make it scrollable (#481)
  More Xcode cleaning (#485)

# 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