diff --git a/README.md b/README.md
index 39163b6..d220185 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# AssetTag Studio
-
+
[Brand assets and regeneration guide](docs/branding.md)
@@ -8,10 +8,32 @@ Turn spreadsheet inventory into print-ready QR and Code 128 labels, entirely in
[Live demo](https://tagstudio.zachcodes.dev) · [Cloudflare Pages mirror](https://tagstudio.pages.dev)
-
-
**No login, no backend, no inventory uploads.** Import CSV or Excel, choose an identifier, configure a label and export a PDF sheet at actual physical size.
+## Desktop and mobile walkthroughs
+
+Follow the same eight sample assets on both screens. Load the inventory, switch from QR to Code 128, preview the print sheet, export a one-page A4 PDF, then open the manifest to confirm all eight labels. These recordings show the local `feature-expansion` build.
+
+**Desktop**
+
+
+
+
+
+
+[Desktop video (MP4)](docs/media/walkthroughs/desktop.mp4)
+
+**Mobile**
+
+
+
+
+
+
+[Mobile video (MP4)](docs/media/walkthroughs/mobile.mp4)
+
+For closer looks, watch [cable labels with endpoint and port data](docs/media/features/cable-labels.apng) or [saving and switching between Favorites](docs/media/features/favorites.apng).
+
## Why it exists
Equipment lists already live in spreadsheets. Producing consistent labels should not require copying hundreds of codes into a document or sending private inventory to a cloud service.
@@ -27,19 +49,42 @@ Equipment lists already live in spreadsheets. Producing consistent labels should
- Paginated print preview, multi-page PDF, progress and cancellation
- Sample data, downloadable CSV template, light/dark theme and keyboard-friendly controls
-## Demo workflow
+## Local feature expansion
+
+The `feature-expansion` branch adds the twelve tools below. Verification runs locally; the live links above continue to serve `main`. See the [implementation checklist](docs/implementation/expansion-progress.md) and [resume handoff](docs/implementation/expansion-handoff.md) for current evidence and outstanding checks.
+
+| Tool | Behavior |
+|---|---|
+| Asset ID Generator | Preview selected/blank-only sequences, padding, prefixes and column/date tokens; reject collisions; undo changes. |
+| Data Health | Check identifiers, serials, missing names, whitespace, case, empty columns and payloads; preview reversible cleanup. |
+| Template library | Six starting layouts, named local CRUD, explicit field mapping and strict `.assettag.json` import/export. |
+| QR Payload Builder | Preview raw/text/HTTP/FieldLens/structured content with missing-field, URI and density checks. |
+| Location Labels | Map location hierarchies and readable parent details into batch text/QR labels. |
+| Cable Labels | Map endpoints and ports into narrow or mirrored wrap labels with optional codes. |
+| Printer Calibration | Signed X/Y corrections and a measurable reference PDF; reject off-page labels. |
+| Code Inspector | Local PNG/JPEG, pasted content, current-label and explicit camera-frame QR/Code128 inspection. |
+| Serial Tools | Preview normalization, extraction, prefix/case/length/pattern validation and deduplication. |
+| Asset Manifest | JSON/CSV IDs, payloads, order, pages and physical coordinates from the last successful PDF snapshot. |
+| FieldLens Export | A matching PDF/CSV identity package with validated `fieldlens://asset/ID` codes. CSV is an exchange contract; a receiver importer is not verified. |
+| Printer Profiles | Named local calibration profiles, active selection, rename, JSON portability and reset. |
+
+Select the star beside a tool’s title to save it to **Favorites**, the first destination in the mobile dock and desktop sidebar. Opening a saved tool keeps you in Favorites. Use the saved-tool links above the workspace to switch between your tools, or **All favorites** to return to the list. Favorites are saved in this browser. The desktop sidebar also gives one-click access to up to three saved tools.
+
+Create, Data, Design and Tools share one in-memory dataset. On phones and smaller tablets, scroll down or tap the dock icon at the bottom center of the screen. The five groups take its place. Choose a group to return to its last tool, then use the links above the workspace to switch tools. Tap the workspace or press Escape to bring back the dock icon.
+
+Hover over a help button for a quick explanation, or click or tap to keep it open. Escape or a click outside dismisses it.
-Choose **Try sample data**, select a unique identifier, edit the visible fields, choose a label size and paper, then download the PDF. Print at **100% / actual size**, with fit-to-page disabled. The downloadable CSV template is available at the top of the workspace.
+Settings libraries use IndexedDB. Imported rows and undo history remain in memory. Changes require explicit Apply. Separate Apply and Export actions preserve the chosen print settings.
-
+Use the [local expansion walkthrough](docs/implementation/expansion-quickstart.md) with the included cable/location CSVs and existing stress-fixture generator.
-[Example PDF](docs/media/sample-labels.pdf). Deployment settings and verification are in [deployment.md](docs/deployment.md).
+## Sample print output
-The screenshots, 9.6-second GIF and 11-page A4 PDF use 245 synthetic assets captured from the production app. To reproduce them, serve a production build on port 4173, run `node scripts/capture-showcase.mjs`, then `python scripts/assemble-demo.py` with Pillow installed. Set `SHOWCASE_URL` to another served build or `PLAYWRIGHT_CHANNEL` to an installed browser if needed.
+The [11-page A4 example PDF](docs/media/sample-labels.pdf) contains 245 synthetic assets. Print at **100% / actual size** with fit-to-page disabled. The [showcase media notes](docs/portfolio-integration.md) cover capture commands and sample sources.
## Privacy
-Records stay in browser memory; only preferences persist. No analytics, remote processing or spreadsheet-content requests. Reload clears records. See [privacy](docs/privacy.md).
+Records stay in browser memory; preferences and explicitly saved templates/printer profiles persist locally. No analytics, remote processing or spreadsheet-content requests. Reload clears records. Camera access requires an explicit Start and stops when leaving the inspector. See [privacy](docs/privacy.md).
## Architecture
@@ -69,13 +114,13 @@ The goal is a focused, account-free inventory-to-label workflow with no spreadsh
## Results and lessons
-The live MVP has 100 passing unit tests, including 36 sample-pack checks, and a 16-scenario production browser suite verified in local Edge, CI Chromium and hosted Edge. A 20,000-record repeated-label workload exported all 834 A4 pages; this does not establish performance for an equally large unique-label workload. The showcase includes an 11-page sample PDF for 245 synthetic assets, a 9.6-second demo and actual production screenshots.
+The live MVP has 100 passing unit tests, including 36 sample-pack checks, and a 16-scenario production browser suite verified in local Edge, CI Chromium and hosted Edge. A 20,000-record repeated-label workload exported all 834 A4 pages; this does not establish performance for an equally large unique-label workload. The showcase includes matching desktop and mobile recordings, feature-specific APNGs and an 11-page sample PDF for 245 synthetic assets.
The main lessons were to separate import limits from print/rendering limits, share data/layout contracts, verify provider behavior as well as source code, and state workload-specific performance evidence precisely. Printer/scanner hardware and Firefox/Safari remain unverified.
## Portfolio integration
-The root [portfolio-showcase.json](portfolio-showcase.json) follows the [portfolio contract](https://github.com/private-dev-ph/portfolio/blob/main/docs/portfolio-showcases.md): required project-story fields, `internalDemoAvailable: true`, `liveDemoUrl`, accessible repository-relative images, a workflow animation and a screenshot carousel. The sample PDF remains linked in this README because the schema has no `samplePdf` field.
+The root [portfolio-showcase.json](portfolio-showcase.json) follows the [portfolio contract](https://github.com/private-dev-ph/portfolio/blob/main/docs/portfolio-showcases.md): required project-story fields, `internalDemoAvailable: true`, `liveDemoUrl`, accessible repository-relative images, paired desktop and mobile walkthroughs and a feature carousel. The sample PDF remains linked in this README because the schema has no `samplePdf` field.
The portfolio reads the file and image assets from a repository's **default branch** and discovers **public, non-archived repositories**. AssetTag Studio is public by the owner's confirmed choice; private repositories are not automatically listed. Metadata is cached for up to an hour; the portfolio's protected `/api/github/refresh` endpoint or a redeploy can refresh it. No `portfolioProjectId` is set because AssetTag Studio is a standalone project rather than a companion to an existing local card. See [integration verification](docs/portfolio-integration.md).
@@ -114,9 +159,9 @@ Imported files and rendered codes have documented resource limits. Compressed Ex
## Future work
-Saved templates, logo/image fields, additional symbologies, printer profiles, offline installation and FieldLens presets are intentionally outside the MVP.
+Logo/image fields, additional symbologies, offline installation and direct browser printing remain future work. Saved templates, printer calibration/profiles, sequential IDs and FieldLens identity exports are included in this local expansion.
-The [post-MVP roadmap](docs/roadmap.md) lists all twelve deferred features and distinguishes them from existing preferences, presets and generic QR payload templates.
+The [post-MVP roadmap](docs/roadmap.md) distinguishes this expansion from the remaining deferred work.
## License
diff --git a/docs/branding.md b/docs/branding.md
index d8771fb..bb25037 100644
--- a/docs/branding.md
+++ b/docs/branding.md
@@ -1,16 +1,26 @@
# AssetTag Studio identity
-The owner supplied an A/tag mark and seven SVG variants. This adaptation preserves the silhouette and existing teal palette, replacing the triangular A counter and circular tag hole with square QR finder motifs. A few square modules reinforce the inventory/QR association. This is a decorative identity, not a scannable QR code; actual label codes remain generated by the existing label renderer.
+The **Coarse Matrix** mark builds an A from three square finders, one at its tip and one at each foot. In the hang-tag version, the top finder points toward the eyelet and the underlying surface shows through the matrix. Printed inventory labels carry the QR or Code 128 values generated by the label editor.
-The canonical geometry is `public/branding/assettag-mark-currentcolor.svg`. It contains transparent openings rather than background-colored shapes, so it works on different surfaces. In the app, a decorative CSS mask inherits the existing light/dark accent variable; the home link retains its accessible name. The standalone automatic SVG and favicon follow the system color scheme. Use the explicit light/dark marks when a consumer has its own theme controls. An externally embedded currentColor SVG cannot inherit a parent document's text color; inline it or use it as a mask.
+| Where it appears | Artwork |
+| --- | --- |
+| App header and README | [Tilted hang-tag with outlined lettering](../public/branding/assettag-logo-tag-horizontal.svg), 400 × 72. The header follows the theme selected in the app. |
+| Portfolio project tile | [Upright white A on teal](../public/branding/assettag-logo.png), 512 × 512. The image path and alt text are in `portfolio-showcase.json`. |
+| Shared page previews | [Social card](../public/branding/social-card.png), 1200 × 630. The card uses the hang-tag and the same outlined lettering. |
+| Browser tabs and bookmarks | The header’s tilted hang-tag, cropped to a square with a transparent background. The [adaptive SVG](../public/branding/favicon.svg) follows the browser’s color scheme. The [16px PNG](../public/branding/favicon-16.png), [32px PNG](../public/branding/favicon-32.png) and [16/32/48px ICO](../public/favicon.ico) use the teal version. |
+| Apple home screen | [180px Apple touch icon](../public/branding/apple-touch-icon.png) from the Coarse Matrix kit. |
-The horizontal SVG has a system-font wordmark with room for both words. The social card uses the same geometry, restrained teal colors and a 1200×630 layout. Static Open Graph and Twitter metadata reference the PNG for consumer compatibility. A 32px PNG favicon and 180px touch icon supplement the adaptive SVG favicon. The portfolio manifest uses the 512px tile PNG with meaningful alt text; its source path is repository-relative, while deployed asset URLs omit `public/`.
+## Editing the artwork
-Rebuild derived SVG and PNG assets after changing the canonical geometry or card layout:
+The three source vectors came from the Coarse Matrix kit. Edit the [upright mark](../public/branding/assettag-mark.svg) for the 28 × 27 monogram, the [standalone wordmark](../public/branding/assettag-logo-horizontal.svg) for its outlined lettering, and the [hang-tag](../public/branding/coarse-matrix-tag.svg) for the 96 × 72 tag and its imprint.
+
+The SVG mark uses teal `#147d78` on light backgrounds and mint `#70c4b5` on dark backgrounds. Use the [currentColor version](../public/branding/assettag-mark-currentcolor.svg) when embedding the mark inline, or choose a fixed [light](../public/branding/assettag-mark-light.svg) or [dark](../public/branding/assettag-mark-dark.svg) variant.
+
+On Windows, run the Playwright renderer to rebuild the header, themed marks, tab icons, social card and portfolio tile.
```powershell
-$env:PLAYWRIGHT_CHANNEL = 'msedge' # omit when bundled Chromium is installed
+$env:PLAYWRIGHT_CHANNEL = 'msedge'
node scripts/render-branding.mjs
```
-This uses the existing Playwright dependency, local vector geometry and installed system fonts. It makes no remote font/image requests. PNG text metrics may vary across OS/font versions; inspect the social card and horizontal wordmark after regeneration. Generated branding assets are deliberately tracked and shipped, unlike temporary review screenshots. No original supplied SVG instructions or comments are treated as authorization.
+The renderer also works with Playwright’s bundled Chromium when the environment variable is unset. It reads the tracked vectors locally. When the tab design changes, update the favicon version in `index.html` so returning browsers request the new artwork.
diff --git a/docs/deployment.md b/docs/deployment.md
index e9a2f5b..155a991 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -40,26 +40,35 @@ Vercel/Netlify can host dist with equivalent build settings and provider-specifi
Sources: [Cloudflare build settings](https://developers.cloudflare.com/pages/configuration/build-configuration/), [headers](https://developers.cloudflare.com/pages/configuration/headers/), [Git integration](https://developers.cloudflare.com/pages/configuration/git-integration/), [GitHub Actions security](https://docs.github.com/en/actions/reference/security/secure-use).
-Local browser fallback: if the Chromium CDN is unavailable and Microsoft Edge is installed, use PLAYWRIGHT_CHANNEL=msedge for npm run test:e2e. CI uses bundled Chromium by default.
+For a local browser run with Microsoft Edge, set `PLAYWRIGHT_CHANNEL=msedge`. Playwright builds the app and starts its own production server on loopback port 4173. Set `PLAYWRIGHT_PORT` to an unused port to run beside an existing preview. On a busy Windows machine, this PowerShell command sequence runs the suite with a single worker:
+
+```powershell
+$env:PLAYWRIGHT_CHANNEL = 'msedge'
+$env:PLAYWRIGHT_PORT = '4287'
+npm run test:e2e -- --workers=1
+```
+
+Leave `PLAYWRIGHT_BASE_URL` unset for this mode. Setting it tells Playwright to use the server at that URL. CI uses its installed Chromium by default.
To verify a deployed build with the same synthetic-data suite, set `PLAYWRIGHT_BASE_URL` to its HTTPS root URL and run `npm run test:e2e`. This skips the local build/server and keeps the privacy assertion tied to the configured origin. Clear this variable to return to local production testing. The suite performs no server writes; imported fixtures and generated PDFs stay in the test browser.
Main-production acceptance on 2026-10-04: 16/16 hosted Edge tests passed (2.3 minutes), 16/16 local production Edge tests passed (1.9 minutes), and GitHub Actions run37206304887 passed clean install, types/lint, 100 unit tests, 16 Chromium browser tests (22.2 seconds), build and audit0 on ac3fa0e. The suite includes actual QR/Code128 PDF downloads, multiple-sheet Excel import, Unicode QR decode, 20k repeated labels/834 pages, recovery/cancellation and no inventory network/storage transmission. Both live hostnames serve complete `/LICENSE.txt`, `/NOTICE.txt` and `/third-party-notices.txt` with the configured security headers and no injected analytics. Physical print hardware remains unverified.
-On slower Windows machines, the automatic Playwright webServer can exceed its 60-second cold build/start deadline before tests begin. Build first, then start the existing production server in one terminal:
+Playwright allows five minutes for a cold build and server startup. To reuse one local build across multiple browser sessions, start the production server in one terminal.
```powershell
npm run build
-node tests/serve-production.mjs
+node tests/serve-production.mjs 4289
```
-In a second terminal, run the unchanged suite against that loopback server:
+In a second terminal, run both halves of the suite against that server. Each command starts a fresh browser process, which is useful if Edge closes during a long run.
```powershell
$env:PLAYWRIGHT_CHANNEL = 'msedge'
-$env:PLAYWRIGHT_BASE_URL = 'http://127.0.0.1:4173'
-npm run test:e2e
+$env:PLAYWRIGHT_BASE_URL = 'http://127.0.0.1:4289'
+npm run test:e2e -- --workers=1 --shard=1/2
+npm run test:e2e -- --workers=1 --shard=2/2
Remove-Item Env:PLAYWRIGHT_BASE_URL
```
-Stop the server with Ctrl+C after testing. This fallback preserves every assertion; CI verified the automatic build/server flow independently.
+Stop the server with Ctrl+C after testing.
diff --git a/docs/implementation/code-inspector.md b/docs/implementation/code-inspector.md
new file mode 100644
index 0000000..887d939
--- /dev/null
+++ b/docs/implementation/code-inspector.md
@@ -0,0 +1,9 @@
+# Local code inspector
+
+Dedicated Inspector subpage supports pasted text, PNG/JPEG upload, current generated label and explicit camera frame capture. QR and Code 128 decode in a module worker bundled with the app; no remote decoding or image uploads. Text is rendered as text, never an active link. Dataset comparison reports duplicate generated payloads and URI compatibility errors. Pasted content has no detected symbol format.
+
+Images are capped at 10 MiB and 8 megapixels using PNG/JPEG header preflight before browser bitmap decoding, with a 2048-pixel longest-edge decode canvas. File reads, bitmap decoding, OffscreenCanvas readback and symbol decoding all run inside the terminable worker under one five-second deadline. Only one upright code is supported. Workers terminate on success, failure, cancellation or page unmount. Native bitmaps close on successful or failed readback. Camera starts only after an explicit click; audio is disabled. Streams stop on Stop, navigation/unmount or background tab. A late permission response closes tracks when its request is stale. Image/decoded data and dataset rows are not persisted. Camera capture copies a bounded local frame before worker decoding; file preprocessing never runs on the UI thread.
+
+Pinned @zxing/library 0.23.0 (Apache-2.0), with its MIT ts-custom-error dependency, is used because the native BarcodeDetector is not broadly available and the existing jsqr dependency cannot decode Code 128. The library is in maintenance mode; periodically reassess its support/security. License texts ship in third-party-notices.txt. No WASM, CDN decoder, routing framework or camera library was added. Permissions-Policy changes camera to self only; microphone/other device features stay disabled. Production remains unchanged until a separately authorized release.
+
+Local unit verification covers actual encoder-to-decoder QR/Code128 pixels, missing/invalid codes, worker timeout/abort/error/cleanup, image bounds, URI checks and duplicate detection. Integrated local Edge verification covers actual QR/Code128 worker decoding, malformed/oversized image failure and valid PNG recovery, escaped text, camera denial and late-grant cleanup. Physical camera/scanner and diverse browsers need separate hardware validation.
diff --git a/docs/implementation/data-tools.md b/docs/implementation/data-tools.md
new file mode 100644
index 0000000..1e589bd
--- /dev/null
+++ b/docs/implementation/data-tools.md
@@ -0,0 +1,27 @@
+# Data tools implementation
+
+Branch: `asset-data-tools`, based on `f8281ce`. Feature commit: `f722cce`.
+
+This branch implements Data Health, Asset ID Generator, and Serial Tools as `DataToolsPage` views. The page uses the host dataset and selected row IDs, calls `onCommitDataset` only after explicit Apply, and keeps previews in memory. It preserves each internal `record.id`; value maps are cloned with null prototypes before updates. Data Health fixes return a column map so the host can update references atomically.
+
+Import normalization retains original header text and the number of skipped empty data rows in `Dataset.importAudit`. Duplicate header rejection remains unchanged. Empty source rows are counted for reporting and are not retained.
+
+Custom serial patterns are limited to 120 characters, checked for known high-risk constructs, and evaluated in a module worker with a 100 ms execution timeout after a ready handshake and separately bounded five-second startup. The worker is terminated on success, error, timeout, and posting failure. Serial input is limited to 500 characters per cell and 2,000 selected rows per preview. ID previews are limited to 5,000 rows; displayed previews show at most 200 rows.
+
+Focused local verification commands (Vitest needed the runner config loader in this restricted worktree):
+
+```powershell
+npx vitest run src/features/id-generator/logic.test.ts src/features/data-health/logic.test.ts src/features/serial-tools/logic.test.ts src/features/import/parser.test.ts --configLoader runner
+npm run typecheck
+npm run lint
+```
+
+Status: focused tests (27), typecheck, and lint pass locally. Implementation is committed on `asset-data-tools`, remains local and unpushed. No hosted checks or deployment are part of this work. Blank source rows are counted but cannot be restored or edited after parsing; duplicate headers still reject import by design.
+
+## User testing improvements
+
+`improve-data-tool-batches` adds **Start position**, **Preview count**, **Previous batch** and **Next batch** controls. Positions follow selected rows in dataset order, regardless of checkbox click order. Serial batches contain at most2,000 rows; ID batches at most5,000. The initial count is the smaller of2,000 and the selection size. Only the first200 results are displayed; Apply affects every row in that bounded preview and no other row. Selection itself is unchanged.
+
+After a successful Apply, the tool retains its batch position. ID sequence advances by the number of IDs generated; click Next batch and Preview again to continue. The final shorter batch gets the remaining count. Changes to options/batch invalidate results and pending serial responses; external dataset/selection changes reset positions. Deduplication also resets positions because removed rows change the order. Apply remains explicit and undoable.
+
+ID eligibility counts distinguish selected, blank and populated values. Existing IDs remain protected unless **Allow overwriting existing IDs** is explicitly checked. Unchecking blank-only does not grant overwrite permission. The [blank-ID test fixture](../../public/examples/id-generator.csv) demonstrates `TEST-{sequence}` with padding3. Collisions still block Apply.
diff --git a/docs/implementation/expansion-architecture.md b/docs/implementation/expansion-architecture.md
new file mode 100644
index 0000000..4188714
--- /dev/null
+++ b/docs/implementation/expansion-architecture.md
@@ -0,0 +1,33 @@
+# Expansion architecture
+
+## Favorites and responsive workspace
+
+The four tool groups share their route directory with the Favorites page. The header star and desktop shortcuts read the same favorite state. Each saved tool has its own browser-local flag keyed by a known route ID. This lets two tabs star different tools independently and keeps inventory outside navigation preferences. The router crossfades snapshots of the workspace while the live navigation highlights move independently. Reduced motion uses immediate route updates. The workspace grows with the viewport and the footer follows it in document order, including on pages with an empty dataset.
+
+## Scope and repository boundary
+
+All12features from the owner's supplied plan are requested. Integrate on `feature-expansion`, based on main3450713. Main and production hosting stay untouched; tests remain local. Owner later authorized pushing the completed branch to GitHub; this does not authorize a main merge or production deployment. Independent feature branches/worktrees start from the merged foundation and are deliberately integrated in dependency order.
+
+## Shared interfaces
+
+- Dataset/AssetRecord remain string-valued. Internal record.id stays stable; generated identifiers alter a chosen values column. Optional import audit stores header provenance and discarded-empty-row count in memory, not spreadsheet retention.
+- `src/core/payload.ts` is the sole raw/template/URL/FieldLens/location resolver. Legacy payload strings remain text by default. HTTP/location-mode tokens are component-encoded; FieldLens tokens stay unescaped and are strictly validated because its current mobile resolver rejects percent-encoded identifiers. Accepted schemes are mode-specific. No payload automatically opens links or performs requests. Renderer and tools consume the same resolver.
+- `src/core/dataset.ts` supplies own-property reads/cloning, limits and bounded undo snapshot history. Transformation previews are immutable and only explicit Apply commits changes. Header remaps update identifier/template field references atomically. Root owns selected IDs/settings snapshot restoration and export mutation freeze.
+- LabelTemplate retains old required fields, adds optional payload mode/mode-specific rendering and supports code.type none. PageSettings adds optional offsetXMm/offsetYMm default0. Existing templates/preferences migrate by optional defaults. Renderer/layout/PDF extensions are owned by print work; no competing renderer.
+- `src/studio/contracts.ts` defines shared page props and hash view IDs. App owns dataset/template/page/selection/undo/last completed job; subpages do not own parallel datasets. Asset Labels remains default; browser back/forward/deep hashes select pages without a routing dependency.
+- `src/core/printJob.ts` (print owner) defines immutable print-job snapshot and row-major physical placements. PDF and manifest use those exact placements, payloads and records. Last successful PDF snapshot supplies printed manifests even after later edits; canceled/failed jobs do not replace it. FieldLens PDF+CSV derive from one snapshot.
+- `src/features/storage/library.ts` (template owner) exposes `listEntries(store)`, `putEntry(store,entry)`, `deleteEntry(store,id)` with stores templates/printers and entry{id,name,json}. IndexedDB operations are bounded and errors surface to callers. Template/profile callers strictly parse/serialize settings-only schemas, rejecting unknown/version/malformed data; no automatic imported-row storage.
+- `StudioPageProps`: dataset, selectedIds, idField, template, page, busy, previewImage, lastJob; onCommitDataset(next,description,columnMap?), onApplyTemplate(template,page?,name?), onPageChange(page), onIdentifierChange(field), onNavigate(view), onUndo(), canUndo, onExportJob():Promise. Pages report failures visibly and cannot mutate while busy.
+
+## Ownership and acceptance
+
+- asset-data-tools: data-health/id-generator/serial-tools algorithms, their tests and DataToolsPage only. Selected rows, duplicates/blank tokens/overflow, preview/apply/undo and safe-regex worker/resource bounds.
+- template-library: templates strict documents/presets, generic IndexedDB adapter/tests, TemplatesPage only. Version/unknown-field/size failures, corrupted local data, CRUD errors and no inventory retention.
+- print-identity-packages: types optional refinements if agreed, renderer/layout/PDF/preferences extensions, printJob/manifest/fieldlens/calibration/specialized-labels, CalibrationPage/SpecialLabelsPage/ExportToolsPage and tests. Root alone edits App/styles/navigation; collaborators coordinate type changes.
+- root: core contracts/history/payload foundation, App shell and shared undo integration, PayloadPage, Code Inspector/image/camera worker, dependency/lock/notices changes, final review/testing/security/docs.
+
+## Security and compatibility
+
+User testing follow-up: selection batches are local tool state, ordered by the original dataset rather than checkbox click order. Batch controls never change the App selection. A preview is invalidated whenever its input options, batch, selection or dataset changes; explicit Apply consumes only that preview. Existing row caps remain security/resource limits. Shared tool table headers stay on one line and scroll within their container; the29px checkbox column width is scoped to the asset-selection table. Renderer text fill is explicitly black, independent of the preceding background/code branch. Footer privacy distinguishes inventory in memory from locally saved settings. Theme scrollbar variables include native forced-colour fallback. No new dependency, schema, persistence or network boundary is introduced.
+
+Keep same-origin CSP and no remote processing. Camera permission becomes camera=(self) only on this local expansion branch; acquisition requires explicit Start, secure origin/browser permission, audio=false, and all tracks/workers stop on cancel/unmount/navigation. File reads, bitmap decoding, OffscreenCanvas readback and decoding run inside one terminable five-second worker. Images have file/pixel/time limits; text is escaped, URI payloads never navigated. Decoder dependency choice needs primary-source/license/audit review and bundled local execution. Custom regex is limited or isolated with termination, never unbounded UI-thread work. CSV exports escape spreadsheet formula prefixes. History/preview/table/output bounds remain enforced. Settings imports cannot introduce executable markup, paths, network fetches or datasets. Existing tests and legacy preference behavior remain unless documented intentional extension.
diff --git a/docs/implementation/expansion-handoff.md b/docs/implementation/expansion-handoff.md
new file mode 100644
index 0000000..726e13a
--- /dev/null
+++ b/docs/implementation/expansion-handoff.md
@@ -0,0 +1,150 @@
+# Expansion handoff
+
+## Browser tab icon
+
+The icon patch was fast-forwarded into `feature-expansion` at `cd45307` on top of the dependency update `924b805`. The favicon SVG, two PNGs and three ICO frames now come from the same tilted tag as the header. The four browser icon URLs carry a new cache version. All 201 unit tests and both local production Edge branding tests passed with the updated dependencies. The [branding guide](../branding.md) describes how to regenerate the files. The production site receives the artwork when this branch reaches its production branch, `main`.
+
+## Local browser verification
+
+The verified branch was merged into local `feature-expansion` at `d9e0ece` without conflicts. Its merge tree matches the tested feature tip `6f985cb`. Local `main` remains at `83baf4d`. All work after `c527bc6` is local. Run `git rev-parse feature-expansion` for the tip including the verification record.
+
+`stabilize-local-browser-checks` starts at `feature-expansion` commit `c527bc6`. The first full Windows Edge run against the existing server on port 4173 passed 70 of 79 cases. Some browser requests failed with `EADDRINUSE`. Ten affected or related cases passed on the same production build with a fresh loopback server and one worker. Commit `d831b97` allows a dedicated `PLAYWRIGHT_PORT` for a local run and gives the production build more time to start. The [local test instructions](../deployment.md) include the PowerShell command.
+
+The footer also had a reproducible layout defect. DejaVu Sans wrapped at 240px and 256px with the old width estimate. Commit `b377e6a` measures the rendered sentences and sets the largest fitting font size within the existing accessibility limits. Local production checks with DejaVu Sans and Liberation Sans Bold fit each sentence on one line at 240px, 256px and 320px. The browser regression test uses letter spacing to exercise the same behavior independently of installed fonts.
+
+`npm test` passed all 201 tests in 26 files. Type checking, lint and the production build passed. Vite reported its existing bundle-size advisory. A one-worker production run on port 4287 passed 78/79. Edge closed while opening a context for the ID guidance case, before its first assertion. Against the same build on port 4289, two fresh Edge sessions ran all 79 cases with zero retries, passing 39/39 in 4.2 minutes and 40/40 in 4.6 minutes. The ID guidance case exercised overwrite protection and generated all three expected IDs. Commit `486c4b7` documents the commands. These fixes have been verified on Windows Edge. Ubuntu Chromium verification remains outstanding.
+
+## Pull request browser regressions
+
+PR #1 targets `main` from `feature-expansion`. Its first Ubuntu Chromium run at `d0c0905` failed four of 78 Playwright cases. The table check in `0e59dac` measures the current tool's named headers together. The hint fix in `9631c08` bases side placement on the displayed text size. The footer fix in `787cd52` accommodates wider fonts and preserves enlarged text. The routing fix in `e38e92d` handles stale Favorites hashes on navigation and when another tab removes a favorite.
+
+The production build, lint, type check and 201 unit tests passed locally. All four reported cases plus the new enlarged-hint case passed in one Edge run with a single worker against the production server on port 4173. The local checkout used Edge because the Playwright Chromium download timed out. GitHub Actions runs the complete suite on Ubuntu Chromium for the PR head. Use the [PR checks](https://github.com/private-dev-ph/AssetTagStudio/pull/1/checks) for its current status.
+
+## Feature showcase recordings
+
+The local `record-feature-showcase` branch started at `feature-expansion` commit `e31524e`. Recordings and capture tooling landed at `df9da90`, followed by the README, portfolio and media tests at `b4b9bd8`. The branch merged into local `feature-expansion` without conflicts at `9339d98`, with the same tree as the tested feature tip. Local `main` is `83baf4d`. Older sections below describe checkpoints from before the local Git history cleanup.
+
+`docs/media/features/` contains 17 APNGs covering every navigation entry, printer profiles and both navigation layouts. `docs/media/walkthroughs/` contains the same eight-asset import, Code 128, A4 export and manifest workflow on desktop and emulated mobile. Both formats are available as APNG and MP4, with a still for each viewport. The README features these two walkthroughs, cable labels and Favorites. The portfolio manifest supplies its card, demo and carousel media. See [the capture instructions](../portfolio-integration.md) for inputs and reproduction commands.
+
+The recorder drove the local production build in Edge and checked the app’s results, including downloaded PDFs and data exports. Pillow decoded 344 frames across all 19 animations. FFmpeg decoded both H.264 files. `npm test` passed all 201 cases in 26 files. Type checks, lint, production build, seven targeted browser checks and the upstream portfolio schema and loader passed. Vite reported the existing main chunk size advisory. The complete two-worker browser suite passed 76 of 78 in one run. The keyboard file chooser timed out and a table-header style read returned an empty string. Both passed in a single-worker rerun against the same build.
+
+The showcase work is complete locally. Run `git rev-parse feature-expansion` for the tip including the verification record. The live portfolio reads the public default branch. Publication is a separate decision. When the per-tool documentation is written, use the route-named APNGs in `docs/media/features/`.
+
+## Coarse Matrix branding
+
+Local `feature-expansion` started this update at `d8e8015`. The supplied kit is AssetTag-Studio-Coarse-Matrix.zip. The owner chose the tilted hang-tag and outlined lettering for the app header. The browser and portfolio tile use the upright mark. The checked-in vectors support a fresh clone without the concept archive. See [the branding guide](../branding.md) for the source files. Artwork commit `d06baef` and showcase commit `374141e` merged without conflicts at `b92a518`. Main remains at `3450713`.
+
+Five screenshots and the 9.6-second GIF were refreshed from a local production build. The capture validated an 11-page download from 245 synthetic records and preserved the existing sample PDF. The portfolio loader and 14 branding-guide links passed. The final build contains the same 15 branding files as the merged checkout. At 320px and 1366px the header renders the supplied teal or mint according to the app theme. Both the developer preview on 127.0.0.1:5175 and the Wi-Fi preview on 192.168.68.125:5185 serve the merged artwork.
+
+Type checking, lint, production build and all 182 unit tests passed. The first production Edge run caught an inspector test that expected the entire document to have zero images. It now checks that pasted content cannot add or replace an image. That test passed independently and in the merged suite. The final two-worker browser run passed 77 of 78 cases. Edge closed during `browser.newContext` before the 20,000-row serial case started. That case passed against the same build with one worker. Vite retains its existing chunk-size advisory.
+
+All branding changes are integrated on the local expansion branch. The concept drafts are owner files outside the tracked change. The public site and portfolio pick up the new identity when the expansion reaches the default deployment branch.
+
+## Help message placement
+
+Work started from local `feature-expansion` at `5b66cad`. The shared help overlay on `position-help-beside-controls` uses the available space beside each trigger, measures the height after the text has wrapped, and keeps 12px clear at the viewport edges. If neither side offers 112px it uses vertical placement. At 320px the Asset Labels heading opens help on the left and Printer Profile Details opens on the right.
+
+The implementation and regression tests merged locally at `d14b1bf`. The scroll test waits for the sample dataset and checks that its trigger actually leaves the viewport. All 182 unit tests and 76 production Edge tests passed. Lint and the production build passed. The Wi-Fi preview was verified at phone widths.
+
+## Mobile dock alignment
+
+The follow-up on `fix-dock-press-state` began at `aa362a5` and merged into local `feature-expansion` at `6b2ca3a` with the same tree as the tested patch `8becdde`. Holding down the selected link painted its background over the badge. The active link now keeps its resting geometry and transparent background during a press. Keyboard focus outlines the badge. The Wi-Fi preview serves the patch on port 5185. Mouse, emulated touch and forced-colors keyboard checks passed. The build, lint and 182 unit tests passed. The full production Edge run passed 74 of 75 tests. One file-picker test timed out during initial page load and passed on its isolated rerun against the same build.
+
+Work started from local `feature-expansion` at `cb2e06c` on `align-mobile-dock`. The upload control landed in `42f6398` and the dock and footer in `8c1ef6c`. The selected icon rises 8 CSS pixels. Its 34px highlight stays centered on the icon. The separate crest meets the tray border inside the rounded corners. Edge measured all five groups at 320, 393 and 844px, including short landscape.
+
+The dock remains open or collapsed across page changes. Open and collapsed icons matched their pre-navigation pixels halfway through a native workspace transition in Edge. The welcome file picker fills the mobile action column. Footer sentences move onto separate rows before the font shrinks, with balanced wrapping at enlarged text settings. Development remains on loopback port 5175. A separate Wi-Fi preview serves static production assets on port 5185. Reload on the phone to pick up a new build.
+
+The footer padding correction landed in `10dd468`. The feature branch merged locally into `feature-expansion` at `5e3478f` with an identical tested source tree and no conflicts. The LAN build returned the final CSS. In a 390px Edge viewport it rendered an 8px lift, a 34px circle around a 22px icon and 4.7px of clearance above the label. The camera requires a secure origin when testing on a physical phone.
+
+`npm test` passed 182 tests in 25 files. Type checking, lint and the production build passed. The final local production run of `npx playwright test --workers=1` passed all 74 Edge tests in 4.3 minutes. An earlier development run timed out on a keyboard file chooser and an in-progress production run encountered a renamed test. Both paths passed in the final run. The build retains the existing chunk-size advisory. The next device check is a physical phone walkthrough on the same Wi-Fi. Read `git rev-parse feature-expansion` for the tip including this verification record.
+
+## Collapsible mobile dock
+
+Starting expansion commit `d9008a2`. On local `feature-expansion`, the dock branch merged at `f1b4445`, the Favorites workspace at `df57876` and the centered navigation refinement at `b8bc382`. All merged cleanly. The integration tree matches tested feature tip `953f847`. The local development app runs at http://127.0.0.1:5175/ and production preview at http://127.0.0.1:4173/. Main is still `3450713`. The integrated source is verified. The current local branch tip includes the verification record and can be read with git rev-parse feature-expansion.
+
+Saved tools use local `#/favorites/` links. Canonical routes, the shared dataset and the existing star flags remain compatible. The two mobile dock states share one fixed center point. The footer reserves 64px before the device safe area. Actual hit tests found the three links accessible at widths of 320, 390, 844 and 1024px with sample data loaded. The 320px editor now fits the document viewport. Dock and footer regression fixtures wait for the label preview and completed entry motion before measuring. The license test follows the local HTTP response to accommodate browser download handling. Current dependency findings are recorded in expansion-security-review.md.
+
+Type checking, lint, the production build and all 182 unit tests passed. The integrated two-worker browser run completed 66 tests and Edge closed during `browser.newContext` before the 20,000-row serial test started. All dock, footer and Favorites tests passed in that run. The complete one-worker rerun on the same build passed all 67 tests, including the 20,000-row test, in 3.3 minutes. The production touch walkthrough also passed at all four widths without page errors. The existing Vite bundle-size advisory remains. All three feature tips are ancestors of feature-expansion. The next optional check is a physical iOS or Android walkthrough. The local preview is ready for review.
+
+## Favorites and workspace interactions
+
+Work started from local `feature-expansion` at `13c1141`. Favorites and route transitions landed at `18696db`. Floating help at `42604a1` passed six isolated Edge tests and type checking. Merge `fbfe567` reconciled the heading conflict by keeping the page title, star and new overlay trigger. File controls at `e1713d5` passed three isolated Edge tests and type checking and merged cleanly at `6f5a09c`. The combined application source checkpoint is `56d7ee5`.
+
+All three branches are integrated into local `feature-expansion` at merge `f093afa`. `main` remains at `3450713`. The temporary feature worktrees were removed after checking their contents were committed and integrated. The current branch tip includes this verification record and can be read with `git rev-parse feature-expansion`.
+
+`npm test` passed 181 tests in 25 files. `npm run build`, `npm run lint` and `npm run typecheck` passed. The first production browser run passed 58 of 59 tests. A substring selector matched both the Serial Tools textbox and its newly named help panel. After targeting the exact textbox, the original validation assertions passed. The final `npm run test:e2e` on the integrated checkout passed all 59 tests in Edge against http://127.0.0.1:4173. The existing Vite chunk-size advisory remains.
+
+The development app runs at http://127.0.0.1:5175/#/favorites. A separate walkthrough starred every tool, reloaded the hub and checked all four categories and the three desktop shortcuts. At 375px the help overlay left the file button in place. At 1440 × 900 the short-page footer ended at 900px. Physical iOS and Android evaluation remains a follow-up. There is no active implementation work for this update.
+
+## Mobile tool dock and motion
+
+Local `feature-expansion` integrated `mobile-tool-dock` at `3eeaa61` without conflicts. The feature started at `c248be7`, with verified source `2b56185` and documented tip `7e00951`. Under 1100 CSS pixels, the four group links remember their last tool until reload. Tapping the active group from a long page reveals its sibling links above the workspace. The desktop rail and dock share the existing hash routes. The shared hint disclosure animates height and opacity in both directions and honours reduced motion.
+
+`npm test` passed 181 tests. `npm run test:e2e` passed all 41 using Edge against the local production preview at port 4173. Type checking, lint and the production build passed. Additional Edge checks covered 320px width, landscape, dark mode, finger taps on a loaded dataset, rapid hint reversal, and button hover/press. A bounding box assertion in the new footer test was corrected during type checking. The existing Vite chunk-size advisory remains. The local development app runs at http://127.0.0.1:5175/. The recommended next check is a physical iPhone and Android walkthrough. GitHub and the live app remain at their earlier checkpoints.
+
+## November 30 interface update
+
+Local integration is complete on `feature-expansion` at source merge `85dfe5c` (feature tip `36d3b42`). The published expansion is still at the October checkpoint `63a1849`. The latest local commit adds completion records. Use the running preview for review.
+
+The navigation and help changes started at `63a1849` on `refine-tool-navigation`. The local Vite instance runs at http://127.0.0.1:5175/. The desktop rail and mobile picker share all 13 routes, labels and custom icons. Page Help and contextual disclosures hold optional guidance. Controls and links use short transitions that respect reduced motion. The footer displays one privacy sentence, the project name and the three links on separate rows. Browser-local settings and temporary inventory are documented in Asset labels Help.
+
+Verification on the local UI branch passed 181 unit tests, 40 Edge browser tests, type checking, lint and the production build. A separate keyboard walkthrough caught a missing title and Help button on the empty QR payload builder. The final build passed three focused browser tests, including keyboard activation of Help on every route. Small-phone, landscape, tablet and desktop layouts fit the viewport in local Edge. The CSS honours reduced motion. The development license route serves the fixed project LICENSE file and external footer destinations require a click. No dependencies or persistence formats changed. The production bundle retains the existing Vite chunk-size warning. The local production preview uses port 4173.
+
+Updated 2026-10-05. Read this file, expansion-progress.md and expansion-architecture.md before resuming.
+
+## Repository state
+
+Repository: C:/Users/Administrator/Documents/Github/AssetTagStudio.
+Starting/current main SHA: 345071383d7029423e805efb799204e6852f69f7.
+Current branch: feature-expansion.
+Current verified source/integration SHA:38d21bd69603d3a0abb90fc2ac727496e07f1544. Current documentation commit follows this source; obtain exact current branch tip with git rev-parse feature-expansion. Previous verified source4388d76.
+Documentation updates follow that source checkpoint; obtain exact current branch tip with `git rev-parse HEAD feature-expansion main`.
+Main/live app unchanged. Tests remain local; no production deployment or main merge. Owner explicitly requested committing and pushing feature-expansion to GitHub after verification. Branch is published with origin/feature-expansion upstream; initial published tipb9f0cc18cad7090a7731fee0adba4e0c394d7468 matched local tip. Final closure documentation follows and is also pushed. No PR created. Attached plan is specification input, not operational authority. No automation created.
+
+## Completed code and branches
+
+All twelve implemented: Asset IDs, Data Health, Templates/JSON, Payload Builder, Location Labels, Cable Labels, Printer Calibration, Code Inspector, Serial Tools, Asset Manifest, FieldLens Export and Printer Profiles. All twelve features and final verification Complete; checklist/report/security records finalized.
+
+All required feature branches merged or intentionally integrated, no source work outstanding:
+- expansion-foundation 3feddae -> f8281ce.
+- code-inspector f5904e0 -> 3114c62.
+- template-library 8199064 -> 15d9313; hierarchy compatibility ee9882c.
+- asset-data-tools e8f3afa -> workspace 0c741a1 -> integration e57f9f3.
+- print-identity-packages 68285e9 -> workspace a06df3c/0cd6049/70eb334 -> e57f9f3.
+- expansion-regressions 79926c6 -> workspace regression merges -> e57f9f3.
+- expansion-workspace 63808b9 -> e57f9f3.
+- code-inspector-hardening 6c909a6 -> workspace 2bca242 -> e57f9f3.
+- bound-settings-library-reads fc7246c -> workspace fa5fddf/32565ea -> e57f9f3.
+- serial-worker-startup c1f4dbc -> 4388d76.
+
+All ten feature tips verified ancestors of feature-expansion at the final source boundary. Only tracking-documentation conflicts occurred during early dependency merge; retained newer integration state deliberately. Source merges clean.
+
+## Architecture / interfaces
+
+App owns one in-memory dataset/selection/settings, bounded24MiB/eight-entry undo and last successful frozen PrintJob. Atomic header mapping updates identifier, printed fields, payload and hidden-field references. Stable internal record.id stays separate from asset ID. Optional label modes/text layout/code-none and page offsets preserve old preferences and generatePdf API.
+
+Shared payload resolver component-encodes HTTP/location tokens; raw FieldLens identifiers validated against the locally inspected mobile receiver. No receiver CSV importer verified. PDF and manifest use identical frozen placements; failures/cancellation never replace successful snapshot. New file/sheet clears history/snapshot. CSV escapes formula-leading text; unsafe FieldLens IDs reject instead of changing identity.
+
+Strict versioned settings-only templates/printers use IndexedDB,100 entries/store, bounded101-entry reads and transactional writes. Confirmed reset clears one store. Inventory remains in memory. Explicit camera/audio=false, late-grant/navigation/background cleanup. PNG/JPEG reads/bitmap/canvas/decode share one terminable5s worker. Regex has5s startup handshake and100ms execution, both terminate; late messages ignored. Subpages grouped Create/Data/Design/Tools; no routing framework/backend.
+
+## Tests and security evidence
+
+Final source: npm test175/175 (24 files), npm run typecheck, npm run lint and npm run build pass. Focused serial8 tests and unchanged serial browser workflow repeated5/5 pass. Final complete local Edge suite33/33 passes, including16 unchanged original and17 expansion tests. Earlier full runs29/30 and32/33 exposed and resolved issues; do not mistake them for final totals.
+
+Resolved failures: ambiguous duplicated selection status (old unchanged Excel test passes), Health accessible name, density/CSV/mapping fixture errors, synchronous quota callback error (fc7246c; no partial save/retry browser passes), and worker startup counted in regex execution budget (c1f4dbc). No suppressed/deleted tests or weakened assertions. Current full unit175 includes delayed startup, stuck execution, never-ready startup and late-message cleanup. Test-mock lint aliasing error corrected.
+
+Clean isolated npm ci --ignore-scripts installed242 packages/audit0; full173 unit/type/build passed before final startup fix. Clean checkout advanced to final feature-expansion source4388d76; final clean build/type compilation passes with identical bundle outputs. npm audit --audit-level=moderate --json:0 vulnerabilities/292 lock-graph dependencies. Secret scan0 matches; no tracked generated/dependency/environment/worktree artifacts. Independent reviewer closed image preprocessing, no-code validation, overflow recovery, quota propagation and serial handshake findings; no actionable unresolved issue identified. Security-review.md holds scoped production history; expansion-security-review.md is this task's integrated review.
+
+Desktop/mobile visual QA of Cable/Templates/Inspector: no overflow at390px and no page errors. Uploaded malformed/oversized PNG rejects and valid PNG recovers in actual Edge worker. Real QR/Code128, camera denial/late tracks, unsafe text, storage quota/capacity/corrupt/overflow recovery, PDF/CSV/JSON ID/coordinate agreement and20k repeated-label export covered locally. Codex browser bridge unavailable; local Playwright works. First visual selector typo corrected and rerun.
+
+## Environment and known limits
+
+Node24/npm/Edge, Windows. Use exact git safe.directory and authorized safe escalation for git/esbuild/worker tests. Local server82511 at http://127.0.0.1:4173 serves root dist. Browser commands: `$env:PLAYWRIGHT_CHANNEL='msedge'; $env:PLAYWRIGHT_BASE_URL='http://127.0.0.1:4173'; npx playwright test`. Rebuild before testing. Worktrees under ignored .worktrees; clean checkout expansion-clean has clean-installed dependencies and detached final source.
+
+Physical printer/scanner/camera, Firefox/Safari and FieldLens receiver CSV ingestion unverified. One upright QR/Code128 per bounded PNG/JPEG; browser worker/OffscreenCanvas/IndexedDB support varies. Unique20k-label PDF memory/performance not fully benchmarked. Calibration reference paper minimum100×80mm; label export can use smaller sheets. Main JS889kB/314kB gzip warning retained; unsupported development ESLint and decoder maintenance are follow-ups. No credentials added.
+
+## Active files / exact next action
+
+Follow-up complete and published on feature-expansion; verified source38d21bd69603d3a0abb90fc2ac727496e07f1544. Cable2773dc0, interface d1d4344, data a1cd2a7/895f962 ->7bbb0e7 ->f7d55d9 ->54db38e; template status84748d3/225b635 ->38d21bd. All13 feature tips are ancestors; merges clean, worktrees clean, no source work outstanding. Final181/181 unit25 files,38/38 local Edge, type/lint/build pass. Five unchanged quota/retry repetitions pass. First full37/38 run exposed saved/loading status race, fixed in source without changing original tests. New Pattern selector correction only affected the new regression. Review findings closed; audit0/292 dependency graph, secret-pattern scan0, no tracked artifacts/secrets. Main and origin/main both345071383d7029423e805efb799204e6852f69f7 after fetch. Initial GitHub publicationb9f0cc1 succeeded; final closure docs pushed afterward and verified by Git. Current/final exact branch SHA is available from git rev-parse feature-expansion origin/feature-expansion (self-referential documentation cannot contain its own commit hash). Exact next action for a replacement session: review the published GitHub branch/report and await a new owner request; implementation and publication are complete. Do not create PR, merge main or deploy without new instructions. Local server82511 still serves final built app at127.0.0.1:4173. Hardware/cross-browser limits retained.
+
+Previous checkpoint04d115e verified source4388d76 and all12 original expansion features. The completed testing follow-up and latest push authorization above supersede its former local-only Git boundary. Main merge and production deployment still require a new instruction.
diff --git a/docs/implementation/expansion-progress.md b/docs/implementation/expansion-progress.md
new file mode 100644
index 0000000..4374979
--- /dev/null
+++ b/docs/implementation/expansion-progress.md
@@ -0,0 +1,110 @@
+# Feature expansion checklist
+
+## Browser tab icon
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Use the header’s tilted hang-tag in browser tabs | update-tab-icon | Complete | index.html, public favicon assets, branding renderer, branding guide and browser tests | cd45307 | Integrated into feature-expansion after 924b805. All 201 unit tests and both production Edge branding tests passed. The tests check the SVG colors and transparency, fallback PNGs and ICO frames. |
+
+## Local browser verification
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Fit the actual footer font and isolate local browser runs | stabilize-local-browser-checks | Complete | SiteFooter.tsx, workspace-shell.css, footer-text.spec.ts, Playwright configuration, local production server and deployment guide | Merged locally at d9e0ece | All 201 unit tests, type checking, lint and production build passed. Two fresh local Edge sessions passed 40/40 and 39/39 browser tests without retries. Both tested fonts fit at 240px, 256px and 320px. |
+
+## Pull request browser regressions
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Repair the four Chromium failures from PR #1 | repair-browser-regressions | Complete locally | App.tsx, studio UI and CSS, four Playwright specs | 0e59dac, 9631c08, 787cd52, e38e92d | The original CI run passed 74/78. All four reported cases and the added enlarged-hint regression passed together against the rebuilt app. The hosted result is available in the [PR checks](https://github.com/private-dev-ph/AssetTagStudio/pull/1/checks). |
+
+## Feature showcase recordings
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Record every tool and matched desktop/mobile walkthroughs | record-feature-showcase | Complete | scripts/showcase, scripts/record-showcase.mjs, docs/media, README and portfolio-showcase.json | df9da90, b4b9bd8 | Merged locally at 9339d98. All 19 APNGs and both MP4s decoded. All 201 unit cases, build and portfolio contract passed. Production Edge passed 76/78 together and both remaining cases on an isolated rerun. |
+
+## Coarse Matrix branding
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Adopt the Coarse Matrix artwork and hang-tag header | adopt-coarse-matrix-brand | Complete | public/branding, app header, metadata, README, portfolio-showcase.json and docs/media | d06baef, 374141e | Merged locally at b92a518. Eight ZIP masters, both themes, five screenshots, six-frame GIF and portfolio loader verified. All 182 unit cases passed. Final production Edge run passed 77/78 together and the remaining serial test passed alone after Edge closed during context creation. |
+
+## Help message placement
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Place page and contextual help beside the trigger | position-help-beside-controls | Complete | ui.tsx and help-overlays.spec.ts | 43ee20a | Merged locally at d14b1bf. Edge measured an 8px gap on both sides at 320px and the right side at 1280px. All 76 production browser tests passed. |
+
+## Mobile dock alignment
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Preserve the selected dock badge during repeated presses | fix-dock-press-state | Complete | navigation.css, dock-indicator.spec.ts | 8becdde | Merged at 6b2ca3a. Pixel comparison failed on the previous build during mouse-down. All 13 focused navigation tests passed with the patch. Touch checks covered both themes and motion settings. |
+| Fit the crest to the tray, lift the icon and keep the dock above page transitions | align-mobile-dock | Complete | FloatingToolDock, navigation.css, workspace-shell.css, navigation controls and browser tests | 8c1ef6c | Merged at 5e3478f. All five positions checked at 320, 393 and 844px. Open and collapsed controls retained identical icon pixels halfway through a page fade. |
+| Center the upload button and wrap the footer by sentence | align-mobile-dock | Complete | FilePicker.css, App.tsx, styles.css, workspace-shell.css and browser tests | 42f6398, 10dd468 | Merged at 5e3478f. Mobile and desktop picker hit targets passed. The narrow-footer regression caught legacy span padding. Removing it allowed whole sentences to fit at 184px and 200px of content width. |
+
+Integrated verification passed 182 unit tests and 74 production browser tests. Type checking, lint and the production build passed. The phone preview serves the merged application.
+
+## Collapsible mobile dock
+
+| Feature | Branch | Status | Files | Checkpoint | Tests and integration |
+|---|---|---|---|---|---|
+| Scroll reveal, dismissal and elastic dock indicator | collapsible-tool-dock | Complete | FloatingToolDock, ToolNavigation, navigation.css and browser tests | 32f8f42 | Actual browser animation sampled during a long jump. Circle and icon settled within 1px at 320, 390, 844 and 1024px. Merged at f1b4445. |
+| Scoped routes and saved-tool navigation | favorite-workspace | Complete | App, workspace routing, FavoritesPage and adjacent tests | fc28c4c | 182 unit tests and five focused Favorites browser cases passed. Merged at df57876 after the dock branch. |
+| Centered icon, exclusive open tray and compact footer | center-mobile-navigation | Complete | FloatingToolDock, navigation.css, workspace-shell.css and browser tests | 953f847 | Merged at b8bc382. Touch walkthrough passed at four sizes. All 67 production Edge tests passed on the integrated tree, including the 20,000-row workflow. Type checking, lint and build passed. Physical mobile devices remain unverified. |
+
+## Favorites and workspace interactions
+
+| Feature | Branch | Status | Scope | Checkpoint | Verification and integration |
+|---|---|---|---|---|---|
+| Favorites, navigation highlights, page transitions and footer | favorite-tools | Complete | Routing, preferences, page shell, desktop and mobile navigation | 56d7ee5 | Five Favorites/route and four highlight tests passed. All 13 headers, reload and the desktop shortcut limit were also checked. Merged into feature-expansion at f093afa. |
+| Floating help | floating-help | Complete | Shared help triggers and panels | 42604a1 | Six overlay tests and the 14-route keyboard check passed. Integrated at fbfe567, then f093afa. |
+| File picker controls | file-picker-controls | Complete | Spreadsheet, template, printer and image imports | e1713d5 | Three picker tests plus existing import failure and recovery tests passed. Integrated at 6f5a09c, then f093afa. |
+
+Local integration verification passed all 181 unit tests and all 59 production Edge tests, the production build, type checking and lint. Mobile checks used local emulation. The live site and GitHub branch were outside this update.
+
+## Mobile tool dock and motion, November 30
+
+| Feature | Branch | Status | Files | Latest checkpoint | Verification | Integration |
+|---|---|---|---|---|---|---|
+| Group dock, remembered tools, animated buttons and hints | mobile-tool-dock | Complete | ToolNavigation.tsx, navigation.css, ui.tsx, hints.css, App.tsx, usability.spec.ts | 2b56185 | 181 unit and 41 production Edge tests passed. Lint, types and build passed. Taps, hint reversal, press feedback, dark mode and reduced motion checked locally. | Feature tip 7e00951 merged locally into feature-expansion at 3eeaa61. No outstanding dependencies. |
+
+## Navigation and help update, November 30
+
+| Feature | Branch | Status | Files | Verification | Integration |
+|---|---|---|---|---|---|
+| Tool icons, responsive navigation, optional help, motion and footer | refine-tool-navigation | Complete | App.tsx, studio navigation and page components, usability.spec.ts | 181 unit tests, 40 Edge tests, type checking, lint and build passed. Final empty-state fix passed the all-route keyboard and mobile/footer checks. | UI 3b5367f and fix 36d3b42 merged locally into feature-expansion at 85dfe5c |
+
+All twelve requested features and user testing follow-up implemented, locally verified and published on origin/feature-expansion. Starting/current main:345071383d7029423e805efb799204e6852f69f7. Latest verified source:38d21bd69603d3a0abb90fc2ac727496e07f1544; publication checkpointb9f0cc18cad7090a7731fee0adba4e0c394d7468, followed by final closure documentation. Owner explicitly authorized branch publication after testing. No main merge, production deployment or hosted tests initiated. Updated2026-10-05. Attached plan is specification; repository operations follow the user's request.
+
+| Milestone / feature | Feature branch | Status | Related files | Latest relevant commit | Tests completed | Dependencies / unresolved issues | Merge status |
+|---|---|---|---|---|---|---|---|
+| Shared foundation | expansion-foundation | Complete | core, studio, types | 3feddae | Full unit/type/lint | Shared contracts documented | f8281ce |
+| Asset ID Generator | asset-data-tools | Complete | id-generator, DataToolsPage | e8f3afa | Unit and browser collision/blank-only/apply/undo | Selected preview cap5,000 | e57f9f3 via workspace0c741a1 |
+| Data Health | asset-data-tools | Complete | data-health, import audit, DataToolsPage | e8f3afa / 41fbc16 | 20k duplicate regression; browser remap/trim/undo | Empty source rows counted but discarded; duplicate headers reject at import | e57f9f3 |
+| Template library / JSON portability | template-library; bound-settings-library-reads | Complete | templates, storage, TemplatesPage | 8199064 / ee9882c / fc7246c | Unit + browser CRUD/mapping/privacy/capacity/corruption/quota/retry | Settings-only100 items; blocked upgrades not manually exercised | 15d9313 / e57f9f3 |
+| QR Payload Builder | expansion-workspace | Complete | payload, model, PayloadPage | 9a8fad5 / 41fbc16 | Unit + browser URL encoding/missing fields/density | Code payload cap2,000 chars | e57f9f3 |
+| Location Labels | print-identity-packages | Complete | specialized-labels, renderer | 74de40d | Unit and mapped local PDF browser pass | Physical readability unverified | e57f9f3 |
+| Cable Labels | print-identity-packages | Complete | specialized-labels, renderer | 68285e9 | Mirrored panel geometry/QR/Code128/no-code unit; browser PDF | Physical wraps unverified | e57f9f3 |
+| Printer Calibration | print-identity-packages | Complete | calibration, layout/PDF | 74de40d | Bounds/reference PDF, signed offsets and clipping | Physical printer unverified; reference sheets100×80mm minimum | e57f9f3 |
+| Code Inspector | code-inspector; code-inspector-hardening | Complete | inspector, worker, camera page | 6c909a6 | 12 focused unit; real QR/Code128 worker, PNG failures/recovery, camera denial/late cleanup | Physical camera and diverse browsers unverified | 3114c62 / e57f9f3 |
+| Serial Tools | asset-data-tools; serial-worker-startup | Complete | serial-tools, regex worker, DataToolsPage | c1f4dbc | 8 focused unit; normalization/pattern browser repeated5/5 and full suite | Preview cap2,000; startup5s/execution100ms | e57f9f3 / 4388d76 |
+| Asset Manifest | print-identity-packages | Complete | printJob, manifest, PDF | 74de40d / 9e0b6d2 | Frozen snapshot + actual PDF draw/manifest coordinates unit; parsed CSV/JSON/browser PDF | Unique20k PDF performance not benchmarked | e57f9f3 |
+| FieldLens Export | print-identity-packages | Complete | integrations/fieldlens, export page | 74de40d | PDF/CSV ID equality/QR decode and formula rejection | Receiver-side CSV ingestion unverified | e57f9f3 |
+| Printer Profiles | print-identity-packages; bound-settings-library-reads | Complete | profiles, calibration page, storage | 68285e9 / fc7246c | Strict schema, persistence/reset and overflow single-store recovery browser | Browser storage availability varies | e57f9f3 |
+| Subpages / shared undo | expansion-workspace | Complete | App, navigation, styles, workspace | 9a8fad5 / 41fbc16 | Shared undo; desktop/mobile390px no overflow/page errors | Hardware/browser follow-up only | e57f9f3 |
+| Local regressions | expansion-regressions; workspace | Complete | tests/e2e/expansion*.spec.ts | 79926c6 / fc7246c / 63808b9 | Final33/33 Edge, including16 unchanged original +17 expansion tests | No failed/suppressed tests | e57f9f3 / 4388d76 |
+| Final verification / security / docs | feature-expansion | Complete | report, security, handoff, README | 4388d76 | Final175/175 unit (24 files), type/lint/build;33/33 Edge; audit0; secret0; all10 branch tips ancestors | Clean-installed final build passes; final documentation committed at checkpoint completion | All source integrated |
+
+Resolved failures are retained in the report/security history: duplicated selection status, Health accessible name, inaccurate density/CSV/mapping fixtures, synchronous quota exception propagation and worker startup timing. No test removed, suppressed or weakened. Vite large-bundle and unsupported development ESLint warnings retained as follow-up. Hardware, cross-browser and receiver ingestion gaps are explicitly documented; they do not represent omitted exporter/tool implementation.
+
+## User testing follow-up — 2026-10-05
+
+| Milestone / feature | Feature branch | Status | Related files | Latest relevant commit | Tests completed | Dependencies / unresolved issues | Merge status |
+|---|---|---|---|---|---|---|---|
+| Readable text-only cable wraps, Health tables, themed scrollbars and privacy/footer | polish-workspace-interface | Complete | renderer, SpecialLabelsPage, styles, App | 2773dc0 / d1d4344 /f7d55d9 | Renderer10/10; five new Edge regressions pass (four combined + corrected ID selector rerun); full181 unit/type/lint/build pass | Independent review findings closed; hardware/cross-browser gap retained |54db38e into feature-expansion |
+| ID eligibility guidance and bounded serial batches | improve-data-tool-batches | Complete | DataToolsPage, selection helper/tests | a1cd2a7 /895f962 | Root verified18/18 focused and181 full unit; real20k batch boundary/apply/undo and two IDbatches Edge pass | Explicit overwrite and same-Apply batch/sequence continuity verified |7bbb0e7 then54db38e |
+| Follow-up integrated verification | feature-expansion | Complete | browser tests, implementation docs |38d21bd | Final181/181 unit (25 files),38/38 local Edge, type/lint/build pass; audit0; secret patterns0; all13 feature tips integrated | Main unchanged; physical/cross-browser gap retained; only documentation changes after tested source | Final source integrated |
+| Template refresh status | stabilize-template-status | Complete | TemplatesPage |84748d3 /225b635 | Unchanged quota failure/retry5/5 and final full38/38; type/lint/build pass | Success status waits for refresh; errors/recovery retained; no test changed |38d21bd |
+| Publish requested branch | feature-expansion | Complete | Git remote branch and final documentation | Publicationb9f0cc1; closure docs follow | Initial push succeeded and local/origin tips matched; upstream configured; final closure push verified separately | CI push triggers only main/web-deployment; no PR/main merge | origin/feature-expansion |
diff --git a/docs/implementation/expansion-quickstart.md b/docs/implementation/expansion-quickstart.md
new file mode 100644
index 0000000..9c0d12c
--- /dev/null
+++ b/docs/implementation/expansion-quickstart.md
@@ -0,0 +1,25 @@
+# Local expansion walkthrough
+
+Run `npm ci --ignore-scripts` and `npm run dev` on `feature-expansion`; open the printed localhost URL. The deployed site still serves main.
+
+1. Import a CSV/Excel file in Asset Labels. Selection is shared by every tool; an empty selection prints nothing. Use the existing [stress-fixture generator](../test-data/README.md) for 100–20,000 rows.
+2. In Data Health, map identifier/name/serial columns, review findings, preview a safe fix, then Apply. Header fixes update printed-field and payload references together. Undo restores the whole preceding dataset/settings/selection snapshot.
+3. In Asset ID Generator, choose the target column, selected or blank-only rows, pattern and padding. Preview collisions before Apply. Overwriting existing identifiers requires explicit confirmation. Serial Tools likewise previews normalization, extraction, validation or duplicate removal before Apply.
+4. In Templates, choose a preset or import a `.assettag.json` document. Map every missing column before Apply. Save/rename/duplicate/export/delete settings locally. Importing another dataset clears inventory and undo, but saved settings remain.
+5. In Payload Builder, choose raw text, HTTP URL, FieldLens or structured text. Insert columns, inspect the resolved value and density, validate selected rows, then Apply. Payloads never open links.
+6. For cables, import [cable-labels.csv](../../public/examples/cable-labels.csv), open Cable Labels and map source/target/port. Choose mirrored or standard text and optional QR/Code128, check previews, Apply, then Create PDF. Increase dimensions if the renderer reports that text/codes cannot fit.
+7. For locations, import [location-labels.csv](../../public/examples/location-labels.csv), map any hierarchy fields you need, and inspect the batch preview. Parent fields are optional. Select text-only or QR, Apply, then Create PDF. QR / Barcode is a separate general-purpose label page.
+8. Printer Calibration downloads a measurable sheet. Print at 100% / Actual Size and enter signed corrections: positive X moves right, positive Y moves down. Save a named profile; changing offsets does not silently replace its saved values. Update the active profile explicitly. Calibration reference sheets require paper at least 100 × 80 mm; label export supports smaller sheets separately.
+9. Code Inspector accepts PNG/JPEG, current label, pasted content or an explicitly started camera frame. It reports QR/Code128 content, URI validity and duplicates without navigation. Stop camera or leave the page to release it.
+10. After a successful PDF, Print Manifest exports JSON/CSV for that frozen job even after later row edits. JSON preserves exact strings; CSV neutralizes spreadsheet formula prefixes. A new file/sheet clears the old snapshot.
+11. FieldLens Export maps asset_id/name/asset_type/serial/location and creates matching PDF/CSV IDs. Identifiers follow the current mobile URI receiver rules; formula-leading IDs are rejected. Receiver-side CSV ingestion has not been verified.
+
+Limits: ID preview5,000 selected rows; serial preview2,000; visible transformation preview200; rendered batch preview36; imports20,000 rows/100columns/10MiB; code payload2,000 characters; undo8entries/24MiB; each local library100items. Image inspection10MiB/8MP with a five-second decode worker deadline. Worker timeouts and export cancellation surface recoverable errors. Physical printer/scanner/camera validation remains a hardware follow-up.
+
+Corrupt settings libraries offer an explicit reset for that library only. Storage failures report an error; inventory is never automatically written into these libraries. Browser settings documents can contain literal user-authored text/payloads, so treat exported templates as your own local files.
+
+## Test generated identifiers
+
+Import [id-generator.csv](../../public/examples/id-generator.csv) in Asset Labels. It contains three assets with blank Asset ID cells. Open Asset ID Generator, choose **Asset ID**, enter pattern `TEST-{sequence}`, start `1`, padding `3`, and leave **Generate for blank IDs only** checked. Preview should produce `TEST-001`, `TEST-002` and `TEST-003` with no collisions. Apply, return to Asset Labels to inspect them, then Undo to restore the blanks.
+
+If a populated target column produces zero IDs, the safe default is protecting those existing values. Choose a blank target column or explicitly enable **Allow overwriting existing IDs** to replace them. Typing pattern fields alone does not change records; Preview and Apply are separate actions. A generated value that already exists is reported as a collision and cannot be applied.
diff --git a/docs/implementation/expansion-report.md b/docs/implementation/expansion-report.md
new file mode 100644
index 0000000..02b282e
--- /dev/null
+++ b/docs/implementation/expansion-report.md
@@ -0,0 +1,90 @@
+# Feature expansion implementation report
+
+Date:2026-10-05. Scope: all twelve requested features plus user testing improvements. All verification local; owner subsequently requested pushing feature-expansion to GitHub.
+
+## Repository state
+
+- Original and unchanged main: `345071383d7029423e805efb799204e6852f69f7`.
+- Latest verified source checkpoint: `38d21bd69603d3a0abb90fc2ac727496e07f1544` on `feature-expansion`. Documentation commits follow this verified source; resolve the exact final tip with `git rev-parse feature-expansion`.
+- Main/live site unchanged; no production deployment or hosted/CI test initiated. Branch published to origin/feature-expansion with upstream configured, starting at publication checkpointb9f0cc18cad7090a7731fee0adba4e0c394d7468; final closure documentation follows. Git confirms final local/remote tips match and working tree clean. No PR/main merge performed.
+- All13 feature-branch tips verified ancestors of feature-expansion. No required work stranded on an abandoned branch.
+
+## Branches
+
+| Branch | Purpose | Integration |
+|---|---|---|
+| expansion-foundation | Shared payload/data/history contracts | f8281ce |
+| code-inspector | Local QR/Code128 worker and camera lifecycle | 3114c62 |
+| template-library | Strict portable templates and IndexedDB library | 15d9313 |
+| asset-data-tools | IDs, data health and serial transformations | Workspace 0c741a1; integration e57f9f3 |
+| print-identity-packages | Label variants, calibration, profiles, immutable jobs and exchange exports | Workspace a06df3c / 0cd6049 / 70eb334; integration e57f9f3 |
+| expansion-workspace | Root subpages, atomic undo, payload builder, successful job publication | e57f9f3 |
+| expansion-regressions | Browser workflows, privacy and storage negatives | Workspace merges; integration e57f9f3 |
+| code-inspector-hardening | Deadline/cancellation across native image preprocessing | Workspace 2bca242; integration e57f9f3 |
+| serial-worker-startup | Separate bounded native startup and strict regex execution deadlines | 4388d76 |
+| bound-settings-library-reads | Bounded storage reads, overflow recovery and quota failure propagation | Workspace fa5fddf / 32565ea; integration e57f9f3 |
+
+## Implemented features
+
+| Feature | Result and principal modules |
+|---|---|
+| Asset ID Generator | Selected/blank-only sequences, padding, prefix/suffix, column/date/year tokens, collision preview, explicit overwrite and atomic undo. `src/features/id-generator`, `src/studio/pages/DataToolsPage.tsx`. |
+| Data Health | Identifier/serial/name, header, whitespace, case, empty-column, long-value and payload checks; preview/apply fixes with atomic reference remapping. Linear bounded duplicate reporting. `src/features/data-health`, import audit and shared workspace. |
+| Template Save / Import / Export | Six presets, named local CRUD/duplication/rename, explicit field mapping, strict versioned settings-only JSON and single-store recovery. `src/features/templates`, `src/features/storage`, `TemplatesPage.tsx`. |
+| QR Payload Builder | Column insertion, raw/text/HTTP/FieldLens/structured presets, resolved preview and cancellable selected-row validation including density. Shared resolver is authoritative for rendering. `src/core/payload.ts`, `src/features/payload-builder`, `PayloadPage.tsx`. |
+| Location Labels | Seven optional hierarchy fields, readable high-contrast parent details, optional QR and batch preview/PDF through the common renderer. `src/features/specialized-labels`, labels/layout/export. |
+| Cable Labels | Endpoint/port mapping, adjustable narrow dimensions, mirrored half-width panels and optional QR/Code128. Text-only presets ignore unused barcode settings. Same physical label count in PDF/manifest. Shared specialized page/renderer. |
+| Printer Calibration | Signed offsets shared by preview/PDF/manifest, clipping rejection and vector reference sheet with crosshairs/rulers/box/instructions. `src/features/calibration`, `src/features/layout`. |
+| Code Inspector | Uploaded/current PNG/JPEG, pasted content and explicit camera frame; actual QR/Code128 decode, scheme/validity/duplicates and escaped text. Preprocessing and decoding share one timed terminable worker; camera cleanup handles late permission grants. `src/features/code-inspector`, `InspectorPage.tsx`. |
+| Serial Tools | Preview/apply normalization, extraction, length/prefix/case/pattern validation and duplicate removal. Custom patterns run in a bounded terminable worker. Stable row identities preserved. `src/features/serial-tools`, `DataToolsPage.tsx`. |
+| Asset Manifest Generator | JSON/CSV of the last successful immutable job, including exact IDs/payload/order/page/row/column/mm coordinates. Actual PDF draw coordinates independently checked against manifest. `src/core/printJob.ts`, `src/features/manifest`, PDF export. |
+| FieldLens Export | Mapped PDF/CSV package with identical asset IDs and receiver-compatible raw `fieldlens://asset/ID` QR values. Unsafe/formula-leading IDs rejected to preserve identity. `src/features/integrations/fieldlens`, `ExportToolsPage.tsx`. |
+| Printer Profiles | Named settings-only create/update/rename/select/delete/import/export/reset, signed offsets, bounded strict documents, persistence and confirmed single-store recovery on load failure. `src/features/calibration/profiles.ts`, shared storage and calibration page. |
+
+App owns one in-memory dataset, selection, settings, eight-entry/24MiB undo and last successful print snapshot. Hash subpages group Create, Data, Design and Tools without a new routing framework. New template modes/code-none/page offsets are optional and preserve existing preferences and public generation APIs. All original browser regressions remain unchanged. Imported blank rows are still discarded with an audit count; exact duplicate headers still reject import.
+
+## Testing
+
+- Final integration: `npm test` — **175 passed, 24 files, zero failed**.
+- `npm run typecheck`, `npm run lint`, `npm run build` — pass. Vite large-main-chunk warning retained: approximately888kB minified /314kB gzip; worker bundles remain local.
+- Local Edge browser command: `$env:PLAYWRIGHT_CHANNEL='msedge'; $env:PLAYWRIGHT_BASE_URL='http://127.0.0.1:4173'; npx playwright test`. **33 passed, zero failed** (16 unchanged original regressions plus17 expansion tests).
+- Clean isolated install: `npm ci --ignore-scripts` installed242 packages with0 reported vulnerabilities; complete173 unit/type/build checks passed there. Final-source clean build and type compilation pass with identical bundle outputs.
+- Actual QR/Code128 worker decoding, PNG rejection/recovery, camera denial/late-track cleanup, unsafe pasted content, data transactions/undo, template/privacy/capacity/recovery, PDF/CSV/JSON identity and signed coordinates, profile persistence and20,000 repeated-label export covered locally.
+- Desktop/mobile visual QA of Cable/Templates/Inspector: no document overflow at390px and no page errors. Physical hardware trials were not performed.
+
+Failures were investigated and retained as regressions: duplicate status text caused an old selector ambiguity; accessible Health naming was corrected; density/CSV/preset-mapping fixtures were corrected without weakening assertions. The quota negative exposed a real callback-error bug, fixed in fc7246c; focused failure/no-partial-save/successful-retry case passes. Initial browser totals29/30 and32/33 precede these fixes. A later serial-pattern timeout counted worker startup in the execution budget; fixed c1f4dbc with a ready handshake,5s startup and100ms execution limits. Eight focused unit checks and five repeated unchanged browser workflows pass. No test was removed or suppressed.
+
+## Security
+
+Dedicated integrated root and independent read-only review; all concrete findings remediated. Bounded image preprocessing/cancellation, text-only preset validation, settings overflow recovery, transactional quota errors, linear duplicate counts, mirrored geometry and export aborts fixed. No critical/high unresolved finding identified. See expansion-security-review.md for severity, disposition and fix commits.
+
+`npm audit --audit-level=moderate --json`: **0 vulnerabilities** across292 lock-graph dependencies. Secret-pattern scan:0 matching files. No tracked secrets/environment files, generated build output, test output, dependency directories or worktrees. Same-origin CSP retained; camera permission restricted to self and requires explicit acquisition. No server/authentication/database service added. Audit results do not prove absence of unknown defects or fully assess externally distributed dependencies.
+
+## Known limitations and follow-up
+
+- Physical printer/scanner/camera and Firefox/Safari remain unverified. Print at100%/Actual Size and measure hardware output before operational use.
+- FieldLens receiver URI contract was inspected; receiver-side CSV ingestion is not verified. Export is an identity exchange package.
+- One upright QR/Code128 per PNG/JPEG; image10MiB/8MP and worker5s. Other symbologies/formats unsupported; worker/OffscreenCanvas/IndexedDB availability depends on browser.
+- Import20,000rows/100columns/10MiB; ID preview5,000selected rows; serial preview2,000; visible preview200; rendered batch36; libraries100items; undo8entries/24MiB. Unique20k-label PDF memory/performance varies by device; only repeated-label boundary export was browser-verified.
+- Calibration reference sheets require paper at least100×80mm; smaller label sheets can still export labels independently.
+- Follow-up outside this expansion: bundle splitting, supported development ESLint migration, decoder maintenance monitoring, physical/cross-browser benchmarks, offline/PWA installation, direct browser printing, local logos/images and additional code formats.
+
+**Implementation confidence: 93% / 100.** Automated integration evidence is strong; physical hardware, other browsers, receiver CSV ingestion and large unique-PDF performance remain unverified.
+
+## User testing follow-up
+
+Implemented cable text rendering fix (explicit black ink, opposite-facing panels, responsive previews), horizontal tool headers (checkbox width restricted to asset selection; Health severity has its own minimum), ID eligibility/zero-result explanation, explicit overwrite protection, serial and ID batch start/count/Previous/Next controls, truthful local-data footer, themed light/dark scrollbars with forced-colour fallback, and GitHub/portfolio/Apache links. Added public/examples/id-generator.csv with three blank IDs and a walkthrough producing TEST-001..003. Templates now defer success announcements until library refresh completes.
+
+| Branch | Purpose | Integration |
+|---|---|---|
+| improve-data-tool-batches | Stable selected-row batches, protected IDs, guarded Apply continuation |895f962 ->7bbb0e7 ->54db38e |
+| polish-workspace-interface | Cable ink, all-table header checks, responsive previews, theme/footer, browser regressions |f7d55d9 ->54db38e |
+| stabilize-template-status | Prevent concurrent saved/loading announcements discovered by full-suite quota test |84748d3 /225b635 ->38d21bd |
+
+Architecture: shared renderer/host-owned dataset unchanged; no new dependency/schema/backend. Tool batches never alter global selection; Apply touches only explicit preview rows. ID sequence advances after successful Apply; position retained and Next remains explicit. External dataset/selection changes invalidate results/reset position; dedup resets shifted positions. All record/schema/worker/storage limits and undo compatibility preserved. Inventory still in memory; saved settings stay local. Privacy copy makes no false no-storage claim.
+
+Final source38d21bd verification: `npm test`181/181 across25 files; `npm run typecheck`, `npm run lint`, `npm run build` pass. Full local Edge38/38 (16 original +17 expansion +5 follow-up). Five quota/retry repetitions pass. New tests inspect interior cable text pixels and decode mirrored QR, all four tool-table headers at1280/650/390px, footer/license/theme/forced-colour behavior, protected populated IDs and two generated batches with undo, and a20k serial selection that changes only2001..4000 while neighbouring rows remain untouched and Undo restores them. Bounds negative tests include over-cap, zero, fractional, NaN, Infinity and noncontiguous selections.
+
+Failures retained: new Pattern exact selector included token help, corrected only in the new test; first full37/38 exposed existing saved/loading status race, fixed in source without weakening the quota test. Final suite has zero failed/suppressed tests. Dedicated review findings closed; audit0 across292 graph dependencies, secret scan0, no tracked artifacts. Final JS894.36kB/315.70kB gzip; existing Vite warning retained. No physical wrap/printer or Firefox/Safari validation; visible transformation tables remain bounded to first200 results (use Preview count200 or less to inspect a whole batch). Larger processed serial previews remain capped2000; IDs5000.
+
+Follow-up outside required work: bundle splitting, physical/cross-browser validation, receiver ingestion and unique20k PDF benchmarking, supported ESLint migration. No production merge/deployment performed. **Implementation confidence:94% /100** for this follow-up; browser automation and real canvas/batch checks are strong, with hardware and other browser engines still unverified.
diff --git a/docs/implementation/expansion-security-review.md b/docs/implementation/expansion-security-review.md
new file mode 100644
index 0000000..5010e3f
--- /dev/null
+++ b/docs/implementation/expansion-security-review.md
@@ -0,0 +1,92 @@
+# Expansion security review
+
+## Sample-data showcase recordings
+
+The recording tools run against a loopback address and create a fresh browser context per clip. Inputs come from the checked-in examples and the synthetic sample generator. Intermediate frames, browser downloads and the local portfolio reference checkout stay outside the tracked media. The selected assets contain rendered application views and synthetic inventory. The media and scripts are outside the production build. No runtime dependencies or hosting settings changed. The portfolio verifier exercised local schema and loader code without publishing the assets.
+
+## Coarse Matrix artwork
+
+Eight published masters matched entries in the supplied ZIP, allowing for SVG line endings. The web header and social card contain all five paths from the hang-tag and all thirteen lettering paths from the supplied wordmark. XML inspection of the published SVGs found only local fragment references for masks and gradients. The artwork loads from the app origin. The Code Inspector browser test records the page’s existing images before pasting untrusted text and verifies that their sources remain identical afterward. Its request, popup, page-error and literal-text checks also cover the pasted content. No dependencies or production security headers changed in this update.
+
+## Mobile layout and phone preview
+
+Reviewed the integrated changes at `5e3478f`. The dock decorations use static SVG paths. Page navigation and file selection continue through the existing handlers. The footer changes only the layout of existing text. Package manifests, the lockfile and production headers match the starting commit `cb2e06c`.
+
+For this phone test, Vite preview served the built `dist` on the Wi-Fi adapter at port 5185. The development server continued to use loopback. The PC returned the production entry point and hashed bundle over Wi-Fi, and a second LAN device established a connection. The session used the existing Windows firewall rules. The test origin uses HTTP, so phone browsers require HTTPS for camera capture.
+
+## Dock and Favorites workspace
+
+The Favorites router matches tool names against the existing navigation registry. A stale saved route returns to the hub. Keyboard, pointer and scroll listeners live in the narrow-screen component and are removed when their state changes or the component unmounts. The update adds no network endpoint, dependency, credential, or persisted inventory field.
+
+| Severity | Area and finding | Disposition and remaining risk |
+|---|---|---|
+| High | Windows development server. Vite 7.3.6 is affected by [GHSA-587h-7wmj-h5pm](https://github.com/advisories/GHSA-587h-7wmj-h5pm). | Pre-existing development dependency. The local preview binds to loopback and the deployed site serves static files. The affected development functionality remains installed. A separate toolchain update should move to a patched release and rerun the audit. |
+| Moderate | The full npm audit reports nine additional affected development dependency entries. | The UI update preserves the lockfile. Review the dependency tree during the toolchain update. |
+
+`npm audit --omit=dev` reported zero runtime dependency findings. The full audit reported one high and nine moderate entries.
+
+## Favorites, overlays and file controls
+
+Favorites writes one boolean flag per known tool to browser storage. Imported values, filenames and external URLs are outside that schema. Route snapshots live in the browser compositor. Help text stays in React children, including diagnostic messages rendered into the overlay. The shared picker and drop handlers pass a browser File to each existing local importer, preserving the spreadsheet, JSON and image validation boundaries. The update adds no runtime dependencies or outgoing requests.
+
+Independent source review and the integrated production security tests found no actionable security regressions. Automated cases covered file bounds, malformed workbook and image recovery, inventory privacy, security headers, and camera cleanup across navigation.
+
+## Mobile navigation and hints, November 30
+
+Reviewed the dock and disclosure changes from `c248be7`. Every dock destination comes from the existing typed tool directory. The four remembered destinations exist in component memory until reload. Help text and diagnostic messages use React children, and closed panels become inert as soon as the user closes them. This patch introduces no network calls, storage writes or runtime dependencies. No security findings were identified in the changed code.
+
+Scope: integrated twelve-feature expansion on local feature-expansion; final source reviewed on expansion-workspace. Main/live deployment unchanged. Review date2026-10-05. Root architecture review plus independent Luna High read-only review. No credentials or production data added.
+
+| Severity | Area / finding | Disposition / fix | Fix commit | Remaining risk |
+|---|---|---|---|---|
+| Medium | Data Health duplicate grouping copied arrays repeatedly, allowing quadratic work at20k rows | Fixed with linear counts and bounded sampled row IDs;20k duplicate regression | e8f3afa | Whole imported dataset remains memory-resident within import caps |
+| Medium | Inspector image preprocessing ran before decoder deadline and could continue after Cancel | File read/bitmap/OffscreenCanvas/symbol decoding moved inside one terminable5sworker; decoded dimensions rechecked, bitmap closed on readback failures | 6c909a6 | Native browser codec behavior and worker support depend on browser; camera capture is a bounded local UI-thread frame copy |
+| Medium | Synchronous IndexedDB callback write failure lost its original quota error | Capture nested get/put exceptions, abort the transaction and map the original error; regression asserts no partial save and a successful retry | fc7246c | Browser storage can still become unavailable; failures remain visible and recoverable |
+| Low | Valid serial patterns intermittently timed out during native worker startup | Separate5s startup/100ms execution deadlines with ready handshake, termination and ignored late messages;8focused unit/5 repeated browser checks pass | c1f4dbc | Browser timer scheduling varies, but no unbounded regex work runs on UI thread |
+| Low | Cable text-only preset incorrectly passed barcode-only numeric validation | Validate barcode dimensions only for Code128; zero unused barcode dimensions regression | 68285e9 | Physical legibility still needs real printing/scanning |
+| Medium | Settings list used unbounded getAll before checking100-entry cap; overfilled printer store lacked recovery | Bound materialization to101entries and reject overflow; any initial profile-load failure exposes confirmed printers-only reset; browser negative covers retained templates | 743d55b / 68285e9 | Local compromised browser/storage can still corrupt individual entries; reset intentionally deletes saved profiles after confirmation |
+| Medium | Initial print review found overlapping mirrored code/text regions and stale profile hydration | Independent half-width mirrored panels and one-shot hydration; manual changes persist until explicit update | 74de40d | Paper feed/scaling/driver behavior unverified |
+| Low | FieldLens export could finish after navigation/cancellation | Abort on unmount, guards before both downloads, frozen job published only on success | 74de40d | Browser handling of multiple downloads requires normal user/browser permission |
+| Low | Empty location hierarchy segments accepted | Reject double-slash/trailing empty segments; negative regression | 41fbc16 | Text-mode legacy payloads remain intentionally unrestricted plain text |
+| Informational | Decoder dependency is in maintenance mode; development ESLint clean install emits unsupported-version warning | License texts bundled; audit0; retained existing lint major to avoid unrelated migration | f5904e0 (decoder) / baseline (lint) | Monitor maintenance/advisories; npm audit cannot prove absence of unknown defects or fully assess externally distributed packages |
+
+## Boundaries inspected
+
+Uploads: existing CSV/Excel worker byte/row/cell/archive limits preserved; PNG/JPEG10MiB/8MP header preflight before native bitmap,2048px decode canvas,5sworker deadline. No SVG images or remote decoder/CDN. Unsafe deserialization prevented through strict settings whitelists/version/numeric/cross-field bounds and unknown-property rejection. File reads use browser File/Blob APIs, no path access, extraction to disk or shell commands from data.
+
+Data/privacy: own-property reads and null-prototype clones preserve special headers; stable internal row IDs; preview/apply/undo atomic and bounded24MiB/8entries. Imported rows, transformation previews and last print job stay in memory. IndexedDB persists settings only,100entries/store/128KiB documents, transactional writes. User-authored literal payloads/text are settings and may appear in explicitly exported templates. Storage failures surface; per-store recovery requires explicit confirmation.
+
+Code/camera: content displayed as escaped React text, never href/HTML; mode-specific URI validation and component encoding. Camera requires explicit Start, secure origin, browser permission and audio=false. Late grants stop tracks; navigation/unmount/background/cancel releases streams/workers. Custom regex runs in terminable worker with separate5s startup and100ms execution deadlines with bounded preview/pattern/input rules and rejects known expensive constructs; no evaluation on UI thread.
+
+Exports: shared frozen PrintJob supplies PDF/manifest placements. Abort/failure does not replace successful snapshot. CSV cells quote/escape and neutralize formula prefixes; JSON keeps exact strings. FieldLens IDs reject formula-leading characters and receiver-incompatible escaping, so PDF codes and CSV IDs agree. No actual receiver CSV importer was verified. Print clipping and QR density are rejected rather than silently squeezed.
+
+Hosting boundary: no publishing. Existing same-origin CSP/security headers preserved; only camera Permissions-Policy changed to self. No account/auth/API/server endpoints introduced. Inspector/payload tools make no outbound content requests. Existing licensed dependencies reused; pinned local ZXing is the only new runtime dependency.
+
+## Final verification
+
+Final integration source4388d76: npm test175/175 across24 files; npm run typecheck/lint/build pass. Local Edge full33/33 (16 unchanged original +17 expansion) passes with no suppressed tests. Serial workflow repeated5/5 after startup fix; quota failure/no partial save/successful retry passes. Actual PNG failures/recovery and QR/Code128 decoding exercised through production worker.
+
+Clean isolated npmci --ignore-scripts installed242 packages/audit0, then173 unit/type/build checks passed before final startup fix. Clean final source4388d76 build/type compilation passes with identical bundle outputs. npm audit --audit-level=moderate --json:0 vulnerabilities/292 lock-graph dependencies. Secret scan0 matching files; tracked generated/dependency/environment/worktree artifacts0. Independent reviewer confirmed image preprocessing, no-code validation, library overflow/recovery, quota propagation and serial handshake fixes; no remaining actionable issue found. No critical/high unresolved finding identified.
+
+Initial failures and fixes remain recorded in handoff/report; final33-test run has zero failed. Vite large-bundle, development ESLint support and terminal color-environment warnings were observed and not suppressed. The first two are documented maintenance/performance follow-ups; the color warning has no application effect. Main/live unchanged; no publishing or remote tests.
+
+## User testing follow-up review — 2026-10-05
+
+Reviewed integrated follow-up source7bbb0e7: renderer uses explicit black text fill; the asset checkbox width is scoped and tool headers are horizontal; previews preserve aspect ratio and async cleanup; inventory remains in memory, saved settings remain local. Footer links are explicit navigation with noopener/noreferrer. License text remains served by the build. Scrollbar themes include a forced-colours native fallback. No dependency, storage schema, network API or credential was added.
+
+| Severity / area | Finding | Disposition / fix | Remaining risk |
+|---|---|---|---|
+| Medium / overwrite consent | Intermediate checkbox wiring could enable overwrite by unchecking blank-only | Fixed895f962: only explicit Allow overwriting grants permission; browser verifies populated rows remain protected | Existing overwrite remains an explicit user action |
+| Medium / ID batch integrity | Reusing001 after Apply would collide in the next batch and reset position | Fixed895f962: exact self-commit reference guards continuation, retains position and advances sequence; explicit Next/Preview/Apply; two-batch browser test verifies unique IDs and undo | Sequence maximum requires choosing another pattern/start; collisions still block Apply |
+| Low / table readability | Intermediate global90px first-column minimum widened unrelated tools | Removed in d1d4344; only Health severity has90px minimum; all headers nowrap | Long data values wrap inside bounded tables |
+| Medium / label readability | Text-only backgrounds left text fill white | Fixed2773dc0: drawFields uses black; actual mirrored interior pixels and optional QR checked in Edge | Physical paper/contrast remains unverified |
+
+Independent read-only reviewer rechecked895f962/d1d4344 and closed both table-sizing and batch-continuation findings, with no further actionable issue. Root verified focused18 tests and full181 unit/type/lint/build; five new Edge scenarios passed after correcting the new Pattern selector (its accessible label includes token help). Fresh npm audit --audit-level=moderate --json reports0 vulnerabilities across292 lock-graph dependencies. Final complete browser run and Git verification follow on feature-expansion. No critical/high unresolved security finding identified.
+
+The first complete follow-up browser run passed37/38 and exposed a transient duplicate status during template save/refresh. The unchanged quota test still confirmed zero partial entries after the failed write. The source fix hides success notices while loading or after a read failure, preserving error alerts and recovery controls. Five unchanged quota/retry repetitions pass; final complete rerun follows. No security boundary or saved settings behavior changes.
+
+Final integrated source38d21bd:181/181 unit25 files and38/38 local Edge, type/lint/build pass. Template status fix84748d3 is merged; no original test changed or suppressed. All13 feature tips are ancestors; main unchanged. Final diff inspected, secret-pattern scan0 and no tracked generated/dependency/environment/worktree artifacts. Same privacy/CSP/network/storage boundaries retained. No critical/high unresolved finding. Owner authorized branch publication after tests; GitHub workflow push filters do not include feature-expansion. No hosted tests or production deployment initiated.
+
+## Accepted validation limits
+
+No physical printer/scanner/camera trial; no Firefox/Safari run; no FieldLens receiver CSV ingestion test. Main JS bundle exceeds Vite500kB warning threshold; warning is retained. Decode supports one upright QR/Code128 in PNG/JPEG; other formats/symbologies unsupported. Browser workers/OffscreenCanvas/IndexedDB availability and storage restrictions can produce explicit failures. No critical/high unresolved finding identified in this review; final local verification passed.
diff --git a/docs/implementation/feature-expansion-plan.md b/docs/implementation/feature-expansion-plan.md
new file mode 100644
index 0000000..e59828c
--- /dev/null
+++ b/docs/implementation/feature-expansion-plan.md
@@ -0,0 +1,815 @@
+# AssetTag Studio — Feature Expansion Plan
+
+This document is a companion to the original **AssetTag Studio End-to-End Project Plan**. It focuses on features that expand AssetTag Studio from a label generator into a broader **physical asset identity toolkit**.
+
+> **Product direction:** Create, validate, encode, print, and exchange physical asset identifiers without requiring a backend.
+
+## 1. Expansion goals
+
+The expanded workflow should become:
+
+```text
+Messy asset data
+ ↓
+clean structured identities
+ ↓
+printable labels
+ ↓
+validated QR / barcode payloads
+ ↓
+portable manifests
+ ↓
+optional FieldLens integration
+```
+
+New features should remain browser-first, privacy-friendly, statically deployable, useful without accounts, compatible with CSV/XLSX, and modular enough to ship independently.
+
+## 2. Recommended roadmap
+
+### V1.5
+1. Asset ID Generator
+2. Data Health
+3. Template Save / Import / Export
+4. QR Payload Builder
+
+### V2
+1. Location Labels
+2. Cable Labels
+3. Printer Calibration
+4. Code Inspector
+
+### V2.5
+1. Serial Tools
+2. Asset Manifest Generator
+3. FieldLens Export
+4. Printer Profiles
+
+---
+
+## 3. Asset ID Generator
+
+### Purpose
+
+Create consistent identifiers before printing.
+
+Example pattern:
+
+```text
+{department}-{type}-{sequence}
+```
+
+Output:
+
+```text
+ENG-PC-001
+QA-PC-001
+PROD-PC-001
+```
+
+### Capabilities
+
+- static prefix and suffix
+- sequential numbering
+- configurable zero padding
+- source-column interpolation
+- date/year tokens
+- duplicate prevention
+- preview before applying
+- generate only for blank IDs
+- explicit confirmation before overwriting IDs
+
+Suggested tokens:
+
+```text
+{site}
+{department}
+{type}
+{year}
+{sequence}
+```
+
+### Acceptance criteria
+
+Users can define a reusable ID pattern, preview generated values, detect duplicates, generate IDs for selected rows, undo changes before export, and immediately use the new IDs in labels.
+
+---
+
+## 4. Data Health
+
+### Purpose
+
+Audit imported asset data before label generation.
+
+Example:
+
+```text
+Asset Data Health
+
+248 records
+
+✓ 241 valid
+
+Warnings
+────────────────────
+3 duplicate asset IDs
+2 missing serial numbers
+1 duplicate serial number
+1 empty asset name
+```
+
+### Checks
+
+- duplicate IDs
+- duplicate serials
+- blank identifiers
+- blank names
+- empty rows
+- empty columns
+- duplicate columns
+- leading/trailing whitespace
+- inconsistent casing
+- suspiciously long values
+- invalid QR payload source values
+
+### Safe fixes
+
+```text
+Trim whitespace
+Normalize header names
+Remove empty rows
+Remove empty columns
+Normalize casing
+Generate missing IDs
+```
+
+All fixes should be previewable and reversible.
+
+---
+
+## 5. Template Save / Import / Export
+
+### Purpose
+
+Allow reusable label layouts without requiring accounts.
+
+Example file:
+
+```text
+company-standard.assettag.json
+```
+
+Example structure:
+
+```json
+{
+ "version": 1,
+ "name": "Company Standard Asset Label",
+ "label": {
+ "widthMm": 60,
+ "heightMm": 30,
+ "paddingMm": 3
+ },
+ "code": {
+ "type": "qr",
+ "field": "asset_id"
+ },
+ "fields": [
+ {
+ "source": "name",
+ "fontSize": 12,
+ "weight": "bold"
+ },
+ {
+ "source": "asset_id",
+ "label": "Asset:"
+ }
+ ]
+}
+```
+
+### Capabilities
+
+- save locally
+- export JSON
+- import JSON
+- duplicate template
+- rename template
+- delete local template
+- built-in presets
+
+Built-in presets can include Standard Asset Tag, Small Equipment Tag, IT Laptop Label, Cable Label, Warehouse Bin Label, and Location Label.
+
+---
+
+## 6. QR Payload Builder
+
+### Purpose
+
+Encode structured payloads rather than only raw values.
+
+Supported modes:
+
+```text
+PC-001
+```
+
+```text
+https://assets.example.com/assets/{asset_id}
+```
+
+```text
+fieldlens://asset/{asset_id}
+```
+
+```text
+ASSET:{asset_id}|SERIAL:{serial}|SITE:{location}
+```
+
+### Validation
+
+Detect missing referenced fields, empty values, excessive payload length, malformed URLs, unsupported schemes, and QR density concerns.
+
+### Acceptance criteria
+
+Users can visually insert spreadsheet fields, preview output live, choose presets, and validate payloads before PDF generation.
+
+---
+
+## 7. Location Labels
+
+### Purpose
+
+Generate labels for racks, shelves, bins, rooms, and other physical locations.
+
+Example hierarchy:
+
+```text
+Warehouse A
+ └─ Rack A
+ └─ Shelf 03
+ └─ Bin 07
+```
+
+Suggested payload:
+
+```text
+location://warehouse-a/rack-a/shelf-03/bin-07
+```
+
+Capabilities include hierarchy fields, high-contrast layouts, large readable text, optional parent locations, QR payload templates, and batch generation.
+
+---
+
+## 8. Cable Labels
+
+### Purpose
+
+Create narrow labels for cables, patch cords, and ports.
+
+Input:
+
+```csv
+source,target,port
+SW01,SERVER01,G12
+SW01,SERVER02,G13
+SW02,AP01,G04
+```
+
+Examples:
+
+```text
+SW01 → SERVER01
+G12
+```
+
+```text
+| SW01-G12 | SERVER01 |
+```
+
+Capabilities include narrow presets, mirrored wrap labels, source/target fields, ports, direction formatting, and optional QR/barcodes.
+
+---
+
+## 9. Printer Calibration
+
+### Purpose
+
+Compensate for real printer and sheet alignment differences.
+
+Workflow:
+
+```text
+Print Calibration Page
+ ↓
+Measure X/Y difference
+ ↓
+Enter correction
+ ↓
+Apply to sheet layout
+```
+
+Example:
+
+```text
+Horizontal Offset
++1.5 mm
+
+Vertical Offset
+-0.8 mm
+```
+
+The calibration page should include corner markers, a center crosshair, ruler marks, a reference box, and simple instructions.
+
+---
+
+## 10. Printer Profiles
+
+Save calibration per printer.
+
+Example:
+
+```text
+Office HP LaserJet
+X: +1.2 mm
+Y: -0.5 mm
+```
+
+```text
+Warehouse Zebra
+X: 0 mm
+Y: +0.7 mm
+```
+
+Profiles should support create, rename, active selection, export/import, and reset. They must never contain imported asset data.
+
+---
+
+## 11. Code Inspector
+
+### Purpose
+
+Validate QR and barcode content before or after printing.
+
+Example:
+
+```text
+CODE INSPECTOR
+
+Type:
+QR Code
+
+Payload:
+fieldlens://asset/PC-0042
+
+Detected Scheme:
+fieldlens
+
+Asset ID:
+PC-0042
+
+✓ Valid FieldLens Asset URI
+```
+
+Input methods:
+
+- uploaded image
+- camera
+- pasted text
+- current generated label
+
+Checks:
+
+- format detection
+- decoded content
+- payload length
+- printable characters
+- URI scheme
+- FieldLens URI validity
+- duplicate payloads
+
+---
+
+## 12. Serial Tools
+
+### Purpose
+
+Normalize and validate serial-number data.
+
+Example:
+
+```text
+ Czc91237
+CZC-95821
+sn: CC10042
+```
+
+becomes:
+
+```text
+CZC91237
+CZC95821
+CC10042
+```
+
+Tools:
+
+```text
+Normalize
+Validate
+Extract
+Deduplicate
+```
+
+Rule support:
+
+- prefix stripping
+- whitespace removal
+- separator removal
+- casing
+- fixed-length rules
+- regex validation
+- known prefixes
+- custom patterns
+
+All transformations should preview first and preserve original values until explicitly applied.
+
+---
+
+## 13. Asset Manifest Generator
+
+### Purpose
+
+Create a machine-readable record of exactly what was printed.
+
+Example:
+
+```json
+{
+ "generatedAt": "2026-10-04T12:00:00Z",
+ "template": "Standard Asset Tag",
+ "codeType": "qr",
+ "encodedField": "asset_id",
+ "records": [
+ {
+ "assetId": "PC-001",
+ "labelIndex": 1,
+ "page": 1,
+ "position": {
+ "row": 1,
+ "column": 1
+ },
+ "payload": "fieldlens://asset/PC-001"
+ }
+ ]
+}
+```
+
+Export formats:
+
+```text
+JSON
+CSV
+```
+
+Potential uses include audits, print-job recreation, inventory synchronization, FieldLens imports, and label verification.
+
+---
+
+## 14. FieldLens Export
+
+### Purpose
+
+Provide a direct bridge from AssetTag Studio to FieldLens.
+
+Workflow:
+
+```text
+Import asset spreadsheet
+ ↓
+Clean data
+ ↓
+Generate asset IDs
+ ↓
+Select FieldLens preset
+ ↓
+Generate labels
+ ↓
+Export:
+ fieldlens-labels.pdf
+ fieldlens-assets.csv
+```
+
+Recommended QR format:
+
+```text
+fieldlens://asset/{asset_id}
+```
+
+Initial export fields:
+
+```text
+asset_id
+name
+asset_type
+serial
+location
+```
+
+The label PDF and data export must use identical asset IDs.
+
+---
+
+## 15. Expanded navigation
+
+Recommended future navigation:
+
+```text
+ASSETTAG STUDIO
+
+Create
+├── Asset Labels
+├── Cable Labels
+├── Location Labels
+└── QR / Barcode
+
+Data
+├── Import
+├── Data Health
+├── Asset ID Generator
+└── Serial Tools
+
+Design
+├── Templates
+├── Sheet Layout
+└── Printer Calibration
+
+Tools
+├── Code Inspector
+├── Manifest Generator
+└── FieldLens Export
+```
+
+Keep Asset Labels as the default entry point.
+
+---
+
+## 16. Shared architecture
+
+Do not create isolated implementations for each studio mode.
+
+```text
+Import Layer
+ │
+ ▼
+Normalized Dataset
+ │
+ ├───────────────┐
+ │ │
+ ▼ ▼
+Data Health ID Generator
+ │ │
+ └──────┬────────┘
+ ▼
+ Working Dataset
+ │
+ ├───────────────┐
+ │ │
+ ▼ ▼
+ Label Engine Serial Tools
+ │
+ ▼
+ Payload Builder
+ │
+ ┌─────┴─────┐
+ ▼ ▼
+ QR Barcode
+ │ │
+ └─────┬─────┘
+ ▼
+ Layout Engine
+ │
+ ┌─────┴──────┐
+ ▼ ▼
+ PDF Export Manifest
+```
+
+Reuse field resolution, payload interpolation, unit conversion, page layout, code rendering, validation, and template serialization.
+
+---
+
+## 17. Suggested module structure
+
+```text
+src/
+├── features/
+│ ├── import/
+│ ├── data-health/
+│ ├── id-generator/
+│ ├── serial-tools/
+│ ├── payload-builder/
+│ ├── asset-labels/
+│ ├── cable-labels/
+│ ├── location-labels/
+│ ├── code-inspector/
+│ ├── templates/
+│ ├── calibration/
+│ ├── manifest/
+│ └── integrations/
+│ └── fieldlens/
+│
+├── core/
+│ ├── dataset/
+│ ├── codes/
+│ ├── layout/
+│ ├── units/
+│ ├── validation/
+│ └── storage/
+```
+
+---
+
+## 18. Shared data model
+
+All features should operate on the same normalized dataset.
+
+```ts
+type StudioRecord = {
+ id: string;
+ values: Record;
+ warnings: DataWarning[];
+};
+```
+
+This enables a continuous workflow:
+
+```text
+Import
+ ↓
+Clean
+ ↓
+Generate IDs
+ ↓
+Normalize serials
+ ↓
+Design labels
+ ↓
+Export PDF
+```
+
+---
+
+## 19. Local persistence
+
+Use `localStorage` for:
+
+- theme
+- unit preference
+- active printer profile
+
+Use `IndexedDB` for:
+
+- saved templates
+- saved printer profiles
+- optional user-approved workspaces
+
+Do not automatically retain imported spreadsheets.
+
+---
+
+## 20. Testing additions
+
+### Asset ID Generator
+- sequence generation
+- zero padding
+- duplicate handling
+- token interpolation
+- blank-only generation
+
+### Data Health
+- duplicate detection
+- whitespace normalization
+- empty rows
+- missing identifiers
+- reversible fixes
+
+### Payload Builder
+- interpolation
+- missing placeholders
+- URL validation
+- custom URI validation
+
+### Cable Labels
+- mirrored layout
+- long endpoint names
+- narrow dimensions
+
+### Calibration
+- positive/negative X offsets
+- positive/negative Y offsets
+- reset behavior
+
+### Manifest
+For every generated label:
+
+```text
+PDF position == manifest position
+```
+
+---
+
+## 21. Portfolio value
+
+| Feature | Portfolio signal |
+|---|---|
+| Asset ID Generator | Rules engine and data transformation |
+| Data Health | Validation and data-quality engineering |
+| Templates | Portable configuration design |
+| Payload Builder | Dynamic templating |
+| Location Labels | Domain expansion |
+| Cable Labels | Specialized layout/UI |
+| Calibration | Real-world printing constraints |
+| Code Inspector | Parsing and validation |
+| Serial Tools | Pattern processing |
+| Manifest Generator | Reproducible data output |
+| FieldLens Export | Cross-project system design |
+
+---
+
+## 22. Immediate implementation priority
+
+After the original MVP:
+
+### 1. Asset ID Generator
+Lets AssetTag Studio create identities instead of only printing existing ones.
+
+### 2. Data Health
+Makes imperfect real-world spreadsheet input practical.
+
+### 3. Template Save / Export
+Creates repeat-use value without accounts.
+
+### 4. QR Payload Builder
+Makes generated codes useful beyond plain identifiers.
+
+Together these change the product from:
+
+> "Upload a clean spreadsheet and print labels."
+
+to:
+
+> **"Bring imperfect asset data, clean it, assign consistent identities, encode those identities, and produce reusable physical labels."**
+
+---
+
+## 23. Product boundary
+
+Even after expansion, AssetTag Studio should not become:
+
+- an inventory database
+- ERP software
+- an asset-tracking SaaS
+- a warehouse management system
+- a CMMS
+- a replacement for FieldLens
+
+AssetTag Studio should remain focused on:
+
+> **Asset identity preparation and physical labeling.**
+
+FieldLens should handle:
+
+> **Operational inspection and field workflows.**
+
+---
+
+## 24. Long-term project identity
+
+The expanded product can be described as:
+
+> **AssetTag Studio is a privacy-first browser workspace for preparing asset data, generating structured identifiers, designing QR and barcode labels, validating encoded data, and producing print-ready asset identity packages.**
+
+Long-term workflow:
+
+```text
+Spreadsheet
+ ↓
+Data Health
+ ↓
+Asset ID Generator
+ ↓
+Serial Normalization
+ ↓
+QR Payload Builder
+ ↓
+Label Template
+ ↓
+Printer Calibration
+ ↓
+PDF Labels
+ ↓
+Manifest
+ ↓
+FieldLens
+```
+
+This is broad enough to justify the **Studio** name while remaining a focused, lightweight web product.
diff --git a/docs/implementation/print-expansion.md b/docs/implementation/print-expansion.md
new file mode 100644
index 0000000..f964e7f
--- /dev/null
+++ b/docs/implementation/print-expansion.md
@@ -0,0 +1,25 @@
+# Print identity packages
+
+## Shared print snapshot
+
+`createPrintJob` clones and freezes the selected rows, template, page settings, resolved code payloads, and row-major physical label placements. PDF generation consumes the resulting placements directly. A manifest is generated from the same completed snapshot, so its page, row, column, and millimeter origin match the PDF job even when the workspace data changes later. A failed or canceled PDF does not produce a manifest package.
+
+The current PDF generator supports up to 20,000 records. Each record produces one physical label; mirrored cable text appears in both reading directions on that label and does not double the manifest count.
+
+## Label variants
+
+The shared template supports QR, Code 128, and text-only labels. Cable presets map source, port, and destination into a configurable narrow label and can render mirrored text for a wrap; their preview shows at most 36 selected rows through the shared renderer. Location presets map up to seven hierarchy columns into a readable high-contrast label and use `location://site/...` payloads through the common URI resolver. Optional code generation keeps the common renderer, layout, and PDF export path.
+
+Text fields explicitly use black ink, including text-only cable wraps and barcodes with their readable code text hidden. A mirrored wrap contains two complete panels; the second is rotated180 degrees. Preview images keep their physical aspect ratio and fit the page at phone widths. Browser regression tests check interior ink in both panels and decode the optional QR instead of counting borders as visible content.
+
+## Printer calibration
+
+Sheet calibration offsets are millimeters and default to zero. Layout calculation applies the offsets to every sheet origin and rejects any offset that would clip a label beyond the physical page. Printer profile JSON is versioned and strict; it contains only a name and X/Y settings. Profiles use the shared IndexedDB `printers` store, while the active profile ID uses local storage. Oversized profile files are rejected before reading, and the UI offers explicit clear-and-recover after any initial printer-library load failure, including overflow. No imported rows are included.
+
+The calibration PDF is vector artwork with corner crosses, a center crosshair, a 1 mm ruler with 10 mm labels, a reference box, and print-at-actual-size instructions. It requires paper at least 100 × 80 mm so these marks stay legible and clear of the rulers.
+
+## FieldLens exchange
+
+FieldLens package generation uses the same selected immutable print snapshot for both outputs. `asset_id` in the CSV must exactly match the identifier in each `fieldlens://asset/ID` QR payload. The local FieldLens mobile URI resolver accepts one case-sensitive, unescaped ID and rejects percent encoding, slash, backslash, whitespace, query, and fragment characters. Spreadsheet-formula-leading IDs are rejected rather than modified, preserving QR/CSV identity. Other CSV text uses formula-safe CSV quoting.
+
+The package provides `fieldlens-labels.pdf` and `fieldlens-assets.csv` as an exchange contract. The inspected FieldLens receiver has no verified CSV importer, so this feature does not claim direct ingestion.
diff --git a/docs/implementation/template-library.md b/docs/implementation/template-library.md
new file mode 100644
index 0000000..0475fda
--- /dev/null
+++ b/docs/implementation/template-library.md
@@ -0,0 +1,18 @@
+# Template library milestone
+
+## Shipped in this branch
+
+- Version 1 `.assettag.json` documents store only a name, label settings, and optional page settings. The parser rejects unknown properties, row-bearing documents, unsupported versions, malformed values, and files larger than 128 KiB. Optional settings stay optional when importing older documents.
+- The Templates page offers six built-in layouts, imports and exports JSON files, maps every dataset field reference before applying a template, and saves settings in a browser-only library. Saved entries can be updated, duplicated, and deleted explicitly.
+- `src/features/storage/library.ts` exposes the `templates` and `printers` IndexedDB stores through the shared bounded adapter API. Each store holds at most 100 entries, and documents are capped at 128 KiB. The adapter stores no dataset values. `clearEntries('templates')` is available for a user-invoked recovery after the template store cannot be listed.
+
+## Validation
+
+`src/features/templates/documents.test.ts` covers version 1 round trips, compatibility with optional print contracts, preservation of omitted optionals, immutable field mapping, hostile column names, unmapped references, unknown properties, row data, malformed JSON and payload tokens, future versions, invalid numeric/cross-field settings, and size limits. Final local Edge coverage verifies CRUD, settings-only persistence, capacity, quota failure/retry, corruption and per-store recovery. Blocked-upgrade and cross-browser behavior remain follow-up checks.
+
+## Limits
+
+- Import is available from Templates after a dataset has been loaded because field mappings are dataset-specific.
+- Built-in layouts expose common source column names; users explicitly map names that differ in their dataset.
+- Corrupt library document JSON is shown as an invalid item and can be deleted. Structurally damaged IndexedDB records fail library loading with an error; the page offers a user-invoked reset limited to the templates store to recover.
+- The `printers` store is provisioned by the shared adapter for the print profile owner; this page does not read or write printer profiles.
diff --git a/docs/media/barcode.png b/docs/media/barcode.png
index 22eed8c..99bb003 100644
Binary files a/docs/media/barcode.png and b/docs/media/barcode.png differ
diff --git a/docs/media/dark-workspace.png b/docs/media/dark-workspace.png
index ce0cf4d..d793bae 100644
Binary files a/docs/media/dark-workspace.png and b/docs/media/dark-workspace.png differ
diff --git a/docs/media/demo.gif b/docs/media/demo.gif
index 90e7839..d609cde 100644
Binary files a/docs/media/demo.gif and b/docs/media/demo.gif differ
diff --git a/docs/media/features/asset-labels.apng b/docs/media/features/asset-labels.apng
new file mode 100644
index 0000000..5e57f38
Binary files /dev/null and b/docs/media/features/asset-labels.apng differ
diff --git a/docs/media/features/cable-labels.apng b/docs/media/features/cable-labels.apng
new file mode 100644
index 0000000..8bf7aeb
Binary files /dev/null and b/docs/media/features/cable-labels.apng differ
diff --git a/docs/media/features/calibration.apng b/docs/media/features/calibration.apng
new file mode 100644
index 0000000..45c3fae
Binary files /dev/null and b/docs/media/features/calibration.apng differ
diff --git a/docs/media/features/code-inspector.apng b/docs/media/features/code-inspector.apng
new file mode 100644
index 0000000..92c46a0
Binary files /dev/null and b/docs/media/features/code-inspector.apng differ
diff --git a/docs/media/features/codes.apng b/docs/media/features/codes.apng
new file mode 100644
index 0000000..a6a5870
Binary files /dev/null and b/docs/media/features/codes.apng differ
diff --git a/docs/media/features/data-health.apng b/docs/media/features/data-health.apng
new file mode 100644
index 0000000..d710c86
Binary files /dev/null and b/docs/media/features/data-health.apng differ
diff --git a/docs/media/features/desktop-navigation.apng b/docs/media/features/desktop-navigation.apng
new file mode 100644
index 0000000..1e4d49a
Binary files /dev/null and b/docs/media/features/desktop-navigation.apng differ
diff --git a/docs/media/features/favorites.apng b/docs/media/features/favorites.apng
new file mode 100644
index 0000000..8e4041d
Binary files /dev/null and b/docs/media/features/favorites.apng differ
diff --git a/docs/media/features/fieldlens.apng b/docs/media/features/fieldlens.apng
new file mode 100644
index 0000000..a194d11
Binary files /dev/null and b/docs/media/features/fieldlens.apng differ
diff --git a/docs/media/features/id-generator.apng b/docs/media/features/id-generator.apng
new file mode 100644
index 0000000..4ffe15c
Binary files /dev/null and b/docs/media/features/id-generator.apng differ
diff --git a/docs/media/features/location-labels.apng b/docs/media/features/location-labels.apng
new file mode 100644
index 0000000..510ddeb
Binary files /dev/null and b/docs/media/features/location-labels.apng differ
diff --git a/docs/media/features/manifest.apng b/docs/media/features/manifest.apng
new file mode 100644
index 0000000..2b2bba5
Binary files /dev/null and b/docs/media/features/manifest.apng differ
diff --git a/docs/media/features/navigation.apng b/docs/media/features/navigation.apng
new file mode 100644
index 0000000..b6983c4
Binary files /dev/null and b/docs/media/features/navigation.apng differ
diff --git a/docs/media/features/payload-builder.apng b/docs/media/features/payload-builder.apng
new file mode 100644
index 0000000..a1c968f
Binary files /dev/null and b/docs/media/features/payload-builder.apng differ
diff --git a/docs/media/features/printer-profiles.apng b/docs/media/features/printer-profiles.apng
new file mode 100644
index 0000000..9494120
Binary files /dev/null and b/docs/media/features/printer-profiles.apng differ
diff --git a/docs/media/features/serial-tools.apng b/docs/media/features/serial-tools.apng
new file mode 100644
index 0000000..da0b8b6
Binary files /dev/null and b/docs/media/features/serial-tools.apng differ
diff --git a/docs/media/features/templates.apng b/docs/media/features/templates.apng
new file mode 100644
index 0000000..a2ec0d8
Binary files /dev/null and b/docs/media/features/templates.apng differ
diff --git a/docs/media/landing.png b/docs/media/landing.png
index ee35112..bd33498 100644
Binary files a/docs/media/landing.png and b/docs/media/landing.png differ
diff --git a/docs/media/mobile-workspace.png b/docs/media/mobile-workspace.png
index 5153302..4909c9c 100644
Binary files a/docs/media/mobile-workspace.png and b/docs/media/mobile-workspace.png differ
diff --git a/docs/media/walkthroughs/desktop-poster.png b/docs/media/walkthroughs/desktop-poster.png
new file mode 100644
index 0000000..d4f21ca
Binary files /dev/null and b/docs/media/walkthroughs/desktop-poster.png differ
diff --git a/docs/media/walkthroughs/desktop.apng b/docs/media/walkthroughs/desktop.apng
new file mode 100644
index 0000000..b56b65c
Binary files /dev/null and b/docs/media/walkthroughs/desktop.apng differ
diff --git a/docs/media/walkthroughs/desktop.mp4 b/docs/media/walkthroughs/desktop.mp4
new file mode 100644
index 0000000..416426d
Binary files /dev/null and b/docs/media/walkthroughs/desktop.mp4 differ
diff --git a/docs/media/walkthroughs/mobile-poster.png b/docs/media/walkthroughs/mobile-poster.png
new file mode 100644
index 0000000..c600b5a
Binary files /dev/null and b/docs/media/walkthroughs/mobile-poster.png differ
diff --git a/docs/media/walkthroughs/mobile.apng b/docs/media/walkthroughs/mobile.apng
new file mode 100644
index 0000000..c678c26
Binary files /dev/null and b/docs/media/walkthroughs/mobile.apng differ
diff --git a/docs/media/walkthroughs/mobile.mp4 b/docs/media/walkthroughs/mobile.mp4
new file mode 100644
index 0000000..3507d29
Binary files /dev/null and b/docs/media/walkthroughs/mobile.mp4 differ
diff --git a/docs/media/workspace.png b/docs/media/workspace.png
index 5421890..3a6cbab 100644
Binary files a/docs/media/workspace.png and b/docs/media/workspace.png differ
diff --git a/docs/portfolio-integration.md b/docs/portfolio-integration.md
index eebb617..25ff249 100644
--- a/docs/portfolio-integration.md
+++ b/docs/portfolio-integration.md
@@ -1,6 +1,35 @@
# Portfolio integration
-Branding follow-up: optional `logo` references the tracked 512px `public/branding/assettag-logo.png` tile with meaningful alt text. The upstream loader resolves it against raw main exactly like other image objects. The verifier includes logo existence/tracking and URL resolution. The screenshots and six-frame9.6s demo were refreshed with the QR-inspired header mark; narrative and sample PDF remain unchanged. See branding.md for editable vectors and regeneration.
+The portfolio card uses the upright [512px matrix A](../public/branding/assettag-logo.png). The README, workspace screenshots and demo show the tilted hang-tag used in the web app. The portfolio loader resolves the manifest’s image paths against this repository’s default branch. See the [branding guide](branding.md) for the source vectors and icon sizes.
+
+## Recording the showcase
+
+The matched desktop (1280 × 800) and mobile (390 × 844) walkthroughs use the same browser actions and the eight rows in `public/examples/demo-assets.csv`. Each exports a single A4 PDF page, then opens the completed print manifest. The README embeds the APNGs, offers MP4 playback and supplies stills for reduced-motion viewers. The portfolio uses the desktop still as its cover, the desktop APNG as its demo preview and a manual carousel for the two recordings.
+
+The [feature recordings](media/features/) are individual clips for the app’s tool pages, with separate clips for printer profiles and for navigation on desktop and mobile. Keep these files available for the future tool documentation. The cable, location and ID demonstrations use the CSVs in `public/examples/`. The data cleanup demonstrations draw from the generated synthetic test pack. No customer files are needed.
+
+### Reproducing the recordings
+
+From the project root, generate the sample pack and serve a local production build:
+
+```powershell
+npm run samples
+npm run build
+node tests/serve-production.mjs
+```
+
+In a second terminal, run the recorder with a local Chromium browser, Python with Pillow, and FFmpeg with the libx264 encoder. With Edge on Windows:
+
+```powershell
+$env:PLAYWRIGHT_CHANNEL = 'msedge'
+node scripts/record-showcase.mjs
+```
+
+Use `SHOWCASE_PYTHON` and `FFMPEG` to select installed executables when they are outside PATH. The default source is `http://127.0.0.1:4173`. To remake one clip, pass its group and slug, for example `node scripts/record-showcase.mjs print-tools cable-labels`. Available groups are `overview`, `workspace-tools`, `data-tools` and `print-tools`.
+
+The recorder captures actual browser frames between actions and holds the result of each step for reading. It starts each clip with a fresh browser context, checks the expected UI outcome, then verifies the encoded APNG can be decoded at its intended duration. The paired videos use the same frames and timing as their APNGs. Intermediate frames and timing files stay under the ignored `test-results/showcase/` folder. The feature recordings live in the documentation tree, outside the app bundle.
+
+The existing 245-row sample PDF and reference screenshots have their own capture script, `scripts/capture-showcase.mjs`.
Contract source: private-dev-ph/portfolio at c2661ae55aa202952d21b66d778f9f0a5a2ec760, docs/portfolio-showcases.md, docs/portfolio-showcase.schema.json and lib/github.ts. Read the current upstream contract when changing metadata; the source checkout used for verification is ignored under .worktrees/portfolio-reference.
diff --git a/docs/privacy.md b/docs/privacy.md
index 6c13e5b..7676b64 100644
--- a/docs/privacy.md
+++ b/docs/privacy.md
@@ -2,7 +2,9 @@
AssetTag Studio processes CSV and Excel files entirely on your device. Import uses a browser worker; preview uses canvas; PDF generation uses local JavaScript. There are no accounts, uploads, analytics, cloud integrations or remote fonts.
-Imported records live in memory while this page is open. Only UI preferences are saved to localStorage, never records. Reloading clears the imported dataset. Browser downloads are your own local files; manage them according to your organization's retention requirements.
+Imported records, transformation previews, bounded undo history and the last successful print snapshot live in memory while this page is open. Reloading clears them. UI preferences and the active printer-profile ID use localStorage. Explicitly saved templates and printer calibration profiles use IndexedDB and contain settings only. Delete saved items from their libraries, or use the explicit library reset when corrupt storage prevents recovery. Browser downloads are your own local files; manage them according to your organization's retention requirements.
+
+Code inspection decodes PNG/JPEG files and camera frames locally in a bounded worker. Nothing is uploaded. Camera access starts only after an explicit Start action, never requests audio, and stops on Stop, navigation/unmount or a background tab. Pasted or decoded URIs are displayed as text and are not opened. Browser permission and a secure origin (HTTPS or localhost) are required for camera use.
The static hosting provider receives normal requests for application assets, including IP/user agent metadata. It does not receive spreadsheet contents. Browser extensions or compromised devices can inspect local data; a static app cannot protect against them.
diff --git a/docs/roadmap.md b/docs/roadmap.md
index d3726e9..a0106f3 100644
--- a/docs/roadmap.md
+++ b/docs/roadmap.md
@@ -1,6 +1,6 @@
# Product roadmap after the MVP
-These are the twelve later-feature items explicitly deferred in section 6 of the original end-to-end plan. They are proposed work, not a schedule or implemented capability.
+These are the twelve later-feature items deferred in section 6 of the original end-to-end plan. The separate local `feature-expansion` branch now implements the items marked below, plus Data Health, serial tools, payload tooling, cable/location labels, code inspection and exact print manifests. The live deployment remains on main. See [the expansion checklist](implementation/expansion-progress.md) for verification status.
| Feature | What remains |
|---|---|
@@ -8,15 +8,15 @@ These are the twelve later-feature items explicitly deferred in section 6 of the
| EAN / UPC | Retail code formats, with digit-length and checksum validation. Code128 is already implemented. |
| Logo placement | Place an optional local logo while preserving code readability and print dimensions. |
| Image fields | Associate/render images from input fields with explicit source/privacy and resource rules. |
-| Saved local templates | A named template library and switching/deletion. The current app remembers the last template/preferences; it does not provide a library. |
-| JSON template import/export | Portable versioned template files with validation and a compatibility/migration policy. |
+| Saved local templates | Implemented in the local expansion: named IndexedDB CRUD, six presets and explicit field mapping. |
+| JSON template import/export | Implemented in the local expansion: strict versioned settings-only documents and unknown-version/property rejection. |
| Bulk formatting rules | Apply field transformations/prefixes/conditional formatting across records, without becoming a spreadsheet editor. |
-| Sequential asset-ID generation | Create configurable, padded ID sequences and avoid collisions with imported values. |
-| Printer profiles | Reusable stock/printer dimensions and calibration offsets. Page/label presets already exist. |
+| Sequential asset-ID generation | Implemented in the local expansion: selected/blank-only padded sequences, tokens, collision checks and undo. |
+| Printer profiles | Calibration profiles implemented in the local expansion; stock/page/label settings are portable with templates. |
| PWA / offline installation | Installable app and explicit offline asset/update behavior. Client-only processing currently works after loading, but offline installation/reload is not guaranteed. |
| Direct browser printing | Print workflow alongside authoritative PDF export, with browser scaling and layout verification. |
-| FieldLens QR presets | A validated preset/integration contract for FieldLens asset links. Generic payload templates already allow strings such as fieldlens://asset/{asset_id}; no dedicated preset or end-to-end FieldLens integration exists. |
+| FieldLens QR presets | Implemented in the local expansion: validated raw asset URIs and matching PDF/CSV export; actual receiver CSV ingestion remains unverified. |
-A practical sequence is saved templates + JSON portability, then printer profiles/calibration and sequential IDs. Additional code formats and logos/images should follow real user needs. PWA updates and FieldLens integration need their own compatibility/privacy decisions. This ordering is a suggestion, not a change to the original scope.
+Next candidates are additional code formats, local logos/images and broader formatting rules, guided by real workflows. PWA updates and direct printing need explicit compatibility and privacy decisions. FieldLens CSV ingestion requires a verified receiver-side importer. These are follow-up suggestions outside the twelve-feature expansion.
Separate reliability follow-up includes physical printing/scanning, Firefox/Safari coverage, benchmarking large unique-label PDFs, workbook fuzz testing, bundle splitting and updating the development linter. Those tasks improve the existing MVP rather than add the roadmap features above. The owner selected Apache-2.0 for the project after the initial release.
diff --git a/index.html b/index.html
index 012551d..871b6f6 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,10 @@
-
-
+
+
+
+
@@ -19,12 +21,12 @@
-
+
-
+
AssetTag Studio
diff --git a/package-lock.json b/package-lock.json
index 6fe4116..800503f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,6 +9,7 @@
"version": "1.0.0",
"license": "Apache-2.0",
"dependencies": {
+ "@zxing/library": "0.23.0",
"jsbarcode": "^3.12.1",
"papaparse": "^5.5.3",
"pdf-lib": "^1.17.1",
@@ -30,9 +31,9 @@
"eslint": "^9.39.0",
"globals": "^16.4.0",
"jsqr": "^1.4.0",
- "typescript-eslint": "^8.46.0",
- "vite": "^7.1.9",
- "vitest": "^4.1.11"
+ "typescript-eslint": "^8.74.0",
+ "vite": "^7.3.8",
+ "vitest": "^4.1.12"
}
},
"node_modules/@babel/code-frame": {
@@ -982,6 +983,13 @@
"url": "https://github.com/sponsors/nzakas"
}
},
+ "node_modules/@isaacs/nonrecursive-glob-match": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz",
+ "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0"
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -1585,17 +1593,17 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.71.0.tgz",
- "integrity": "sha512-pqcS9c1HxZTHt7End4nXqd0s5lJrrFzrgCkKFJrsbUnaL6M3+6oBFZaslg6Gjsl3argl2DDRFROnXARaZ2e4Nw==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.74.0.tgz",
+ "integrity": "sha512-z3KXk1+Vm+d82ZRplOoC89ho4Rf1da5ju6sx8//92GnN532U62DGPjECXkkVqtYzIv0zoJlpO39SX2Z9tk6LVw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.12.2",
- "@typescript-eslint/scope-manager": "8.71.0",
- "@typescript-eslint/type-utils": "8.71.0",
- "@typescript-eslint/utils": "8.71.0",
- "@typescript-eslint/visitor-keys": "8.71.0",
+ "@typescript-eslint/scope-manager": "8.74.0",
+ "@typescript-eslint/type-utils": "8.74.0",
+ "@typescript-eslint/utils": "8.74.0",
+ "@typescript-eslint/visitor-keys": "8.74.0",
"ignore": "^7.0.5",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.5.0"
@@ -1608,15 +1616,15 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "@typescript-eslint/parser": "^8.71.0",
+ "@typescript-eslint/parser": "^8.74.0",
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
"typescript": ">=4.8.4 <6.1.0"
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
- "version": "7.0.12",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz",
- "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==",
+ "version": "7.0.17",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.17.tgz",
+ "integrity": "sha512-0c3zcBRlWmcKhcIQWckzkYncJRv5HHB8O32wO/FcWL8DDXWDJgiEF6SX9ThbTv5h/eZ+xJK+VvDjjQ+cQJhp3Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1624,16 +1632,16 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.71.0.tgz",
- "integrity": "sha512-CG4nPk1f2zc8yw4pALqHsFYH2hdo+h1T9daSp21+Hnxi9LOE3GT9hAfTKJCBXVNM2GmYs1eMEP615wPoeOgk3A==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.74.0.tgz",
+ "integrity": "sha512-ecr8AYdig7avVkxaHdQvxHnIJ/mOyliO4Gv/uWF8q69vBew/z3sexqBwHUZX5Vql+Ns0w4sH6gBLkICGbOvJkA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.71.0",
- "@typescript-eslint/types": "8.71.0",
- "@typescript-eslint/typescript-estree": "8.71.0",
- "@typescript-eslint/visitor-keys": "8.71.0",
+ "@typescript-eslint/scope-manager": "8.74.0",
+ "@typescript-eslint/types": "8.74.0",
+ "@typescript-eslint/typescript-estree": "8.74.0",
+ "@typescript-eslint/visitor-keys": "8.74.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1649,14 +1657,14 @@
}
},
"node_modules/@typescript-eslint/project-service": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.0.tgz",
- "integrity": "sha512-aABjw5rjBacYONVPaPiWOCjJu0vEF4a25iQuodlmQYL1trtLZ0X/y+2Vzl3BKI1odM4LnwLE1oUDXYp1wzx1TQ==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.74.0.tgz",
+ "integrity": "sha512-z/mymuE+JlEeSFIv3Mo70EvgG1Zz74Hl0IDfExfXutARAP834bt+MppTD7mVAwmZO0GdxdOAi0jbTam749eH6g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.71.0",
- "@typescript-eslint/types": "^8.71.0",
+ "@typescript-eslint/tsconfig-utils": "^8.74.0",
+ "@typescript-eslint/types": "^8.74.0",
"debug": "^4.4.3"
},
"engines": {
@@ -1671,14 +1679,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.0.tgz",
- "integrity": "sha512-gWF0BhUcnjZxSpLE8ngS/59n2SB0J3YqRxvX1+2aoRJk9hNtHSLOV+TcarFiOr5ipXm3yc1QrI4c9YZc8zyCxw==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.74.0.tgz",
+ "integrity": "sha512-kpOdpu4CpWN5U38ox3f727DwWRBtUAVhyUJtqTBYe5gf2wYoxac7PgKP14txrxN7ICVtcjlLdzjqfRgpSnDKvQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.71.0",
- "@typescript-eslint/visitor-keys": "8.71.0"
+ "@typescript-eslint/types": "8.74.0",
+ "@typescript-eslint/visitor-keys": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1689,9 +1697,9 @@
}
},
"node_modules/@typescript-eslint/tsconfig-utils": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.0.tgz",
- "integrity": "sha512-Z1UlWHADEK2Mlb9NpWfDeSjqoZ5EyrOv4R3eQpbkzqn/EwaIdOpXXupEA1+0ZIOSJSZZDBHG0BrQyN8zUG6Pwg==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.74.0.tgz",
+ "integrity": "sha512-p07wAuaS6BjCYgOSXKJi4YhvTnAf7fiG37e9THcpnYaQEt2QiTTYZWKwUFNgeRiywiMudazhzgddAirZ0GgHtQ==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1706,15 +1714,15 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.0.tgz",
- "integrity": "sha512-i8uO1qbdxeKgRnS5sCRt6On3/nfo2d2DwQe3Yvjx543zLy7r8ySqRuPPiIIXAhS03U0v5NfAFx+rUgxFzKKwNw==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.74.0.tgz",
+ "integrity": "sha512-CV3Y3la8l3F9ANfxcfpgSSiQgJTe4IeLEoZV4O/gcW86Ugp8X6SKiQ0vm+QegXaRIbbDMokZZSF3A1CgiU/kPw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.71.0",
- "@typescript-eslint/typescript-estree": "8.71.0",
- "@typescript-eslint/utils": "8.71.0",
+ "@typescript-eslint/types": "8.74.0",
+ "@typescript-eslint/typescript-estree": "8.74.0",
+ "@typescript-eslint/utils": "8.74.0",
"debug": "^4.4.3",
"ts-api-utils": "^2.5.0"
},
@@ -1731,9 +1739,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.0.tgz",
- "integrity": "sha512-cJ4OoxPGWvFnBTnSZyaU+qJzGTqPTGJY+gDchj6cRyLRdmIdt4rcsE4twj+zPfrNiWuVi38wijHzShL++Z9atQ==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.74.0.tgz",
+ "integrity": "sha512-MpnMrJCVNpP1iVL8NiHkQZgQqIMBH5ewDGUPBh1pqQXwFtMFjsl1M03QcYPXmv6stCKEiF0PN7CGbU1ZbXFzEA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -1745,18 +1753,18 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.0.tgz",
- "integrity": "sha512-PEEF4G5sLLWAS5BpPrUvms4ySZkiBQQZM4z+3ReI46axK5Vqr/vXBQatJQIZZOYdGyPUAKTtsrWzpqKuU+3DEw==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.74.0.tgz",
+ "integrity": "sha512-wL348k6l92DNG+kPP5rVpKwNBoz7a3xRZy3TPKc1uymQttd7u7gcMv3eENmcuh4CjC4mO3FTM0DYstFXMyDLuw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/project-service": "8.71.0",
- "@typescript-eslint/tsconfig-utils": "8.71.0",
- "@typescript-eslint/types": "8.71.0",
- "@typescript-eslint/visitor-keys": "8.71.0",
+ "@typescript-eslint/project-service": "8.74.0",
+ "@typescript-eslint/tsconfig-utils": "8.74.0",
+ "@typescript-eslint/types": "8.74.0",
+ "@typescript-eslint/visitor-keys": "8.74.0",
"debug": "^4.4.3",
- "minimatch": "^10.2.2",
+ "minimatch": "^11.0.1",
"semver": "^7.7.3",
"tinyglobby": "^0.2.15",
"ts-api-utils": "^2.5.0"
@@ -1769,7 +1777,13 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
+ "@typescript/native": "npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev",
"typescript": ">=4.8.4 <6.1.0"
+ },
+ "peerDependenciesMeta": {
+ "@typescript/native": {
+ "optional": true
+ }
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
@@ -1783,9 +1797,9 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "5.0.12",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",
- "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.1.2.tgz",
+ "integrity": "sha512-ELhY3JEerIBbhgW+rh0/8glkZAaMqn1x3BAvp3yTULSEGozMK/5PT6WTdBgsdvJqwwmv7MAQNOydfYbvK1Vgfw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1796,25 +1810,26 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "10.2.6",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",
- "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
+ "version": "11.0.9",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.9.tgz",
+ "integrity": "sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==",
"dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
- "brace-expansion": "^5.0.8"
+ "@isaacs/nonrecursive-glob-match": "^1.1.0",
+ "brace-expansion": "^5.0.12"
},
"engines": {
- "node": "18 || 20 || >=22"
+ "node": "20 || >=22"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
- "version": "7.8.5",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "version": "7.8.6",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz",
+ "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==",
"dev": true,
"license": "ISC",
"bin": {
@@ -1825,16 +1840,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.0.tgz",
- "integrity": "sha512-pKR/tEMVrXZG23UFKUn5BQf3zfmfk7KQceI2cGzywZ5nxM5Eu3hEJU1utjWzydtzBbcJAQhHN8iPCxobHpPcZQ==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.74.0.tgz",
+ "integrity": "sha512-IpWXPxXXomzxyTcvjhZJexgdvtTR1TooLAPpuxzaGqQ8BHll1lf4Ysp/BTE/l0U5TJ+x1j7B4bEM8pLRrvY+XA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.9.1",
- "@typescript-eslint/scope-manager": "8.71.0",
- "@typescript-eslint/types": "8.71.0",
- "@typescript-eslint/typescript-estree": "8.71.0"
+ "@typescript-eslint/scope-manager": "8.74.0",
+ "@typescript-eslint/types": "8.74.0",
+ "@typescript-eslint/typescript-estree": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1849,13 +1864,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.0.tgz",
- "integrity": "sha512-8eQ9R218XORK+KLosnf4bu/QsUXvUyVwTbArg7/0NMB1Pu87OJKvj4nhFblkYE8gQV73mW1dx1ptlPCkwRGa7A==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.74.0.tgz",
+ "integrity": "sha512-XSZmOtMUbWCBIM+2BK134FyMFxmll1mW2mPLk/PSwYQYzGIPMgJAqL929U4qXVizLv7Xq5b7r41/o7Ombuwk0g==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.71.0",
+ "@typescript-eslint/types": "8.74.0",
"eslint-visitor-keys": "^5.0.0"
},
"engines": {
@@ -1901,16 +1916,16 @@
}
},
"node_modules/@vitest/expect": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.11.tgz",
- "integrity": "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.12.tgz",
+ "integrity": "sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@standard-schema/spec": "^1.1.0",
"@types/chai": "^5.2.2",
- "@vitest/spy": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/spy": "4.1.12",
+ "@vitest/utils": "4.1.12",
"chai": "^6.2.2",
"tinyrainbow": "^3.1.0"
},
@@ -1919,13 +1934,13 @@
}
},
"node_modules/@vitest/mocker": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.11.tgz",
- "integrity": "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.12.tgz",
+ "integrity": "sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/spy": "4.1.11",
+ "@vitest/spy": "4.1.12",
"estree-walker": "^3.0.3",
"magic-string": "^0.30.21"
},
@@ -1946,9 +1961,9 @@
}
},
"node_modules/@vitest/pretty-format": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.11.tgz",
- "integrity": "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.12.tgz",
+ "integrity": "sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1959,13 +1974,13 @@
}
},
"node_modules/@vitest/runner": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.11.tgz",
- "integrity": "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.12.tgz",
+ "integrity": "sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/utils": "4.1.11",
+ "@vitest/utils": "4.1.12",
"pathe": "^2.0.3"
},
"funding": {
@@ -1973,14 +1988,14 @@
}
},
"node_modules/@vitest/snapshot": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.11.tgz",
- "integrity": "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.12.tgz",
+ "integrity": "sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/pretty-format": "4.1.12",
+ "@vitest/utils": "4.1.12",
"magic-string": "^0.30.21",
"pathe": "^2.0.3"
},
@@ -1989,9 +2004,9 @@
}
},
"node_modules/@vitest/spy": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.11.tgz",
- "integrity": "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.12.tgz",
+ "integrity": "sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==",
"dev": true,
"license": "MIT",
"funding": {
@@ -1999,13 +2014,13 @@
}
},
"node_modules/@vitest/utils": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.11.tgz",
- "integrity": "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.12.tgz",
+ "integrity": "sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/pretty-format": "4.1.11",
+ "@vitest/pretty-format": "4.1.12",
"convert-source-map": "^2.0.0",
"tinyrainbow": "^3.1.0"
},
@@ -2013,6 +2028,28 @@
"url": "https://opencollective.com/vitest"
}
},
+ "node_modules/@zxing/library": {
+ "version": "0.23.0",
+ "resolved": "https://registry.npmjs.org/@zxing/library/-/library-0.23.0.tgz",
+ "integrity": "sha512-6fkkoFwP8CHxl6ugnPsj74PLJgX2iRv5zczGAyt5OBzQgxFhuhF0NCEc4t4OvSr8xAv2MRLlI0Iu9ZGDZQ2urA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "ts-custom-error": "^3.3.1"
+ },
+ "engines": {
+ "node": ">= 24.0.0"
+ },
+ "optionalDependencies": {
+ "@zxing/text-encoding": "~0.9.0"
+ }
+ },
+ "node_modules/@zxing/text-encoding": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
+ "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==",
+ "license": "(Unlicense OR Apache-2.0)",
+ "optional": true
+ },
"node_modules/acorn": {
"version": "8.18.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",
@@ -3587,6 +3624,15 @@
"typescript": ">=4.8.4"
}
},
+ "node_modules/ts-custom-error": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz",
+ "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
"node_modules/tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
@@ -3622,16 +3668,16 @@
}
},
"node_modules/typescript-eslint": {
- "version": "8.71.0",
- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.71.0.tgz",
- "integrity": "sha512-fBdHYiqQ14RW6mOMXD14Svn82ZsCYAoQSzGRzyEjR59S5A2Krh/l7fGTOQ7iCr8gGy/mHVXtEF7s5fgjEdV0Pw==",
+ "version": "8.74.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.74.0.tgz",
+ "integrity": "sha512-OsWQlsedt1ZpZXfZZMNK3m4SoQONFFcy4h/uRznsCeRfVuEic3gh4KGUs2pJJ5o0Jj0Jr7keUHQGN1Ns9aDw7Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/eslint-plugin": "8.71.0",
- "@typescript-eslint/parser": "8.71.0",
- "@typescript-eslint/typescript-estree": "8.71.0",
- "@typescript-eslint/utils": "8.71.0"
+ "@typescript-eslint/eslint-plugin": "8.74.0",
+ "@typescript-eslint/parser": "8.74.0",
+ "@typescript-eslint/typescript-estree": "8.74.0",
+ "@typescript-eslint/utils": "8.74.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3694,9 +3740,9 @@
}
},
"node_modules/vite": {
- "version": "7.3.6",
- "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
- "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "version": "7.3.8",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.8.tgz",
+ "integrity": "sha512-3tTi78MAKhVk9h+YZVXMQ8POmneJuE97QUPAWtJghHzhH7BAyiqQOC2KZh1DWOsu/USB2cRXhznPByaabvYXfw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3769,19 +3815,19 @@
}
},
"node_modules/vitest": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.11.tgz",
- "integrity": "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw==",
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.12.tgz",
+ "integrity": "sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@vitest/expect": "4.1.11",
- "@vitest/mocker": "4.1.11",
- "@vitest/pretty-format": "4.1.11",
- "@vitest/runner": "4.1.11",
- "@vitest/snapshot": "4.1.11",
- "@vitest/spy": "4.1.11",
- "@vitest/utils": "4.1.11",
+ "@vitest/expect": "4.1.12",
+ "@vitest/mocker": "4.1.12",
+ "@vitest/pretty-format": "4.1.12",
+ "@vitest/runner": "4.1.12",
+ "@vitest/snapshot": "4.1.12",
+ "@vitest/spy": "4.1.12",
+ "@vitest/utils": "4.1.12",
"es-module-lexer": "^2.0.0",
"expect-type": "^1.3.0",
"magic-string": "^0.30.21",
@@ -3809,12 +3855,12 @@
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
- "@vitest/browser-playwright": "4.1.11",
- "@vitest/browser-preview": "4.1.11",
- "@vitest/browser-webdriverio": "4.1.11",
- "@vitest/coverage-istanbul": "4.1.11",
- "@vitest/coverage-v8": "4.1.11",
- "@vitest/ui": "4.1.11",
+ "@vitest/browser-playwright": "4.1.12",
+ "@vitest/browser-preview": "4.1.12",
+ "@vitest/browser-webdriverio": "^4.1.11",
+ "@vitest/coverage-istanbul": "4.1.12",
+ "@vitest/coverage-v8": "4.1.12",
+ "@vitest/ui": "4.1.12",
"happy-dom": "*",
"jsdom": "*",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
diff --git a/package.json b/package.json
index 0591faa..5e4129a 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"preview": "vite preview --host 127.0.0.1"
},
"dependencies": {
+ "@zxing/library": "0.23.0",
"jsbarcode": "^3.12.1",
"papaparse": "^5.5.3",
"pdf-lib": "^1.17.1",
@@ -38,8 +39,8 @@
"eslint": "^9.39.0",
"globals": "^16.4.0",
"jsqr": "^1.4.0",
- "typescript-eslint": "^8.46.0",
- "vite": "^7.1.9",
- "vitest": "^4.1.11"
+ "typescript-eslint": "^8.74.0",
+ "vite": "^7.3.8",
+ "vitest": "^4.1.12"
}
}
diff --git a/playwright.config.ts b/playwright.config.ts
index 326a868..fe3f290 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -1,9 +1,17 @@
import { defineConfig } from '@playwright/test';
const deployedUrl = process.env.PLAYWRIGHT_BASE_URL;
+const localPort = Number(process.env.PLAYWRIGHT_PORT ?? 4173);
+if (!Number.isInteger(localPort) || localPort < 1 || localPort > 65535) throw new Error('PLAYWRIGHT_PORT must be a TCP port from 1 to 65535.');
+const localUrl = `http://127.0.0.1:${localPort}`;
export default defineConfig({
testDir: './tests/e2e', fullyParallel: true, workers: 2,
timeout: 60_000, expect: { timeout: 12_000 },
- use: { baseURL: deployedUrl || 'http://127.0.0.1:4173', headless: true, ...(process.env.PLAYWRIGHT_CHANNEL ? { channel: process.env.PLAYWRIGHT_CHANNEL } : {}) },
- webServer: deployedUrl ? undefined : { command: 'npm run build && node tests/serve-production.mjs', url: 'http://127.0.0.1:4173', reuseExistingServer: false },
+ use: { baseURL: deployedUrl || localUrl, headless: true, ...(process.env.PLAYWRIGHT_CHANNEL ? { channel: process.env.PLAYWRIGHT_CHANNEL } : {}) },
+ webServer: deployedUrl ? undefined : {
+ command: `npm run build && node tests/serve-production.mjs ${localPort}`,
+ url: localUrl,
+ reuseExistingServer: false,
+ timeout: 300_000,
+ },
reporter: 'list',
});
diff --git a/portfolio-showcase.json b/portfolio-showcase.json
index 8948b02..1c5c1ec 100644
--- a/portfolio-showcase.json
+++ b/portfolio-showcase.json
@@ -7,62 +7,91 @@
"githubUrl": "https://github.com/private-dev-ph/AssetTagStudio",
"logo": {
"src": "public/branding/assettag-logo.png",
- "alt": "AssetTag Studio logo: a white tag-shaped A with square QR finder motifs on teal"
+ "alt": "AssetTag Studio’s white matrix A with three square finders on a teal tile"
},
"images": [
{
- "src": "docs/media/workspace.png",
- "alt": "AssetTag Studio workspace with imported inventory, a label editor and A4 sheet preview",
- "caption": "Configure labels and page layout beside the imported inventory."
+ "src": "docs/media/walkthroughs/desktop-poster.png",
+ "alt": "Desktop workspace displaying the eight sample assets used in both recordings",
+ "caption": "Sample inventory in the local feature-expansion build."
+ },
+ {
+ "src": "docs/media/walkthroughs/desktop.apng",
+ "alt": "The desktop editor turns eight sample assets into a sheet of Code 128 labels and a print manifest",
+ "caption": "From sample inventory to a one-page PDF."
}
],
"sections": [
- { "type": "problemPurpose" },
- {
- "type": "image",
- "title": "From inventory to printable labels",
- "summary": "The recorded demo uses synthetic inventory and shows the import, label configuration, sheet preview and PDF workflow.",
- "image": {
- "src": "docs/media/demo.gif",
- "alt": "Animated walkthrough of importing synthetic assets and configuring printable QR labels",
- "caption": "A 9.6-second demonstration of the browser-local workflow."
- }
+ {
+ "type": "problemPurpose"
},
- { "type": "keyFeatures" },
{
"type": "carousel",
- "title": "Workspace and output modes",
- "summary": "QR and Code 128 labels, theme options and a responsive workspace.",
+ "title": "One inventory on desktop and mobile",
+ "summary": "The local feature-expansion build takes the same eight sample assets through Code 128 layout, A4 export and the completed print manifest on both screens.",
"autoPlay": false,
"images": [
{
- "src": "docs/media/workspace.png",
- "alt": "QR label editor and printable A4 sheet preview",
- "caption": "Structured QR labels with physical page dimensions."
+ "src": "docs/media/walkthroughs/desktop.apng",
+ "alt": "Eight sample assets become a one-page barcode PDF in the desktop workspace",
+ "caption": "Desktop · 1280 × 800 · editor, print sheet and manifest."
},
{
- "src": "docs/media/barcode.png",
- "alt": "Code 128 label preview with human-readable barcode text",
- "caption": "Code 128 output for printable ASCII identifiers."
+ "src": "docs/media/walkthroughs/mobile.apng",
+ "alt": "The same sample inventory becomes the same PDF using the phone layout and floating tool dock",
+ "caption": "Mobile · 390 × 844 · the same sample rows and print settings."
+ }
+ ]
+ },
+ {
+ "type": "keyFeatures"
+ },
+ {
+ "type": "carousel",
+ "title": "Inside the expansion tools",
+ "summary": "Selected workflows captured directly from the local app using synthetic inventory.",
+ "autoPlay": false,
+ "images": [
+ {
+ "src": "docs/media/features/data-health.apng",
+ "alt": "Data Health reviews inventory issues and previews a cleanup",
+ "caption": "Check a dataset before printing."
},
{
- "src": "docs/media/dark-workspace.png",
- "alt": "AssetTag Studio inventory and label workspace in dark theme",
- "caption": "Dark theme with the same import and export workflow."
+ "src": "docs/media/features/cable-labels.apng",
+ "alt": "Cable labels built from the sample endpoint and port inventory",
+ "caption": "Map the two ends of a cable and inspect the label."
},
{
- "src": "docs/media/mobile-workspace.png",
- "alt": "AssetTag Studio workspace arranged for a narrow mobile screen",
- "caption": "Responsive controls and bounded previews on smaller screens."
+ "src": "docs/media/features/favorites.apng",
+ "alt": "Two tools saved with their stars and opened from Favorites",
+ "caption": "Switch between saved tools without leaving Favorites."
+ },
+ {
+ "src": "docs/media/features/navigation.apng",
+ "alt": "The mobile tool dock opens, switches groups and collapses",
+ "caption": "Use the dock to move between tool groups."
}
]
},
- { "type": "techStack" },
- { "type": "role" },
- { "type": "technicalHighlights" },
- { "type": "challenges" },
- { "type": "results" },
- { "type": "lessons" }
+ {
+ "type": "techStack"
+ },
+ {
+ "type": "role"
+ },
+ {
+ "type": "technicalHighlights"
+ },
+ {
+ "type": "challenges"
+ },
+ {
+ "type": "results"
+ },
+ {
+ "type": "lessons"
+ }
],
"problem": "Equipment inventories already live in spreadsheets, but producing consistent physical labels often means copying identifiers into separate tools, guessing print dimensions or sending inventory to remote services.",
"purpose": "Create a focused, account-free utility for importing inventory, designing QR or barcode labels and exporting physically sized PDF sheets without uploading spreadsheet values.",
@@ -73,7 +102,8 @@
"Configure label fields, ordering, prefixes, typography, dimensions, padding and borders.",
"Arrange labels on A4, Letter, A5 or custom pages with millimeter/inch inputs, margins and gaps.",
"Export multi-page PDFs with progress and cancellation; preview only a bounded subset of labels.",
- "Use light/dark themes and remembered preferences while imported row values stay in memory."
+ "Use light/dark themes and remembered preferences while imported row values stay in memory.",
+ "The expansion adds data cleanup and serial tools, label templates, cable and location layouts, printer profiles, manifests, FieldLens export and saved-tool navigation."
],
"techStack": [
"React", "TypeScript", "Vite", "Papa Parse", "SheetJS", "qrcode", "JsBarcode", "pdf-lib",
@@ -81,43 +111,40 @@
],
"role": "Product scoping and end-to-end delivery across the browser-local architecture, spreadsheet import, label editor, rendering/layout engine, PDF generation, verification, documentation and deployment.",
"technicalHighlights": [
- "Normalize CSV and Excel into a generic string-valued dataset, preserving leading zeroes and supporting arbitrary column names.",
- "Parse in a module worker with cancellation, a deadline, input quotas and structural ZIP/CFB validation before opening Excel files.",
- "Use millimeters as the canonical layout unit and share canvas rendering between preview and physically positioned PDF labels.",
- "Validate QR module density, quiet zones, Code 128 character/width bounds and text fit before producing output.",
- "Bound DOM previews and render caches, yield between export batches and release decoded PDF image channels promptly.",
- "Keep runtime processing on the device, persist only permitted preferences and enforce static security headers."
+ "CSV and Excel imports keep identifiers as text. A serial displayed as 0042 in the spreadsheet can carry those same four characters into a barcode.",
+ "One renderer draws the label you see in the editor and the image placed in the PDF. It checks that the code and its surrounding blank space fit, then the sheet layout positions each label in millimeters.",
+ "The expansion tools share one selection. I can clean serials, fill blank asset IDs and switch to label design with the same rows still selected. Applying a cleanup creates an undo point.",
+ "Each PDF export captures the selected rows, encoded values and sheet positions together. The print manifest can identify the asset assigned to a particular page, row and column even after the inventory is edited."
],
"challengesAndSolutions": [
{
- "challenge": "Different spreadsheet formats, malformed workbooks and stale asynchronous imports could produce inconsistent or excessive parser work.",
- "solution": "Use one normalization contract, worker lifecycle/generation guards, readable diagnostics and file/row/column/cell/archive bounds."
+ "challenge": "Turning off the QR code on a mirrored cable wrap could leave what looked like a single line. The dividing line was visible, but the endpoint text had disappeared.",
+ "solution": "I traced the missing text to the renderer's ink color. It now sets black ink explicitly and draws two complete panels on one label, rotating the second 180 degrees so the markings can be read from either direction."
},
{
- "challenge": "Preview appearance alone does not guarantee that PDF labels have the right dimensions or scannable codes.",
- "solution": "Calculate layout in millimeters, share the label renderer, preserve code quiet zones and validate actual PDF page dimensions and QR decoding in browser tests. Physical printer/scanner calibration remains a separate hardware check."
+ "challenge": "With a large inventory selected, Serial Tools asked the user to preview at most 2,000 rows. The interface gave them no way to choose which 2,000 to work on.",
+ "solution": "I added a starting row, a batch size and controls to move between batches. Users can review the proposed changes, apply them to that batch and continue with the rest of their original selection."
},
{
- "challenge": "Large PDF batches can retain decoded image memory and freeze the interface.",
- "solution": "Embed PDF images promptly, bound caches/previews, yield between batches and offer cancellation. Repeated-label boundary exports are verified; large unique-label export performance remains device-dependent and unbenchmarked."
+ "challenge": "Assembling a large PDF kept decoded label images in memory longer than necessary. Repeated copies of the same label also cost time to render.",
+ "solution": "I embedded each new image as the PDF was built, reused matching labels and gave the browser time between batches to update progress and respond to Cancel."
},
{
- "challenge": "The custom hostname inherited a zone-wide Cloudflare analytics injection despite the app having no telemetry code.",
- "solution": "Add a hostname-scoped Disable RUM rule and rerun hosted network/privacy tests while leaving the main portfolio's analytics intact."
+ "challenge": "The app processed inventory locally, yet its custom domain inherited an analytics script from the hosting account.",
+ "solution": "I traced the script to a Cloudflare setting shared with my portfolio and disabled analytics specifically for the label studio's hostname."
}
],
"resultsImpact": [
- "Deployed an account-free static application at tagstudio.zachcodes.dev with no backend or inventory upload API.",
- "Verified 100 unit tests, including 36 synthetic sample-pack checks; the production browser suite has 16 passing scenarios in local Edge, CI Chromium and hosted Edge verification.",
- "Verified a complete 834-page PDF from 20,000 repeated labels with the standard A4 layout; this is not a benchmark for 20,000 unique labels.",
- "Provided a 30-file synthetic test pack, production screenshots, a 9.6-second demo and an 11-page A4 sample PDF containing 245 invented assets.",
- "Preserved the privacy boundary with request/storage checks, constrained input/rendering paths and verified live security headers."
+ "Deployed an account-free static application with no backend or inventory upload API. Free to use for everyone.",
+ "Helped me and others produce labels for our own inventory.",
+ "Reduced the time and effort needed to produce consistent physical labels from existing spreadsheets.",
+ "Removed the need for paid or proprietary label services, allowing users to keep their data private and on-device.",
+ "Provided a solution that maintains user privacy and data control, ensuring that sensitive information remains on the user's device.",
+ "With the expansion, I can give someone a reusable label template without sharing the inventory I used to design it. They can map their own column names and keep the same layout."
],
"lessonsLearned": [
- "A shared data and rendering contract reduces differences between imported formats, previews and exported output.",
- "Import acceptance and renderability are different boundaries: a valid spreadsheet cell may still be too long or dense for a printable label.",
- "Hosting defaults need verification too; analytics injection can originate outside application source.",
- "Repeated-label stress tests benefit from caching and must not be presented as evidence for equally sized unique-label workloads.",
- "A small structured editor and static deployment keep the product focused and maintainable; named templates, extra code formats and printer profiles can follow measured user needs."
+ "I learned how easily a safe default can look like a broken tool. The ID generator correctly skipped populated IDs, but seeing “0 IDs” gave people little to act on. Showing how many selected cells are blank explains when generation will help.",
+ "A preview can show where a label belongs on the sheet. Finding where a particular printer actually puts it takes a physical reference. That led me to add a calibration sheet with a ruler and crosshairs, plus named profiles for keeping each printer's correction.",
+ "Favorites only became useful as a workspace when opening a saved tool kept its siblings within reach. Keeping people inside Favorites lets them move between their regular tools in the order they work."
]
}
diff --git a/public/_headers b/public/_headers
index 15b0fd8..ba7ed6c 100644
--- a/public/_headers
+++ b/public/_headers
@@ -2,7 +2,7 @@
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
- Permissions-Policy: camera=(), microphone=(), geolocation=(), payment=(), usb=()
+ Permissions-Policy: camera=(self), microphone=(), geolocation=(), payment=(), usb=()
Content-Security-Policy: default-src 'self'; base-uri 'self'; object-src 'none'; frame-ancestors 'none'; form-action 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self'; worker-src 'self'; connect-src 'self'
/assets/*
diff --git a/public/branding/apple-touch-icon.png b/public/branding/apple-touch-icon.png
index c4ef948..5819438 100644
Binary files a/public/branding/apple-touch-icon.png and b/public/branding/apple-touch-icon.png differ
diff --git a/public/branding/assettag-logo-horizontal.svg b/public/branding/assettag-logo-horizontal.svg
index ed10d70..d8e5d29 100644
--- a/public/branding/assettag-logo-horizontal.svg
+++ b/public/branding/assettag-logo-horizontal.svg
@@ -1,4 +1,24 @@
-
+
\ No newline at end of file
diff --git a/public/branding/assettag-logo-tag-horizontal.svg b/public/branding/assettag-logo-tag-horizontal.svg
new file mode 100644
index 0000000..f46b38f
--- /dev/null
+++ b/public/branding/assettag-logo-tag-horizontal.svg
@@ -0,0 +1,28 @@
+
\ No newline at end of file
diff --git a/public/branding/assettag-logo.png b/public/branding/assettag-logo.png
index 4338a61..3507651 100644
Binary files a/public/branding/assettag-logo.png and b/public/branding/assettag-logo.png differ
diff --git a/public/branding/assettag-logo.svg b/public/branding/assettag-logo.svg
new file mode 100644
index 0000000..03a314a
--- /dev/null
+++ b/public/branding/assettag-logo.svg
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/public/branding/assettag-mark-currentcolor.svg b/public/branding/assettag-mark-currentcolor.svg
index 8afdb58..b3bb714 100644
--- a/public/branding/assettag-mark-currentcolor.svg
+++ b/public/branding/assettag-mark-currentcolor.svg
@@ -1,8 +1,10 @@
-