108210d8e1
The fundraising grid + email capture is the canonical system of record. lp_profiles was a superseded single-fund model with no reachable create/edit path, and the LP Tracker page was already orphaned (no nav entry + a redirect bouncing it to the grid). - Remove /api/lp-profiles* endpoints + handlers, the unused lp-breakdown report, the contact-dossier LP section, the demo-seed LP block, and (frontend) the LPTrackerPage component + its lp-tracker->fundraising-grid redirect. - Dashboard "Total Committed" now sums fundraising_investors.total_invested (graveyarded investors excluded) instead of the orphaned lp_profiles table, which read ~$0. "Total Funded" dropped: the grid tracks commitments, not a funded amount, and the frontend never rendered it. - Leave the empty lp_profiles table/index, the contact-delete soft-delete cascade, and the --reset-all-data clear in place (never-hard-delete). - Tests: add test_dashboard_report.py; update test_soft_delete_reads.py. 21/21 green.
24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
import { VersionInfo } from '@start9labs/start-sdk'
|
|
|
|
// Retire the legacy lp_profiles table + the orphaned LP Tracker page, and repoint the
|
|
// Dashboard "Total Committed" KPI onto the canonical fundraising grid. Code-only, no
|
|
// schema change (the empty lp_profiles table is left in place; migrations are no-ops):
|
|
// * Removed /api/lp-profiles* endpoints + handlers, the unused lp-breakdown report,
|
|
// the contact-dossier LP section, the demo-seed LP block, and (frontend) the
|
|
// orphaned LPTrackerPage component + its lp-tracker->fundraising-grid redirect.
|
|
// * Dashboard "Total Committed" now sums fundraising_investors.total_invested
|
|
// (graveyarded investors excluded) instead of the orphaned lp_profiles table, which
|
|
// read ~$0. "Total Funded" dropped (the grid has no funded-vs-committed concept).
|
|
// * Tests: test_dashboard_report.py added; test_soft_delete_reads.py updated.
|
|
export const v_0_1_0_78 = VersionInfo.of({
|
|
version: '0.1.0:78',
|
|
releaseNotes: {
|
|
en_US: [
|
|
'Dashboard "Total Committed" now reflects real committed capital from the fundraising grid',
|
|
'instead of the retired LP-profile table. Removed the unused LP Tracker page and its',
|
|
'legacy data endpoints; the grid remains the single source of truth for investors.',
|
|
].join(' '),
|
|
},
|
|
migrations: { up: async () => {}, down: async () => {} },
|
|
})
|