DynamicCommand: combobox in the example never gets updated
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 200
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
I just pulled the latest changes of this repository and tried to get [DynamicCallbacks](https://github.com/imagej/tutorials/blob/master/maven-projects/dynamic-commands/src/main/java/DynamicCallbacks.java)
running. Now the `KindOfThing` does not seem to trigger the update of the `Thing`. I put a breakpoint [here](https://github.com/imagej/tutorials/blob/c78764438d774295d00fc8a4273e4c4f25c8ad46/maven-projects/dynamic-commands/src/main/java/DynamicCallbacks.java#L55) and indeed the callback gets triggered.
The question being; am I doing something wrong, or does the `MutableModuleItem` need a nudge to update the content of its components?
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.
Research direction
Start with maven-projects/dynamic-commands/src/main/java/DynamicCallbacks.java, especially the callback at line 55, and trace how the KindOfThing change reaches the MutableModuleItem and its combobox. Reproduce the example and confirm that changing KindOfThing updates Thing's available content without requiring manual interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100