Skip to content

[mob][locker] Support saving file offline #9802

Open
AmanRajSinghMourya wants to merge 12 commits intomainfrom
codex/locker-offline-mirror-hardening
Open

[mob][locker] Support saving file offline #9802
AmanRajSinghMourya wants to merge 12 commits intomainfrom
codex/locker-offline-mirror-hardening

Conversation

@AmanRajSinghMourya
Copy link
Copy Markdown
Contributor

Description

Users can select owned Locker files and choose Save offline

  • Locker downloads the encrypted file immediately and stores it in app-private local storage
  • a file is shown as offline only after that encrypted local copy exists
  • users can later Unsave to remove the local offline copy

Testing

  • save an owned file offline and verify the offline badge appears
  • open an offline file without re-downloading the encrypted blob
  • disable network and verify save-offline fails with immediate
    error and no offline mark
  • unsave a file and verify the offline badge is removed
  • trash an offline file and verify offline state is cleared
  • restore a trashed file and verify it comes back as not offline

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e6eec0b9a7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant