diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index 93e62e39..9b7578cb 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -33,13 +33,13 @@ off — and where it doesn't. | [pdf-tile-cache.js](pdf-tile-cache.js) | 867 | Done (stage 1, 2026-07-30) — the PDF raster-cache substrate extracted from app.js's "PDF render bitmap cache" section (`createPdfTileCache(ctx)`, the save-engine seam recipe): page-bitmap LRU, downsample pyramid, persisted zoom rungs, idle prefetch, full-document warm-up. Pinned by nine Playwright specs (page-switch-cache, pyramid, pyramid-persist, rung-prefetch, doc-warmup, zoom-ladder, commit-tile, crop-tile, tile-grid). Stage 2 (later): the Sharp crop tile / tile grid section. | | [canvas-draw.js](canvas-draw.js) | 1,417 | Done — the unified annotation draw core (`createCanvasDraw(deps)` + `drawAnnotationsCore`), node-tested, guarded by [render-pixels.spec.js](render-pixels.spec.js). Both draw paths are thin env-builders over it. | | [app/index.html](app/index.html) | 3,880 | The shell: HTML structure + every modal, no inline JS. Flat markup with no build step to split it; grows roughly linearly with modal count. Leave. | -| [styles.css](styles.css) | 2,873 | All CSS, token-organized. Leave. | +| [styles.css](styles.css) | 2,879 | All CSS, token-organized. Leave. | | [features/load-project.js](features/load-project.js) | 751 | Largest feature file (Load Project modal + filters), split 2026-07-30: the copy/fork domain moved to [features/copy-project.js](features/copy-project.js) at the file's documented domain boundary, and the row renderer was decomposed along its action boundaries (size / row HTML / actions / admin access / load click). Healthy — leave. | | [annotation-model.js](annotation-model.js) | 1,225 | Done — extracted canvas/annotation data model + node tests. | | [undo-stack.js](undo-stack.js) | 218 | Done (2026-07-30) — `createUndoStack(ctx)` split out of annotation-model.js: the model is pure-ish data transformation, the stack is a command-history controller with UI side-effect hooks in its ctx. Covered by the undo tests in [annotation-model.test.js](annotation-model.test.js) (interleaved with model tests, dual-require). | | [icons.js](icons.js) | 531 | Bundled icon data, mostly literals. Leave. | | [report.js](report.js) | 991 | Self-contained report builder with a frozen `window.*` contract. Leave. | -| `features/*.js` (108 files) | 37,483 total | Mostly single-feature files with their own specs. The largest are the teaching layer (tutorial 1,656; lessons 1,043, the three courses 609 to 725; tour-blank 794) and duct-tool (866); DECOMPOSITION_MAP.md has a verdict for every one. | +| `features/*.js` (108 files) | 37,489 total | Mostly single-feature files with their own specs. The largest are the teaching layer (tutorial 1,656; lessons 1,043, the three courses 609 to 725; tour-blank 794) and duct-tool (866); DECOMPOSITION_MAP.md has a verdict for every one. | ### What's left inside app.js (by `// SECTION:` size) @@ -177,7 +177,7 @@ modules. Candidates in priority order: | [user-admin.spec.js](user-admin.spec.js) | Playwright regression for pilot #20 — an always-run registry-contract test (asserts `window.App.openManageUserModal` + `openAllUsersModal` are functions and that calling them with no session is a safe no-op: the modals do not become visible and nothing throws), plus a cloud-gated test (`ensureSignedInWithProject`, `test.skip` when no cloud) that opens via `App.openManageUserModal()` and asserts `#manageUserModal.visible` + the list element gets content. Asserts no console / page errors; `npx playwright test user-admin.spec.js` | | [features/load-project.js](features/load-project.js) | Twenty-first feature-file split (`window.App` registry pilot #21) and the **most dependency-heavy** so far — the cloud Load Project modal `openLoadProjectModal` (~585 lines: project browser list, ownership/role filters, per-row access panels + invite via `invite-to-project`, copy/download/delete row actions, and the project-load action). Its own IIFE loaded **after** [app.js](app.js); reads deps from `App` and re-reads `App.getSupabase()` in the outer fn + each nested async helper (client can be recycled); registers `App.openLoadProjectModal`. The save-before-load gate `openLoadProjectModalOrPromptSave` and the whole copy/fork domain live in [features/copy-project.js](features/copy-project.js) (split 2026-07-30 at this file's documented domain boundary); the `#loadProject*` bindings + Escape branch stay in app.js and reach both files through the registry at call time. The row renderer `renderLoadProjectListRows` is a thin loop over per-row helpers decomposed along its action boundaries (`computeLoadProjectRowSizeBytes` / `buildLoadProjectRowHtml` / `bindLoadProjectRowActions` / `bindLoadProjectAdminAccess` / `bindLoadProjectRowLoad`). Because the project-load action is fused with the boot/engine path, ~20 publish-only deps are exposed on `App` (`updateSaveStatusIndicator`, `canUseDevAuth`, `deleteProjectAsOwner`, `openCopyProjectModalOrPromptSave`, `hydrateProjectFromCloudRow`, `clearUndoStacks`, `subscribeToProjectCheckoutChanges`, `checkInCurrentProjectIfHeld`, `takeoffBackupGet`, `resolvePdfBufferForCloudProject`, `ensureGroupColors`, `openCanvasOnlyNeedsPdfModal`, `buildPagesFromPdfArrayBufferAndProjectData`, `backupDataToProjFormat`, `fitZoom`, `SUPABASE_URL`), incl. four **setters** (`setAutoSaveDirty`/`setLastModifiedAt`/`setLastLocalBackupAt`/`setLastSaveIncludedPdf`) for engine `let`-state the load resets (it cannot assign through the registry otherwise). The leftover grab-bag under the old `// SECTION: Load Project modal` marker was re-sectioned into 8 honest markers, and `// SECTION: Canvas Event Handlers` moved up to absorb the stray `showContextMenu`. The modal header has an admin-only **Advanced** toggle (`#loadProjectAdvancedToggle`, persisted via `loadProjectAdvanced`) that shows/hides every row's "Who has access" block by toggling a `hide-access` class on `#loadProjectList` (default OFF = hidden). The project-load action itself was extracted host-agnostic as `loadCloudProjectRow(proj, ui)` (registered `App.loadCloudProjectRow`; `ui` = `{hostModalId, showError}`) so [features/bid-board.js](features/bid-board.js) opens bids through the identical path; `bindLoadProjectRowLoad` is now the modal-specific wrapper (mutex + row busy UI). The owner-email filter is un-gated to `isAdmin \|\| isOverseer` **LOAD-DEVICE-PDF (2026-09-22)**: `devicePdfIfOnlyCopy(proj, idbBackup)` (the restore's rule: the backup's blob unless both hashes exist and disagree) is asked in both branches of `loadCloudProjectRow`, and `openOnDevicePdf` builds the sheets on it and hands the copy to the engine (`state.pdfBuffer`, `pdfStoragePath` null) for the autosave tick's upload; the canvas-only door opens only when the device has no copy. Spec: [load-device-pdf.spec.js](load-device-pdf.spec.js). R12 (2026-09-26): both canvas-only branches (the stored PDF missing, and no PDF stored) hydrate through `App.hydrateStateFromProjectData`, so a bid opened without its PDF no longer keeps the last project's rooms, zoom cap or duct knobs. REVIEW-BAR (2026-10-13): `loadCloudProjectRow` ends by calling `App.onCloudProjectRowLoaded(proj)` (features/review-flow.js) with the row it opened, so the review bar can show for a ready bid. | | [features/copy-project.js](features/copy-project.js) | The **copy/fork domain + save-before-load gate**, split out of [features/load-project.js](features/load-project.js) 2026-07-30 at that file's documented domain boundary (the code itself arrived from app.js as registry split #35). Owns `pendingCopyProject` / `copyProjectModalTarget`; binds `#copyProjectModalConfirm` + the `#saveBeforeLoad*` modal buttons at load; registers `App.openCopyProjectModalOrPromptSave`, `App.openLoadProjectModalOrPromptSave`, `App.hydrateProjectFromCloudRow`, `App.resolvePdfBufferForCloudProject`, `App.buildPagesFromPdfArrayBufferAndProjectData`, `App.resetCopyProjectState`, `App.clearCopyProjectModalTarget`. Reads `App.openLoadProjectModal` (registered by load-project.js) at call time, so load order between the two files is irrelevant. Regression: [copy-project.spec.js](copy-project.spec.js). R12 (2026-09-26): `buildPagesFromPdfArrayBufferAndProjectData` builds its sheets with `App.buildBlankPagesFromPdf` and hydrates through `App.hydrateStateFromProjectData(d, { legacyScales: true })`. | -| [features/bid-board.js](features/bid-board.js) | The **overseer Bid Board** (`#bidBoardModal`) — the read-only "see every bid" surface for `profiles.is_overseer` users (server side: migrations `profiles_is_overseer` / `list_accessible_projects_overseer` / `overseer_admin`, see SUPABASE_SETUP.md). Renders `list_accessible_projects` rows as presentation-friendly cards (name, estimator = owner-email local part, counts, last-edited, `No PDF` badge) with a search box + estimator `` (only the owners the segment shows); under People a `.bid-board-hidden-note` under the list says how many twin bids are off with a "show twins" link; the switch hides itself when no bid is twin-owned; the choice is per open, never stored. The Ready lane runs oldest waiting first (`byOldestWaiting` on `review_requested_at`, Will 2026-10-13; the lane title says so in a `.bid-board-lane-hint`) and is handed to the review bar as its queue (`App.setReviewQueue`), so Next ready walks the lane as shown. Review handoff: `review_status === 'ready'` rows render in a pinned **Ready for review** lane (`.bid-board-lane-title`) with a gold badge; `'reviewed'` rows carry a quiet ✓ badge. DROP-CARD-BUTTONS (2026-10-13): a card carries no decision; Mark reviewed and Request changes… live on the review bar in the opened bid ([features/review-flow.js](features/review-flow.js)), which the card click reaches. | +| [features/bid-board.js](features/bid-board.js) | The **overseer Bid Board** (`#bidBoardModal`) — the read-only "see every bid" surface for `profiles.is_overseer` users (server side: migrations `profiles_is_overseer` / `list_accessible_projects_overseer` / `overseer_admin`, see SUPABASE_SETUP.md). Renders `list_accessible_projects` rows as presentation-friendly cards (name, estimator = owner-email local part, right-aligned, counts, last-edited; CLOUD-OFF-ICON 2026-10-13: a bid with its PDF in the cloud says nothing, one without wears a crossed-out cloud in the card's top-right corner, `.bid-card-cloud-off`, an inline stroke SVG with the note in a CSS tooltip on hover and in its `aria-label`) with a search box + estimator `` (only the owners the segment shows); under People a `.bid-board-hidden-note` under the list says how many twin bids are off with a "show twins" link; the switch hides itself when no bid is twin-owned; the choice is per open, never stored. The Ready lane runs oldest waiting first (`byOldestWaiting` on `review_requested_at`, Will 2026-10-13; the lane title says so in a `.bid-board-lane-hint`) and is handed to the review bar as its queue (`App.setReviewQueue`), so Next ready walks the lane as shown. Review handoff: `review_status === 'ready'` rows render in a pinned **Ready for review** lane (`.bid-board-lane-title`) with a gold badge; `'reviewed'` rows carry a quiet ✓ badge. DROP-CARD-BUTTONS (2026-10-13): a card carries no decision; Mark reviewed and Request changes… live on the review bar in the opened bid ([features/review-flow.js](features/review-flow.js)), which the card click reaches. | | [features/review-flow.js](features/review-flow.js) | The **bid review handoff** (estimator → overseer ops flow; server side: migrations `project_review_flow` / `list_accessible_projects_review`). Registers `App.setProjectReviewStatus(projectId, status)` — the single client entry to the guarded `set_project_review_status` RPC (`'ready'`/clear: owner, editor share, or admin; `'reviewed'`: overseer or admin) — and owns the Project Settings **Bid review** row (`#settingsReviewRow`: live status line + transition button "Mark ready for review" / "Withdraw" / "Mark ready again"). The row re-renders via a MutationObserver on `#settingsModal`'s class each time the modal becomes visible (no app.js hook), fetching `review_status/review_requested_at/reviewed_at` fresh from the projects row; it hides for signed-out/no-project/pure-viewer sessions but never gates harder than the server. Badged by [features/bid-board.js](features/bid-board.js) (the lane) and in [features/load-project.js](features/load-project.js) rows; since DROP-CARD-BUTTONS (2026-10-13) the board's cards carry no decision and the review bar below is the reviewer's only one. REVIEW-BAR (2026-10-13, BOARD-QUIET step 1): owns the **review bar** (`#reviewBar`, in the `.app` flex column under the header), shown by `App.onCloudProjectRowLoaded(proj)`, which features/load-project.js calls at the end of a cloud load with the RPC row, for a `review_status === 'ready'` row when `App.canOversee()`: how long it has waited, the owner, the counts, then Request changes… (the confirm dialog's note), Mark reviewed, and Next ready, which opens the next ready row of the queue the board hands over with `App.setReviewQueue(rows)` (its Ready lane as rendered, oldest waiting first) through `App.loadCloudProjectRow`; after a decision the bar says what happened and how many are left; `App.refreshReviewBar` (from `updateUI`) hides it once the open project is not the one it was shown for; `App.showReviewBar` is the spec seam. Regression: the review-handoff and review-bar tests in [bid-board.spec.js](bid-board.spec.js). | | [features/bid-chip.js](features/bid-chip.js) | **The header bid switcher's chip** (BID-SWITCHER.md stage 2): `#headerBidChip` names the open bid ("No bid open" otherwise) and opens a menu of [recent-bids.js](recent-bids.js)' list, so moving between bids skips Load Project. Takes the wordmark's slot once a bid is open, and shows `#headerSidebarToggle` in its place (exactly one of the two is visible). Registers `App.renderBidChip` (called from app.js `updateUI`), `App.closeBidMenu` and `App.isBidMenuOpen` (the Esc ladder's popover rung), `App.loadRecentBidNow`. Spec: [bid-switcher.spec.js](bid-switcher.spec.js). | | [copy-project.spec.js](copy-project.spec.js) | Always-run Playwright regression for the copy/fork split — registry contract (all seven registered names are functions), the not-dirty path (`openCopyProjectModalOrPromptSave` opens `#copyProjectModal` with the "(copy)" name prefilled), the dirty path (opens `#saveBeforeLoadModal` with the copy-specific message; Cancel clears `pendingCopyProject`), and Discard routing back to the copy modal. `npx playwright test copy-project.spec.js` | diff --git a/CHANGELOG.md b/CHANGELOG.md index c238b7e7..a8b5c77a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,25 @@ expired recovery UX" work occupies that slot). --- +## style(bid-board): the cloud says nothing unless it is missing (CLOUD-OFF-ICON, 2026-10-13) + +Will, on the quieter cards: "when something is fully cloud I would like to see nothing; when +canvas only, a cloud with a line through it up in the corner, the note on hover; and the +estimator aligned right." + +- The green ✓ Fully cloud badge is gone; the normal case is silent. A bid without its PDF in + the cloud wears a crossed-out cloud (an inline stroke SVG, the accent yellow at 90%) in the + card's top-right corner, over the title if the title runs that far, on a halo of the card's + own background. Hover it (or focus the card) and a small note drops under it: "Canvas only. + The markups are in the cloud, but the plan PDF was never uploaded and still lives on the + estimator's device." The same note is its `aria-label`. +- The estimator's name sits right-aligned under the title. +- features/bid-board.js, styles.css (the badge rule out, the icon and its tooltip in; the card + is `position: relative` for the corner), bid-board.spec.js (no cloud badges; one crossed-out + cloud on the card without a PDF, labelled; none on the first), the Overseer guide's card + bullet (rebuilt), the ARCHITECTURE row, sw.js restamped. The guide's board screenshot still + shows the old badges until `npm run build:screenshots` is run. + ## feat(bid-board): the cards carry no decision (DROP-CARD-BUTTONS, 2026-10-13) Will's call on the before/after boards of the "All Bids, quieter" canvas: now that the review diff --git a/bid-board.spec.js b/bid-board.spec.js index 146babce..08ad69d5 100644 --- a/bid-board.spec.js +++ b/bid-board.spec.js @@ -109,12 +109,14 @@ test.describe('Bid Board - overseer all-bids browser', () => { await expect(firstCard.locator('.bid-card-name')).toHaveText('Riverside Apartments'); await expect(firstCard.locator('.bid-card-owner')).toHaveText('wendi'); await expect(firstCard.locator('.bid-card-badge:not([class*="bid-card-badge-"])')).toHaveText('214 counts · 38 lines'); - // Cloud-completeness badges: pdf_path present -> "Fully cloud" (p1, p2); - // missing -> "Canvas only" (p3). Date carries the relative age suffix. - await expect(page.locator('#bidBoardList .bid-card-badge-cloud')).toHaveCount(2); - await expect(firstCard.locator('.bid-card-badge-cloud')).toHaveText('✓ Fully cloud'); - await expect(page.locator('#bidBoardList .bid-card-badge-warn')).toHaveCount(1); - await expect(page.locator('#bidBoardList .bid-card-badge-warn')).toHaveText('Canvas only'); + // Cloud completeness (CLOUD-OFF-ICON): a bid with its PDF in the cloud says nothing; one + // without (p3) wears a crossed-out cloud in its corner with the note on it. Date carries + // the relative age suffix. + await expect(page.locator('#bidBoardList .bid-card-badge-cloud')).toHaveCount(0); + await expect(page.locator('#bidBoardList .bid-card-badge-warn')).toHaveCount(0); + await expect(page.locator('#bidBoardList .bid-card-cloud-off')).toHaveCount(1); + await expect(page.locator('#bidBoardList .bid-card', { hasText: 'Lakeway Medical Office' }).locator('.bid-card-cloud-off')).toHaveAttribute('aria-label', /^Canvas only\./); + await expect(firstCard.locator('.bid-card-cloud-off')).toHaveCount(0); await expect(firstCard.locator('.bid-card-date')).toContainText(/today|yesterday|days ago/); // Search filter. diff --git a/content/guides/reviewing-all-bids.md b/content/guides/reviewing-all-bids.md index dba4aee9..847a01fe 100644 --- a/content/guides/reviewing-all-bids.md +++ b/content/guides/reviewing-all-bids.md @@ -39,11 +39,11 @@ Each card tells you the story at a glance: has no markups yet. - **When it was last touched**: the date plus a plain-English age: *today*, *yesterday*, *12 days ago*. -- **Cloud status**: **✓ Fully cloud** (green) means - the markups *and* the plan PDF are both saved to the cloud, so the bid opens complete - anywhere. **Canvas only** (yellow) means only the markups made it to the cloud, the PDF - still lives on the estimator's device, so the drawing itself can't be displayed until they - save it with the PDF included. +- **Cloud status**: a card that says nothing about it is complete, the markups *and* the plan + PDF both saved to the cloud, so the bid opens anywhere. A crossed-out cloud in the card's top + corner means **canvas only**: the markups made it to the cloud but the PDF still lives on the + estimator's device, so the drawing can't be displayed until they save it with the PDF + included. Hover the cloud for the note. If you close the board, it's one click away: **All Bids** in the sidebar. diff --git a/features/bid-board.js b/features/bid-board.js index 56c8757a..62c4194a 100644 --- a/features/bid-board.js +++ b/features/bid-board.js @@ -108,16 +108,23 @@ proj.counter_count > 0 ? (proj.counter_count + (proj.counter_count === 1 ? ' count' : ' counts')) : null, proj.line_count > 0 ? (proj.line_count + (proj.line_count === 1 ? ' line' : ' lines')) : null, ].filter(Boolean).join(' · '); - // Cloud completeness: a bid with its PDF in storage is fully in the cloud - // (canvas markups always ride in the project row); without it, only the - // canvas is backed up and the plan itself lives on the estimator's device. + // Cloud completeness (CLOUD-OFF-ICON, 2026-10-13, Will): a bid with its PDF in storage + // is fully in the cloud (canvas markups always ride in the project row) and the card says + // nothing about it. Without the PDF, only the canvas is backed up and the plan itself + // lives on the estimator's device: a crossed-out cloud sits in the card's top-right + // corner (over the title if it must), with the note on hover and in its label. + const cloudOffNote = 'Canvas only. The markups are in the cloud, but the plan PDF was never uploaded and still lives on the estimator\'s device.'; const cloudBadge = proj.pdf_path - ? '✓ Fully cloud' - : 'Canvas only'; + ? '' + : '' + + ''; // DROP-CARD-BUTTONS (2026-10-13): a card carries no decision. Mark reviewed and // Request changes… live on the review bar in the opened bid (features/review-flow.js), // which the card click reaches, so a bid is reviewed where it is read. - return '
' + + return '
' + + cloudBadge + '
' + esc(proj.name || 'Untitled') + (proj.external_ref ? ' ' + esc(proj.external_ref) + '' : '') + '
' + @@ -125,7 +132,6 @@ '
' + reviewBadgeHtml(proj) + (counts ? '' + esc(counts) + '' : '') + - cloudBadge + (date ? '' + esc(date) + '' : '') + '
' + '
Loading…
' + diff --git a/guides/reviewing-all-bids/index.html b/guides/reviewing-all-bids/index.html index cddee7bd..3dda1fb4 100644 --- a/guides/reviewing-all-bids/index.html +++ b/guides/reviewing-all-bids/index.html @@ -119,11 +119,11 @@

