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-05-07 17:31:16 +02:00
2026-05-11 20:08:32 +02:00
2026-04-29 21:47:01 +02:00
2026-05-07 17:31:16 +02:00
2026-04-08 22:23:15 +02:00
2026-04-07 14:43:17 +02:00
2025-03-28 13:08:22 -04:00
2026-01-21 22:56:39 +01:00
2026-01-21 22:56:39 +01:00
2026-04-11 21:37:07 +02:00
2026-04-01 20:25:06 +02:00
2026-04-11 21:37:07 +02:00
2026-05-05 20:07:40 +02:00
2026-05-11 20:08:32 +02:00
2026-05-09 11:56:16 +02:00
2026-05-09 11:56:16 +02:00
2026-04-15 20:49:48 +02:00
2026-02-06 18:04:03 +01:00
2026-04-13 00:51:23 +02:00
2026-05-10 22:13:57 +02:00
2026-05-05 01:24:33 +02:00
2026-05-05 01:12:48 +02:00
2026-04-10 23:19:48 +02:00
2026-04-27 18:33:22 +02:00
2026-04-27 18:33:22 +02:00
2026-01-09 13:03:40 +01:00
2026-01-12 15:35:14 -05:00
2026-02-19 18:58:01 +01:00
2026-01-23 00:53:24 +01:00
2026-01-09 19:38:04 +01:00
2026-01-22 20:37:07 +01:00
2026-01-22 20:37:07 +01:00
2026-01-22 20:37:07 +01:00
2026-03-25 17:47:04 +01:00
2026-01-10 20:11:00 +01:00
2026-03-13 08:11:51 +01:00
2026-05-10 22:13:57 +02:00
2026-03-23 12:34:43 +01:00
2026-03-26 19:01:35 +01:00
2026-03-25 17:47:04 +01:00
2026-04-10 15:43:22 +02:00
2026-01-05 22:11:47 +01:00
2026-05-07 23:31:26 +02:00
2026-01-16 12:34:06 +01:00
2026-04-18 09:50:34 +02:00
2026-01-23 00:28:17 +01:00
2026-01-23 08:55:34 +01:00
2026-04-19 11:16:04 +02:00
2026-04-19 11:16:04 +02:00
2026-05-09 21:55:20 +02:00
2025-10-22 16:02:50 +02:00
2026-04-09 18:33:59 +02:00
2026-04-13 21:23:59 +02:00
2026-04-08 21:05:58 +02:00
2025-07-15 11:42:41 -04:00
2026-03-20 17:01:31 +01:00
2026-01-22 15:25:43 +01:00
2025-08-11 22:58:44 +02:00
2026-01-07 15:59:04 +01:00
2026-03-25 10:50:23 +01:00
2026-05-11 20:08:32 +02:00
2025-04-16 20:26:45 -05:00
2026-02-06 21:25:52 +01:00
2024-02-02 09:05:04 -06:00
2026-03-14 20:14:18 +01:00
2026-05-03 20:33:29 +02:00
2026-05-11 20:08:32 +02:00
2026-05-01 13:31:32 +02:00
2026-03-25 10:50:23 +01:00
2025-07-23 18:15:14 -04:00
2026-04-07 14:43:17 +02:00
2026-04-07 14:43:17 +02:00
2026-04-13 20:03:55 +02:00
2026-04-23 21:28:38 +02:00
2026-05-05 01:12:48 +02:00
2026-04-01 20:27:29 +02:00
2026-05-03 20:33:29 +02:00
2026-03-19 15:17:55 +01:00
2026-04-07 16:28:01 +02:00
2026-04-01 20:25:06 +02:00
2026-04-01 20:25:06 +02:00
2025-05-23 18:58:22 -04:00
2026-01-21 22:56:39 +01:00
2026-03-25 10:50:23 +01:00
2026-04-19 11:16:04 +02:00
2025-05-23 18:58:22 -04:00
2026-04-10 23:19:48 +02:00
2026-04-10 23:19:48 +02:00
2026-02-01 23:48:54 +01:00
2026-05-09 12:36:41 +02:00
2026-03-29 17:30:12 +02:00
2026-04-13 00:51:23 +02:00
2025-03-17 11:54:53 -04:00
2026-02-11 15:22:56 +01:00
2025-09-24 00:19:51 +02:00
2026-01-09 19:38:04 +01:00
2026-01-21 17:16:51 +01: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-05-11 20:08:32 +02:00
2026-02-06 18:30:50 +01:00
2024-10-18 11:26:58 -05:00
2024-10-18 11:26:58 -05:00
2026-05-05 01:12:48 +02:00
2026-03-25 17:47:04 +01:00
2026-03-19 15:17:55 +01:00
2026-02-10 23:42:22 +01:00
2026-03-25 10:50:23 +01:00
2026-04-11 15:09:59 +02:00
2026-05-05 01:04:29 +02:00
2026-03-25 10:50:23 +01:00
2026-01-23 22:05:28 +01:00
2025-11-22 02:15:20 +01:00
2026-04-18 00:06:24 +02:00
2026-03-19 15:17:55 +01:00
2026-02-10 23:42:22 +01:00
2026-04-09 18:33:59 +02:00
2024-08-23 09:33:42 -04:00
2025-11-01 09:12:42 +01:00
2026-03-19 15:17:55 +01:00
2026-05-03 10:56:31 +02:00
2026-05-03 20:33:29 +02:00
2026-05-05 01:12:48 +02:00
2026-02-06 18:04:29 +01:00
2026-05-01 13:31:32 +02:00
2025-02-21 11:57:59 -05:00
2025-02-21 11:57:59 -05:00
2026-05-05 01:12:48 +02:00
2026-04-21 19:02:41 +02:00
2026-03-19 15:17:55 +01:00
2026-02-10 23:42:22 +01:00
2026-05-05 01:04:29 +02:00
2026-05-07 00:42:32 +02:00
2026-04-19 11:16:04 +02:00
2025-05-15 10:19:56 -04:00
2026-05-05 01:12:48 +02:00
2026-05-01 21:21:34 +02:00
2025-04-14 11:40:34 -04:00
2026-05-05 01:12:48 +02:00
2025-12-07 16:30:02 +01:00
2026-04-07 11:24:50 +02:00
2026-04-10 17:42:16 +02:00
2025-11-20 08:31:03 +01:00
2026-01-23 22:05:28 +01:00
2026-04-15 18:45:24 +02:00
2026-04-18 09:50:34 +02:00
2026-02-10 23:42:22 +01:00
2026-03-20 14:52:09 +01:00
2026-05-03 10:28:31 +02:00
2026-05-09 21:55:20 +02:00
2026-05-09 21:55:20 +02:00
2026-01-03 17:56:42 -05:00
2026-05-05 00:47:45 +02:00
2026-02-10 23:14:58 +01:00
2026-01-23 18:55:51 +01:00
2026-05-01 22:59:32 +02:00
2026-05-06 22:02:21 +02:00
2026-02-23 17:43:00 -05:00
2024-05-23 08:09:33 -04:00
2025-03-28 13:08:22 -04:00
2026-01-16 21:04:10 +01:00
2026-03-29 10:08:54 +02:00
2026-01-16 12:34:06 +01:00
2026-05-09 11:56:16 +02:00
2026-01-12 15:35:14 -05:00
2025-02-21 11:57:59 -05:00
2026-05-03 20:33:29 +02:00
2026-05-05 01:20:57 +02:00
2025-07-15 11:42:41 -04:00
2026-02-11 15:22:56 +01:00
2025-04-14 11:40:34 -04:00
2026-05-03 22:13:28 +02:00