Commit Graph

1023 Commits (74c1cc82fb4975f63c20a718f09367149bcc3c70)

Author SHA1 Message Date
Roger Yang 74c1cc82fb Closes #19921: Update appcompat and fragment dependencies to 1.3.x 3 years ago
Elise Richards 80de7fd7ba
Define the width/height for homescreen empty collections button (#20082) 3 years ago
Elise Richards 1a8ae21250
Define the width/height for sync sign in button on tabs tray (#20080) 3 years ago
bharat0to 6de3062738
For #18581 ETP Standard option is truncated (#18586) 3 years ago
Mihai Adrian Carare 83a5aa2838
For #20007: Multiselect title is important for a11y just in select mode. (#20008) 3 years ago
mcarare d43acbd03d For #19938: Remove a11y workaround for tab tray new tab button.
Historically, button was introduced in a3dc565c10,
because FAB was not selectable by a11y in previous implementation of tab tray.
3 years ago
Elise Richards e373f507a1
For FNX-22339: UI components for recently added bookmarks (#19953)
* Top level layout with recyclerview for recent bookmarks

* Add layout for recent bookmarked item, including strings and styles.

* Header layout for recently saved bookmarks

* Address review comments

* Include the header for recent bookmarks in the component layout

* Add dark theme colors for button and title styles

* Recent bookmark card title text color for dark mode/light mode
3 years ago
Gabriel Luong 9d3cf79051 For #19916 - Add last viewed tab to home screen
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
3 years ago
Codrut Topliceanu c74bf4e8fe
For #19815 - Keeps tabTray FAB from obstructing last tab (#19891)
* For #19815 - Keeps tabTray FAB from obstructing last tab
3 years ago
Jonathan Almeida f06e3a6493 Issue #19178: Apply new styling to Synced Tabs list 3 years ago
Mihai Adrian Carare f9428759db
For #19820 - Add labels for month and year spinners. (#19870)
This follows the guidelines described in
developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listbox_role
3 years ago
Jonathan Almeida bf3f81d271 Issue #19112: Remove old Synced Tabs code 3 years ago
Jonathan Almeida dc11c334b6 Issue #19112: Remove old tab tray code 3 years ago
Neha Binwal bf605c02d9
For #19307: Increased contrast ratio of chevron symbol in Collections (For Dark theme) (#19377)
* For #19307: Increased contrast ratio of chevron symbol in Collections (Dark Theme)

- Made a code change in collection_home_list_row.xml which fixes the colour of the chevron symbol in Dark theme

* Replaced android:src with app:srcCompat to pass Lint check
3 years ago
Neha Binwal 69e9e35fff
Increased text contrast ratio of TextViews in 'Share tab' (#18880)
- Changed share_tab_url color to @color/photonLightGrey60
- Changed appName and recent_apps_link_header color to @color/photonDarkGrey10
3 years ago
ZianeA e4fa71fde7 For #[15083]: Add multi select to recently closed tabs 3 years ago
Mihai Adrian Carare 318aace1eb
For #19419 - Label edit boxes for a11y services. (#19762) 3 years ago
Gabriel Luong c11335fafc
For #18271 - [Saved cards] Display the credit card provider icon and report the correct card type (#19652) 3 years ago
Ionut Cristian Bedregeanu ac71b47c61 For #19653 - Address 19643 PR comments
Rename handleAddCreditCard to handleAddCreditCardClicked
Rename onClickAddCreditCard to onAddCreditCardClick
Format layout_add_credit_card.xml
3 years ago
Mugurell 272e631b62
For #19638 - Don't show extracted text UI for name when editing cards (#19673)
This comes to ensure consistency with the behavior for when editing the card
number.
3 years ago
Bedregeanu Ionut bf25951a62
For #19654 - Add RTL support for the "Add credit card" button from "Saved cards" (#19666)
Co-authored-by: Ionut Cristian Bedregeanu <ionut.bedregeanu@softvision.ro>
3 years ago
Codrut Topliceanu 02079cd567
For #19569 - Decrease the credit card expiry year width to ensure the month is fully visible (#19582) 3 years ago
Ionut Cristian Bedregeanu 0a226962bb For #18881 - Create a new layout for 'Add credit card' button
Add functionality for 'Add credit card' button

Add unit tests for 'Add credit card' functionality
3 years ago
Gabriel Luong 75fc116043
For #18287 - Display a credit card autofill prompt (#19477) 3 years ago
Arturo Mejia bf42a1786e For issue AC#10231 update proton icons third batch 3 years ago
Priyanka 841f1cd265
created string resource for close (#19500)
Co-authored-by: priyanka0906 <priyanka02amb@reddiffmail.com>
3 years ago
Jonathan Almeida a95a26b2c6 Issue #19002: Use a single BrowserTrayList for normal/private list
We now have a BrowserTrayList.
 - Renamed from `BaseBrowserTrayList`.
 - Removed the abstract `configuration` and used a `lateinit var`
 instead.
 - Removed `NormalBrowserTrayList` and `PrivateBrowserTrayList`.
3 years ago
Neha Binwal ccfff640fc
For #18226: Fixed display of tabs for when text size is set to largest (#19046)
- Made website titles clearly visible in Grid view of tab tray
- Made website URLs clearly visible in List view of tab tray
3 years ago
Arturo Mejia 9bfb31519a For issue #19290 update to proton icons second batch 3 years ago
Codrut Topliceanu 277034546f
For #18262 - [Credit cards] Turn the "Sync cards across devices" button into a "Sync cards" toggle (#19207)
* For #18262 - Turns "Sync cards/logins" into toggle
3 years ago
mcarare 32d7b78e94 For #19281: Add border radius for top sites favicons. 3 years ago
kglazko 008c523ed1
For #19055 - Add a ScrollView to the Credit Card Editor Fragment (#19117) 3 years ago
Priyanka 05c38d911e
For #19273 - Ensure a new line at the EOF is available in all xml files (#19295) 3 years ago
Arturo Mejia 21cf0b31a4 For issue #18132 update to proton icons first batch 3 years ago
mcarare 8c0f86bd96 For #19213: Adjust synced tabs to properly show in RTL. 3 years ago
Roger Yang cd37f398f1
Closes #18816: Disable TabsTray FAB on accessibility enabled (#19170) 3 years ago
mcarare ded686d533 For #19125: Move top site pin net to title. 3 years ago
Gabriel Luong 3b3e4c0243
No issue - Replace local photon colors with ui-colors (#19167) 3 years ago
mcarare 46784ecbfb For #19180: Fix tab counter not entirely visible on RTL layout. 3 years ago
mcarare 90c9e634af For #18240: Adjust preference screen to fit UX specs. 3 years ago
Christian Hernandez f8af231582
For #18830 - Remove card nickname from credit card editor (#18891)
* Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.

* #18830 - Removed all views with regards to credit card nickname. Removed the TextInputLayout and TextInputEditText where information would be typed in. Also removed the credit card nickname title text view. I added a margin of 16 dp to the bottom ConstraintLayout that houses the delete, cancel, and save buttons as requested.
3 years ago
Kate Glazko 1ca7d55b4a For #18745: Add Shadow To Shortcut Tiles 3 years ago
Kate Glazko ae157e5679 For #18520: Add Empty Tab State To Browser Tray List 3 years ago
Jonathan Almeida 72c13f89f5 Issue #19030: Allow homescreen to be scrollable with extra content 3 years ago
mcarare 80d2bec150 For #18376: Add experiment for set default browser settings card. 3 years ago
MarcLeclair 990bfa7e6d
16900 make navgraph inflation asynchronous (#18889)
* For #16900: implement async navgraph inflation

For #16900: removed nav graph from xml

For #16900: inflate navGraph programatically

For #16900: Made NavGraph inflation asynchronous

For #16900: Changed to block with runBlocking

For #16900: Refactored blocking call into a function

For 16900: NavGraph inflation is now async

We now attach the nav graph (or check if its attached) on every nav call ( an extension function for NavController).
This is done by checking the value of the job stored in PerfNavController.map which keeps track of the job with the NavController as a Key.
If the job hasn't been completed, it will block the main thread until the job is done. The job itself is responsible for attaching the navgraph
to the navcontroller (and the inflation of the latter too)

For 16900: rebased upstream master

For 16900: Rebase on master

For #16900: Fixed Async Navgraph navigation per review comments.

1)The Asynchronous method is now found in NavGraphProvider.kt. It creates a job on the IO dispatcher
2)The Job is tracked through a WeakHashMap from Controller --> NavGraph
3)The Coroutine scope doesn't use MainScope() anymore
4)The Coroutine is cancelled if the Activity is destroyed
5)The tests mockk the blockForNavGraphInflation method through the FenixReoboelectricTestApplication instead of calling the mock every setup()

For #16900: inflateNavGraphAsync now takes navController

For #16900: Pass lifecycleScope to NavGraphProvider

For #16900: removed unused mock

For #16900: Added linter rules for navigate calls

We need linting rules to make sure no one calls the NavController.navigate() methods

For #16900: Added TestRule to help abstract the mocks in the code

For 16900: Fix linting problems

For #16900: Cleaned duplicated code in tests

For #16900: cleaned up NavGraphTestRule for finished test

For #16900: had to revert an accidentally edited file

For #16900: rebased master

* For #16900: Review nits for async navgraph

This is composed of squash commits, the original messages can be found below:

-> DisableNavGraphProviderAssertionRule + kdoc.

Use test rule in RobolectricApplication.

Fix failing CrashReporterControllerTest

Fix blame by -> navigate in tests.

This commit was generated by the following commands only:
```
find app/src/test -type f -exec sed -i '' "/import org.mozilla.fenix.ext.navigateBlockingForAsyncNavGraph/d" {} \;
find app/src/test -type f -exec sed -i "" "s/navigateBlockingForAsyncNavGraph/navigate/g" {} \;
git checkout app/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
```

Fix various blame

This is expected to be squashed into the first commit so, if so, it'd
fix the blame.

Move test rule to helpers pkg.

add missing license header

Add import change I missed

fix unused imports

Replace robolectricTestrunner with test rule.

Improve navGraphProvider docs

Remove unnecessary rule as defined by robolectric.

add clarifying comment to robolectric

remove unnecessary space

* For #16900: nit fixes for MozillaNavigateCheck and lint fixes

3 squash commits:
 *Changed violation message and fixed the lint rule for MozillaNavigateCheck
 *Added suppression to NavController.kt
 *Fixed detekt violations

* For 16900: Fixed failing tests

Co-authored-by: Michael Comella <michael.l.comella@gmail.com>
3 years ago
mcarare ba218e638b For #18375: Add experiment for set default browser New Tab card. 3 years ago
Jonathan Almeida 38a7921913 Close #18973: Fix references to info banner 3 years ago
Roger Yang bc90e193a2 Closes #18522: Re-add call to action in tabs tray 3 years ago
Roger Yang b3f5e557cc
Closes #18899: Update content description string for synced tabs icon (#18963) 3 years ago