Commit Graph

8 Commits

Author SHA1 Message Date
1eac116a55 add option to delete location in all subsequent months
- Added toggle in LocationDeleteForm for deleting locations from future months (disabled by default)
- Modified deleteLocationById action to support batch deletion across subsequent months
- When enabled, deletes all locations with same name in current and future months/years
- Only deletes user's own locations with proper data isolation
- Added translations for toggle text in Croatian and English
- Removed unused imports and variables to fix TypeScript warnings
- Uses efficient MongoDB deleteMany operation for bulk deletions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 11:01:16 +02:00
fc6243f9b8 i18n: minor fixes 2024-02-17 10:14:46 +01:00
d30bd50e1a enabled i18n for all components 2024-02-16 21:56:41 +01:00
a96998baad Location Edit / Add / Delete migrated to client-side rendering 2024-02-08 14:23:01 +01:00
4ef2330ad4 Added suspense to LocationAddPage and LocationDetelePage 2024-02-06 14:48:19 +01:00
8aaf2a0dea "Cancel" buttons replaced with <Link> 2024-02-06 14:29:58 +01:00
2261e83715 refactoring: changing param list of a fn 2024-02-01 15:07:30 +01:00
0eb11e7d02 form action redirects user to tjhe appropriate year 2024-01-17 15:47:55 +01:00