Skip to content

make `trustedDomains` persist across reloads

What does this MR do?

This fixes the persistency problems of the user-level "trusted domains" list.

First of all, we can't just write to prefer.s.*, we need to .commit. While I was there, I replaced uses of the reactive view on preferences (prefer.r.*) with the normal state view (prefer.s.*), because those uses were not in reactive contexts (e.g. compute).

Then, I added a textarea in the settings page, to allow users to edit their list of trusted domains, and also make it sync across devices (via MkPreferenceContainer).

While I was here, I updated the translation index (it was missing "confetti")

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request

Merge request reports

Loading