VSN-2114 : Prepared circuits UI & stores implementation & integration of mass exportation feature traces removed.
Merge Request Description
Title
Removal of Prepared Circuits Exportation Feature and UI Simplification
Overview
This merge request removes the prepared circuits exportation feature across all application layers, including backend endpoints, service implementations, frontend hooks, and UI components. The objective is to fully decommission export-related logic that is no longer required and to simplify the prepared circuits user interface accordingly.
Scope of Changes
The changes span:
- Backend API layer
- Service and business logic
- Frontend hooks and views
- UI control components
All exportation-related logic for prepared circuits has been removed to ensure architectural consistency.
Detailed Changes
1. Backend Endpoint Removal
- Removed the backend endpoint dedicated to prepared circuits exportation.
- Eliminates unnecessary API exposure for a deprecated feature.
- Ensures the backend only supports actively used circuit operations.
2. Service Layer Cleanup
- Removed the service implementation responsible for prepared circuits exportation.
- Prevents unused business logic from remaining in the codebase.
- Reduces complexity and maintenance effort in the service layer.
3. Frontend Hook Refactoring
- Removed the
handleExportmethod from the custom prepared circuits hook. - Ensures hooks only expose relevant and supported behaviors.
- Simplifies hook responsibilities and improves readability.
4. View-Level Refactoring
- Removed the exportation handler function from the prepared circuits list view.
- Eliminates dead code paths and unused UI-triggered actions.
- Aligns the view logic with the updated hook and backend behavior.
5. Control Bar Customization
- Customized the prepared circuits table control bar to:
- Remove exportation options
- Remove filter-related controls tied to exportation
- Results in a cleaner and more focused UI.
- Improves user clarity by displaying only valid actions.
Benefits
- Complete removal of deprecated exportation functionality
- Cleaner separation of responsibilities across layers
- Reduced technical debt and dead code
- Improved UI simplicity and consistency
- Lower risk of confusion or accidental usage of unsupported features
Impacted Areas
- Prepared circuits controller and services
- Custom frontend hooks related to prepared circuits
- Prepared circuits list view
- Table control bar UI component
Backward Compatibility
- No breaking changes to active features
- Removed functionality was deprecated or unused
- Existing circuit workflows remain unaffected
Conclusion
This merge request finalizes the removal of prepared circuits exportation by cleaning up backend endpoints, service logic, frontend hooks, and UI components. The result is a more maintainable, consistent, and user-focused implementation aligned with current functional requirements.
Closes VSN-2114