Skip to content

Feat/offline support#454

Draft
Gozala wants to merge 1 commit into
stagingfrom
feat/offline-support
Draft

Feat/offline support#454
Gozala wants to merge 1 commit into
stagingfrom
feat/offline-support

Conversation

@Gozala
Copy link
Copy Markdown
Collaborator

@Gozala Gozala commented May 13, 2026

PR-Codex overview

This PR introduces a plan for implementing offline support in the application using a Service Worker. It outlines caching strategies, version management, user notifications for updates, and rollback capabilities to enhance user experience when offline or when new versions are deployed.

Detailed summary

  • Added an Offline support section to plan/offline-support.md.
  • Described current limitations of the app's offline functionality.
  • Defined three milestones for implementing offline support:
    • Milestone 1: Cache-on-demand for offline access.
    • Milestone 2: User opt-in for version updates with a notification system.
    • Milestone 3: Rollback feature for previous versions if issues arise.
  • Specified constraints related to the app's architecture and data management.
  • Outlined out-of-scope considerations and open decisions regarding implementation details.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Wrangler output for this change:

⛅️ wrangler 4.64.0 (update available 4.90.1)
─────────────────────────────────────────────
[custom build] Running: nix build .#tonk-cloudflare-artifacts
[custom build] path "/home/runner/work/tonk/tonk/rust/tonk-access-service" does not contain a 'flake.nix', searching up
[custom build]
[custom build] warning: ignoring untrusted flake configuration setting 'extra-substituters'.
[custom build] Pass '--accept-flake-config' to trust it
[custom build] warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
[custom build] Pass '--accept-flake-config' to trust it
[custom build]
🌀 Building list of assets...
✨ Read 589 files from the assets directory /home/runner/work/tonk/tonk/result/tonk-ui
🌀 Starting asset upload...
No updated asset files to upload. Proceeding with deployment...
Total Upload: 1088.83 KiB / gzip: 397.17 KiB
Worker Startup Time: 18 ms
Your Worker has access to the following bindings:
Binding Resource
env.BUCKET (tonk-spaces) R2 Bucket
env.ASSETS Assets
env.R2_ACCOUNT_ID ("5f20ca8a0de0a5ac52a14fa8bf9c90db") Environment Variable
env.R2_BUCKET_NAME ("tonk-spaces") Environment Variable

Uploaded tonk-access-service (4.45 sec)
Worker Version ID: ceab8fca-36ef-42d1-a296-a0f432ee5c67
Version Preview URL: https://ceab8fca-tonk-access-service.tonk.workers.dev
Version Preview Alias URL: https://pr-454-tonk-access-service.tonk.workers.dev

To deploy this version to production traffic use the command wrangler versions deploy

Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy

Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy

@Gozala Gozala force-pushed the feat/offline-support branch from 483cd0e to e1a3dd0 Compare May 13, 2026 08:11
@Gozala Gozala force-pushed the feat/offline-support branch from e1a3dd0 to 309bbf1 Compare May 13, 2026 08:13
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