Repository navigation
Remove store - #109
Merged
Merged
Remove store#109
Conversation
- Introduced ToolBuilderContext to manage tool editor state using React Context and useReducer. - Removed toolBuilderStore and associated actions, replacing them with context-based methods. - Updated HelpMenu, ParameterList, PreviewTabs, and ToolEditor components to utilize the new context. - Refactored SavedCommandsDialog to manage open state via props instead of store. - Enhanced ToolEditor to handle saved commands with context integration. - Cleaned up unused imports and code related to the old store implementation.
…stency - Updated test files for CommandDialog, ParameterDetailsDialog, and ParameterList to enhance code formatting and structure. - Refactored function signatures and component props for better clarity. - Improved the organization of imports and function definitions across various files. - Ensured consistent use of JSX formatting in component rendering. - Enhanced the handling of state and props in the ToolEditor and related components.
… and remove dependency on nuqs chore: remove unused dependency @tanstack/react-store from tool editor refactor: rename tool-editor.store.ts to tool-editor.context.tsx and update references fix: update tool-card component to remove unnecessary whitespace docs: update tool-editor documentation to reflect changes in props and usage docs: revise UI documentation to remove nuqs dependency installation instructions fix: update saved command key generation to use slugify instead of uuid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.