Page MenuHomePhabricator

[client-backup] add local settings to store
ClosedPublic

Authored by kamil on Aug 29 2023, 7:35 AM.
Tags
None
Referenced Files
F3520801: D9010.id30753.diff
Mon, Dec 23, 1:23 AM
F3520800: D9010.id30735.diff
Mon, Dec 23, 1:23 AM
F3520799: D9010.id30499.diff
Mon, Dec 23, 1:23 AM
F3520753: D9010.diff
Mon, Dec 23, 1:17 AM
F3519649: D9010.id.diff
Sun, Dec 22, 10:44 PM
Unknown Object (File)
Fri, Dec 6, 9:13 PM
Unknown Object (File)
Mon, Nov 25, 10:15 PM
Unknown Object (File)
Nov 23 2024, 1:53 AM
Subscribers

Details

Summary

Allow user (for now only staff) to enable in disable automatic backup.

Toggle will be introduced in next diff.

Depends on D9003

Test Plan

Flip value and check result

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 29 2023, 7:50 AM
inka added inline comments.
native/backup/backup-handler.js
33 ↗(On Diff #30499)

Can you please change this to || (!isStaff && !isDev)? This seems to be the preferred way in our codebase

This revision is now accepted and ready to land.Aug 29 2023, 9:29 AM
  • improve condition
  • handle logout
kamil requested review of this revision.Sep 4 2023, 3:13 AM
This revision is now accepted and ready to land.Sep 4 2023, 8:34 AM
This revision was automatically updated to reflect the committed changes.