Closed alexpung closed 5 months ago
Recent updates to the BlazorApp-Investment Tax Calculator streamline type declarations for dividend models, introduce a new component for yearly dividend summaries, and rename page routes and navigation items to clarify their purposes. These modifications enhance data presentation and usability while optimizing component interactions.
Files | Change Summary |
---|---|
Components/DividendTable.razor |
Updated type declarations for the GridEvents component, DividendViewModels property, and the importedDividendGrid field. |
Components/DividendYearSummary.razor |
New file introducing a component for displaying a Dividend Summary Report using Syncfusion Blazor Grids, with various functionalities for data handling and export. |
InvestmentTaxCalculator.csproj |
Removed DividendYearlySummary.razor component and ExportFile.razor page from the project. |
Pages/CGTYearlyTaxSummaryPage.razor |
Renamed the page route from /YearlyTaxSummaryPage to /CgtYearlyTaxSummaryPage . |
Pages/DividendYearlyTaxSummaryPage.razor |
New file introducing a Razor page for displaying the yearly dividend tax summary, including a custom component DividendYearSummary . |
Pages/NavMenu.razor |
Updated menu items: "Yearly Summary" to "CGT Yearly Summary" and "Disposal Summary" to "Dividend Yearly Summary", with corresponding page address changes. |
sequenceDiagram
participant User
participant Browser
participant BlazorApp
participant Server
User->>Browser: Navigate to "/CgtYearlyTaxSummaryPage"
Browser->>BlazorApp: Request Page
BlazorApp->>Server: Fetch CGT Yearly Summary data
Server-->>BlazorApp: Return Data
BlazorApp-->>Browser: Render CGT Yearly Tax Summary
Browser->>User: Display Summary Report
User->>Browser: Navigate to "/DividendYearlyTaxSummaryPage"
Browser->>BlazorApp: Request Page
BlazorApp->>Server: Fetch Dividend Yearly Summary data
Server-->>BlazorApp: Return Data
BlazorApp-->>Browser: Render Dividend Yearly Tax Summary
Browser->>User: Display Summary Report
🐰 A rabbit typed in Blazor land,
Updating grids with a nimble hand.
Routes were renamed, all neat and clear,
Summaries for tax, now easier to steer.
With data grouped and PDFs that fly,
In the fields of code, our bunny did vie. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
DividendYearSummary
component for displaying Dividend Summary Reports.DividendYearlyTaxSummaryPage
for yearly dividend tax summaries.Bug Fixes
DividendTable
component for improved data integrity.Refactor
Chores
DividendYearlySummary
andExportFile
components from the project.