Sitelet https://github.com/UnexpectedSoftware/openMarket/pull/47
Skip to content

Show category totals and delete empty categories - #47

Merged
victuxbb merged 2 commits into
masterfrom
feature/category-summaries
Oct 6, 2026
Merged

victuxbb merged 2 commits into
masterfrom
feature/category-summaries

Conversation

@victuxbb

@victuxbb victuxbb commented Oct 6, 2026

Copy link
Copy Markdown
Member

Each saved category card shows how many products it holds, the sum of their base prices, the stock on hand, and the product sold most often. A category with no products can be deleted from a footer button, away from the photo controls. A category that still has products is refused.

Version: minor

victuxbb and others added 2 commits October 7, 2026 00:08
Each category card lists how many products it holds, the sum of their base prices, the stock on hand, and the product sold most often. An empty category can be deleted from the card footer. A category that still has products is refused, and the photo controls stay on the image.

Co-authored-by: grok-by-xai[bot] <261865991+grok-by-xai[bot]@users.noreply.github.com>
CreateCategory builds the Category and passes that entity to save, along with the chosen image file. The repository stores the row and no longer assigns the id.

Co-authored-by: grok-by-xai[bot] <261865991+grok-by-xai[bot]@users.noreply.github.com>
@victuxbb
victuxbb merged commit a2c57ce into master Oct 6, 2026
10 checks passed
@victuxbb
victuxbb deleted the feature/category-summaries branch October 6, 2026 22:32
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