Commit Graph

217 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
78a6c18ba5 add option to create location in all subsequent months
- Added toggle in LocationEditForm for adding locations to future months (disabled by default)
- Modified updateOrAddLocation action to support batch creation across subsequent months
- Only creates locations in months where no location with same name exists
- Added translations for toggle text in Croatian and English
- Fixed unused variable warning in deleteLocationById
- Improved auth.ts development comments for clarity

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:27:31 +02:00
eef93528e3 set current year as default active year
Changes default year from first available year in database to current year (Date.now) when no year parameter is provided in URL.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:10:45 +02:00
491b11e86d fixing types 2025-07-23 13:40:14 +02:00
36f2f74e64 implemented scanning PDF docs for multiple 2D codes 2025-07-23 13:12:13 +02:00
103e371d5f mongo projekcija proširena property-em "hasAttachment" 2025-01-13 16:05:15 +01:00
9c9ddc28c1 povećavanje UI elemenata na view ekranu 2024-12-14 09:12:03 +01:00
40e421a32a podešen styling ikone 2024-12-14 09:04:15 +01:00
74a9229ffa link ikona zamijenjena sa share ikonom 2024-12-14 09:01:09 +01:00
4ab61f9917 implementiran share by link 2024-12-13 17:50:12 +01:00
439de9d305 implementirano kopiranje linka 2024-12-13 15:38:48 +01:00
160c4f00f5 BugFix: delete button did not use locale path prefix 2024-02-19 10:21:25 +01:00
dead2e1200 adding location set to available in every month 2024-02-19 10:19:11 +01:00
b66d911e11 fixed SingInButton spacing 2024-02-19 09:32:38 +01:00
3ec395dfd3 updated version in compose file 2024-02-19 09:14:29 +01:00
89eb50b61a supported login via linkedin 2024-02-19 09:11:59 +01:00
52c5672662 LocationCard: added visible tooltip 2024-02-17 11:12:12 +01:00
188505aacf AddMonth/LocationButton: fixed tooltip width 2024-02-17 10:55:08 +01:00
99ee9594ad fixed AddLocationButton toltip translation 2024-02-17 10:35:48 +01:00
440ab6a815 Fixed LocationCard translation 2024-02-17 10:34:34 +01:00
fc6243f9b8 i18n: minor fixes 2024-02-17 10:14:46 +01:00
db42fa29dd BugFix: switching locale for home page did not work 2024-02-17 09:48:27 +01:00
fcd94408fe BugFix: fixed translation formating 2024-02-17 09:41:35 +01:00
1c66940287 added language switcher 2024-02-17 08:32:53 +01:00
d30bd50e1a enabled i18n for all components 2024-02-16 21:56:41 +01:00
bc23025575 localized page footer 2024-02-16 17:40:45 +01:00
cebe5a7239 delete forms were not wrapped in <Main> 2024-02-15 15:52:27 +01:00
7ef236a557 HotFix: small HTML fixes 2024-02-15 10:04:15 +01:00
66037b7b76 added disclaimer under the 2d bar code 2024-02-15 09:38:29 +01:00
eb82df387d translating to english 2024-02-15 09:34:13 +01:00
a55f90972c added labels to buttons 2024-02-15 09:34:06 +01:00
37e1c8df0e translation to english 2024-02-15 09:22:22 +01:00
c615916be1 title page translated to english 2024-02-15 09:18:26 +01:00
b11be8e717 Fix: sign-in redirect URL is set 2024-02-14 16:50:16 +01:00
5691cad1d8 BugFix: PAge was exporting extra function 2024-02-13 16:15:36 +01:00
199159c208 added custom login screen 2024-02-13 16:07:50 +01:00
c87f9964c4 BillEditForm: responsive width, white barcoder outline 2024-02-13 11:52:25 +01:00
aa6cc8714f improved AddLocation & AddMonth icons 2024-02-13 11:25:58 +01:00
010bd09d47 BillEditForm: payed amount in same line with checkbox 2024-02-13 11:16:07 +01:00
dc8f7e335a bar code imaghe is saved to DB 2024-02-12 15:29:16 +01:00
c833a4afe6 implemented barcode decoder 2024-02-12 14:58:31 +01:00
84332b81af partial implementation of bar code parsing from PDF 2024-02-09 16:02:18 +01:00
f2d44190e8 fixed scroll into view to scroll to top 2024-02-09 10:42:38 +01:00
3d335f9890 fixing card min with on desktop 2024-02-09 10:13:45 +01:00
6841726027 fixing spacing 2024-02-09 10:13:23 +01:00
b433b69522 full-width support for mobile 2024-02-09 10:13:13 +01:00
27b696faab home page converted back to server-side component 2024-02-09 09:40:43 +01:00
0128d46a32 fixing typescript errors 2024-02-08 14:48:49 +01:00
14c0438500 HomePage: state optimization 2024-02-08 14:43:38 +01:00
a96998baad Location Edit / Add / Delete migrated to client-side rendering 2024-02-08 14:23:01 +01:00