1
0
Fork 0
Commit Graph

858 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Emily Kager 7d613b72ae For #7181 - Adjust ETP onboarding for toolbar positions 2020-01-08 11:06:38 -07:00
mcarare 8aa04c048e For #6851 Update text copy of option to add custom search engine 2020-01-06 14:32:02 +02:00
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2020-01-03 18:15:35 -08:00
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 2019-12-23 10:07:02 -08:00
Mihai Adrian 33ac75d166 For #3574 Allow all screen readers to read onboarding items one-by one (#7292) 2019-12-19 09:53:53 -05:00
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
2019-12-18 12:26:41 -05:00
David Walsh b4e10965b7 Use localized strings in the quick settings panel (#7249) 2019-12-17 10:47:21 -08:00
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
2019-12-16 20:35:36 -08:00
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 2019-12-13 17:52:55 -08:00
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
2019-12-12 11:34:10 +02:00
mcarare 1c9c8f590a For #7066 Increase space below checkbox preference 2019-12-11 11:23:14 -08:00
Sawyer Blatz de6469e198 For #7073: Makes logo on about page not important for accessibi… (#7074) 2019-12-10 12:15:11 -08:00
Jeff Boek 4fb26a0601 For #4664 - Updates search_with string. (#6909) 2019-12-06 10:36:19 -08:00
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 2019-12-05 19:54:32 -08:00
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
2019-12-05 09:37:20 -08:00
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
2019-12-04 15:00:51 -08:00
ekager 3df32edff0 No issue: Fix search suggestions strings 2019-12-02 21:39:10 +00:00
mcarare 05321dc504 For #6835 Align Home and Browser toolbar elements to perfectly overlap 2019-12-02 16:17:07 +00:00
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 2019-11-27 11:13:20 -08:00
cesar 9127505cc9 For #6769 - EditText moved to be above the gradient view 2019-11-27 10:48:38 -08:00
Mihai Adrian 531f7e7a67
For #5497 Align text to viewStart to keep consistency in RTL (#6778) 2019-11-27 10:35:49 +02:00
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
2019-11-25 16:43:32 -08:00
David Walsh bc56ae194a Fix 6048 - Improve alignment in Edit Bookmark screen 2019-11-22 10:14:00 -08:00
Matt McKenna d1f70e908e Add a simple gradient to collection creation 2019-11-21 15:27:50 -08:00
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
2019-11-21 15:05:59 -08:00
mcarare 1d36098878 For #1019 Add onboarding search suggestion hint panel 2019-11-21 14:36:14 -08:00
mcarare 5543f3272d For #1019 Add option to enable search suggestions in private mode 2019-11-21 14:36:14 -08:00
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
2019-11-19 16:30:56 -08:00
Patrick Martin 8abf580579 For #2294 - History URL is cut with a large font se 2019-11-19 10:50:17 -08:00
David Walsh 8016eb56aa Provide top padding to URL 2019-11-18 14:01:40 -08:00
David Walsh 6bd6e3035d Implement a more dynamic layout height 2019-11-18 14:01:40 -08:00
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 2019-11-14 16:25:50 -08:00
Tiger Oakes 333ff8c941 Fixes #4528 - Prevent share menu from jumping
Plus a bunch of docs and refactoring
2019-11-14 16:25:50 -08:00
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
2019-11-11 17:10:14 -08:00
Sawyer Blatz d6aeeb2dec
For #5958: Adds in app download notifications (#6506) 2019-11-11 14:08:51 -08:00
Emily Kager d9615108ee For #6354 - Removes ETP Experiment, Removes Feature Flags, Sets Strict Default 2019-11-08 08:37:15 -08:00
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
2019-11-06 11:54:43 -08:00
ekager 18c0525ff6 Use new API for ETP Exceptions 2019-11-05 12:45:58 -08:00
Emily Kager 52ad5dafe2 Closes #6369 - Use padding set from style for protection settings 2019-11-04 10:25:15 -08:00
Jeffrey Starke f1d52ce2da Use vector compat in TrackingProtectionPanelView (#6376) 2019-11-04 10:04:02 -08:00
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.
2019-10-31 17:08:40 -07:00
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.
2019-10-31 17:08:40 -07:00
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.
2019-10-28 09:44:03 -07:00
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
2019-10-25 13:28:38 -07:00
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.
2019-10-25 13:28:38 -07:00
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 2019-10-25 08:09:38 -07:00
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 2019-10-24 10:52:30 -07:00
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 2019-10-24 10:32:59 -07:00
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 2019-10-24 10:32:29 -07:00
ekager f49331de55 For #5544: Bare Minimum Logins UI 2019-10-24 10:29:03 -07:00
RaviGarbuja 8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 2019-10-24 10:24:39 -07:00
Tiger Oakes 97433dc145
Use tools:listitem with collection creation (#6140) 2019-10-24 10:24:08 -07:00
obarzpaw f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 2019-10-24 09:46:09 -07:00
ValentinTimisica bdb2fa71fc For #6145: Switch drawableTint to app compat version. (#6151)
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
2019-10-24 09:38:58 -07:00
Jeff Boek 6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 2019-10-24 09:35:21 -07:00
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 2019-10-24 08:57:30 -07:00
Severin Rudie aa8642f534
#4596 migrate collections (#5911)
* For #4596: move code from CollectionCreationComponent to CollectionCreationStore

Other than adding comments, no changes were made. The code will be updated in a following commit. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreateStore to libstate

* For 4596: copied CollectionCreationUIView into CollectionCreationView

Otherwise, no code was changed. The next commit will update this code. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreationView to LibState

Note that the minimal changes possible to enable migration were made.  Refactoring will happen in a later commit.

* For 4596: updated CollectionCreationTabListAdapter to work with the new View

* For 4596: updated SaveCollectionListAdapter to work with the new View

* For 4596: implemented CollectionCreationController

For now, it has an identical interface to the interactor. In a later commit several of its responsibilities will be moved around, some to the interactor and some to the reducer

* For 4596: copied over previous reducer code

No other changes were made. The code will be updated in the following commit. This is done to make changes more readable for the reviewer

* For 4596: update reducer code param names

Otherwise, no changes at this time

* For 4596: add arguments to CreateCollectionFragment in nav_graph

These will be used to replace the current CreateCollectionViewModel, which shares data between fragments in a way that doesn't fit within our architecture.

* For 4596: pass arguments to collection via transaction instead of VM

The VM will be removed in a later commit

* For 4596: update BrowserToolbarController to share state to collection via its Direction

* For 4596: removed CreateCollectionViewModel

* For 4596: test tab retrieval in CreateCollectionFragment

* For 4596: fix crashing CreateCollectionFragmentTest

* For 4596: removed classes create collection classes used by old architecture

* For 4596: collection interactor rename + kdoc

* For 4596: moved collection interactor interface

* For 4596: renamed CreateCollectionFragment

All related classes followed the pattern of CollectionCreationX

* For 4596: kdoc CollectionCreationController

There's no effective difference between these calls and their interactor equivalent, so I linked to them

* For 4596: fix bug that caused rename to not work

* For 4596: removed unused collection actions

These were unused before the LibState refactor

* For 4596: kdoc StepChanged

* For 4596: removed todos about moving logic to the reducer

saveTabsToCollection: this could be moved, but that would involve creating a new action. SaveCollectionStep should probably be refactored out, so adding this layer of indirection seemed counterproductive

handleBackPress: needs to be able to call dismiss(). The reducer doesn't (and shouldn't) be able to do that, so this needs to live here

stepBack: called by handleBackPress. See above

* For 4596: wrote tests for CollectionCreationController#stepback

* For 4596: fixed tests broken by changes to collections

* For 4596: small readability refactor for CollectionController#stepBack

No change to functionality (see tests)

* For 4596: broke apart CollectionView#update

There's probably a lot more that could be done here, but smaller changes were made to reduce scope

* For 4596: remove unnecessary todos

It looks like we don't follow the suggested pattern in this project

* For 4596: test CollectionCreationController#normalSessionSize

* For 4596: updated naming in CollectionCreationController per review
2019-10-22 17:33:54 -07:00
Tiger Oakes 4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 2019-10-21 10:06:08 -07:00
Sören Hentzschel 7cf1a9e195 for #6008 - fix address bar layout on home fragment for RTL (#6016) 2019-10-21 10:02:13 -07:00
Sören Hentzschel 8921a46f27 For #6011 - fixed truncated clipboard icon in RTL (#6017) 2019-10-21 10:01:51 -07:00
Sören Hentzschel 9995199caa fixed alignment of open tabs header for RTL languages (#6138) 2019-10-21 09:53:21 -07:00
Mihai Branescu 2be4d08228 For #6018 - Added back shortcuts button in awesomebar
Refactored logic for adding providers, since shortcut providers should
be alone in the list, while all others can be as list
2019-10-18 14:48:58 +03:00
MozLando aa1a5f3d32 Merge #6026
6026: For #5709: Align ETP onboarding popup implementation with original mocks r=ekager a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-16 17:49:16 +00:00
mcarare b82a794908 For #5709: Align ETP onboarding popup implementation with original mocks 2019-10-15 17:07:47 +03:00
Mihai Branescu 1490c0178f For #5749 - Update string for ETP onboarding popup 2019-10-15 15:56:59 +03:00
mcarare b1dcc69e52 For #5709: Align ETP Settings Screen implementation with original mocks 2019-10-14 15:59:43 +03:00
MozLando bb22fb3092 Merge #5507 #5846
5507: For #1383 Added tab title to close button content description r=ekager a=mcarare


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [ ] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

5846: For #3604 Snackbar messages for closing tabs use closed instead of deleted r=sblatz a=mcarare


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [x] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-11 16:28:36 +00:00
Mihai Adrian 18a130b38e For #5798: Fix info icon pixelation (#5841) 2019-10-08 09:30:32 -04:00
Vipul Asri 31ae5709c2 Closes #5573: fix radio-button spacing in settings 2019-10-07 13:07:53 -07:00
Tiger Oakes d5c3433041 Use the new fragment constructor 2019-10-07 11:07:48 -07:00
Madalin Valceleanu f4be12227f Fix the incognito icon looks out of place/misaligned 2019-10-07 10:15:11 -07:00
Sawyer Blatz 371e2ac3d8
For #514 & #5742: Updates "launch links in private tab" functionality (#5721)
* For #514 & #5742: Updates "launch links in private tab" functionality

* Fixes comments
2019-10-03 12:43:33 -07:00
Madalin Valceleanu 4a0917ba32 Fix too much space under the address bar 2019-10-03 11:30:03 -07:00
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
2019-10-03 08:53:16 -07:00
Sawyer Blatz 2f0d8d8243 For #5712: Updates text color for fill link from clipboard 2019-10-01 16:29:39 -07:00
Severin Rudie 5e8798e89c Issue #4513: add ProgressBar to bookmark component layout 2019-09-26 16:29:14 -07:00
Colin Lee de93b05cac For #2754 Add tab cards to share sheet (#5493)
* For #2754 Add tab cards to share sheet

* For #2754: Fix background near rounded corners and ShareButtonAppearanceTest

* Add license to share_tab_item
2019-09-26 14:25:34 -07:00
Mugurell c5330c6880 For 5092 - Show a Snackbar with retry option if sharing to devices fails (#5158)
* For #5092 - Show a Snackbar with retry option if sharing to devices fails

ShareController will contain all the business logic for checking the result
status of the `share to device` operations. When this fails it will show a
snackbar which also offer the possibility to retry the just failed operation.
To allow this even in the event the user has closed the share fragment we'll
use a GlobalScope's coroutine.
Refactored out the TabsSharedCallback from ShareFragment because otherwise we
would have neede to sent through that the just failed operation. After the
refactor the ShareController is solely responsable for showing the right
snackbar and handling the retry actions.

* For #5092 - Refactor ShareControllerTest

* For #5092: Adds color theming of snackbars
2019-09-26 12:30:28 -07:00
Emily Kager b0b60aa27d For #5281 - Use TrackerLog for reporting ETP categories (#5556) 2019-09-25 10:48:06 -07:00
Sawyer Blatz b6e6e36ccd For #561: Fix stutter of search icon & text when animating 2019-09-25 10:06:38 -07:00
Jeff Boek 32c506121e For #561 - Fixes visual inconsistencies with the search bar 2019-09-25 10:06:38 -07:00
Jeff Boek 5c092c1ef1 For #561 - Adds shadow/highlightto the bottom bar 2019-09-25 10:06:38 -07:00
Jeff Boek b16754d78a For #561 - Adds add tab and menu button to bottom bar
- Adds space between wordmark and session control component
2019-09-25 10:06:38 -07:00
Jeff Boek abbb310ce3 For #561 - Removes the toolbar from the home screen
- Removes the menu button
- Fixes motionlayout animation with the wordmark/private browsing button
2019-09-25 10:06:38 -07:00
mcarare bfe8bf4663 For #1383 Added tab title to close button content description 2019-09-25 10:34:02 +03:00
Mihai Adrian c7c752cabb For #5356 Improves private browsing "common myths" link accessibility (#5479)
Added separate TextView for link text
Used UnderlineSpan to show text as link
Split string private_browsing_placeholder, one for each TextView
Set clickListener on TextView so it can be accessed via Talkback
2019-09-24 10:46:34 -07:00
Sawyer Blatz f02603be37
For #5460: Fixes styling of fill link from clipboard (#5464) 2019-09-20 15:29:16 -07:00
mcarare 77ce658033 For #5383 Refactored ETP layout to keep appearance for larger font size.
Added paddingTop to layout to maintain similar space above title.
Added image's bottom colour as background color to fill space below image.
Refactored TextViews alignment to chain.
Changed guideline to percent instead of dp for wider screens including tablets.
2019-09-20 14:01:30 -07:00
Tiger Oakes 6c30a94081 Move settings classes to packages 2019-09-20 12:36:15 -07:00
mihai-adrian 47064a68e0 For #5141 Changed "learn more" link to be accessible to Talkback users 2019-09-20 12:29:02 -07:00
Tiger Oakes 172a9cf06c Extract and test crash reporter code 2019-09-20 11:04:11 -07:00
mcarare 95a7aa9223 For #4526 Prevent automatic theme summary being cutoff with long text 2019-09-20 09:20:57 -07:00
Sawyer Blatz e961a9d63d For #1744: Adds clipboard provider to search engine screen 2019-09-19 08:24:27 -07:00
Jeff Boek 976c840047 For #3077 - Replaces connect another device dialog with a scree 2019-09-18 17:24:43 -07:00
Sawyer Blatz 956f4f0534
For #5411: Fixes delete button turning red (#5412) 2019-09-18 15:20:05 -07:00
Emily Kager 7214f40008 For #5368 - Make every blocking category gone by default 2019-09-16 15:01:29 -07:00
Emily Kager 140da0dd0f For #5359 , #5360 - Update ETP Vectors for Android 5+6 2019-09-16 15:01:29 -07:00
ekager 90ef5ec9bb Closes #5338 - Use padding instead of margin for delete browsing item 2019-09-15 19:46:50 -07:00
ekager 8cd0d8faf3 For #5304 - Align ETP Onboarding Tool Tip PopupWindow 2019-09-13 18:25:26 -07:00
Sawyer Blatz 93ba506722 No issue: Slightly changes margin on play/pause button 2019-09-12 13:37:49 -07:00
Emily Kager f698bdfcb5 For #5270 - Adds state list color for delete browsing checkboxes 2019-09-12 13:27:27 -07:00
Colin Lee 0d1c19d017 For #3106: Improve granular data deletion margins 2019-09-12 10:25:14 -07:00
ekager 4461230e9b For #5229, #5228 - Dismiss ETP panel on back press, don't truncate text 2019-09-12 07:40:49 -07:00
Emily Kager a5859e0028 For #5178 - Polish delete browsing data item layout 2019-09-11 18:11:26 -07:00
Jeff Boek e092dfd684 For #5047 - Addresses nits
- Changes MainScope to viewLifecycleScope
- Fixes string name/comment to better describe what it is
- Adds disabled state to the add button
2019-09-11 16:10:54 -07:00
Jeff Boek d18ec49704 For #5047 - Wires up dialog to webAppUseCases 2019-09-11 16:10:54 -07:00
Jeff Boek faff73b9b3 For #5047 - Creates dialog ui for naming a shortcut 2019-09-11 16:10:54 -07:00
Emily Kager e3209dcc84 For #3700 - Add Setting to Delete Data on "Quit" menu action 2019-09-11 16:06:18 -07:00
Sawyer Blatz 999d3cb963 For #1114: Show playing tab 2019-09-11 15:45:22 -07:00
Emily Kager bafbea1512 No issue: Set color for toolbar divider (#5221) 2019-09-11 11:46:00 -07:00
Yeon Taek Jeong 2e2bac4ccd
For #419: Create launch icon for private browsing (#4948) 2019-09-11 10:52:33 -07:00
Sawyer Blatz 9d30d7bb03 For #4155: Restyle to custom menu 2019-09-11 09:03:17 -07:00
Emily Kager 4485b7f647 Add Tracking Protection Info Panel 2019-09-11 07:47:13 -07:00
ekager 9dd9400600 For #5178 - Do not truncate delete browsing text 2019-09-10 10:44:14 -07:00
Colin Lee 2b9efccfca For #3106: Granular options for clearing user data 2019-09-09 12:32:28 -07:00
Sawyer Blatz b86a32fa17
No issue: Top aligns close button for tab in collection (#5161)
See https://github.com/mozilla-mobile/fenix/pull/4442#issuecomment-528580904 for more info
2019-09-09 11:08:30 -07:00
Mihai Adrian ed0b6bd5ef For #4193 - Makes close button for tabs more accessible (#4442)
* fixes #4193 - made close button for tabs more accessible.

set recommended minimum size for accessibility 48x48, while keeping image size the same
removed margin from button and text as it was not needed anymore
aligned close button in center of tab to be visual consistent with alignment of favicon and more visual accessible

* Fix margins
2019-09-06 10:33:55 -07:00
mihai-adrian c8d622c43d For #5142 Removed RadioButton from accessibility keeping one option for Talkback
Set android:importantForAccessibility = "no" for RadioButton
2019-09-06 14:09:58 +02:00
mihai-adrian 2e544145b7 For #5095: Changed search engine text color from default to ?primaryText 2019-09-04 07:57:17 -07:00
Sawyer Blatz 09dcdb079d For #4474: Adds what's new button to home screen menu (#5088)
* For #4474: Adds what's new button to home screen menu

* For #4474: Adds tests for what's new button
2019-09-03 15:16:29 -05:00
Mugurell 095870145f For #4007 - Refactor AppShareView in standalone Share Views
In an effort to respect the initial MVI architecture I've broken the
complex `AppShareView` in 3 separate Views
- `ShareCloseView`
- `ShareToAccountDevicesView`
- `ShareToAppsView`
They are standalone Views (extending LayoutContainer) which know nothing about
each other or their parent and so offer their container the possibility to
order or display them in any form later.
According to the lib-state contract they are only responsible to
- inflate themselves in their injected containerView
- render a certain state (to be added in later commits)
- delegate all user interaction to an associated Interactor
2019-08-29 18:12:50 -07:00
Mugurell 5e19741ddd For #4007 - Use camelCase for views referenced from code
As per #4341.
Also reformatted layouts to have a more consistent style.
Also refactored `AppShareRecyclerView` and `AccountDevicesShareRecyclerView` by
defining their LayoutManager in XML to reduce code complexity.
2019-08-29 18:12:50 -07:00
Mihai Adrian 9b911f3276 Fixes #4894: added workaround for SDK<24 vector drawable with gradient color (#4944)
Removed drawableStart and added ImageView in layouts
Set ImageView logo programmatically: bitmap for SDK<24, vector for SDK>=24
Added onClickPendingIntent for ImageView in large and medium layouts
2019-08-29 12:55:51 -07:00
Mihai Adrian 594569164d Fixes #4211 changed SeekBar height to wrap_content to prevent misaligned dot (#4832)
Changed height from match_constrained to wrap_content.
2019-08-27 12:50:00 -07:00
Mihai Adrian 5d13c53706 Fixes #4440 changed padding for account_preference (#4830)
Changed padding to default value in @android:style/Preference.Material.Category.
Also changed paddingEnd value to default value.
2019-08-27 10:26:32 -07:00
Amaan Marfatia dc9fdd9db3 Fixes #4067 besides snackbar (#4777)
* Fixes #4067 besides snackbar

Makes layout hierarchy more shallow to increase performance.

* Fix #4067 Feedback

Make sure quick_action_overlay appears on top and use horizontal chain in tab_header.
2019-08-27 10:09:55 -07:00
Tiger Oakes aab357845b No issue: Clean up preferences code (#4699) 2019-08-21 08:38:14 -07:00
Yeon Taek Jeong 26c9d5d297 For #2834: Add contentDescription to tabs button icons 2019-08-20 16:34:05 -07:00
Yeon Taek Jeong 6f899c7fb5
For #2834: Delete all Private Tabs redesign (#4787) 2019-08-20 13:10:08 -07:00
Yeon Taek Jeong 727457f0ed No issue: fixes click failures on search widget icon 2019-08-16 13:58:29 -07:00
Emily Kager 3f820366a6 Closes #4680 - Align collection creation text center vertical 2019-08-14 20:17:01 -04:00
Yeon Taek Jeong a680d733c8 For #4384: Hide mic icon if speech-to-text is unavailable (#4701) 2019-08-14 16:40:21 -07:00
Yeon Taek Jeong 2441592ef2 For #4516: Use full width for large search widgets (#4659) 2019-08-14 16:00:13 -07:00
Mihai Adrian 1a4ef1535c For #4434 - made close button for collections more accessible. (#4443)
* fixes #4434 - made close button for collections more accessible.

set recommended minimum size for accessibility 48x48, while keeping image size the same
removed margin from button as it was not needed anymore
aligned close button in center of tab to be visual consistent with alignment of favicon and more visual accessible
implemented same visual solution as for #4193 - close button for tabs

* fixes #4434 - made buttons for collection home list row more accessible and aligned 3 dot menu with individual tabs close button

set buttons sizes to recommended minimum size for accessibility 48x48, while keeping image size the same
removed margins from buttons as they were not needed anymore
aligned center of menu buttons with center of collection icon
constrained description top to bottom of title, instead of share button to reduce empty space. (overlap with share button is already prevented by end constraint of description)
2019-08-14 10:12:39 -07:00
Colin Lee 5b4a441bcb For #1667: Screen reader can't reach other UI items when QAB expanded (#4695) 2019-08-14 09:56:29 -07:00
Jorge De Los Santos 337ad1e88e For #3424 - Make talkback ignore ImageButton in Collection Sele… (#3792)
For #3424 - Make talkback ignore ImageButton in Collection Selection by removing contentDescription and setting importantForAccessibility=no
2019-08-12 11:49:25 -04:00
Jonathan Almeida 23f5ac0fb9 For #4066: Create InflationAwareFeature for lazy inflation 2019-08-09 11:48:55 -04:00
Colin Lee 519c3bde5d For #4066: Provide lazy inflation of Find In Page View 2019-08-09 11:48:55 -04:00
ValentinTimisica 63d50d9827 Fixes #4323: Modified UI of component_collection_creation.
To fix the overlapping issue I used Guideline and
layout_constraintWidth_default property. I also used the
layout_constraintHorizontal_bias property to make the back_button to
lean to the left and the select_all_button to lean to the right.
2019-08-08 12:57:19 -07:00
Colin Lee a514cb3f8c No issue: Add OSS licenses link to About page 2019-08-07 12:40:10 -07:00
ekager 0320efee84 No issue: Removes focusableInTouchMode from home searchbar view 2019-08-05 15:42:21 -07:00
Emily Kager 6f7ae227a8 Closes #4540 - Set correct tint for select bookmark folder icon (#4541) 2019-08-05 14:54:39 -07:00
ekager 5edc9d0b4e For #2021 - Update custom preferences' views with email/account changes 2019-08-05 09:53:27 -07:00
ekager d0071d0177 For #4495 - Clean up homescreen toolbar focus and content descriptions 2019-08-05 08:58:03 -07:00
Nikit Bhandari 671727c3e8 For #4341 use camelCase for views referenced from code 2019-08-03 09:25:55 -07:00
Tiger Oakes 6e2ea0750e Issue #2379 - Use LibrarySiteItemView in history 2019-08-02 17:15:41 -07:00
ekager 015922ddd2 No issue: Fix Crash lower API by setting gradient drawables in onBind 2019-08-02 16:18:34 -07:00
ekager 79160255c8 No issue: Just use TextView, not AppCompatTextView 2019-08-02 13:23:55 -07:00
Yeon Taek Jeong 83ceec6289 For #201: Search Widget 2019-08-02 11:26:48 -07:00
Sawyer Blatz 29f089c414 For #2203: Polishes BrowserToolbarMenu 2019-08-02 13:40:50 -04:00
Grisha Kruglov ae33234bbc Closes #2593: FxA automatic sign-in integration 2019-08-01 17:03:45 -07:00
Tiger Oakes ccae66c08a Issue #2379 - Use LibraryPageView in history 2019-08-01 15:59:55 -04:00
mihai-adrian fa8199f429 fixes #4221 - The tap area for Open tabs' new tab and 3 dot menu buttons is too small
changed size of buttons to 48X48 following Material Design Accessibility guidelines.
removed margins from end of layout and spaces between buttons to provide consistency with the buttons from the top
2019-07-31 14:42:43 -07:00
mihai-adrian 30ecbc6000 fixes #4221 - The tap area for Open tabs' new tab and 3 dot menu buttons is too small
changes size of buttons to 48X48 following Material Design Accessibility guidelines.
removed margins from end of layout and spaces between buttons to provide consistency with the buttons from the top
2019-07-31 14:42:43 -07:00
ekager 4494e40dbc For #4137 - Adds pagination to the history view 2019-07-31 14:35:33 -07:00
Maurya Talisetti 093b76593d Closes #3419: Use better accessibility strings for tab collections 2019-07-30 16:37:49 -04:00
ekager 3fb20aea6a Closes #4040 - Remove NestedScrollView from Bookmark Layout 2019-07-30 16:29:12 -04:00
mihai-adrian 4ee8a890a8 fixes #3843 - (L10N) regression: alignment issue when saving tabs to collection
changed height to match_constraints instead of wrap_content - this makes for a better calculation of space, avoids setting textView on two lines, with blank line below.
2019-07-30 13:41:23 -04:00
bloslo 7ab4498771 For #3548 - Fix close tab button visibility. (#3801)
* For #3548 - Fix close tab button visibility.

* Switch to 'wrap_content' instead of fixed values.

* Align close tab button with settings button.

* Change margin top
2019-07-30 10:25:44 -07:00
Tiger Oakes d1651ecf71 Closes #4012 - Animate quick settings (#4047) 2019-07-30 09:50:50 -07:00
Tiger Oakes 2467588c4a Create shared custom view for library items 2019-07-30 12:26:15 -04:00
Andrey Mukamolov d5eeadda66 Closes #2142: Enable private browsing button is focused instead of Search or address 2019-07-29 09:26:33 -07:00
ValentinTimisica 4747f2c165 Fixes #4161: Modified style of bookmark_folders_sign_in button. (#4291)
To make this match the style of the other button I applied the same style to it
and also changed it to be a MaterialButton.
I also decided to extract the margin and padding values of the button.
2019-07-25 14:10:11 -05:00
Sawyer Blatz 9db0d88346
For #4262: Updates color and text of buttons (#4250) 2019-07-25 11:01:25 -07:00
Sawyer Blatz 28eb5c541a
For #1944 & #1750: Updates private & night mode colors (#4232) 2019-07-23 09:35:24 -07:00
Emily Kager 9b5baa2358 For #3360 - Adds empty state for TP Exceptions 2019-07-22 17:21:06 -04:00
Sawyer Blatz 7588251f8b
Closes #3986 & Closes #3661: Migrate QuickActionSheet to LibState & add tests (#4058)
* Closes #3986: Migrate QuickActionSheet to LibState

* Closes #3661: Add tests for QuickActionSheet

Co-authored-by: boek <jeff@jeffboek.com>

* For #3986: Fix feedback
2019-07-22 10:31:31 -07:00
Sawyer Blatz becdb88f4b Revert "For #1944 & #1750: Updates private & night mode colors (#4162)"
This reverts commit 2c95bb614a.
2019-07-18 19:55:56 -04:00
James Hugman 62850430b7 Closes AC#3695 - Add UI to open current page in external app 2019-07-18 15:33:31 -04:00
Tiger Oakes 6da6ddb095 Use StateListDrawable & resources w/ TabCollection 2019-07-18 15:29:06 -04:00
Emily Kager 451093fd9e Closes #2560 - Updates Private Browsing explanation string 2019-07-18 15:27:59 -04:00
Sawyer Blatz 2c95bb614a
For #1944 & #1750: Updates private & night mode colors (#4162) 2019-07-18 11:22:07 -07:00
Emily Kager 8daaa6378d Closes #4038 - Adds margin before close icon in tab item 2019-07-16 14:14:08 -07:00
Emily Kager 3143227692 For #3998 - Make Turn On Sync Fragment scrollable in landscape 2019-07-16 12:56:07 -07:00
Tiger Oakes 447123367a Remove unused sessions resources 2019-07-16 09:15:50 -07:00
Emily Kager 13b7e64c9b For #3134 - Add confirmation dialog to sign out of FxA (#3959) 2019-07-15 16:21:13 -07:00
Tiger Oakes 7747d5c240 Use tools:text to avoid inflating strings twice (#3619) 2019-07-15 17:01:37 -05:00
ekager 706f7d5961 For #3554 - Add DiffUtil to HistoryAdapter 2019-07-15 13:46:21 -07:00
Tiger Oakes 5de1678e65 No issue: Use putCompoundDrawables helper (#3982) 2019-07-15 08:24:59 -07:00
Emily Kager a9bfb303f7 For #3997 - Use ScrollView so landscape mode displays entire view 2019-07-12 11:49:12 -07:00
Emily Kager 5b10badc00 No issue: Remove rounded QAB corners to avoid overlapping web content 2019-07-12 09:59:19 -07:00
Emily Kager 7cea2ed048 For #3997 - Use srcCompat for sign in ImageView 2019-07-11 13:29:24 -04:00
Emily Kager 1f108f3c88 For #3806 - Adds corner radius to QAB and dialogs 2019-07-11 12:57:27 -04:00
Emily Kager c81dd0a4a8 For #3772 - Update FXA sign in UI (#3933) 2019-07-10 21:20:06 -05:00
Emily Kager 547c5d7bbe For #3906 - Add backgrounds to Permissions Buttons (#3958) 2019-07-10 20:59:47 -05:00
Emily Kager 9e7282cf18 For #1949 - Fixes bookmark separator appearance, removes menu (#3957) 2019-07-10 14:23:35 -05:00
Mugurell 0bf8b96790 Fix #3425 - Use Share header text as contentDescription (#3822) 2019-07-08 14:35:53 -05:00
ekager eaa9df7018 For #3547 - Use MaterialButton for Share Component Close Button 2019-07-08 08:59:58 -07:00
Weverson Nascimento 887102d215 For #3645: Fix search engine selection (#3665)
* Remove RadioButton drawable applied in runtime

* Add default RadioButton layout
2019-07-01 11:08:58 -05:00
Tiger Oakes d42052079a No issue: Remove duplicate wordmark and update about page (#3590) 2019-07-01 08:54:16 -07:00
Emily Kager c477c781a5 For #3355 - Allow multilines on bottom bar in Collection Creation (#3782) 2019-06-28 19:10:54 -05:00
Sawyer Blatz 4ccd19a585 For #2210: Improves UI of search fragment (#3773) 2019-06-28 19:03:04 -05:00
Tiger Oakes 606e66219c No issue: Use chains for bookmark items (#3696)
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2019-06-27 13:47:42 -07:00
Emily Kager 77edb7afe1 For #2960 Closes #3671 - Fixes bookmark deletion with undo, wraps list 2019-06-26 18:59:13 -07:00
ekager eb54d7c97f For #3690 - Gives defined size to pill_wrapper 2019-06-26 16:44:35 -07:00
Tiger Oakes e8bd090a8e No issue: Use ImageView rather than rebuilding drawable (#3616)
HomeFragment's onboarding items included drawableStart values, but also
built drawables in the view holders to replace them. Instead, we should
just use ImageViews so that work isn't duplicated.
2019-06-26 16:03:06 -07:00
Emily Kager a1ddf17364 Closes #3569 - Uses primary text attr for bookmark folder icon (#3675) 2019-06-26 15:29:21 -05:00
Tiger Oakes a78d36354a Switch RadioButtonPreference to ConstraintLayout
Also ensure that RTL works properly.
2019-06-26 09:45:55 -07:00
Sören Hentzschel e1e4c7c1f9 No issue - reduce margin between favicon and title/url in library 2019-06-24 16:16:32 -07:00
Emily Kager 03a5cb2fb4 For #3620 - Adds automatic theme onboarding content description (#3629) 2019-06-24 13:15:38 -07:00
Tiger Oakes ab6101b0f4 Fixes #3539 - vectordrawablecompat for gradients (#3541) 2019-06-18 16:38:56 -07:00
Emily Kager 6bd9b82385 No issue: Remove flash of tab adapter updating data in create collection 2019-06-14 11:01:54 -07:00
Emily Kager 1de63df01f Closes #3080 - Update constraints so first collection visible by default 2019-06-14 11:01:54 -07:00
Emily Kager 9009d16ac6 Closes #3452 Closes #3553 - Implement one button style for all themes 2019-06-14 09:38:17 -07:00
Tiger Oakes f0f5374a57 Minify vector drawables 2019-06-14 09:37:35 -07:00
Emily Kager a941b875b4 For #3439 - Clean up where accent colors didn't work with dark theming 2019-06-13 22:39:00 -07:00
Emily Kager 7abf135c89 For #2896 - Update Checkbox color on tab in collection creation 2019-06-13 22:38:08 -07:00
Sawyer Blatz c48d7fb0c3 For #3447: Fixes folder icon color 2019-06-13 16:40:42 -07:00
Andrei Teslovan d70b6418b4 Issue 3334 - Fix icons alignment in Collections cards (#3382) 2019-06-12 10:26:13 -05:00
Jeff Boek 94556cceda For #3278 - Fixes property order in search_engine_radio_button.xml 2019-06-11 16:24:28 -07:00
Jeff Boek a86ec60f8f For #3278 - Fixes search engine selector layout 2019-06-11 16:24:28 -07:00
Tiger Oakes c73ba83f45 Minify drawable assets 2019-06-11 15:11:33 -07:00
Emily Kager e57e7b50ee For #2899 - Scroll to Collections on change, animate new collections (#3279)
* For #2899 - Scroll to Collections on change, animate new collections

* For #2899 - Scroll to tabs when tabs opened from collection
2019-06-11 09:01:00 -05:00
Emily Kager 704f1e6a3d For #3004 - Restore MotionLayout on Home View only in onCreateView 2019-06-05 14:46:38 -07:00
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
2019-06-05 14:38:06 -07:00
Emily Kager 60e3c81942 No issue: Update home screen margins 2019-06-04 16:06:08 -07:00
Emily Kager ca186c8776 Closes #1618 - Add fade to awesome bar list instead of shadow (#3110)
* Closes #1618 - Add fade to awesome bar list instead of shadow

* For #1211 - Hide keyboard on fling suggestions list
2019-06-04 10:35:47 -05:00
Colin Lee 5fb100debd
For #1966: Up button should cancel multi-selection first (#3108) 2019-06-04 10:08:06 -05:00
Jeff Boek 40a3246c32 Adds dialog style for Firefox Accounts 2019-06-03 19:08:26 -07:00
Jonathan Almeida f3b7a87852 For #2562: Make version codes selectable 2019-06-03 16:02:06 -04:00
Emily Kager 50ec91d6a2 For #2896 - Polish Save To Collection Button (#3093) 2019-06-03 14:11:17 -05:00
ekager 98a40aabd7 For #2223 , For #371 - Replace Toolbar with FIP when opened 2019-06-01 10:24:55 -07:00
Emily Kager 2da401357d For #2133 - Remove delete icon from delete history button (#3053) 2019-05-31 16:27:36 -05:00
Arturo Mejia 038aecc0ee For #1919- Websites' icons are not displayed on Site permissions (#3050)
Exceptions.
2019-05-31 16:27:12 -05:00
Jeff Boek ebe894801c For #3049 - Updates sign in card visual style 2019-05-31 13:53:15 -07:00
Emily Kager 0327b1146b For #2977 - Update add new collections flow (#2991)
* For #2977 - Update add new collections flow

* Rename shared elements to be more general

* Make tab list not clickable in other modes

* For #2577 - Stop Flickering in List

* Add extensions function for next step with collections list size
2019-05-31 12:59:51 -05:00
Jonathan Almeida ab39a5088a For #2052: Fix BrowserToolbar overlapping web content 2019-05-30 20:40:56 -04:00
Emily Kager 8d0174fff2 Closes #2990 - Remove library content descriptions from browsing data items (#3017) 2019-05-30 17:07:52 -05:00
Tiger Oakes 74dd2a5f23 Issue #103 - Pull to refresh (#3020) 2019-05-30 17:05:49 -05:00
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 2019-05-30 11:45:39 -07:00
Emily Kager 4347d22d9b Closes #2186 - Search Fragment search bar margins should be 8dp 2019-05-30 08:39:35 -07:00
Emily Kager d6c1f65d72 Start MotionLayout animation to end while navigating to search fragment 2019-05-29 12:27:48 -07:00
Emily Kager 8181705b58 Init Toolbar in edit mode so we don't see the flash 2019-05-29 12:27:48 -07:00
ekager dee3c059dc Adds Shared Transition between Home and Search 2019-05-29 12:27:48 -07:00
Jeff Boek 3920cda693 For #2419 - Adds a deletion state to the history component 2019-05-29 12:20:19 -07:00
Jonathan Almeida 540b0939d2 Closes #2878: Cleanup with card-like styling 2019-05-28 15:11:41 -07:00
Emily Kager bfc0fa36b1 For #2133 - Add destructive text color to delete history button 2019-05-28 14:59:21 -07:00
Emily Kager 9871c9b2e3 For #2417 - Fade end of Edit Bookmark edit text 2019-05-28 14:58:51 -07:00
Jeff Boek 51451ff002 For #225 - Deletes data on button press 2019-05-24 17:16:03 -07:00
Jeff Boek 3cf91fc303 For #225 - Adds button to delete browsing data 2019-05-24 17:16:03 -07:00
Jeff Boek 072ef5785d For #225 -Adds checkbox listener to data items 2019-05-24 17:16:03 -07:00
Jeff Boek e9c7943fe8 For #225 - Adds icons for list items 2019-05-24 17:16:03 -07:00
Jeff Boek 3006b21508 For #225 - Adds list items for delete browsing data 2019-05-24 17:16:03 -07:00
Jeff Boek 182bbdf359 For #225 - Adds delete browsing data fragment 2019-05-24 17:16:03 -07:00
Emily Kager 01c9317be0 For #2843 - Improve Collections UI and UX (#2851) 2019-05-24 17:06:17 -07:00
Sawyer Blatz e8943a2d9c No issue: Updates l10n static strings 2019-05-24 15:29:18 -07:00
Emily Kager beb2dec79f For #2780 - Fix home screen attributes for API 21-22 (#2844) 2019-05-24 14:03:59 -07:00
Tiger Oakes 207a8d6772 Use a ListAdapter for SessionControl 2019-05-24 13:13:52 -07:00
Emily Kager 09588dfda6 For #2529 - Remove "Delete Collection" button from private browsing 2019-05-24 10:53:15 -07:00
Sawyer Blatz 549292d06e For #2732: Removes view model usage from collection creation 2019-05-24 10:40:32 -07:00
Jonathan Almeida 8fbbcceb21 Adds send tab functionality to UI (#2790)
* Closes #2782: Hide send tab when no devices available

* For #2752: Enabled send tab for debug and nightly builds

* For #2753: Add Send Tab functionality to UI
2019-05-23 18:38:03 -04:00
Emily Kager 5bc143df4c Do not use ClipChildren false on homeLayout parent 2019-05-23 13:41:00 -07:00
Emily Kager 40f2fe5166 For #1287 - Create animation for opening and closing tab from home 2019-05-23 13:41:00 -07:00
Jonathan Almeida eb7646f073 Add custom share sheet and send tab support (#2757)
* Closes #2751: Add custom app share sheet

* Closes #2753: Add send tab devices to share sheet

* Closes #2752: Add build flag for send tab

* Replace Context.share with ShareFragment
2019-05-23 10:48:22 -07:00
Emily Kager 6057c3703a For #2061 - Added Find in Page Bar No Matches Text Color (#2746) 2019-05-23 10:47:15 -07:00
Jeff Boek ab590df18b For #2717 - Adds auto signed in state to the accounts onboarding card 2019-05-23 10:26:55 -07:00
Emily Kager 7492de321d For #2530 - Show report site issue and TP off globally in quick settings 2019-05-23 08:34:24 -07:00
Sawyer Blatz 220a843534 For #2205: Updates collection title constraints 2019-05-23 08:33:42 -07:00
Sören Hentzschel cc03aeb9f0 For #2435 - adds URL to bookmarks in library 2019-05-23 08:22:34 -07:00
Sawyer Blatz afbe397f94 For #1575: Enables adding tabs to existing collection 2019-05-21 09:39:55 -07:00
Jeff Boek 692724be2f For #2395 - Navigates to turn on sync on button press 2019-05-20 23:32:58 -07:00
Jeff Boek 9d74697ab3 For #2395 - Adds sign into sync card 2019-05-20 23:32:58 -07:00
Jeff Boek b3650cacff For #2399 - Wires up tracking protection onboarding card 2019-05-20 23:32:58 -07:00
Jeff Boek a2a4524e51 For #982 - Opens privacy policy in a custom tab 2019-05-20 23:32:58 -07:00
Jeff Boek 02db8279fb For #982 - Adds icon and button for privacy notice onboarding card 2019-05-20 23:32:58 -07:00
Jeff Boek 591f367806 For #2392 - Adds icon to private browsing onboarding card 2019-05-20 23:32:58 -07:00
Sören Hentzschel 149c01c342 No issue - make spacing in history view consistent with spacing on tabs view 2019-05-20 19:38:20 -07:00
Tiger Oakes a02bf550c8 Add wordmark variants for different dpi levels 2019-05-20 19:36:09 -07:00
Emily Kager fd4de3509d For #1249 - Create Empty History State 2019-05-20 19:23:14 -07:00
Sawyer Blatz 3619f1417d For #1574: Cleans up unused code and refactors 2019-05-20 14:31:17 -07:00
Sawyer Blatz 7861a80715 For #2205: Truncates tab collection titles 2019-05-20 14:31:17 -07:00
Sawyer Blatz 4e6f9b9ef1 For #1574: Displays previous tab collections when creating 2019-05-20 14:31:17 -07:00
ekager fdfcf755b3 Add content description for images and radio button 2019-05-20 11:10:20 -07:00
Emily Kager d347f73e69 For #2389 - Create Theme Onboarding Card 2019-05-20 11:10:20 -07:00
Emily Kager a44322b120 Update mapping to represent steps of 5 from 50-200 2019-05-16 22:26:54 -07:00
Emily Kager e00380960f Add Accessibility Fragment and Text Size Adjustment Setting 2019-05-16 22:26:54 -07:00
Sawyer Blatz 72d29c2a43
For #2205 & #1578: Integrates tab collection storage (#2478)
* For #2205: Adds TabCollectionStorage

* For #1578: Adds delete to TabCollection
2019-05-16 14:02:24 -07:00
Emily Kager 43843b0fb3 For #2561 - Dynamically set EngineView behavior in BrowserFragment 2019-05-16 11:22:14 -07:00
ekager 2f68546a58 Closes #2553 - wrap_content for header text for RTL 2019-05-15 23:26:58 -07:00
Jeff Boek 95af2ddcc6 For #2390 - Adds the start browser button 2019-05-15 23:18:37 -07:00
Jeff Boek b2e6b59e91 For #2390 - Adds views for every onboarding card 2019-05-15 23:18:37 -07:00
Jeff Boek 8928b19079 For #2390 - Adds a theme picker card
- applies generic styling to cards
- adds margins to headers and onboarding cards
2019-05-15 23:18:37 -07:00
Jeff Boek fe16810ddb For #2390 - Adds onboarding section headers 2019-05-15 23:18:37 -07:00
Jeff Boek dfe14e1751 For #2390 - Adds the onboarding welcome message 2019-05-15 23:18:37 -07:00
Jeff Boek b3a3c94169
Small refactor before we add onboarding cards (#2541)
* For #2390 - Cleans up the toAdapterList method before we add onboarding

* For #2514 - Hide tabs menu when no tabs are open
2019-05-15 17:06:49 -07:00
Sören Hentzschel f8139ccc04 No issue: Fixes alignment of overflow menu in library 2019-05-15 14:48:24 -07:00
Sebastian Kaspari d894ea6702 Issue #552: Use EngineViewBottomBehavior to draw bottom-aligned web content above the toolbar. 2019-05-15 07:43:42 -07:00
Emily Kager ffc8037a08 Fix navigation for pairing 2019-05-14 22:48:40 -07:00
Vlad Filippov 66a0cd5f9c Add FxA Pairing feature to "Turn On Sync" 2019-05-14 22:48:40 -07:00
ekager a078f9e48b For #2422 If TP disabled globally disable quicksettings TP exception toggle 2019-05-14 15:38:39 -07:00
Sawyer Blatz 43a4b1b77c
For #563: Restyles history favicons (#2455) 2019-05-14 08:41:45 -07:00
Sawyer Blatz e1cdeffe8c
For #563: Restyles history management (#2378) 2019-05-10 09:58:54 -07:00
Blake Winton f9683b5c8d Closes #1743: Align Scan and Shortcut buttons with search logo. (#2361) 2019-05-09 14:47:54 -05:00
Sawyer Blatz d64f5a2064
For #2205: Modifies styling of collections and tabs (#2328)
* For #2205: Modifies styling of collections and tabs

* Change bounding box
2019-05-08 11:12:41 -07:00
Emily Kager 84a7430e57 For #1745 - Allow trackers from Allow List (#2310) 2019-05-07 15:28:38 -05:00
Arturo Mejia 583b954c5a Closes #1320: Customize site info panel dialog for custom tabs. (#2304) 2019-05-07 11:40:46 -05:00
Emily Kager 468fb669f0 For #2256 - Use same report site string for quick settings (#2305) 2019-05-06 16:39:38 -05:00
Sawyer Blatz 66986d88cb
No issue: Removes broken shadow in collection creation (#2300) 2019-05-06 14:33:58 -07:00
Sawyer Blatz 7d577e5953
For #2205: Adds collections view to home fragment (#2249)
* For #1574: Adds collections to home view

* Adds colored icons and expansion

* Adds state change

* Adds more styling

* Adds ItsNotBrokenSnacks

* Adds chevron

* Improves styling of swipe to delete and adds delete action

* Fix nits

* Try to add real saving
2019-05-06 11:20:19 -07:00
Christian Sadilek 9b0422b062 Issue #910: Integrate feature-readerview component (#2269)
Closes #908, Closes #910, Closes #911, Closes #912

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2019-05-03 21:01:45 +00:00
Emily Kager 30ffc9fee2 For #2225 - Don't pass click events under find in page bar 2019-05-02 13:33:07 -07:00
Emily Kager 7dda013ad1 No issue: Remove plurals strings (#2234) 2019-05-02 14:32:49 -05:00
Emily Kager 2953b54a84 For #1573 - Polish Collections UI Component (#2212)
* Adds Keyboard resuming, Snackbar verification, layout edits to collections

Adds Keyboard resuming, Snackbar verification, layout edits to collections

* Adds new strings for collections/tabs management

* Adds constraintsets, hides checkboxes, adds scrim

* Update strings to plurals
2019-05-02 10:53:40 -05:00
Colin Lee 6cff7325dd
For #2083: Bookmarks in "Your Library" appear as "bookmarked" style (#2201) 2019-05-01 13:20:57 -05:00
Emily Kager 34f4720e6b For #1573 - Create Save to Collection Component and Views 2019-04-30 23:03:54 -07:00
Emily Kager 0e44921e08 For #1573 - Update tabs header menu (#2141) 2019-04-29 17:03:40 -05:00
Emily Kager 7483a307ac For #1573 - Update collections button string 2019-04-29 13:04:43 -07:00
Sawyer Blatz 902a561279 Fixes #467: Modifies url bar to use search screen color 2019-04-29 12:33:24 -07:00
Emily Kager e76c618c2a For #1541 - set padding dynamically for tab counter (#2103) 2019-04-26 22:01:08 -07:00
Emily Kager bb7b22f752 Remove extraneous vertical orientation 2019-04-26 15:13:34 -07:00
Emily Kager ee693430a2 For #1716 - Consolidate Switch Styles 2019-04-26 15:13:34 -07:00
Emily Kager 99f979e86b For #1601 - Bookmark icon should change visually if page is bookmarked 2019-04-25 17:29:27 -07:00
Emily Kager f7963bc153 Closes #2004 - Set base alpha of quick action overlay to visible (#2007) 2019-04-25 07:33:53 -07:00
Jeff Boek 160e5ea1c8 For #1843 - Wires up add to collection button 2019-04-24 14:29:23 -07:00
Jeff Boek f58400660a For #1843 - Wires up close button 2019-04-24 14:29:23 -07:00
Jeff Boek cddb4de79b For #1843 - Adds the selected tabs button 2019-04-24 14:29:23 -07:00
Jeff Boek 5c45064fbb For #1843 - Fixes color for dialog overlay 2019-04-24 14:29:23 -07:00
Jeff Boek ff08d0dbb0 For #1843 - Passes selected tabs through the MVI loop 2019-04-24 14:29:23 -07:00
Jeff Boek d39c15402e For #1843 - Adds a better theme for the creation fragment 2019-04-24 14:29:23 -07:00
Jeff Boek ba90b58d32 For #1843 - Displays tabs on the tab selection screen 2019-04-24 14:29:23 -07:00
Jeff Boek 8be0d6fea5 For #1843 - Adds the header elements for collection creation 2019-04-24 14:29:23 -07:00
Jeff Boek ab4cf786d7 For #1843 - Scaffolds MVI component for Collection Creation 2019-04-24 14:29:23 -07:00
Jeff Boek 63574cc359 For #1843 - Adds a create collections fragment and navigates to it 2019-04-24 14:29:23 -07:00
Emily Kager 84d601cfaf No issue: Update quick action divider to neutral faded 2019-04-23 13:59:15 -07:00
Emily Kager 911ef446ab No issue: Fixed visibility bugs in quick action sheet (#1927) 2019-04-23 11:46:52 -07:00
Sawyer Blatz 41e8acf05f For #724: Adds contrastText color for buttons using accent backgrounds 2019-04-23 09:57:54 -07:00
Sawyer Blatz 334a3dc672
For #1714: Updates product to Firefox Preview (#1907) 2019-04-23 07:20:19 -07:00
Emily Kager 72410b18bd Closes #1912 - Quick action bottom sheet should fade in 2019-04-22 23:25:15 -07:00
Emily Kager a4e4b8a1c9 No issue: Update bottom margin of quick action sheet to 12dp 2019-04-22 21:47:07 -05:00
Will Hawkins 60c0fdb981 Fix for 2428 from a-c
In 2428 from android-components, they removed part of
the tab layout XML for localization/usability and fenix
copied that file directly. Fenix needs to make the
equivalent change. This patch does that.
2019-04-22 17:34:09 -07:00
Jeff Boek ba690fde8e
Fixes tab sizing (#1906) 2019-04-22 14:50:22 -07:00
Emily Kager b80b90c07d Closes #1879 - Create toolbar background drawable instead of view 2019-04-22 14:22:28 -07:00
Emily Kager 69ad5ffc57 Closes #1784 - Make separate private vector without background 2019-04-22 13:25:00 -07:00
Jatin Kumar 5aa1bb9bd1 Fixes #1860: fixed text views in About Fenix page 2019-04-22 10:27:38 -05:00
Kourosh 08796a1f95 Fixes #1864 - made about page scrollable (#1865) 2019-04-21 12:14:53 -07:00
Jeff Boek f19a773ab9
Merge pull request #1842 from boek/i1840-collections_featureflag
For #1840 - Adds a save tab group button and puts it behind a feature  flag
2019-04-20 14:15:18 -07:00
Jeff Boek 4ea54252b0 For #1830 - Adds the ability to share a tab 2019-04-19 15:31:12 -07:00
Jeff Boek 774c5c0e0c For #1830 - Updates the tab visual style 2019-04-19 15:31:12 -07:00
ekager 316569b899 Closes #1798, Closes #1581 Corrects divider views and padding for toolbar and action sheet 2019-04-19 15:19:48 -07:00
Jeff Boek 146492bd59 Fixes #1828 - Adds an empty tab state 2019-04-19 14:06:31 -07:00
Sawyer Blatz 0f367a018a For #724: Corrects colors for all themes 2019-04-19 13:46:43 -07:00
Colin Lee deb7c2d18c Fix #1770: Share icon from quick action bar poorly rasterized 2019-04-19 15:17:47 -05:00
Colin Lee 12614e0142 For #1555: Bookmark Overflow menu tap area should be larger 2019-04-19 08:09:26 -07:00
Jeff Boek 6183e82264 For #1696 - Removes sessions from the bottomsheetfragment 2019-04-17 22:41:59 -07:00
kouroshydn 130d85cf69 Fixes #1691 - Site permissions' pages are not entirely visible 2019-04-17 15:59:44 -07:00
Jeff Boek f5babaf47d For #1700 - Hides incomplete features in the quick action bar 2019-04-17 13:57:15 -05:00
Jeff Boek 29f83a0c0f For #1698 - Removes unimplemented library sections for the beta 2019-04-17 13:49:27 -05:00
Sawyer Blatz 5390aed795 Fixes #1662: Corrects ripple style for private browsing button 2019-04-17 10:43:20 -05:00
Emily Kager f88f181ac1 Closes #1655 - Use accent bright for switch in quick settings 2019-04-16 13:06:48 -07:00
Emily Kager 01a181975d For #1084 - Add tracking protection toggle to quick settings dialog 2019-04-15 19:59:10 -05:00
Sawyer Blatz 49b4eaf182
For #724: Fixes white color in dark mode and removes android:tint (#1641) 2019-04-15 13:14:49 -07:00
Colin Lee 5d6112da05 No issue: Missing clear button in edit bookmarks UI 2019-04-15 13:17:41 -05:00
Colin Lee 5f3e255426 No issue: fix build breakage on merge 2019-04-15 12:29:20 -05:00
Sawyer Blatz 29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Arturo Mejia c3e31a15db Closes #1079: Managing site permissions exceptions 2019-04-12 17:59:05 -04:00
Colin Lee bc1b7e0b43 For #1539: Add bookmark multi-select features 2019-04-12 13:35:28 -05:00
ekager c15430c8b8 Closes #1530 - center history text 2019-04-10 20:40:36 -07:00
Jatin Kumar 7bf696b7f4 Fix #1516: fixed scrolling library menu in landscape mode 2019-04-10 19:13:19 -07:00
Emily Kager dad4149b81 For #1542 - Add ripple to quick action buttons 2019-04-10 19:12:05 -07:00
Jeff Boek 5ec86b34e9 Fixes history visual bugs 2019-04-10 10:11:46 -07:00
Jeff Boek 4a32ef8ed8 Fixes #1397 - Adds the delete button back to the history recyclerview 2019-04-10 10:11:46 -07:00
Jeff Boek 5acd386ecd For #1430 - Handle more text in a more graceful way 2019-04-10 09:58:00 -07:00
Jeff Boek cd75b28b8f No longer require a viewgroup to use FenixSnackbar 2019-04-10 09:58:00 -07:00
Vlad Baicu b6abccfb91 Fixes #1504 - Added missing bottom constraint for bookmark icon imageview 2019-04-10 11:50:54 -05:00
Arturo Mejia 22eba72f8f Closes #1170: Allow user to add a new site exception to site permissions 2019-04-10 11:48:43 -05:00
Sparky93 9e3e3c8b6d Fixes #1485 - Page crash message now displays correctly in dark theme (#1524) 2019-04-10 09:23:33 -07:00
Sawyer Blatz d402707531
Closes #1420: Moves tab preview to top of page (#1462) 2019-04-10 06:52:49 -07:00
Jeff Boek 9434f01b42 Fixes #1204 - Fixes the home screen animation 2019-04-08 16:16:28 -05:00
Colin Lee b54d4d1d58 Closes #1312, #1236, #1237, #1238, #1239: Creating, Editing, and Deleting Bookmarks and Bookmark Folders 2019-04-08 14:48:36 -05:00
Jeff Boek 8f6dca99dc For #1456 - Fixes missing delete button 2019-04-08 10:24:47 -07:00
Emily Kager 9f1ec5e2b0 For #904 -Add tab counter to tab icon 2019-04-07 21:43:56 -07:00
ekager 989b104c22 No issue: Add ripples to cardviews, improve clickability 2019-04-06 19:53:01 -07:00
Jeff Boek e34d163034 Combines the Tab and Session component 2019-04-06 12:38:46 -05:00
Emily Kager d43e902b44 For #1049 - Add New Top Progress Bar Gravity 2019-04-05 19:55:26 -05:00
Emily Kager 9cb252da40 For #1421 - Fix Shortcut ToggleButton states 2019-04-05 16:29:36 -07:00
Jeff Boek 2ce72139e3 For #1430 - Replaces existing snackbar and adapts text size 2019-04-05 14:50:54 -07:00
Jeff Boek 371fbf7164 For #1430 - Adds a styled Snackbar 2019-04-05 14:50:54 -07:00
Jeff Boek 4a385068e0 Updates ConstraintLayout to alpha4 2019-04-05 10:09:02 -07:00
Emily Kager 5d1738e011 For #208 - Dark Mode UX edits 2019-04-04 19:35:36 -07:00
Jeff Boek 65a210ec64 Prevent RecyclerView from loading everything
Fixes #1360
Fixes #1303
Fixes #1280
2019-04-04 17:18:32 -07:00
Arturo Mejia 4489edd97b Closes #1165: Added Doorhanger to the toolbar. 2019-04-03 21:51:13 -05:00
Jeff Boek 2670f0e1d7 Removes missing string reference 2019-04-03 20:27:57 -05:00
Emily Kager 80a2b1ef53 For #1333 - Correct vertical alignment of history list item 2019-04-03 20:26:56 -05:00
Emily Kager a2200b6335 For #208 - Dark/Night Theme 2019-04-02 22:18:11 -05:00
Eitan Isaacson ed77f97283 Remove Quick Actions Sheet contentDescription
This is not needed for screen reader usability, and introduces an
useless intermediate node that TalkBack lands on.
2019-04-03 07:45:52 +09:00
Eitan Isaacson 9092edaa3e Closes #1172: Make RadioButton in RadioButtonPreference non focusable.
This tells TalkBack not to land on the button individually, but instead
to land on the parent View. TalkBack users will get both the button
state and the textual description. Double tapping should work too.
2019-04-02 17:02:22 -05:00
Colin Lee be347d87f8 No issue: Fix bookmark favicon background constraint ratio and alignment 2019-04-02 16:56:13 -05:00
Eitan Isaacson 3a6b546e96 Remove favicon contentDescription.
It does not convey any useful information to the user.
2019-04-02 13:49:00 -05:00
Colin Lee bd81e72239 Fixes #916, fixes #917, fixes #920: Save, share, and delete bookmarks 2019-04-01 16:16:08 -05:00
Arturo Mejia 061b6f3cd5 Closes #1167: Added behavior for site permissions custom settings. 2019-03-29 23:28:10 -05:00
Sawyer Blatz 0bf8b83e03 Closes #1265: Adds checkbox to crash reporter 2019-03-29 23:25:50 -05:00
Sawyer Blatz 36af5107c6
Closes #875: Adds search shortcuts (#882)
* Closes #875: Adds shortcuts

* Refactor and clean up

* Remove TODO

* Removes local

* Fix nits

* Refactors to add ShortcutEngineManager
2019-03-29 13:49:50 -07:00
Eitan Isaacson 4f67b7a26c Fixes #1186: Make quick actions invisible to screen reader when collapsed.
The buttons in the quick actions sheet are not visible or interactive
when the sheet is collapsed. They should not be visible to AT users
either.
2019-03-29 12:47:19 -07:00
Eitan Isaacson c807f84b98 Fixes #1186: Made quick actions sheet's handle larger.
It now takes up the entire horizontal space and all the vertical space
until the buttons. This gives a bigger touch target both for typical
users and TalkBack users when they use explore-by-touch.

Also changed content description. The content description should not
include semantic names like "handle". The screen reader already knows
it's a button and describes it as such. Same thing with "sheet".
2019-03-29 12:47:19 -07:00
Jeff Boek 00ad9d3f6f For #356 - Gives a user the ability to delete their history 2019-03-29 11:52:45 -07:00
Arturo Mejia 376ebe7e70 Closes #1078: Added UI for managing phone feature permissions. 2019-03-28 10:13:02 -07:00
Sawyer Blatz 6249b9eb89 Closes #1231: Changes all use of favorites to bookmarks 2019-03-27 14:54:37 -07:00
Jeff Boek 379875a62a Fixes #1162 - replaces about page with an Android Fragment 2019-03-27 10:46:19 -07:00
Jeff Boek edb197d10b Adds search engine icon to the toolbar 2019-03-25 14:42:13 -07:00
Jeff Boek 78ff152ad7 For #1104 - Sections history items 2019-03-25 16:04:19 -05:00