Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(vault): request persistent storage and warn about eviction

Aperta
#51 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
database, frontend

Direzione di ricerca

Start by locating the browser content layer that writes blocks to IndexedDB and its existing publish flow. Check how that flow can call navigator.storage.persist() once and remember the result, then inspect where user notices are displayed. Add mocked navigator.storage unit tests; done means the request is made once and a banner explains eviction risk with pinning or export as options.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue helia storage tier-1

Summary

Ask the browser not to evict the vault and warn the user when storage is low or persistence is denied.

Estimated size: S

Current state in this repo

  • Blocks live in IndexedDB and can be evicted under storage pressure.

Proposal

  • Call navigator.storage.persist() after the first publish.
  • Use navigator.storage.estimate() to show usage and a banner when usage is high or persistence is denied.

Acceptance criteria

  • The persist request is made once and its result is remembered.
  • A banner explains the risk and points to pinning or export.

Dependencies

  • None; can be picked up independently.

Testing plan

  • Unit tests with a mocked navigator.storage.

Part of #43. Ground rules for the content layer: no secrets in the repo, content-layer failures must never block or discard quantum execution, and tests and docs ship with every PR.

Lingua principale
Python
Stelle
2
Fork
4
Merge medio
6h 54m
PR unite (30g)
7

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di QMeshPy/distributed-quantum

Tutte le issue di QMeshPy/distributed-quantum

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.