Commit Graph

929 Commits (f68c56a7602baf0eacd97650d9a65f0dacea7b99)

Author SHA1 Message Date
amkcpu 210f1ab898 For #12707 - Add vertical scrollbar to search suggestions 4 years ago
Jonathan Almeida 239e3de5e9 For #12856: Add save to collections button to Tabs Tray
Using the ConcatAdapter, we're now able to insert multiple data sources
of information into one RecyclerView and preserve layout/scrolling in
addition to adding the 'Save to Collection' button.
4 years ago
ekager 0657bf41d3 For #12991 - Set height to recommended touch target size for collect button 4 years ago
Elise Richards b7325a3833
For #12571: Rename shortcuts to search engine on search screen (#12839)
* Rename shortcuts to search engine on search screen

* Remove deprecated pref key

* Re-add deprecated string
4 years ago
Tiger Oakes 57ac6fc36d Extract navigation subgraphs 4 years ago
Mihai Branescu 1cbc4eec52 For #7716 - modified xml to let 'Learn more' button have min 48dp for a11y
Added a margin top of 20dp as well on the buttons so as not to change UI
4 years ago
Hakkı Kaan Çalışkan b3b7566fcf For #12804: Set min height for search engine radio button 4 years ago
ekager 46511d6f8e For #10163 - Adds tab multiselect mode 4 years ago
Jonathan Almeida d15b8381a6 For #10925: Fix breaking APIs in tabs tray 4 years ago
Kainalu Hagiwara 58ccc64386 Fix UI tests.
We need to pass a CoordinatorLayout instead of a SwipeGestureLayout to
FenixSnackbar.make() in BaseBrowserFragment to prevent UI tests from
breaking. We also need to remove a few view IDs from the tab preview.
4 years ago
Kainalu Hagiwara e7dc5580b2 For #3481 - Implement swipe on toolbar to switch tabs. 4 years ago
Kainalu Hagiwara 921b16233b For #1048 - Add ability to view tab history by long-pressing the back or forward button. 4 years ago
Hakkı Kaan Çalışkan 2a0a11f740 For #12571: Rename 'Shortcuts' to 'Search engines'
Co-Authored-By: Khushraj Rathod <khushrajrathod@gmail.com>
4 years ago
Jonathan Almeida 99354174a9 For #12797: Use measured height/width for loading a thumbnail
Using `onNextLayout` has the side-effect of showing the thumbnail with
the tab.id from a recycled view.