The All Bids board

has no markups yet.
  • When it was last touched: the date plus a plain-English age: today, yesterday, 12 days ago.
  • -
  • Cloud status: ✓ Fully cloud (green) means -the markups and the plan PDF are both saved to the cloud, so the bid opens complete -anywhere. Canvas only (yellow) means only the markups made it to the cloud, the PDF -still lives on the estimator's device, so the drawing itself can't be displayed until they -save it with the PDF included.
  • +
  • Cloud status: a card that says nothing about it is complete, the markups and the plan +PDF both saved to the cloud, so the bid opens anywhere. A crossed-out cloud in the card's top +corner means canvas only: the markups made it to the cloud but the PDF still lives on the +estimator's device, so the drawing can't be displayed until they save it with the PDF +included. Hover the cloud for the note.
  • If you close the board, it's one click away: All Bids in the sidebar.

    Inside a bid

    diff --git a/styles.css b/styles.css index e6236c73..bc1eac67 100644 --- a/styles.css +++ b/styles.css @@ -2502,11 +2502,18 @@ body:has(.modal-overlay.visible) .chain-panel { display: none !important; } #bidBoardModal .bid-card { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; cursor: pointer; background: var(--surface); display: flex; flex-direction: column; gap: 6px; } #bidBoardModal .bid-card:hover, #bidBoardModal .bid-card:focus-visible { background: var(--surface2); border-color: var(--accent); outline: none; } #bidBoardModal .bid-card-name { font-size: 1.05rem; font-weight: 600; color: var(--text); overflow-wrap: anywhere; } -#bidBoardModal .bid-card-owner { font-size: 0.85rem; color: var(--accent); } +#bidBoardModal .bid-card-owner { font-size: 0.85rem; color: var(--accent); text-align: right; } +/* CLOUD-OFF-ICON (2026-10-13): a bid without its PDF in the cloud wears a crossed-out cloud in the + card's top-right corner; the note rides a CSS tooltip under it on hover. Fully cloud says nothing. */ +#bidBoardModal .bid-card { position: relative; } +#bidBoardModal .bid-card-cloud-off { position: absolute; top: 9px; right: 10px; width: 26px; height: 26px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: inherit; color: var(--yellow); opacity: 0.9; } +#bidBoardModal .bid-card-cloud-off svg { display: block; width: 20px; height: 20px; } +#bidBoardModal .bid-card-no-pdf .bid-card-name { padding-right: 28px; } /* the title wraps short of the corner rather than running under the cloud */ +#bidBoardModal .bid-card-cloud-off::after { content: attr(data-tip); position: absolute; top: 30px; right: -2px; width: 232px; padding: 8px 10px; background: var(--surface2); border: 1px solid var(--border2); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); color: var(--text); font-size: 0.78rem; line-height: 1.4; text-align: left; opacity: 0; pointer-events: none; transition: opacity 120ms; z-index: 5; } +#bidBoardModal .bid-card-cloud-off:hover::after, #bidBoardModal .bid-card:focus-visible .bid-card-cloud-off::after { opacity: 1; } #bidBoardModal .bid-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } #bidBoardModal .bid-card-badge { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--surface2); color: var(--text2); } #bidBoardModal .bid-card-badge-warn { background: var(--yellow); color: var(--bg); } -#bidBoardModal .bid-card-badge-cloud { background: var(--green); color: var(--bg); } #bidBoardModal .bid-card-date { font-size: 0.78rem; color: var(--text3); margin-left: auto; } #bidBoardModal .bid-card-status { display: none; font-size: 0.8rem; color: var(--text2); } #bidBoardModal .bid-card.loading { pointer-events: none; opacity: 0.75; cursor: wait; } diff --git a/sw.js b/sw.js index 247e45bb..1f39e043 100644 --- a/sw.js +++ b/sw.js @@ -23,7 +23,7 @@ * visit once the CDN has settled. The app's admin "global force reload" clears caches * as a backstop. */ -const CACHE_VERSION = '26ba8cf4eef2'; +const CACHE_VERSION = 'e253bf9e8c39'; const CACHE_NAME = `counttooling-shell-${CACHE_VERSION}`; // The full same-origin app shell. GENERATED by `npm run build:sw`, do not edit by hand: @@ -239,7 +239,7 @@ const PRECACHE_SHA256 = { '/vendor/jspdf.umd-2.5.1.min.js': '98ccf17aa10c20bb1301762618fcc9b6ab3a4e7f26b6071d64d0b41154df3875', '/vendor/supabase-js-2.108.0.min.js': '005a6b7d396160fbe924316baa98adf198dc6f99a63412e27edec9675c225270', '/vendor/tus-js-client-4.3.1.min.js': '8cbb1b63fccc3bba0ae73ad1deb160ce046c3750851d0c3e94921ae3ef070eb8', - '/styles.css': '0d141810893dc7a29e66c30af92eb79fc480cf340a1f210e1993ec12c6b3da94', + '/styles.css': '60682afd8bad867e31856e85d619b9073f118e0b0781e4028a78bbc5f86e83ad', '/icons.js': 'bb3c3506a859d25685287d0c1d3afb3231601754555aea403505e7ca8d68779b', '/icons-custom.js': 'efe6b960301031a5fb40abc2f54de18798e19f4b7b04e0eccb81b47f1e9cacad', '/icon-render.js': '41b09b835c3898be95b013b27a6c11e1453c629cb811326d49fdcbfec19439d8', @@ -305,7 +305,7 @@ const PRECACHE_SHA256 = { '/features/hand-off.js': 'e996c7300432489bcb8e1c9a02539278a7ac3ffbf2daaabce4922b4875e10c23', '/features/user-admin.js': '2abd3029bdf2950310af9c19fb302b416976922bad3f4142db55626e3a229128', '/features/load-project.js': 'f01367d24dc62824ca474b5f7f707fc7e739bfcd936b85d3cafe6d6813c98ad8', - '/features/bid-board.js': '7084f95a558339491faa374ebeacc0069c4b30c45933338f315b0ddee3eb21d3', + '/features/bid-board.js': '49706aed04f2273c45cf57ed152ad61c170280d40ee61217b50f1e1c5b3e463e', '/features/review-flow.js': '55b0ab96cce1674baa5a794ad3c1986a438ff9a2691b5cf2b78f0187ce61b640', '/features/copy-project.js': '7668abd5e8121edc27c3155882da4c252791455a5a7bdd4a6accbe36ef0bea09', '/features/prepare-pdf.js': '7468cb401fc5a29c1e3e6f3188c1e99396c6b7b5d5374d2cb7de0367a80e4c24',