Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indicate form element choices #110

Merged

Conversation

dpgraham4401
Copy link
Member

Description

Adds a custom hook for getting information about the user's chosen path, and updating the UI accordingly. This PR also implements part of those UI changes so the form elements in the boolean nodes indicate what choices the user made.

Issue ticket number and link

closes #102

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

…n details from useDecisionTree high level functions (makeDecision, retractDecision)
…decision from the user selected path, a query to see if node is in path, and accepts an initial path prop

    Implement usage of usePath in BoolNode to determine whether the decision is in the user selected path
…e need to be colored (and labeled differently) to indicate the user's chosen path through the decision tree
@dpgraham4401 dpgraham4401 changed the title 102 indicate form element choices indicate form element choices Apr 29, 2024
@dpgraham4401 dpgraham4401 merged commit c3259ff into USEPA:main Apr 29, 2024
8 checks passed
@dpgraham4401 dpgraham4401 deleted the 102-indicate-form-element-choices branch April 29, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indicate Form Element Choices
1 participant