linebender / linebender/druid

Add feature, `map_get` and `map_put` to `LensExt`

Open
#1,902 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

This feature is useful in cases where you only want to map the getter/setter individually.
For example, when you want to pass a String to a custom widget, except you want to format it before it's received.

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.

Research direction

Start by locating LensExt and its existing lens-mapping APIs. Review how getter and setter behavior is represented, then define completion as adding map_get and map_put with behavior matching the requested individual mapping use case, including the formatting example for a String passed to a custom widget.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.