Closed widoz closed 6 months ago
The recent modifications streamline the handling of entity options within the application by removing contextualEntitiesOptions
. This change affects the TypeScript definitions, state management functions, and related hooks, simplifying the overall structure and logic of entity options management.
Files | Change Summary |
---|---|
@types/index.d.ts , .../src/storage/entities/initial-state.ts , .../src/storage/entities/reducer.ts |
Removed contextualEntitiesOptions and associated logic from various components, affecting the EntitiesSearch interface and state handling. |
.../src/hooks/use-entities-options-storage.ts |
Updated to manage selected and current entities options, excluding contextual entities options. |
Test files in .../unit/hooks/ and .../unit/storage/ |
Simplified by removing test cases and assertions related to contextualEntitiesOptions . |
🐇💻✨
Ode to the code, so sleek and neat,
WherecontextualEntitiesOptions
face defeat.
Simplified states, across the board,
Less clutter in our digital hoard.
Hop, skip, a jump in the right direction,
CodeRabbit celebrates this code correction!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This action store a value to a variable in the store which is no longer consumed.
Summary by CodeRabbit
contextualEntitiesOptions
.