Skip to content

Feature/edit goals#86

Open
ryansoe wants to merge 4 commits intomainfrom
feature/edit-goals
Open

Feature/edit goals#86
ryansoe wants to merge 4 commits intomainfrom
feature/edit-goals

Conversation

@ryansoe
Copy link
Copy Markdown
Collaborator

@ryansoe ryansoe commented Apr 29, 2026

Changes

What changes did you make? Include screenshots if applicable, or explain how to view the changes.

  • Goals page — visible edit affordance. Added a create-outline (pencil) Ionicon next to the existing checkmark on every goal card in GoalsRow.tsx. Tapping it opens the same edit modal that previously could only be reached by long-press; long-press still works for users who know the gesture. No backend change — the PUT /goals/editGoal flow was already wired.
  • History page — Pie/Line/Bar chart switcher. Replaced the single line chart + time-range Picker in History.tsx with the same two-tier SegmentedControl pattern used on Home: a Pie/Line/Bar selector on top, and a 1M/3M/6M/1Y range selector below it that's hidden when Pie is active. Pie data comes from /users/category/:user_id, line data from /transactions/spendingTrend, bar data from /transactions/monthly. Reuses CustomPieChart, CustomLineChart, CustomBarChart, and the generalized SegmentedControl from Feature/multiple charts #85.
Screenshot 2026-04-29 at 15 40 09 Screenshot 2026-04-29 at 15 40 13 Screenshot 2026-04-29 at 15 40 21

Testing

How did you confirm your changes work? (Automated tests, manual verification, etc.)

  • TODO

Tracking

Add your issue number below.

Resolves #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant