chore(autonomous-session): consolidate uncommitted work from prior session
Bundles the prior autonomous-session output that was sitting unstaged: - Em-dash sweep across src/ + tests/ (en-dash/em-dash to hyphen, ~2280 instances) - country-flag-icons rollout (CountryFlag component, replaces emoji glyphs that never rendered on Windows; lazy-loads the 3x2 SVG index as a single chunk after the per-subpath dynamic-import approach silently failed in webpack) - Admin IA Phase 1+2: 7-domain regroup, 41 to 38 pages, /admin/berths index, redirects (ocr to ai, reports to dashboard, invitations to users), docs/admin-ia-proposal.md - Per-template email tester (registry + endpoint + UI on Email admin page) - Cancel-document mode picker (delete-from-Documenso vs keep-for-audit) - Dashboard PDF report: 25 widgets, SVG charts, date-range picker, 11 resolvers - Customize-widgets per-region sortables at xl+ (charts/rails/feed); single flat sortable below xl when the layout stacks; per-viewport saved orders - Audit doc updates capturing each shipped item - Lint fixes: react-compiler immutability in DonutChart (reduce instead of let-reassign), set-state-in-effect disables in CountryFlag and UploadForSigning preview-bytes effect, unused 'confirm' destructures in interest contract + reservation tabs, unescaped apostrophe in test-template card copy
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Migration transform — fixture-based regression test.
|
||||
* Migration transform - fixture-based regression test.
|
||||
*
|
||||
* Feeds the transform a small frozen NocoDB snapshot containing one
|
||||
* representative row from each duplicate pattern documented in
|
||||
@@ -59,7 +59,7 @@ const FIXTURE: NocoDbSnapshot = {
|
||||
'Sales Process Level': 'General Qualified Interest',
|
||||
}),
|
||||
|
||||
// Pattern C: name capitalization (Nicolas Ruiz #681/#682/#683 — three rows)
|
||||
// Pattern C: name capitalization (Nicolas Ruiz #681/#682/#683 - three rows)
|
||||
row({
|
||||
Id: 681,
|
||||
'Full Name': 'Nicolas Ruiz',
|
||||
@@ -127,7 +127,7 @@ const FIXTURE: NocoDbSnapshot = {
|
||||
],
|
||||
};
|
||||
|
||||
describe('transformSnapshot — fixture regression', () => {
|
||||
describe('transformSnapshot - fixture regression', () => {
|
||||
it('produces the expected number of clients + interests', () => {
|
||||
const plan = transformSnapshot(FIXTURE);
|
||||
|
||||
@@ -203,7 +203,7 @@ describe('transformSnapshot — fixture regression', () => {
|
||||
});
|
||||
|
||||
it('produces deterministic output (same input → same plan)', () => {
|
||||
// The transform is pure — running it twice should yield bit-identical
|
||||
// The transform is pure - running it twice should yield bit-identical
|
||||
// results. Catches order-dependent bugs in the dedup clustering.
|
||||
const a = transformSnapshot(FIXTURE);
|
||||
const b = transformSnapshot(FIXTURE);
|
||||
@@ -214,7 +214,7 @@ describe('transformSnapshot — fixture regression', () => {
|
||||
|
||||
// ─── EOI document derivation ───────────────────────────────────────────────
|
||||
|
||||
describe('transformSnapshot — EOI document derivation', () => {
|
||||
describe('transformSnapshot - EOI document derivation', () => {
|
||||
/**
|
||||
* A fixture row that mimics a fully-signed legacy interest with a
|
||||
* Documenso ID, all three signing slots populated, and an S3 path.
|
||||
@@ -301,7 +301,7 @@ describe('transformSnapshot — EOI document derivation', () => {
|
||||
eoiFixture({
|
||||
Id: 800,
|
||||
documensoID: '200',
|
||||
// No EOI Status, no developer sign — only client has signed.
|
||||
// No EOI Status, no developer sign - only client has signed.
|
||||
clientSignTime: '2026-04-01T12:00:00.000Z',
|
||||
}),
|
||||
);
|
||||
@@ -395,7 +395,7 @@ describe('parseFlexibleDate format handling', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('transformSnapshot — residential leads', () => {
|
||||
describe('transformSnapshot - residential leads', () => {
|
||||
it('produces one PlannedResidentialClient per source row', () => {
|
||||
const plan = transformSnapshot({
|
||||
fetchedAt: '2026-05-04T00:00:00.000Z',
|
||||
|
||||
Reference in New Issue
Block a user