Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#51 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
database, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
2
Fork
4
Merge trung bình
6 giờ 54 phút
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của QMeshPy/distributed-quantum

Tất cả issue của QMeshPy/distributed-quantum

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.