Guillem Arias
9b61e4a41b
refactor: rename Savings Goals feature to Goals
User-facing rename + structural rename. Feature is now called just
"Goals" everywhere — page title, sidebar nav, modal headings, flash
messages, AI assistant tool. Code identifiers follow:
- Models: SavingsGoal → Goal, SavingsContribution → GoalContribution,
SavingsGoalAccount → GoalAccount.
- Tables: savings_goals → goals, savings_contributions → goal_contributions,
savings_goal_accounts → goal_accounts. FK columns savings_goal_id →
goal_id. New migration db/migrate/20260511100003_rename_savings_to_goals.rb
uses rename_table + rename_column; PG handles index renaming and FK
redirection automatically.
- Controllers: SavingsGoalsController → GoalsController,
SavingsContributionsController → GoalContributionsController.
- Routes: /savings_goals → /goals, nested /goals/:id/contributions
(resource name shifts; old route name aliases dropped).
- ViewComponent namespace: Savings::* → Goals::*. Component class
names drop their redundant "Goal" prefix where the namespace already
carries it: Savings::GoalCardComponent → Goals::CardComponent,
Savings::GoalAvatarComponent → Goals::AvatarComponent. Others keep
their names (Goals::ProgressRingComponent, Goals::StatusPillComponent,
Goals::AccountStackComponent, Goals::FundingAccountsBreakdownComponent).
- Stimulus controllers: savings_goal_* → goal_*, savings_goals_filter
→ goals_filter. Stimulus identifiers in data-controller / data-*
attributes follow.
- Locale keys: savings_goals: → goals: (top level), savings_contributions:
→ goal_contributions: (top level). All t() callers updated.
- AI assistant tool: Assistant::Function::CreateSavingsGoal →
Assistant::Function::CreateGoal, tool name "create_savings_goal" →
"create_goal", description / response text updated.
- Sidebar nav label "Savings" → "Goals". Goals/show + index page title
"Savings" → "Goals". Empty goals_section heading/subtitle dropped
(duplicated the page title post-rename).
Original migrations create_savings_goals / create_savings_goal_accounts /
create_savings_contributions remain untouched so historical replay
still works; the rename migration runs on top.
2026-05-11 20:08:32 +02:00
..
2026-02-15 09:34:34 +01:00
2026-01-05 22:11:47 +01:00
2026-01-16 21:04:10 +01:00
2026-03-14 11:32:33 +01:00
2026-05-05 00:47:45 +02:00
2026-04-11 19:33:30 +02:00
2025-04-30 18:14:22 -04:00
2026-03-14 23:56:27 +01:00
2026-01-24 01:11:56 +01:00
2025-07-23 18:21:37 -04:00
2026-04-10 23:19:48 +02:00
2026-04-13 23:32:27 +02:00
2025-01-16 14:36:37 -05:00
2026-04-10 23:06:32 +02:00
2026-01-23 09:52:15 +01:00
2026-04-07 11:24:50 +02:00
2026-03-20 21:19:30 +01:00
2025-05-22 11:50:12 -04:00
2025-03-28 13:08:22 -04:00
2025-12-24 01:57:16 +01:00
2024-10-14 17:09:27 -04:00
2026-04-01 20:25:06 +02:00
2025-04-30 18:14:22 -04:00
2026-02-19 19:55:10 +01:00
2024-10-14 17:09:27 -04:00
2025-04-30 18:14:22 -04:00
2026-03-07 10:17:27 +00:00
2026-03-07 10:17:27 +00:00
2026-04-18 00:06:08 +02:00
2026-01-23 00:24:29 +01:00
2026-03-23 17:07:12 -07:00
2025-04-30 18:14:22 -04:00
2026-04-26 09:32:20 +02:00
2026-01-10 16:39:18 +01:00
2026-03-07 10:17:27 +00:00
2024-10-14 17:09:27 -04:00
2026-04-08 21:05:58 +02:00
2025-04-18 08:23:10 -05:00
2026-04-08 21:05:58 +02:00
2026-05-11 20:08:32 +02:00
2026-05-11 20:08:32 +02:00
2026-05-11 20:08:32 +02:00
2026-01-23 12:54:55 +01:00
2024-10-14 17:09:27 -04:00
2026-01-23 22:12:02 +01:00
2024-10-14 17:09:27 -04:00
2026-01-24 01:11:56 +01:00
2026-04-04 13:29:43 +02:00
2024-10-14 17:09:27 -04:00
2025-10-22 19:51:24 +02:00
2025-11-22 02:14:29 +01:00
2025-04-18 08:23:10 -05:00
2026-04-07 12:19:17 +02:00
2025-08-03 07:35:34 +02:00
2026-02-13 19:30:29 +01:00
2026-05-04 21:47:01 +02:00
2025-04-18 08:23:10 -05:00
2026-03-13 08:11:51 +01:00
2026-05-08 15:15:23 +02:00
2025-05-22 11:46:57 -04:00
2026-03-01 17:46:50 +01:00
2025-04-18 08:23:10 -05:00
2026-05-10 22:13:57 +02:00
2026-04-05 09:27:24 +02:00
2026-01-23 00:24:29 +01:00
2025-12-02 17:10:55 +01:00
2025-05-13 10:34:41 -04:00
2026-02-15 13:23:19 +01:00
2025-05-22 11:46:57 -04:00
2026-01-21 22:56:39 +01:00
2026-04-07 20:52:14 +02:00
2025-01-30 14:12:01 -05:00
2026-03-29 17:28:07 +02:00
2026-01-08 15:38:13 +01:00
2025-09-23 15:43:36 +02:00
2026-05-04 00:50:52 +02:00
2024-10-14 17:09:27 -04:00
2024-11-27 16:01:50 -05:00
2026-04-08 21:05:58 +02:00
2026-04-11 00:56:05 +02:00
2026-01-23 00:24:29 +01:00
2026-04-08 21:05:58 +02:00
2025-01-07 09:41:24 -05:00
2025-05-26 20:05:16 -05:00
2026-02-16 23:36:27 +01:00
2026-05-03 22:13:28 +02:00
2026-05-03 22:13:28 +02:00
2026-05-03 22:13:28 +02:00