Repository navigation
Show minimum monthly budget on Overview - #21
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview now includes a Minimum needed card alongside income, bills, debt payments and remaining income. It totals the active profile’s share of essential recurring bills plus active debt instalments, excluding one-off spending. Shared bills use the 50/50 share and annual bills are provisioned monthly.
Bills have an editable Essential checkbox and a visible essential/optional label. Existing bills are included conservatively until marked optional; exclusion changes only the minimum figure, not the normal budget. The flag follows effective-month edits and paid-history snapshots. New accounts start at zero. The summary grid adapts to five cards on desktop and a two-column layout on smaller screens.
Validation: npm run check passed (55 tests). Browser checks confirmed the fifth card, excluding a shared bill reducing the minimum by half its cost, the normal bills total remaining unchanged, and no desktop overflow.