Skip to content

A local-first personal finance app

Update version notification message for Pikapods instances (#5146)

Matiss Janis Aboltins6509e800617d
diff --git a/packages/desktop-client/src/components/FinancesApp.tsx b/packages/desktop-client/src/components/FinancesApp.tsx
index a357739ded..b7921b7811 100644
--- a/packages/desktop-client/src/components/FinancesApp.tsx
+++ b/packages/desktop-client/src/components/FinancesApp.tsx
@@ -147,10 +147,16 @@ export function FinancesApp() {
notification: {
type: 'message',
title: t('A new version of Actual is available!'),
- message: t(
- 'Version {{latestVersion}} of Actual was recently released.',
- { latestVersion },
- ),
+ message:
+ (process.env.REACT_APP_IS_PIKAPODS ?? '').toLowerCase() ===
+ 'true'
+ ? t(
+ 'A new version of Actual is available! Your Pikapods instance will be automatically updated in the next few days - no action needed.',
+ )
+ : t(
+ 'Version {{latestVersion}} of Actual was recently released.',
+ { latestVersion },
+ ),
sticky: true,
id: 'update-notification',
button: {
diff --git a/upcoming-release-notes/5146.md b/upcoming-release-notes/5146.md
new file mode 100644
index 0000000000..cab41cdc4c
--- /dev/null
+++ b/upcoming-release-notes/5146.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [MatissJanis]
+---
+
+Update version notification message for Pikapods instances