Skip to content

Conversation

@youngmrz
Copy link
Owner

Add bulk selection and deletion functionality to the History page and History tab, allowing users to select multiple transcription entries and delete them all at once. This improves user efficiency when managing large numbers of historical transcriptions.

- Fixed critical issue: Changed handleBulkDelete to use api.deleteHistoryBulk()
- Previously used Promise.all with multiple api.deleteHistory() calls
- Now properly uses single bulk delete API call with transaction support
- Applied fix to both HistoryPage.tsx and HistoryTab.tsx
- Created comprehensive E2E verification document
- Verified all implementation layers (database, controller, RPC, API, UI)
- TypeScript compilation verified
- Ready for live testing
- Create test_database.py with comprehensive bulk delete tests
- Test multiple record deletion in transaction
- Test audio file cleanup for all deleted entries
- Test empty list edge case handling
- Test invalid ID handling
- Test transaction rollback on errors
- Test mixed audio/no-audio entries

QA Fix Session: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants