Skip to content

feat(spending): budgets only when set, category chart, categories in the menu - #151

Merged
AmrMsCLL merged 1 commit into
mainfrom
feat/spending-budgets-optional
Oct 16, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
feat/spending-budgets-optional

Conversation

@AmrMsCLL

Copy link
Copy Markdown
Member

Second of three Spending clean-ups. Spending stays on for everyone; budgets inside it are now opt-in by use.

  • Budgets only when set: the overview shows Left to spend and Safe to spend a day only when the month has a budget. Without one it shows Spent and Received.
  • Budgets tab: lists only categories that have a budget. With no budgets at all it says budgets are optional and what they add. Set a budget is the primary button and picks the category in its dialog; the per-row "Set a budget" on unbudgeted categories is gone.
  • By category is a chart: one stacked bar of this month's spending by category, in the categories' own colours, with a legend of amount and share. The top seven categories show; the rest fold into "N more". Hovering a segment shows its amount.
  • By category is optional: Hide on the section, or Hide/Show spending by category in the page menu. The choice is kept per browser.
  • Custom categories: Edit categories moved from the Budgets tab to the page menu.

Specs: spending. Three tests follow the new layout (the overview no longer has the per-category meter; Set a budget and Edit categories moved), and one new test covers a month with no budget and the chart toggle.

…the menu

- Overview shows Left to spend and Safe to spend a day only when the month has a budget.
- The Budgets tab lists budgeted categories only, and explains that budgets are optional when there are none; Set a budget picks the category in its dialog.
- By category on the overview is a stacked bar with a legend of amounts and shares, top seven categories plus the rest; Hide on the section or the page menu turns it off for this browser.
- Edit categories moved to the page menu so custom categories do not depend on budgets.
@github-actions github-actions Bot added the size/m 51-200 changed lines, excluding lockfiles label Oct 16, 2026
@AmrMsCLL
AmrMsCLL merged commit d861761 into main Oct 16, 2026
7 checks passed
@AmrMsCLL
AmrMsCLL deleted the feat/spending-budgets-optional branch October 16, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m 51-200 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant