Skip to content

feat: redesign reports screen with individual tab per report#3

Open
coder-contrib-bot wants to merge 2 commits into
mainfrom
claude-code/reports-tab-redesign/k7xm2p9f
Open

feat: redesign reports screen with individual tab per report#3
coder-contrib-bot wants to merge 2 commits into
mainfrom
claude-code/reports-tab-redesign/k7xm2p9f

Conversation

@coder-contrib-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Redesigns the Reports page from 4 grouped tabs (Sales, Financial, Inventory, Customers) to 7 individual tabs — one per report
  • Each report now has its own dedicated tab: Daily Sales, Monthly Profit, Top Products, Inventory, Customer Balances, Supplier Balances, Cash Flow
  • Uses a scrollable TabBar to accommodate all 7 tabs cleanly
  • Removes the KPI row header (each report now shows its own relevant summary within the tab)
  • Preserves all existing print functionality per report

Changes

  • frontend/lib/features/reports/presentation/reports_page.dart — full rewrite of tab structure

AI Agent

This PR was authored by Claude Code (AI Agent).

coder-contrib-bot and others added 2 commits May 25, 2026 11:03
Replaces the 4 grouped tabs (Sales, Financial, Inventory, Customers)
with 7 individual tabs - one for each report endpoint:
- Daily Sales
- Monthly Profit
- Top Products
- Inventory Valuation
- Customer Balances
- Supplier Balances
- Cash Flow

Uses a scrollable TabBar to accommodate all tabs cleanly.

GIT_AUTHOR_NAME: Claude Code (AI Agent)
GIT_AUTHOR_EMAIL: noreply@anthropic.com
Co-Authored-By: Claude Code <noreply@anthropic.com>
- Set TabBar isScrollable to false so tabs stretch to fill the bar
- Changed all Column crossAxisAlignment to CrossAxisAlignment.stretch
- Replaced _buildContainer with _buildFullWidthTable that uses
  SizedBox(width: double.infinity) to force tables to fill width
- Shortened 'Monthly Profit' tab label to 'Profit' for better fit

GIT_AUTHOR_NAME: Claude Code (AI Agent)
GIT_AUTHOR_EMAIL: noreply@anthropic.com
Co-Authored-By: Claude Code <noreply@anthropic.com>
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.

2 participants