Repository navigation
Conversation
…port for enumerated values
…port for enumerated values
|
…port for enumerated values
|
Hi @TFGSUMIT, Before continuing, can you elaborate on the need for a custom dropdown handler as:
BTW, a change in enumerated string value will generally require a shader / material rebuild after setting it |
|
Thanks for diving into this, @TFGSUMIT! You can find instructions for resolving the EasyCLA error in the comment above. |
|
@TFGSUMIT As we have a Dev Days event next week, let us know if you'd like to continue working on this PR. If you're interested in continuing work on it, go ahead and add a comment to #2366, so that we can assign the task to you, and read the instructions in #3006 (comment) to resolve the CLA warnings above. |
|
I'll close out this PR for now, @TFGSUMIT, as it's still missing the authorization step we'd need to begin reviewing it, but feel free to take on another project for our upcoming Dev Days event! |
This pull request adds UI support for enumerated values in the Graph Editor. It introduces a dropdown menu that displays enumerated values fetched from the
/spec/definitionsendpoint.Changes:
DropdownHelperclass to fetch enumerated values and create dropdown menu options.DropHandlingclass to handle dropdown menu events.Viewerclass to initialize the dropdown menu and load enumerated values.Testing instructions:
Note: This implementation assumes that the
fetchAPI is available in the browser. If you are using a Node.js environment, you may need to use a different approach to fetch the enumerated values.