Storage: clear the icon cache from the panel
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 66/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with the storage summary in components/projects/storage-panel.tsx and lib/storage-report.ts, then the icons table in lib/db.ts. Add a button that reports the row count and size, then deletes only the icons rows, leaving projects, versions and settings alone. Add en, es, fr and hi strings, and an end-to-end test that caches an icon, clears the cache and checks the count is zero. Done when that test passes and docs/storage.md describes the button.
索引モデルが issue の本文から書いたものです。
説明
Summary
The panel shows how many icons are cached and how big that is, but the only way to clear them is to clear all site data. Add Clear the icon cache, which empties the icons table and nothing else, with an undo that is not needed because the icons are fetched again when used.
Part of the 2.0.0 plan: fewer, better and fully tested studios, on a calmer and faster site.
Where to look
components/projects/storage-panel.tsxandlib/storage-report.tslib/db.ts(theiconstable)docs/storage.md
Behaviour
- Add a button that deletes the rows of
icons, after saying how many and how much space that frees. - Leave projects, versions and settings alone, and say so.
- Translate the text in en, es, fr and hi.
Acceptance criteria
- An end-to-end test caches an icon, clears the cache and sees the count go to zero with the projects intact.
- The Icon Studio still works offline for icons fetched again later.
-
docs/storage.mdand the troubleshooting guide mention 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.
- 主要言語
- TypeScript
- スター
- 11
- フォーク
- 3
- 平均マージ
- 6時間 9分
- マージ済み PR(30日)
- 73
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
yakew7/DesignHub のほかの issue
-
difficulty: medium enhancement help wanted performance testing v2.0.0
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area: ui difficulty: medium enhancement help wanted v2.0.0
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
area: ui difficulty: medium enhancement help wanted v2.0.0
難易度 3/5 1〜2日 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
area: projects difficulty: medium enhancement help wanted performance v2.0.0
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: projects difficulty: easy enhancement good first issue help wanted v2.0.0
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
yakew7/DesignHub の issue をすべて見る
似ている issue
-
account bug communication lecture
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:tui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
anthropics/claude-code#109005 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
openedx/end-to-end-tests#196 ·
メンテナーはふだん 1 日以内に返信
-
area:tooling good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
interledger/publisher-tools#1007 ·
メンテナーはふだん 1 日以内に返信
-
priority/medium roadmap/v1.1.1 stakeholder/rapr type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
databrickslabs/ontos#1420 ·
メンテナーはふだん 3 日以内に返信