The root cause of needing that call is to retrieve the measured
height/width from the view first before requesting. A simpler solution
to avoid the complexity is to retrieve these values from the dimen
resources.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
mcarare 8826f99ef7 For #9722: Refactor onboarding buttons with text.
Add title and description to button text, remove extra Textviews.
4 years ago
Sawyer Blatz 284ec7b58f For #12461: Add tab count to tab tray 4 years ago
Tiger Oakes f73411b924
For #5499 - Unify CFR drawables and dimens (#12749) 4 years ago
Hakkı Kaan Çalışkan aeabd3e91b
For #12532: Quick fix for radio button alignment (#12691) 4 years ago
Kainalu Hagiwara cd2532349d For #12551 - Implement swipe to delete for bookmarks. 4 years ago
Kainalu Hagiwara 1121d844e6 For #12730 - Fix ripple for font size setting. 4 years ago
Tiger Oakes 499f185fc0
Fix lint issues (#12683) 4 years ago
Elise Richards 37af9df3ad
For #12532: Align Settings -> Site permissions -> Sub-pages to 72dp keyline (#12680)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
4 years ago
Hakkı Kaan Çalışkan aa7655f4d6 For #12509: Set height of remove add on button to 36dp 4 years ago
ekager e358f95eed For #12364 - Only show PWA prompt the third time a user visits installable site 4 years ago
Elise Richards 023a4983fa
For #10173: login duplicates and save (#11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
4 years ago
Hakkı Kaan Çalışkan b997fba953 No issue: Move dp's to dimens.xml 4 years ago
Hakkı Kaan Çalışkan cdd5d206fd For #12105: Follow ux mock on Settings --> Accessibility screen 4 years ago
ekager 9ed85510ae For #7094 - Adds save login exceptions 4 years ago
Hakkı Kaan Çalışkan f424656575 For #12107: Follow ux mock on Settings --> Account screen 4 years ago
Hakkı Kaan Çalışkan ca30fef579 For #12106: Follow ux mock on Settings --> Logins screen 4 years ago
ekager ad265be672 For #11303 - Change copy login origin to open in browser 4 years ago
Emily Kager 63eb7b3e4e
For #12010: Follow ux mock on Settings --> ETP --> Info screen (#12429)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
4 years ago
amkcpu fab64229a5 Closes #11873 - Add scrollbar in tabs tray 4 years ago
Hakkı Kaan Çalışkan 426a1ba57d For #12078: Follow ux mock on Settings --> Language screen 4 years ago
mcarare 9bc4f443f5 For #9775: Increase touch target of elements in add search engine screen 4 years ago
ekager 170ae1aa33 For #12263 - Adds end margin to synced tabs header 4 years ago
Hakkı Kaan Çalışkan 331090d1e6 For #12007: Fix add search engine items using wrap content for height 4 years ago
Emily Kager 90f43bf350
For #12086: Follow ux mock on Settings --> Customize screen (#12324)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
4 years ago
liuche ad8e28ae02
For #12007: Follow ux mock on Settings --> Search screen (#12177)
Co-authored-by: Hakkı Kaan Çalışkan <caliskanhkaan@gmail.com>
4 years ago
Tiger Oakes 50c3c9a9dd
Fix ignored XML lint issues (#12094) 4 years ago
Mihai Eduard Badea e0fa1c0db4 For issue #11835 - Update text fonts
Updated the fonts and colors for several texts throughout the application.
4 years ago
Michael Comella 5ef6b49aa1
For #8795: remove redundant ConstraintLayout around BrowserToolbar. (#12014)
This is functionally equivalent to the code before this patch but should
be slightly more performant in theory because ConstraintLayout is
expensive to inflate.

The elevation and layoutParams set dynamically appeared to have no effect
with the wrapping view but broke the view when used by itself so I had
to remove them. I also updated a few other unnecessary params.

Theoretically this may have some perf benefits but I didn't see anything
outside noise levels after I took the numbers (but I didn't try very
hard).
4 years ago
Jonathan Almeida f89b157c23
For #12002: Show default tab background when thumbnail not available (#12041) 4 years ago
Hakkı Kaan Çalışkan 2cbd969e34 For #11641: Update synced tabs view 4 years ago
mcarare 64947a8686 For #10285: Swap TextView for a LinkTextView to improve links a11y 4 years ago
mcarare 0626384baf For #10285: Swap TextView for a LinkTextView to improve a11y. 4 years ago
person808 ad90625b48 For #2165 - Add swipe to refresh gesture to bookmarks view. 4 years ago
David Walsh 77ed670558 For #11860 - Conditionally show add to collection button on Home screen 4 years ago
mcarare 7b20bb9976 For #11562: Align overflow menu button with close buttons. 4 years ago
Jeff Boek 2c39d3ebca For #11430 - Gives enough padding to the tab tray give adequate space for the fab 4 years ago
Tiger Oakes ce31a620d5 Minify XML path 4 years ago
Jeff Boek 2861421312 For #11112 - Adds save tabs to collection button to the no collections message 4 years ago
ekager 761d253f59 For #8649 - Fixes overlapping bookmark sign in button 4 years ago
Hakkı Kaan Çalışkan c8d36ddc36 For #8649: No bookmarks here strings are close to the top 4 years ago
mcarare 00862708ae For #10551: Increase touch target for link. 4 years ago
ValentinTimisica 0b57f5e71b Fixes #10551: Removes the increased touch target for learn more link 4 years ago
Sachin 988513aa89
for #10568 moved awesomebar and toolbar into fragment_search (#11744) 4 years ago
ValentinTimisica 3ad7795a2d Fixes #11134: Removes margin to allow collection title to expand 4 years ago
mcarare e7bc266578 For #11665: Adjust visual design for delete browsing data screens. 4 years ago
Mihai Eduard Badea 0ce4aa1e60 For issue #10764 - Onboarding toggle color
- Removed the theme from the toggle so that the default colors from the themes are used instead
4 years ago
MarcLeclair 5f7bb68a51
For #11666: TopSites layout from Constraint to Linear (#11669) 4 years ago
Hakkı Kaan Çalışkan 56b00d0625 For #11456: AddonDetailsFragment should use ConstraintLayout, not RelativeLayout 4 years ago
Kainalu Hagiwara 291a29b334
For #11651 - Fix top site favicon size and dark theme border color. (#11652) 4 years ago
ekager 37ccc52d35 For #11558 - Fix double click required for tabs tray 4 years ago
Sören Hentzschel 396cd61efa For #9712 - show "AC: " before AC version on "About" screen 4 years ago
Jonathan Almeida e6da2bd910 Fix breaking APIs in TabsAdapter and ViewHolder 4 years ago
David Walsh 149efc1683
For 9640 - Focus on last selected tab in tab tray with a11y turned on (#11487) 4 years ago
David Walsh 063cf457ba
For #11291 - Provide New Tab button when accessibility enabled (#11441) 4 years ago
mcarare 724ca2fca9 For #10281: Reduce logo margin to compensate top site padding increase. 4 years ago
mcarare 852720f8c6 For #10281: Change margin with padding to allow flexbox to stretch. 4 years ago
Jeff Boek 1639b1d3a1 For #11342 - Fixes missing space for the FAB 4 years ago
person808 d14b39a56e For #2165 - Implement pull-to-refresh gesture to sync history. 4 years ago
Mugurell f163861b47 For #11177 - Load all share targets in the horizontal share menu
This was previously regressed by having the RecyclerViews for "recent" and
"all" items put inside a HorizontalScrollView which would then prevent the
RecyclerViews from actually scrolling, recycling, showing new items.

As a quick solution that would keep the desired behavior the "all" items list
is now a child of a RelativeLayout which will allow it to load all items at
once and so all the share targets will be available to the user but which also
means no recycling.

The RecyclerView for the "recent" items uses a `RECENT_APPS_LIMIT = 6` so this
does not need the same "fix" as all the items would fit the screen without
any issue.
4 years ago
person808 3ff20c0b25 For #11081 - Add dark theme colors for top sites. 4 years ago
Elise Richards 137d66a511
For 10172: Set edit text listeners (#11196)
* Set edit text listeners

* Set clearable icons and change with error states

* Clear text buttons show and hide

* Move error checks to afterTextChanged. Refactor. Remove unused color.
4 years ago
Christian Sadilek d16c70d8be Wire up UI to make add-on installation cancelable 4 years ago
David Walsh d33080571b
For #11267 - Announce "Your open tabs will be shown here (#11272) 4 years ago
mcarare c8b40fa617 For #11246: Align text to viewStart to support RTL layouts. 4 years ago
person808 d66ccb8631 For #11277 - Set textAlignment to viewStart to fix RTL layout in empty ETP exceptions screen. 4 years ago
person808 a57d76eb4f For #6180 - Set textAlignment to viewStart to fix RTL layouts. 4 years ago
mcarare 512aa46224 For #11229: Update ETP cfr string and behaviour. 4 years ago
mcarare a0d9189321 For #11229: Update onboarding ETP copy. 4 years ago
Jeff Boek 52c2fdb310
Remove tab tray feature flag (#11176)
* For #11171 - Removes feature flag for the new tab tray

* For #11171 - Removes all tab references from homeFragment

* For #11171 - Fixes unit tests

* For #11171 - Gets UI tests to compile and HomeScreenTest to pass

* For #11171 - Fixes `deleteMultipleSelectionTest`

* For #11171 - Fixes `openHistoryItemInNewPrivateTabTest`

* For #11171 - Fixes `openHistoryInPrivateTabTest`

* For #11171 - Fixes `openHistoryInNewTabTest`

* For #11171 - Fixes `openNewPrivateTabTest`

* For #11171 - Fixes tabbedBrowsingTests

* For #11171 - Fixes SettingsPrivacyTest

* For #11171 - Fixes TopSitesTest

* For #11171 - Fixes lint errors

* Ignore
4 years ago
mcarare 741fa799ad For #7752, #7753: Adjust touch targets for elements in crash reporter. 4 years ago
mcarare f47c80d10b No issue: Fix xml indentations. 4 years ago
mcarare 2d24369362 For #7725: Increase info button touch target while keeping size.
Also removed unnecessary touch delegate.
4 years ago
mcarare 8f3274eba9 For #9590: Increase widget elements touch target while keeping size. 4 years ago
Dennis Schubert d046d908fc Bug 1643132 - Remove native "Report site issue" functionality.
This will be replaced by the WebCompat team's system extension that ships as an android-component.
4 years ago
David Walsh 7013e8198b For 11114 - Correct landscape tab tray buttons 4 years ago
Jonathan Almeida 803ed6cde3 For #11154: Fix button color on migration UI 4 years ago
ekager ead3194d86 For #8759 - Allow recently used in share fragment to scroll 4 years ago
Jeff Boek 2dd0a3cb9e
Implement tab tray design improvements and fix close functionality. 4 years ago
mcarare 7d50834a90 For #11139:Constrain title to start of checkbox and ellipsize. 4 years ago
mcarare ad829115ef For #9545: Split button to allow distinct focus for a11y services. 4 years ago
mcarare c4f7a32eae For #9583: Increase touch targets for onboarding elements. 4 years ago
mcarare 713b004488 For #9805: Increase touch target for build date. 4 years ago
mcarare 0aeb89400b For #9805: Increase touch target for etp panel switch. 4 years ago
Jeff Boek 5fe007b723 For #10577 - Adds elevation for the browser toolbar popup 4 years ago
Tiger Oakes 50441e28f1 Tests and cleanup for tracking protection 4 years ago
Vishwa Patel 4da22c605a For #10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Gabriel Luong 60b68a265a
For #10921 - Integrate BrowserThumbnails feature into the tabs tray (#11093) 4 years ago
Jeff Boek f05890efec For #10848 - Fixes bug where selected index wouldnt be properly calculated in private mode 4 years ago
Jeff Boek 917609aa36 For #10848 - Fixes FAB color when in private mode 4 years ago
Jeff Boek 91402f9b38 For #10848 - Fixes icon colors and missing divider 4 years ago
David Walsh b9370640a2 Update multi-task, private, 3-dot icon and hairline in light mode to ink_20 (#312A65) and in dark mode to violet_50 (#9059FF) 4 years ago
David Walsh 51ea68f4bd For 10848 - Add divider under tab headings 4 years ago
Jeff Boek 3946ec11de
Polish homescreen (#11065)
* For #10505 - Adjusts wordmark margins

* For #10505 - Removes topsite header, fixes collections header size and removes divider

* For #10505 - Restyle the top site items on the homescreen
4 years ago
ekager 20e358228e For #11015 - Switch Default ETP Setting to Standard 4 years ago
mcarare 906d72c894 For #9594: Increase touch target for snackbar action button button. 4 years ago
apoorv9990 97704bfdbd Closes #9529: changed styling for permissions dialog to set proper padding
- Changed the visibility check to check just for the permissions shown instead of all the permissions in WebsitePermissionsState
- Added bottom padding to the permissions root view so there is balanced padding on top and bottom
4 years ago
Sawyer Blatz 94d741864e For #9488: Add search widget CFR 4 years ago
Jonathan Almeida 63b4fcd4c4 For #11004: Fix invisible text on migration UI
For some text and colors, we were using the default styling where
possible. These styles contain references that react to theme changes
like dark mode. Since the migration UI does not respect these changes,
we should not use them.
4 years ago
David Walsh ea4c342797
For #10877 - Show 'no tabs' message when no tabs are open (#10960) 4 years ago
Mihai Eduard Badea 610409862b For issue #10725 - Truncated account details
- Set the textview's height to "wrap_content" and added top/bottom padding to account for the size difference and maintain the original height
4 years ago
David Walsh 424598946a For #10962 - Remove tab tray tab text labels 4 years ago
David Walsh 58a7e63105 For 10965 - Implement content description and fix border for add button 4 years ago
David Walsh 248237290e
For #10865 - Implement 3 dot menu for tab tray (#10869) 4 years ago
mcarare a59917cdc0 For #9626: Swap margin for padding and remove use of touch delegate.
Also remove text margin to maintain visual appearance.
4 years ago
mcarare 6e325d6242 For #6198: Update copy and position of pair QR code scan message. 4 years ago
mcarare a62f4b2caa For #10851: Add end constraint for text view. 4 years ago
mcarare ce46a96742 For #10706: Update copy of deleting open tabs preference. 4 years ago
David Walsh ebb562a789 For #10859 - Use dark or light mode colors for tab tray in private mode 4 years ago
sraturi 703a8ed565 added a onTouch listener to scrollview in search fragment to make it disappear on scroll 4 years ago
Jeff Boek 601aedda46 For #10504 - Removes "old" TabTrayFragment 4 years ago
Jeff Boek a674c5dfe7 For #10504 - cleans up tabLayout colors 4 years ago
Jeff Boek 90cef752b0 For #10504 - Fixes up tab tray dialog styles 4 years ago
Jeff Boek dd2a26fc7c For #10504 - Added the tab tray to the TabTrayDialogFragment and wired up dismiss actions 4 years ago
Jeff Boek 34ac9df481 For 10504 - Adds dialog style and fab 4 years ago
codrut.topliceanu 7feae98944 For #9044 - Replace DownloadNotificationBottomSheetDialog with unobtrusive view
- Renamed DownloadNotification and removed DownloadState.dismissed dependency
- Improved DynamicDownloadDialog behaviour when scrolling
- DynamicDownloadDialog remains attached to tab until dismissed
- Fixed onTryAgain not working for resumed DownloadDialogs
4 years ago
David Walsh 346b4aa3fd
For #10321: Wire up play and pause buttons in tab tray (#10422) 4 years ago
Emily Kager 9b16017d1d Revert "For #7032: Add scroll to dismiss keyboard in search fragment"
This reverts commit 536921bcea.
4 years ago
partha2000 124b21d209 For #10632 - Update Content Description for X icon in collection 4 years ago
Sachin 536921bcea
For #7032: Add scroll to dismiss keyboard in search fragment
* added a onTouch listener to scrollview in search fragment to make it disappear on scroll

* fixed lint issues
4 years ago
mcarare b244fd53ac For #10656: Adjust etp checkbox dimensions for a11y. 4 years ago
Elise Richards edc75c3ad0
Fixes #9504: Edit logins (#9693)
* Create editable view and fragment. Update login info page to display options menu with edit and delete.

* Create feature flag for edit. Check flag in the login detail fragment and default to just delete.

* Add three-dot kebab options menu in login detail fragment. Add title to the login item.

* Nav to and from edit view on save and back pressed.

* Save login through AC login manager. Clear text in editable field on button click.

* Match colors, fonts, dimens to UX specs for edit logins. Enable password reveal/hide and clearing text fields.

* Refactoring logins fragments. Using component Login object for consistency.

Fetch login list when saved logins are opened. Fetch login details when detail view is opened.

Revert "Fetch login list when saved logins are opened. Fetch login details when detail view is opened."

This reverts commit 44fe17166c3332b330229258b2e8982832672e3b.

* Using parcelable login and Login component class to pass ids and items between fragments

* Retrieve login from storage when viewing login details.

Rename login logic for consistency.

Ktlint cleanup

Fix nits and naming consistency.

* UX consistency for login detail and edit login pages

* Rebasing with logins sort - updating logins store.

* Rebasing with logins sort - merging fragments and controllers.

* Lint and removing unused files.

* UX cleanup.

* Update string description
4 years ago
mcarare a7ff8cafc7 For #7887: Increase touch target height for learn more link. 4 years ago
mcarare ff6447b755 No issue: Fix xml indentations. 4 years ago
Jeff Boek a249334976
🎲 For #10332 - Adds undo snackbar when closing tabs in the tab tray (#10456) 4 years ago
ValentinTimisica b2e5820364 For #10343: Remove 'Library' functionality from the app
Also adds Bookmarks and History items to browser menu.
4 years ago
Simon Chae ca7695854a
For #10552: Set initial add-on details fragment visibility to false (#10565) 4 years ago
Mihai Branescu dd843b4989 For #10501 - use theme instead of tint to support older APIs 4 years ago
Simon Chae d58e7d3138 For #10473: Fetch the addon from addon manager instead of the store 4 years ago
codrut.topliceanu d1005dd236 For #8589 - Fix for accessibility navigation in ETP panel 4 years ago
Sawyer Blatz a01881067f For #8643: Updates colors of onboarding accents 4 years ago
Sawyer Blatz 5f11c5e648 For #9857: Updates onboarding button styles 4 years ago
Mihai Branescu eef5cf3469 For #10482 - made SVG gradient compatible with API < 22 4 years ago
ValentinTimisica 24ba9f2fc8 For #9505: Adds possibility to sort saved logins
Currently we support sorting by name and by last used. Also, the selected
option is saved in shared preferences so that the last option chosen by
the user is properly displayed even after the app was restarted.
4 years ago
Mihai Branescu cde31cf785 For #8643 and #7606 - Changed toolbar picker illustrations according to theme 4 years ago
Mihai Branescu 16b7a9399b For #8643 and #7606 - Changed theme picker illustrations according to theme 4 years ago
Mihai Branescu 03726384de For #8643 and #7606 - Changed styles for most onboarding cards 4 years ago