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:
@@ -82,7 +82,7 @@ export type BerthRow = {
|
||||
/**
|
||||
* Toggleable columns for the berth list ColumnPicker. Heavy NocoDB
|
||||
* fields default to hidden; reps can switch them on per-table-view.
|
||||
* `mooringNumber` is intentionally omitted from this list — it's the
|
||||
* `mooringNumber` is intentionally omitted from this list - it's the
|
||||
* primary identifier and always visible.
|
||||
*/
|
||||
export const BERTH_COLUMN_OPTIONS: Array<{ id: string; label: string }> = [
|
||||
@@ -108,7 +108,7 @@ export const BERTH_COLUMN_OPTIONS: Array<{ id: string; label: string }> = [
|
||||
{ id: 'tags', label: 'Tags' },
|
||||
];
|
||||
|
||||
/** Hidden by default — power-users turn them on via the picker. */
|
||||
/** Hidden by default - power-users turn them on via the picker. */
|
||||
export const BERTH_DEFAULT_HIDDEN: string[] = [
|
||||
'tenure',
|
||||
'sidePontoon',
|
||||
@@ -148,14 +148,14 @@ function StatusBadge({ status }: { status: string }) {
|
||||
/**
|
||||
* #67 Phase 2: small amber chip beside the status pill flagging rows
|
||||
* whose status was set manually and has no backing interest. These are
|
||||
* the candidates for the catch-up wizard — the rep flipped a berth to
|
||||
* the candidates for the catch-up wizard - the rep flipped a berth to
|
||||
* "Under Offer" or "Sold" without ever creating the matching deal.
|
||||
*/
|
||||
function ManualBadge() {
|
||||
return (
|
||||
<span
|
||||
className="inline-flex items-center rounded-full border border-amber-300 bg-amber-50 px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-amber-800"
|
||||
title="Status set manually with no backing interest — needs catch-up"
|
||||
title="Status set manually with no backing interest - needs catch-up"
|
||||
>
|
||||
Manual
|
||||
</span>
|
||||
@@ -470,7 +470,7 @@ export const berthColumns: ColumnDef<BerthRow, unknown>[] = [
|
||||
* cell renderer reading a context.
|
||||
*
|
||||
* Imperial columns assume the canonical `*Ft` columns are populated
|
||||
* (true by default — the import pipeline + bulk-add wizard write both,
|
||||
* (true by default - the import pipeline + bulk-add wizard write both,
|
||||
* and the inline editor in yacht-tabs.tsx auto-fills the counterpart).
|
||||
* Rows with only the metric counterpart fall through to `?` for that
|
||||
* dimension; the cell still renders so the rep sees what's set.
|
||||
|
||||
Reference in New Issue
Block a user