Skip to content

Implement Generic Selection Store Factory and State Machine for Shared Entry Management

Refactor the codebase to introduce a generic selection store factory and accompanying state machine in src/features/entries/stores/FileEntryStore.ts and src/features/jobs/stores/JobEntryStore.ts. This enhancement aims to unify anchor/index reconciliation and range-selection reducers across different stores, promoting code reusability and consistency. The pattern involves creating a store factory coupled with a state machine to handle common selection behaviors efficiently.