From 819d0de4819d7c48ed0a5ce95c53138679a0f23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Tue, 25 Nov 2025 13:58:56 +0100 Subject: [PATCH 1/4] MongoDB: in dev env configured the same initial admin pass --- docker-compose-debug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose-debug.yml b/docker-compose-debug.yml index 2040bf1..4fd6dc5 100644 --- a/docker-compose-debug.yml +++ b/docker-compose-debug.yml @@ -13,7 +13,7 @@ services: - 27017:27017 environment: MONGO_INITDB_ROOT_USERNAME: root - MONGO_INITDB_ROOT_PASSWORD: example + MONGO_INITDB_ROOT_PASSWORD: HjktJCPWMBtM1ACrDaw7 volumes: - ./mongo-volume:/data/db mongo-express: From cd8c4cf3701dbc8f512c417b33023b0098514ef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Tue, 25 Nov 2025 14:24:34 +0100 Subject: [PATCH 2/4] (style) reduced print button width so it fits on screen --- app/ui/AddLocationButton.tsx | 2 +- app/ui/PrintButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ui/AddLocationButton.tsx b/app/ui/AddLocationButton.tsx index 7e6f2d3..52b408e 100644 --- a/app/ui/AddLocationButton.tsx +++ b/app/ui/AddLocationButton.tsx @@ -21,7 +21,7 @@ export const AddLocationButton:React.FC = ({yearMonth}) - {t("tooltip")} + {t("tooltip")} diff --git a/app/ui/PrintButton.tsx b/app/ui/PrintButton.tsx index fae97a7..93b99a8 100644 --- a/app/ui/PrintButton.tsx +++ b/app/ui/PrintButton.tsx @@ -24,7 +24,7 @@ export const PrintButton: React.FC = ({ yearMonth }) => { > - {t("print-codes-label")} + {t("print-codes-label")} From fe924d0ee413925f1e55c236613de220e821cfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Tue, 25 Nov 2025 14:48:55 +0100 Subject: [PATCH 3/4] (style) LocationCard: fixing shared button position, compacting layout --- app/ui/LocationCard.tsx | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index e8352d1..bbb00f9 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -45,24 +45,27 @@ export const LocationCard: FC = ({ location, currency }) => {
- + -

{formatYearMonth(yearMonth)} {name}

-
- { - bills.map(bill => ) - } +

{formatYearMonth(yearMonth)} {name}

+ { + bills.length > 0 ? ( +
+ { + bills.map(bill => ) + } +
+ ) : null + } +
- {t("add-bill-button-tooltip")} + {t("add-bill-button-tooltip")} +
- - {monthlyExpense > 0 || seenByTenant || utilBillsProofOfPaymentUploadedAt ? <> -
{t("monthly-statement-legend")}
- - +
{t("monthly-statement-legend")}
{ monthlyExpense > 0 ?
@@ -93,7 +96,6 @@ export const LocationCard: FC = ({ location, currency }) => { : null } -
); }; \ No newline at end of file From 51aa4b18915933483b6f59acaf3c6fca2f0602af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Tue, 25 Nov 2025 14:52:44 +0100 Subject: [PATCH 4/4] 2.5.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e42b226..a575c62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "evidencija-rezija", - "version": "2.4.0", + "version": "2.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "version": "2.4.0", + "version": "2.5.0", "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", diff --git a/package.json b/package.json index 2caec92..f61d5bb 100644 --- a/package.json +++ b/package.json @@ -59,5 +59,5 @@ "engines": { "node": ">=18.17.0" }, - "version": "2.4.0" + "version": "2.5.0" }