Remove dead and unused code #16
Loading…
Reference in a new issue
No description provided.
Delete branch "remove-dead-code"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sweep for dead and unused code (types, members, components, CSS, JS, assets, packages, DI registrations, compiler/IDE warnings).
Removed
NavMenu.razor.css(whole file),MainLayout.razor.css(all but#blazor-error-ui), button/form/error-boundary rules inapp.css; copied Fluent demo rules inBankTransactions.razor.cssbootstrap.min.css(+ map) is loaded; 42 other files (8.5 MB, incl. all JS) removedCsvHelperisn't shipped):FileService.ImportCreditCardStatementFile,ViewService.MatchCreditCardTransactionsAsync,ISettingsService.GetCreditCardStatementPath,DataFolders.CreditCard, DI registrations forICreditCardStatementService/IPdfParsingService, theFreeSpire.PDFpackageGetTransactionListCsvAsync(only called from tests) and its 3 testsSplitPredefinitions.jsonentry in the JSON editor (files on disk untouched)TrySetYear,GetUploadPath(+DataFolders.Uploads; uploads only ever go to temp files),GetClasses@reffields, unused parameters inViewService, unused repository inFileServiceFixed along the way
Home.razor.css→PendingBookings.razor.css: the pending-bookings table moved intoPendingBookingsin "PR U-10" and its styles (column widths, borders, header) stopped applying, because scoped CSS only reaches its own componentTesting
dotnet test157 passed (4 tests of removed code dropped)main(baseline built in a separate worktree)🤖 Generated with Claude Code