-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Jetpack Section: Backup Screen #13629
Description
Parent #13267
Activity Log design and screen to build this Backup screen.
Backup screen, compared to the Activity Log screen, those are:
- The
Backupscreen doesn't have theActivity Typefilter chip, and - The
Backupscreen doesn't have items in the list that are not rewindable (those without the ellipsis menu item on their right).
Back Details screen in concerned, which actually will end up being the redesign Activity Log Details screen, the team decided NOT to go with the redesign on this screen for this iteration. The only change that occurred on this details screen is with the RESTORE button flow, which now goes through the new flow.
Design
TBD
Tasks
My Site Tab
- Add feature flag for the
Backupsscreen. Jetpack Section: Backup Screen - Introduce Feature Flag #13709 - Add
Backupmenu item as an entry point that displays theBackupsscreen. Jetpack Section: Backup Screen - Introduce Feature Flag #13709 - Fine-tune the
Backupmenu icon. Jetpack Section: Optimize My Site Menu Items #13969 Jetpack Section: Update My Site Menu Items Strings #13982
FluxC (Network + Persistence)
- Add rewindable only flag for the
Backupsscreen. WordPress-Flux-Android#1834 - Option.1: (
⚠️ - Scoped out for now!)- Update
/sites/$site/activity/API with a newisRewindableparameter. (⚙️ - Internal P2 link: pcdRpT-cB)
- Update
- Option.2: (ℹ️ - If Option.1 is not ready)
- Update
ACTIVITY_LOG_PAGE_SIZEto 100. WordPress-Flux-Android#1863 Jetpack Section: Update FluxC for Activity Log Page Size #13975
- Update
Backups Screen
- Option.1:
- Investigate requirements, concerns (
⚠️ ) and suggestions (✅ + ❌ ) for reusingActivity Logscreen. Jetpack Section: Backup Screen #13629 (comment) - Reuse
Activity Logscreen, reuseActivity Logendpoint, filtered byRewindableitems, and to show theBackupsscreen. Jetpack Section: Backup Screen - Introduce Backup Screen #13762 - Improve scrolling behavior (
⚠️ - Scoped out for now!)
- Investigate requirements, concerns (
- Option.2: (
⚠️ - Scoped out for now!)- Add
Backupsscreen. - Add
Backupsskeleton screen (Activity, Fragment, ViewModel, Tests, etc). - Introduce
Backupsendpoint. - Add
BackupsUI. - Bind
BackupsUI with endpoint (UiStates). - Show
Loadingscreen while the backups are being fetched. - Show
Emptyscreen if the backups is empty. - Show
Error with Retryscreen if fetching the backups fails. - Bind
Backupitem click with navigation (toBackup Details). - Add
Menu ItemperBackup Itemand bind actions. (❓).
- Add
- Polish the UI
- Fine-tune icons: include
dpwidth in the icon file names, color resources fromcolors.xml. - Fine-tune buttons (apply style based on whether button is secondary or not).
- ...and more!
- Fine-tune icons: include
Backup Details Screen (⚠️ - Scoped out for now!)
- Add
Backup Detailsskeleton screen (Activity, Fragment, ViewModel, Tests, etc). - Add
Backup DetailsUI. - Bind
Backup DetailsUI with endpoint (UiStates). - Show
Loadingscreen while the backup details is being fetched. (❓) - Show
Error with Retryscreen if fetching the backup details fails. (❓) - Bind
Restore to this pointbutton click with action (Rewindaction). - Bind
Download backupbutton click with navigation (toBackup Downloadscreen).
Tracks
- Add tracking. Jetpack Section: Backup Screen Tracking Events #13956
Finishing Touches
- Rename feature flags:
BackupFeatureFlagtoBackupDownloadFeatureFlagandBackupsFeatureFlagtoBackupScreenFeatureFlag. Jetpack Section: Backup Screen #13629 - Check accessibility.
- Check small devices.
- Check RTL languages.
- Design review.
After design is finalized add remainder of tasks.
