Support removing storage keys

Open Beginner friendly
#8,667 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
dart
Domain
tooling

Research direction

Start by reading packages/devtools_app/lib/src/shared/primitives/storage.dart, especially the existing browser-storage get and set operations. Review the inspector.inspectorV2Enabled example and its related pull request discussion to understand the intended cleanup use case. Done means callers can remove obsolete storage keys through the shared storage API.

Written by the indexing model from the issue text.

Description

cross-screen P3

Currently we allow getting and setting keys from browser storage: https://github.com/flutter/devtools/blob/2ffc52cd5f18a007546cb018015cc673f02e4383/packages/devtools_app/lib/src/shared/primitives/storage.dart#L9

We might want to add the ability to remove storage keys that are no longer being used, for example 'inspector.inspectorV2Enabled' (see https://github.com/flutter/devtools/pull/8650/files/3d572028dde72898d47ad4ad264d456f686d9d70#r1904515317)

Dominant language
Dart
Stars
1.7k
Forks
405
Avg merge
4d 23h
Merged PRs (30d)
12

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.

More from flutter/devtools

All issues in flutter/devtools

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.