1
0
Fork 0
fenix/app/src/main/java/org/mozilla/fenix/settings
Mugurell e1fc0cc038
Ensure logins deletion (#12507)
* For #11227 - Cleanup saved logins list when one is selected

Selecting a saved login will open a detail screen for it from where users can
change details or even delete that particular login.
After the change is made the user is brought back to the list of saved logins
where for a brief moment (< 1s) until we get a new response from
passwordsStorage.list() the user can see and even interact with the old list
of items, which may still contain the just deleted one.

To avoid users seeing obsolete logins or even interacting with them (selecting
a previosuly deleted item will result in a crash) we will clean the list of
logins just before the selected login is opened in the detailed view.
When returning for a brief moment the users may see the "loading" UX until
passwordsStorage.list() returns the up-to-date list of logins to display.

* For #11227 - Refactor SavedLoginsView to be closer to MVI

- Interactors should only get passed other Interactors or Controllers as
dependencies to which they should delegate user actions.
- Controllers should hold most of the business logic and get passed all final
dependencies they need to do their job.
2020-07-16 14:40:08 -05:00
..
about Test settings about/advanced (#12023) 2020-06-26 15:53:30 -07:00
account For #12107: Follow ux mock on Settings --> Account screen 2020-07-14 12:25:21 +03:00
advanced For #12565: Add Locale settings tests & use activity (#12579) 2020-07-16 11:43:27 -07:00
deletebrowsingdata For #9229: Remember options for delete browsing data. 2020-06-19 09:32:37 +03:00
logins Ensure logins deletion (#12507) 2020-07-16 14:40:08 -05:00
quicksettings Test settings about/advanced (#12023) 2020-06-26 15:53:30 -07:00
search Add method to test fragments in roboletric (#12261) 2020-07-06 13:04:43 -07:00
sitepermissions Add method to test fragments in roboletric (#12261) 2020-07-06 13:04:43 -07:00
AccessibilityFragment.kt Replace nullable findPreference 2020-06-18 09:02:58 -04:00
CustomizationFragment.kt Extract radio group logic into helper (#11493) 2020-07-06 17:09:42 -07:00
DataChoicesFragment.kt Replace nullable findPreference 2020-06-18 09:02:58 -04:00
DefaultBrowserPreference.kt Issue #7425 (et al): Cache the list of installed browsers 2020-01-07 18:40:07 -08:00
DropDownListPreference.kt For #8565: Fix updating dropdown preferences in ETP settings! (#8573) 2020-02-24 18:07:02 -08:00
Extensions.kt Add tests for OnSharedPreferenceChangeListener (#12019) 2020-06-26 11:04:46 -07:00
OnSharedPreferenceChangeListener.kt Clean up settings fragments 2019-12-19 14:29:28 -08:00
PairFragment.kt For #6198: Update copy and position of pair QR code scan message. 2020-05-25 17:53:20 -04:00
PhoneFeature.kt Add tests for PhoneFeature (#12021) 2020-06-26 12:12:52 -07:00
PrivateBrowsingFragment.kt For #11534 - Don't check lastUsed mode for screenshots (#11827) 2020-06-22 17:38:58 -07:00
RadioButtonInfoPreference.kt For #7725: Increase info button touch target while keeping size. 2020-06-05 11:57:17 +03:00
RadioButtonPreference.kt Extract radio group logic into helper (#11493) 2020-07-06 17:09:42 -07:00
SecretSettingsFragment.kt Test settings about/advanced (#12023) 2020-06-26 15:53:30 -07:00
SettingsFragment.kt Replace nullable findPreference 2020-06-18 09:02:58 -04:00
SharedPreferenceUpdater.kt Only use Context.settings() function (not getter) (#5335) 2019-09-24 10:33:46 -07:00
StringSharedPreferenceUpdater.kt For #8565: Fix updating dropdown preferences in ETP settings! (#8573) 2020-02-24 18:07:02 -08:00
SupportUtils.kt Issue #12207 - Update "new nightly" link to point to org.mozilla.fenix (#12209) 2020-07-02 12:39:44 -07:00
TextPercentageSeekBarPreference.kt For #10049: Provide correct seek bar value to screen readers. 2020-06-22 13:58:33 -04:00
TrackingProtectionFragment.kt For #7094 - Adds save login exceptions 2020-07-14 14:47:37 -04:00