Commit Graph

505 Commits (4fd3eb53d1262e782198bbdb80964b4a17e45b25)

Author SHA1 Message Date
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 5 years ago
Mihai Adrian 33ac75d166 For #3574 Allow all screen readers to read onboarding items one-by one (#7292) 5 years ago
Emily Kager 5ac79f59a3 For #7219 - Polish Download Notification Dialog. (#7224)
* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource
5 years ago
David Walsh b4e10965b7 Use localized strings in the quick settings panel (#7249) 5 years ago
David Walsh e727ae5d7e Fix 5366 - Use VectorDrawableCompat for all imagery (#7221)
* Fix 5366 - Use VectorDrawableCompat for all imagery

* Fix detekt lint issues

* Restore previous comment contents
5 years ago
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 5 years ago
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
5 years ago
mcarare 1c9c8f590a For #7066 Increase space below checkbox preference 5 years ago
Sawyer Blatz de6469e198 For #7073: Makes logo on about page not important for accessibi… (#7074) 5 years ago
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 5 years ago
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 5 years ago
Mihai Adrian 3283d6ed0b For #6910 Align shortcuts in private onboarding panel style to… (#6950)
Divider only shows when both panel and "Search with" are visible
5 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>
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
mcarare 05321dc504 For #6835 Align Home and Browser toolbar elements to perfectly overlap 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
cesar 9127505cc9 For #6769 - EditText moved to be above the gradient view 5 years ago
Mihai Adrian 531f7e7a67
For #5497 Align text to viewStart to keep consistency in RTL (#6778) 5 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
David Walsh bc56ae194a Fix 6048 - Improve alignment in Edit Bookmark screen 5 years ago
Matt McKenna d1f70e908e Add a simple gradient to collection creation 5 years ago
Patrick Martin 3e436f59e2 For #2294 - History URL is cut with a large font set (#6724)
* For #2294 - History URL is cut with a large font se

* Update HistoryRobot.kt
5 years ago
mcarare 1d36098878 For #1019 Add onboarding search suggestion hint panel 5 years ago
mcarare 5543f3272d For #1019 Add option to enable search suggestions in private mode 5 years ago
Jeff Boek 607c3d4c87
Adds custom search engines (#6551)
* For #5577 - Adds button to add a new search engine

* For #5577 - Adds custom engine store

* For #5577 - Creates a custom SearchEngineProvider

* For #5577 - Gives the ability to delete search engines

* For #5577 - Adds the UI to add a custom search engine

* For #5577 - Adds form to create a custom search engine

* For #5577 - Adds the ability to add a custom search engine

*  For #5577 - Adds the ability to delete custom search engines

* For #5577 - Selects the first element on the add custom search engine screen

* For #5577 - Prevents adding a search engine that already exists

* For #5577 - Styles the add search engine preference

* For #5577 - Makes the name check case-insensitive

* For #5577 - Fix bug where home screen doesnt see new search engines

* For #5577 - Moves Search URL validation to its own type

* For #5577 - Fixes linting errors

* For #5577 - Adds the ability to edit a custom search engine

* For #5577 - Allows the user to edit a serach engine even when it is the last item in the list

* For #5577 - Adds an undo snackbar when deleting a search engine

* For #5577 - Moves all of the strings to be translated

* For #5577 - Fixes bug when deleting your default search engine

* For #5577 - Puts adding search engines behind a feature flag

* For #5577 - Navigate to custom search engine SUMO article when tapping learn more

* For #5577 - Fixes nits

* For #5577 - Uses concept-fetch to validate search string

* For #5577 - Adds string resources for the cannot reach error state
5 years ago
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 5 years ago
David Walsh 8016eb56aa Provide top padding to URL 5 years ago
David Walsh 6bd6e3035d Implement a more dynamic layout height 5 years ago
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 5 years ago
Tiger Oakes 333ff8c941 Fixes #4528 - Prevent share menu from jumping
Plus a bunch of docs and refactoring
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
Sawyer Blatz d6aeeb2dec
For #5958: Adds in app download notifications (#6506) 5 years ago
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 5 years ago
Mihai Branescu 8f50e2af5d For #6269 Rtl-wrong-search-positioning (#6400)
* For #6269
- Added start/end margin for rtl support in shortcuts label

* For #6269
- Refactored search fragment xml, extracted dimens + added styles
5 years ago
ekager 18c0525ff6 Use new API for ETP Exceptions 5 years ago
Emily Kager 52ad5dafe2 Closes #6369 - Use padding set from style for protection settings 5 years ago
Jeffrey Starke f1d52ce2da Use vector compat in TrackingProtectionPanelView (#6376) 5 years ago
Mugurell d70afcaa90 For #4126 - Handle all business logic with Interactors and a Controller
Combined all Stores into one for all Views shown in on Fragment.
Used a static `createStore()` which will build the initial state residing
inside the Store and not in the Fragment as to decouple the Fragment from the
business logic needed to build all the needed initial States.
Added Interactors that handle a MVI View's business logic for
TrackingProtectionView and WebsitePermissionsView.
WebsiteInfoView doesn't register any user input events and does not have any
reason to change while it is displayed so it does not have an Interactor.
The two Interactors will delegate Fragment's QuickSettingsController for
complex Android interactions, communication with other app features or for
Store updates.
Also refactored the stubs from the previous commit so that with this commit the
the quicksettings feature should all be working now based on lib-state.
5 years ago
Mugurell f1f74bc3d6 For #4126 - Refactor Views and layouts
Refactored `fragment_quick_settings_dialog_sheet` to now be composed of of
FrameLayouts placeholders in which each independent View will inflate itself.
Refactored the QuickSettingsUIView and Component to 3 standalone Views with
their own lib-state components: Store, State, Actions, Reducer.
5 years ago
ValentinTimisica d7973587fc Fixes #5128: Changed history_empty_view to match constraints.
The bug occurred because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
ValentinTimisica 27cac54d53 For #5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
5 years ago
ValentinTimisica c09a3d1620 Fixes #5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
5 years ago
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 5 years ago
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 5 years ago
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 5 years ago
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 5 years ago
ekager f49331de55 For #5544: Bare Minimum Logins UI 5 years ago
RaviGarbuja 8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 5 years ago
Tiger Oakes 97433dc145
Use tools:listitem with collection creation (#6140) 5 years ago
obarzpaw f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 5 years ago