Offline: keep the studios a person uses most for offline use on their own, with a switch
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- nextjs, typescript
Direzione di ricerca
Start with scripts/service-worker-source.mjs and trace how rekeep and rememberRoute handle offline storage; then read store/command-recents-store.ts, store/nav-store.ts, and components/projects/storage-body.tsx for recents and the Offline use controls. Check existing tests for service worker storage and settings, then add coverage for the option off and on. Done means the remembered, translated switch defaults on, only keeps up to four recently used studios within the existing size cap, and the two named docs explain the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
A studio is kept when it is opened online, or by choosing it in the Storage panel. A person who always works in three studios could have those kept again after every update with no step, and have a switch to turn it off.
Part of the 2.0.0 plan: fewer, better and fully tested studios, on a calmer and faster site.
Where to look
scripts/service-worker-source.mjs(rekeep,rememberRoute)store/command-recents-store.tsandstore/nav-store.tscomponents/projects/storage-body.tsx(Offline use)
Behaviour
- Add an option, on by default, to keep the last four studios used (from the recents) on the next visit online, within the same size cap.
- Show it as a switch in Offline use and say what it does in one line.
- Never download a studio that was not used.
Acceptance criteria
- A test with the option off downloads nothing new, and with it on keeps the recent studios.
- The option is remembered after a reload and translated.
-
docs/storage.mdanddocs/troubleshooting.mddescribe it.
Getting started: fork the repo, then pnpm install and pnpm dev (Node 22+, pnpm 11, no API keys). Before opening a PR, run pnpm typecheck && pnpm test && pnpm lint && pnpm format:check && pnpm check:dashes && pnpm build (CI fails on unformatted files, so pnpm format first). See CONTRIBUTING.md and the first contribution walkthrough.
Everything needed is in the repository. This doesn't need maintainer access, secrets or paid services. Comment below to claim it, and ask questions here any time.
- Lingua principale
- TypeScript
- Stelle
- 11
- Fork
- 3
- Merge medio
- 6h 9m
- PR unite (30g)
- 73
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di yakew7/DesignHub
-
difficulty: medium enhancement help wanted performance testing v2.0.0
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: ui difficulty: medium enhancement help wanted v2.0.0
Difficoltà 3/5 1-2 giorni Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: projects difficulty: medium enhancement help wanted performance v2.0.0
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area: projects difficulty: easy enhancement good first issue help wanted v2.0.0
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area: docs difficulty: easy enhancement good first issue help wanted performance v2.0.0
Difficoltà 4/5 3-5 giorni Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di yakew7/DesignHub
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
g1331/phantom-circuit#93 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
compiler
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
HerringtonDarkholme/hd-lang#1699 ·
I maintainer di solito rispondono entro 1 giorno
-
account bug communication lecture
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno