report-fetch-request-ui #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "report-fetch-request-ui"
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?
MR: Fetch Request Pipeline, Report Snapshots, and Admin Filtering
Summary
Adds fetch request pipeline UI, report snapshot manager, snapshot selector on dashboard, and client-side in-memory filtering for the admin panel. Also overhauls the Home page with feature cards and adds navigation links.
Changes
New Pages
/fetch-requests— Upload bank statements (two-step: upload file, then configure source) or configure email ingestion. Table shows fingerprint (with copy), source type, account, status (color-coded chip), and created date./reports— Generate cached report snapshots with filters (ignore self, date range, amount range). Table shows snapshot ID (with copy), creation time, and query summary chips.Dashboard
snapshot_idtouseReportAdmin — In-Memory Filtering
FilterBarcomponent: collapsible, Dashboard-style column layout with caption + autocomplete/range/date inputs per filterable fieldFilterAutocompletecomponent: multi-select, free solo, checkmark ticks, selected-first sort frozen while dropdown open (prevents scroll reset)applyClientFiltersinResourceView: handles number range, datetime range, array (object/string elements), non-relation objects, boolean, primitive exact matchfilterOptions: { mode: "client", fields: [...] }inopenapi-config.tsflex: "0 0 100%"), no horizontal squeezerowCountomitted in client pagination mode (suppresses MUI X warning)Navigation & Home
React-OpenAPI Library
filterOptions(mode + fields) onResourceOverrideandResourceConfigtypesEnhancedTablemobile pagination (10 per page with Prev/Next, prevents browser hang with 10000 records)useResourceacceptsfilterOptionsfrom loaderMisc
public/favicon.pngadded, properimage/pngtype in index.htmlFiles Changed (24)
src/FetchRequests.tsxsrc/ReportSnapshots.tsxsrc/features/fetch-requests/src/features/report-snapshots/src/Dashboard.tsxsrc/Home.tsxsrc/Header.tsxsrc/main.jsxreact-openapi/components/FilterBar.tsxreact-openapi/components/ResourceView.tsxreact-openapi/components/EnhancedTable.tsxreact-openapi/types/config.tsreact-openapi/types/overrides.tsreact-openapi/utils/openapi_loader.tsreact-openapi/hooks/useResource.tsreact-openapi/index.tssrc/openapi-config.tssrc/features/report/useReport.tsindex.htmlpublic/favicon.png