Failure to generate config file results in "success" notification
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start in the Methods page component YamlGenerator.tsx and reproduce the issue by refreshing to a blank page, then clicking Get Config. Inspect the snackbar error-handling logic and verify that the success notification appears only when configuration generation succeeds; confirm that failures do not report success.
Written by the indexing model from the issue text.
Description
In the "Methods" page, even when the config file fails to be generated (for example, when clicking the "Get Config" button after a refresh of the page, so the page is completely blank), a notification pops up saying "Configuration file generated successfully", which is misleading.
See the screenshot below for an example:
The error likely resides in the component in YamlGenerator.tsx, somewhere in the error-handling logic for when the snackbar should or shouldn't be displayed.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- Avg merge
- 7h 4m
- Merged PRs (30d)
- 24
Contributor guide
No contributing guide indexed for this repository
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 DiamondLightSource/ImagingHub
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DiamondLightSource/ImagingHub#104 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
DiamondLightSource/ImagingHub#134 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
DiamondLightSource/ImagingHub#102 ·
All issues in DiamondLightSource/ImagingHub
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·