Skip to content

Refactor: Encapsulate context-menu state and outside-click handling into useContextMenu composable

Refactor the FileEntryList.vue and JobEntryList.vue components to wrap the context-menu state and outside-click handling logic within a new useContextMenu composable. This pattern centralizes shared UI state management, allowing list components to simply bind to reactive state controlled by the composable, thereby improving code modularity and maintainability.