Commit Graph

63 Commits (48ea10cd9d62ae924757a528656265f5805019f1)

Author SHA1 Message Date
Abhijit Valluri 48ea10cd9d Merge remote-tracking branch 'mozilla/master' into fork 4 years ago
Mugurell b54949e58f
For #14902 - Disabling bottom toolbar animation now works (#14927) 4 years ago
Adam Novak 030f0d5369 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Mugurell d8d896c500 For #10240 - New preferences to control gesture based features
Three new settings and one for which this patch just pre-lands the strings.
The behavior for the "Swipe toolbar up to open tabs" is to be added as part of
a later ticket.
4 years ago
Adam Novak 94ce9bb335 Merge remote-tracking branch 'upstream/master' into fork 4 years ago
Tiger Oakes e93a8b7d34
For #14376: Use concept-menu with tab counter menu (#14374) 4 years ago
Adam Novak 10c43fdbab Merge remote-tracking branch 'hakkikaancaliskan/strip-url-pref' into fork 4 years ago
Kainalu Hagiwara 52d4ffdef0 For #13424 - Fix detekt config and warnings. 4 years ago
Hakkı Kaan Çalışkan f697183677 For #12811: Add preference for show full url 4 years ago
Kainalu Hagiwara 09473b991d For #12926 - Add back button to menu. 4 years ago
Kainalu Hagiwara 17bb010cc3 For #13235 - Add haptic feedback when long pressing forward button. 4 years ago
Jeff Boek 46f010f247 For #2681 - Adds ability to bypass cache when reloading 4 years ago
ekager e5e62fa79a For #6846: Added quick actions for nav bar in home 4 years ago
ekager 058f44e82d For #12721 - Remove SessionManager usages in TabCounter 4 years ago
Tiger Oakes 8f5a37733d
Create ToolbarPosition enum (#12747) 4 years ago
Christian Sadilek 216396d979 For #12353: URL copied to clipboard should not be extension/reader URL 4 years ago
Mihai Branescu 3c2c7f705c For #10467 - blue dot doesn't disappear on menu dismiss 4 years ago
Jeff Boek cd3b6181b3 For #10374 - Adds quick contextual menu to tab switcher
Co-authored-by: person808 <kainaluh808@gmail.com>
4 years ago
Sawyer Blatz 27c7ef5ad4 For #8775: Removes feature flag for dynamic bottom toolbar 4 years ago
Sawyer Blatz e9189dc089 For #11045: Add reader mode to urlView 4 years ago
mcarare e11f1b62dc For #10027: Make toolbar context menu popup dismissible on SDK<23 4 years ago
Sawyer Blatz a8e624959e
For #6940: Fixes top dynamic toolbar behavior (#9900) 4 years ago
ekager b8fba63be4 For #9890 - Do not display full screen snackbar with toolbar padding 4 years ago
Christian Sadilek 0f1bff7402 No issue: Refactor readerview to use browser-state 4 years ago
Sawyer Blatz e3ed7ed268
Issue #9128 & #9222 & #9499: Refactors snackbar creation and fixes placement (#9628) 4 years ago
Sawyer Blatz 208a58bc58
Issue #9598 & #8697: Fixes force expand crash (#9599) 4 years ago
Sawyer Blatz 1a2b65d854
Issue #9472: ForceExpand browser toolbar when navigating (#9552) 4 years ago
Kate Glazko 47b2f6a070 For 7077 Simplify Display Url 4 years ago
mcarare 14338a3b13 For #8899: Set viable anchor for snackbars in both custom and normal tab 4 years ago
Mihai Branescu 485efacd33 For #8800 - dismiss all highlights when menu is closed 4 years ago
Christian Sadilek 20387401b1 Issue #7863: Ensure parent process triggers speculative connect 4 years ago
ekager a6b07afa95 No issue: Fix LeakCanary detected memory leaks
Co-authored-by: Emily Kager <emilykager@gmail.com>
Co-authored-by: Pierre-Yves Ricau <py@squareup.com>
4 years ago
mcarare 5a6fc02976 For #8773: Set proper anchor and padding for Snackbars on browser screen 4 years ago
mcarare 3b5eadcc70 For #8372: Set toolbar position relative anchor for url copied snackbar 4 years ago
Tiger Oakes 383a70482c Clean up toolbar menu class 4 years ago
Emily Kager 46fd1a04f1 For #7456 - For top toolbar set correct progress gravity and background 4 years ago
mcarare b115a00589 For #7155 Align custom tabs overflow menu to original mocks
Reverse menu items order when toolbar position is top
4 years ago
Sawyer Blatz 3fb060f682
For #6413: Fixes snackbar positionining for bottom toolbar (#7415)
* For #6413: Fixes snackbar positionining for bottom toolbar

* For #6413: Cleans up snackbar usage
4 years ago
Rushab Kumar 562eb89356 For #7250 - Replace anko.dimen 4 years ago
Tiger Oakes ea486d7c66
Split out CustomTabToolbarIntegration (#7107) 4 years ago
Emily Kager d1b134c2ff For #6908 - Set null anchors for snackbars with top toolbar (#6911) 4 years ago
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
4 years ago
Sawyer Blatz 769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For #6054: Adds toolbar position to core ping
5 years ago
Severin Rudie 6909a76bcb
4281 remove qab (#6310)
* For #4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
5 years ago
ValentinTimisica 1e13e70cd0 Fixes #5917: Show snackbar when URL is copied (#6210)
Show a snackbar to the user for him to know that the URL was copied to
clipboard.
5 years ago
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 5 years ago
Emily Kager f9afd97a68 For #1901 - Get rid of black flash when leaving GV Engine 5 years ago
Mihai Adrian 236f702bbe For#5468 Changed info source for url clipboard copy from view to session (#5514) 5 years ago
Sawyer Blatz 2db2d9ceae For #1744: Adds tests for clipboard 5 years ago
Sawyer Blatz fd1fcd8b89 For #4155: Adds paste & go for search terms 5 years ago