Skip to content

Commit

Permalink
Update deprecation warning text (#1366)
Browse files Browse the repository at this point in the history
  • Loading branch information
erosdome authored Dec 12, 2024
1 parent f5c4920 commit e37ea64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/javascripts/controllers/_StackController.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,19 @@ import WindowUtils from "@/core/utils/WindowUtils";
const currentDate = new Date();
if (currentDate < startDate) {
return {
message: "Upgrading to faster Pro Medium/Large/X Large, applying the same credit multiplier. Medium/Large/X Large machines will be deprecated and your Workflows will automatically run on Pro Medium/Large/X Large machines from the " + dateService.toLocaleMonthDayDateString(startDate) + ".",
message: "Upgrading to faster Pro Medium/Large/X Large, with no extra costs. Medium/Large/X Large machines will be deprecated and your Workflows will automatically run on Pro Medium/Large/X Large machines from the " + dateService.toLocaleMonthDayDateString(startDate) + ".",
linkUrl: machineUpgradeAnnouncementUrl,
linkLabel: 'Read announcement.',
}
} else if (currentDate >= startDate && currentDate <= endDate) {
return {
message: "Your Workflows were automatically switched to faster Pro Medium/Large/X Large, applying the same credit multiplier. To continue using the deprecated Medium/Large/X Large machines until the " + dateService.toLocaleMonthDayDateString(endDate) + ", opt to extend the transition period in the",
message: "Your Workflows were automatically switched to faster Pro Medium/Large/X Large, with no extra costs. To continue using the deprecated Medium/Large/X Large machines until the " + dateService.toLocaleMonthDayDateString(endDate) + ", opt to extend the transition period in the",
linkUrl: '/workspaces/' + appService.appDetails.ownerData.slug + '/settings/apps',
linkLabel: 'Workspace settings.',
}
} else if (currentDate > endDate) {
return {
message: "Your Workflows are now running on faster Pro Medium/Large/X Large, applying the same credit multiplier. If you’d like to keep using the deprecated Medium/Large/X Large machines, reach out to support.",
message: "Your Workflows are now running on faster Pro Medium/Large/X Large, with no extra costs. If you’d like to keep using the deprecated Medium/Large/X Large machines, reach out to support.",
linkUrl: machineUpgradeAnnouncementUrl,
linkLabel: 'Read announcement.',
}
Expand Down

0 comments on commit e37ea64

Please sign in to comment.