nextcloud / nextcloud/tasks

Progressive Web App (PWA) support

Open
#2,516 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage enhancement
Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

Is your feature request related to a problem? Please describe.

It would be great if we could get some basic PWA setup going to start caching. Right now when I'm on a slow connection it can be quite slow to load the page.

First step is to just cache the response to show right away and then show updates once we get them from the server. Later we could think about things like adding tasks when offline and sending later.

Describe the solution you'd like

The memories app has a pretty good PWA that we could look at for inspiration

https://github.com/pulsejet/memories/blob/e765a89989c42cd51e39ecfe053cf8625837d3ab/src/service-worker.ts

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the requested PWA behavior and use the linked memories service-worker.ts as inspiration. Identify how the Tasks app currently loads responses, then define the service-worker scope needed to show cached content immediately and display server updates. Done means the basic caching flow works on a slow connection; offline task creation is explicitly out of scope for this first step.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.