- Updated the PromptGenerator class to handle prompt input updates and communicate with the frontend.
- Enhanced the UI behavior of the PromptGenOptions and PromptGenerator nodes to ensure proper widget visibility and state management.
- Updated `filterPromptDropdown` function to accept an options parameter for preserving dangling selections.
- Modified calls to `filterPromptDropdown` in both `prompt_manager.js` and `prompt_manager_advanced.js` to maintain user selections when loading prompts asynchronously.
- Introduced flags to manage workflow restoration state, preventing unwanted changes to selections during the restore process.
- Ensured that category and prompt widgets retain their values when the current selection is not present in the filtered options.
Co-authored-by: Copilot <copilot@github.com>