Commit Graph

866 Commits (9869408fb40d45277afe9bbc484fb1ab9191c16f)

Author SHA1 Message Date
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
Mozilla L10n Automation Bot 0242b40ce2 Import l10n. 5 years ago
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 5 years ago
Mozilla L10n Automation Bot e26f4a9a6e Import l10n. 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
Mozilla L10n Automation Bot 6f5fba7718 Import l10n. 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
Ardlan Khalili eb4150db2a Closes 6168: Globe icon for exceptions 5 years ago
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).
5 years ago
Jeff Boek 6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 5 years ago
Jeff Boek d1643b785e For #2477 - Adds accessibility setting to force enable zoom 5 years ago
Sebastian Kaspari 9543f38978 Use new toolbar API of AC 18.0.0. 5 years ago
Sawyer Blatz 2cba624609
No issue: Fixes string issues for l10n (#6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
5 years ago
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
5 years ago
Pawel Obarzanek 40cda1d758 Closes #2435 Change edit icon to share icon on the book… (#6137)
* Closes mozilla-mobile#2435 Change edit icon to share icon on the bookmark toolbar

* Closes mozilla-mobile#2435 Changed raw string to string resources

* Pass bookmark arguments to share fragment

* Closes mozilla-mobile#2435 add orEmpty
5 years ago
Tiger Oakes 4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 5 years ago
Sören Hentzschel 7cf1a9e195 for #6008 - fix address bar layout on home fragment for RTL (#6016) 5 years ago
Sören Hentzschel 8921a46f27 For #6011 - fixed truncated clipboard icon in RTL (#6017) 5 years ago
ValentinTimisica 485ccba189 Fixes #5323: Show a snackbar while browsing data is deleting. (#6105) 5 years ago
Sören Hentzschel 9995199caa fixed alignment of open tabs header for RTL languages (#6138) 5 years ago
Mozilla L10n Automation Bot b785fc41bf Import l10n. 5 years ago
MozLando b963a3eab5 Merge #6102 #6106
6102: For #6018 Re-add Search Shortcuts Button r=boek a=BranescuMihai



6106: For #5872 & #6075: Set TabHeader buttons to invisible instead of gone. r=boek a=mcarare

At least one button has to be invisible instead of gone to keep layout height.
Tabs overflow button kept gone to avoid empty space on view end in private mode.



Co-authored-by: Mihai Branescu <branescu.mihai2@gmail.com>
Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
5 years ago
mcarare 6b1bfcc079 For #6100: Mirror ETP graphic in RTL 5 years ago
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
5 years ago
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>
5 years ago
mcarare b82a794908 For #5709: Align ETP onboarding popup implementation with original mocks 5 years ago
Mihai Branescu 1490c0178f For #5749 - Update string for ETP onboarding popup 5 years ago
MozLando e1d05f55fc Merge #5949
5949: Import strings from android-l10n r=liuche a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
5 years ago
mcarare b1dcc69e52 For #5709: Align ETP Settings Screen implementation with original mocks 5 years ago
Mozilla L10n Automation Bot f189636c90 Import l10n. 5 years ago
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>
5 years ago
MozLando f66b9f3e8f Merge #5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 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
- [-] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [-] **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

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
5 years ago
MozLando 8cf54f773b Merge #5882
5882: For #5873 Added on/off indicator for delete browsing data on exit pref 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>
5 years ago
Mozilla L10n Automation Bot 5a73d2f6c5 Import l10n. 5 years ago
Sawyer Blatz b0d796ccee
For #5898: Default browser toggle sends user to SUMO on Android 5&6 (#5918) 5 years ago
mcarare 788e52be0c For #5873 Added on/off indicator for delete browsing data on exit pref 5 years ago
Mozilla L10n Automation Bot a9cfc83154 Import l10n. 5 years ago
Tiger Oakes 78bc829735 Closes #778 - Progressive Web Apps! (#4914) 5 years ago
mcarare 1c6aefd82b For #3604 Snackbar messages for closing tabs use closed instead of deleted 5 years ago
Mihai Adrian 18a130b38e For #5798: Fix info icon pixelation (#5841) 5 years ago
Isabel Rios 44f4cedefd Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
5 years ago
Vipul Asri 31ae5709c2 Closes #5573: fix radio-button spacing in settings 5 years ago
Tiger Oakes d5c3433041 Use the new fragment constructor 5 years ago
Madalin Valceleanu f4be12227f Fix the incognito icon looks out of place/misaligned 5 years ago
Tiger Oakes d028c97112 For #5213 - Use support library attributes 5 years ago
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
5 years ago
Madalin Valceleanu 4a0917ba32 Fix too much space under the address bar 5 years ago
Sawyer Blatz 097d7c2038
For #5742: Adds strings (#5743) 5 years ago
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
5 years ago
Sawyer Blatz 2896b36d14
No issue: Updates naming of launch links privately var (#5701)
The previous name was pretty confusing
5 years ago
Sawyer Blatz eb3c9f86e2
No issue: Removes feature flags for delete data (#5738) 5 years ago
Sawyer Blatz 2f0d8d8243 For #5712: Updates text color for fill link from clipboard 5 years ago
Axel Hecht 214ca421f7 Import strings from android-l10n
State: mozilla-l10n/android-l10n@10559d774c
5 years ago
Sawyer Blatz c8af16bd47
For #5679: Hides autoplay behind feature flag (#5685) 5 years ago
Grisha Kruglov a4097cd380 FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
mcarare 64923978e6 For #1071 Added Desktop Mode icon 5 years ago
Sawyer Blatz 7f328a6dc4
For #1298: Adds adjustCampaignId to core ping (#5579) 5 years ago
Severin Rudie 5e8798e89c Issue #4513: add ProgressBar to bookmark component layout 5 years ago
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
5 years ago
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
5 years ago
Yeon Taek Jeong 59e2c124cb No issue: Update long-press shortcut strings (#5284)
* No issue: Update long-press shortcut strings

* Updates identifiers
5 years ago
Emily Kager b0b60aa27d For #5281 - Use TrackerLog for reporting ETP categories (#5556) 5 years ago
Sawyer Blatz b6e6e36ccd For #561: Fix stutter of search icon & text when animating 5 years ago
Jeff Boek 32c506121e For #561 - Fixes visual inconsistencies with the search bar 5 years ago
Jeff Boek 5c092c1ef1 For #561 - Adds shadow/highlightto the bottom bar 5 years ago
Jeff Boek b16754d78a For #561 - Adds add tab and menu button to bottom bar
- Adds space between wordmark and session control component
5 years ago
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
5 years ago
Axel Hecht 2829235651 Import strings from android-l10n
State: mozilla-l10n/android-l10n@97355ffcdc
5 years ago
mcarare bfe8bf4663 For #1383 Added tab title to close button content description 5 years ago
Emily Kager 25e2a7abfc For #2765 - Run places maintenance daily (#5466) 5 years ago
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
5 years ago
Axel Hecht 7c55aff1be Import strings from android-l10n (#5482)
State: mozilla-l10n/android-l10n@d10506f569
5 years ago
Nicholas 72eed21bfc For https://github.com/mozilla-mobile/fenix/issues/5474 - Adapt Autoplay icon to theme 5 years ago
Sawyer Blatz f02603be37
For #5460: Fixes styling of fill link from clipboard (#5464) 5 years ago
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.
5 years ago
Tiger Oakes 6c30a94081 Move settings classes to packages 5 years ago
mihai-adrian 47064a68e0 For #5141 Changed "learn more" link to be accessible to Talkback users 5 years ago
Tiger Oakes 172a9cf06c Extract and test crash reporter code 5 years ago
mcarare 95a7aa9223 For #4526 Prevent automatic theme summary being cutoff with long text 5 years ago
Sawyer Blatz 6f3d7b4ee8 For #5396: Adds "always launch in private mode" to settings 5 years ago
Emily Kager 9591172ee9 No issue: Make Shortcut dialog buttons match other dialogs 5 years ago
Colin Lee 1aa4f5a519 For #255: Toggle Media Autoplay 5 years ago
Sawyer Blatz e961a9d63d For #1744: Adds clipboard provider to search engine screen 5 years ago
Jeff Boek 976c840047 For #3077 - Replaces connect another device dialog with a scree 5 years ago
Sawyer Blatz 956f4f0534
For #5411: Fixes delete button turning red (#5412) 5 years ago
Sawyer Blatz 50cd2920d3
For #5371: Updates search engine settings string (#5393) 5 years ago
Emily Kager a68fabd3a7 For #1749 - Update to new ETP Settings Strings (#5395) 5 years ago
Emily Kager 95e4f2d754 No issue: Land strings for login management 5 years ago
Grisha Kruglov c2fb99a73f FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
Emily Kager 7214f40008 For #5368 - Make every blocking category gone by default 5 years ago
Emily Kager 140da0dd0f For #5359 , #5360 - Update ETP Vectors for Android 5+6 5 years ago
Axel Hecht 0eca317d03 Import strings from android-l10n
State: mozilla-l10n/android-l10n@f0d82028ce
5 years ago
Yeon Taek Jeong b6f2e8da35 For #5296: Fix long-press shortcuts to work across build variants 5 years ago
ekager 90ef5ec9bb Closes #5338 - Use padding instead of margin for delete browsing item 5 years ago
ekager 8cd0d8faf3 For #5304 - Align ETP Onboarding Tool Tip PopupWindow 5 years ago