Repository navigation
Rebuild the event and organizer reports as one tabbed workspace - #1501
Open
daveearley wants to merge 2 commits into
Open
daveearley wants to merge 2 commits into
daveearley wants to merge 2 commits into
Conversation
Reports open straight onto the first report in a single sheet: tabs, filters, a lead figure with supporting totals, a per-day chart on the daily reports and a table with a totals row. Period, filters and sort live in the URL. - Revenue always shows one currency; reports that can mix currencies hide money totals and say why - Daily rows are labelled with the UTC day they are bucketed by - Days with no sales are hidden until asked for - Platform fees: order links open the order, and payment IDs link to Stripe for Standard connected accounts - Tax summary CSV exports the rate as charged (23%, not 2300%) - Event and organizer report tables share one view; the two old table components and the reports index page are removed
Contributor
✅ E2E smoke tests: Everything passed.
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The event and organizer reports are rebuilt as one tabbed workspace.
/reportsopens the first report directly. The index page of report cards and the "Back to Reports" button are gone./report/:reportTypeURLs keep working, and an unknown report type redirects to the first report.ReportView.ReportTable,OrganizerReportTableandDownloadCsvButtonare removed.TanStackTablegains an optional totals footer (showFooter).Behaviour changes worth knowing
API
GET /organizers/{id}/reports/platform_feesrows gainstripe_account_id(additive).GET /organizers/{id}/reports/tax_summary/exportnow writes the tax rate as charged (23%). It was multiplied by 100 (2300%).Testing
pintpass. New Feature test for the tax rate export; the platform fees test assertsstripe_account_id.tsc --noEmitclean, ESLint clean on the new and changed report files, new strings translated in every locale.Not covered
/test/in the dashboard URL and the payment's mode is not stored, so those links can miss.