Fix some controls' rendering in Storybook
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- storybook, typescript
- Domain
- frontend
Research direction
Reproduce the gauge, gauge-with-inner, and shapes stories from the linked Storybook pages, then review the control synchronization changes from PR #151. Trace why modified values and boolean or radio defaults are not reflected in the Controls view. Done means the Controls panel stays synchronized with the rendered map for these cases.
Written by the indexing model from the issue text.
Description
Description
https://github.com/Orange-OpenSource/IOT-Map-Component/pull/151 was a complex PR that was getting rid of addon-knobs. In the process of doing that, something was not handled completely.
As you can see in https://orange-opensource.github.io/IOT-Map-Component/?path=/story/gauge--gauge&args=shapePercent:33, when you modify the value of shape.percent in the "Controls" tab, the value is taken into account in the view but the value doesn't change in the "Controls" view; it stays to 15/100.
In this same view, the boolean default value is not set in the "Controls" view. However, the color and number inputs work correctly.
In https://orange-opensource.github.io/IOT-Map-Component/?path=/story/gaugewithinner--gauge-with-inner, the text input in the "Controls" view doesn't change even if the value is well-changed on the map rendering side.
Same thing in https://orange-opensource.github.io/IOT-Map-Component/?path=/story/shapes--shapes where the default radio buttons values are not set.
There's an undefined issue globally in the way the "Controls" panel view is updated/synchronized.
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 9
- Avg merge
- 1h 5m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Orange-OpenSource/IOT-Map-Component
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
enhancement tests
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
study
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
docs
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Handle rotationMay be free again @MewenLeHo claimed this 1620 days ago, and no pull request is open. Openfeature study
Orange-OpenSource/IOT-Map-Component#113 · 1 assignee ·
All issues in Orange-OpenSource/IOT-Map-Component
Similar issues
-
🔨 tool 🧰 library
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Orange-OpenSource/Orange-Boosted-Bootstrap#4035 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DISIC/teleservice-conformite#230 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
rothgar/rabble.radio#410 ·
Maintainers usually reply within 1 day
-
Docker > Volumes: sorting by Size does nothing, and text columns sort inconsistentlyPossibly taken @BitPluto claimed this today. Openneeds-triage🔍
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Dokploy/dokploy#6203 · 1 comment ·
Maintainers usually reply within 1 day
-
area/webapp comp/desktop P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#163341 · 2 comments ·
Maintainers usually reply within 1 day