From 68486cbe322e969c724bdb27328f8a8296f70271 Mon Sep 17 00:00:00 2001 From: JoshuaVSherman Date: Thu, 16 Jul 2026 17:21:50 -0400 Subject: [PATCH 1/7] =?UTF-8?q?docs(agents):=20PR=20body=20conventions=20?= =?UTF-8?q?=E2=80=94=20bullets,=20real=20evidence,=20exact=20model=20attri?= =?UTF-8?q?bution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Haiku 4.5 --- AGENTS.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 3aa9ff9..7829b70 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -34,3 +34,12 @@ A React + TypeScript + Vite front-end for Apperson Auto. ## Memory (Add lessons learned here, one bullet each.) + +## Pull requests + +### PR body conventions (violations may be machine-rejected) + +- **Summary**: markdown bullet points, one change per bullet — never a run-on paragraph. +- **Test evidence**: paste the REAL runner output verbatim (the lines showing pass/fail and test counts), inside a ``` fence — never a description like "all tests passed". If the output has scrolled out of view, re-run the test command and paste what it prints. +- **Test plan**: exact commands and manual steps that exercise the change (start command, route/page, what to click, expected visible result) — a green test suite alone is not a plan. +- **Attribution**: `--author` names the model actually doing the work. Antigravity/agy sessions are ALWAYS `Antigravity — Gemini 3.5 Flash (Medium)` or `(High)` — never write any other Gemini model name (models misremember their own identity; use this exact string). diff --git a/package.json b/package.json index ecdb3c8..f1fd3b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "appersonautomotive.com", - "version": "3.1.0", + "version": "3.1.1", "description": "appersonautomotive.com", "main": "dist/index.html", "repository": { From a2a76b758bad5725521f89560506a287f73461a3 Mon Sep 17 00:00:00 2001 From: JoshuaVSherman Date: Thu, 16 Jul 2026 21:03:31 -0400 Subject: [PATCH 2/7] docs(agents): Fix agy attribution example in AGENTS.md PR-body conventions Replace deprecated Antigravity tool reference with agy in attribution example, matching the footer the web-jam-tools create-draft-pr.sh script actually composes. Co-Authored-By: Claude Haiku 4.5 --- AGENTS.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 7829b70..3a7a0a8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -42,4 +42,4 @@ A React + TypeScript + Vite front-end for Apperson Auto. - **Summary**: markdown bullet points, one change per bullet — never a run-on paragraph. - **Test evidence**: paste the REAL runner output verbatim (the lines showing pass/fail and test counts), inside a ``` fence — never a description like "all tests passed". If the output has scrolled out of view, re-run the test command and paste what it prints. - **Test plan**: exact commands and manual steps that exercise the change (start command, route/page, what to click, expected visible result) — a green test suite alone is not a plan. -- **Attribution**: `--author` names the model actually doing the work. Antigravity/agy sessions are ALWAYS `Antigravity — Gemini 3.5 Flash (Medium)` or `(High)` — never write any other Gemini model name (models misremember their own identity; use this exact string). +- **Attribution**: `--author` names the model actually doing the work. Antigravity/agy sessions are ALWAYS `agy — Gemini 3.5 Flash (Medium)` or `(High)` — never write any other Gemini model name (models misremember their own identity; use this exact string). diff --git a/package.json b/package.json index f1fd3b9..812066a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "appersonautomotive.com", - "version": "3.1.1", + "version": "3.1.2", "description": "appersonautomotive.com", "main": "dist/index.html", "repository": { From 42bcbb49b8ed2a4dc5f4f6197d1535c16f4eb216 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jul 2026 12:39:09 +0000 Subject: [PATCH 3/7] chore(deps): Bump brace-expansion from 5.0.6 to 5.0.7 Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.6 to 5.0.7. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.6...v5.0.7) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d2be99c..e76af90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "appersonautomotive.com", - "version": "3.1.0", + "version": "3.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "appersonautomotive.com", - "version": "3.1.0", + "version": "3.1.2", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -2879,9 +2879,9 @@ } }, "node_modules/brace-expansion": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", - "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", + "version": "5.0.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz", + "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==", "devOptional": true, "license": "MIT", "dependencies": { From f9f312a6bdab0b4214a6277c5234b35c57c14ba9 Mon Sep 17 00:00:00 2001 From: JoshuaVSherman Date: Thu, 23 Jul 2026 05:12:49 -0400 Subject: [PATCH 4/7] chore: bump version to 3.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 812066a..b822d00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "appersonautomotive.com", - "version": "3.1.2", + "version": "3.2.0", "description": "appersonautomotive.com", "main": "dist/index.html", "repository": { From a041da22bbea4612c90b6353ef2e5224bb09aa0d Mon Sep 17 00:00:00 2001 From: JoshuaVSherman Date: Thu, 23 Jul 2026 05:14:57 -0400 Subject: [PATCH 5/7] feat(nav): inject and display app version in side menu drawer --- src/App/AppTemplate.tsx | 22 +++++++++++++++++ src/global.d.ts | 1 + src/styles/_mobile.scss | 1 + test/App/__snapshots__/App.spec.tsx.snap | 12 ++++++++++ .../__snapshots__/AppTemplate.spec.tsx.snap | 24 +++++++++++++++++++ vite.config.ts | 6 +++++ 6 files changed, 66 insertions(+) create mode 100644 src/global.d.ts diff --git a/src/App/AppTemplate.tsx b/src/App/AppTemplate.tsx index e90f703..34a6bcc 100644 --- a/src/App/AppTemplate.tsx +++ b/src/App/AppTemplate.tsx @@ -115,21 +115,43 @@ export class AppTemplate extends Component { } mobileMenu() { + const labelStyle: React.CSSProperties = { + position: 'absolute', bottom: '15px', left: 0, right: 0, justifyContent: 'center', opacity: 0.6, pointerEvents: 'none', + }; + const spanStyle: React.CSSProperties = { + fontSize: '13px', color: '#c0c0c0', fontFamily: 'Habibi, ChivoBlack, Arial, sans-serif', + }; return (
{this.callText()} {this.addressBlock()} {this.menus.map((menu, index) => this.makeMenuLink(menu, index))} +
+ + v{__APP_VERSION__} + +
); } navLinks(width: number) { if (width < 1162) return this.mobileMenu(); + const labelStyle: React.CSSProperties = { + position: 'absolute', bottom: '15px', left: 0, right: 0, justifyContent: 'center', opacity: 0.6, pointerEvents: 'none', + }; + const spanStyle: React.CSSProperties = { + fontSize: '13px', color: '#c0c0c0', fontFamily: 'Habibi, ChivoBlack, Arial, sans-serif', + }; return (
{this.addressBlock()} {this.menus.map((menu, index) => this.makeMenuLink(menu, index))} +
+ + v{__APP_VERSION__} + +
); } diff --git a/src/global.d.ts b/src/global.d.ts new file mode 100644 index 0000000..41fad5b --- /dev/null +++ b/src/global.d.ts @@ -0,0 +1 @@ +declare const __APP_VERSION__: string; diff --git a/src/styles/_mobile.scss b/src/styles/_mobile.scss index 050fed0..7e88160 100644 --- a/src/styles/_mobile.scss +++ b/src/styles/_mobile.scss @@ -148,6 +148,7 @@ top : 0; right : 0; width : 220px; + height : 100%; margin : auto; padding-top : 1px; background-color: #505050; diff --git a/test/App/__snapshots__/App.spec.tsx.snap b/test/App/__snapshots__/App.spec.tsx.snap index 55c9857..cc6c89b 100644 --- a/test/App/__snapshots__/App.spec.tsx.snap +++ b/test/App/__snapshots__/App.spec.tsx.snap @@ -149,6 +149,18 @@ exports[`App component > renders the component 1`] = ` + diff --git a/test/App/__snapshots__/AppTemplate.spec.tsx.snap b/test/App/__snapshots__/AppTemplate.spec.tsx.snap index 5812412..8256ddf 100644 --- a/test/App/__snapshots__/AppTemplate.spec.tsx.snap +++ b/test/App/__snapshots__/AppTemplate.spec.tsx.snap @@ -145,6 +145,18 @@ exports[`AppTemplate > calls the mobile menu 1`] = ` + @@ -399,6 +411,18 @@ exports[`AppTemplate > renders the component 1`] = ` + diff --git a/vite.config.ts b/vite.config.ts index 11a7fcb..ad10ffe 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,10 +1,13 @@ /// import { defineConfig, loadEnv, type Plugin } from 'vite'; import { fileURLToPath } from 'node:url'; +import { readFileSync } from 'node:fs'; import react from '@vitejs/plugin-react'; import checker from 'vite-plugin-checker'; const srcDir = fileURLToPath(new URL('./src', import.meta.url)); +const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf-8')); + const APP_ENV_KEYS = [ 'BackendUrl', @@ -31,6 +34,9 @@ export default defineConfig(({ mode }) => { const env: Record = { ...loadEnv(mode, process.cwd(), ''), NODE_ENV: mode }; const isTest = mode === 'test' || process.env.VITEST; return { + define: { + __APP_VERSION__: JSON.stringify(pkg.version), + }, plugins: [ ...(isTest ? [] : [replaceProcessEnv(env), checker({ typescript: { tsconfigPath: './tsconfig.build.json' } })]), react(), From 937eda73097da5c726e2f94ff2d40ec12b839f9c Mon Sep 17 00:00:00 2001 From: JoshuaVSherman Date: Thu, 23 Jul 2026 05:15:13 -0400 Subject: [PATCH 6/7] chore: fold /learn updates into AGENTS.md --- AGENTS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 3a7a0a8..7361f0a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -33,7 +33,9 @@ A React + TypeScript + Vite front-end for Apperson Auto. manual cleanup. ## Memory -(Add lessons learned here, one bullet each.) +- Declare Vite `define` variables (e.g., `__APP_VERSION__`) in `src/global.d.ts` to ensure TypeScript resolves them cleanly. +- Ensure the mobile navigation list (`.nav-list`) has `height: 100%` when using absolute positioning for bottom-anchored elements. + ## Pull requests From 4420c9e4f8a236c31782fc78929521935d146b5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 09:55:13 +0000 Subject: [PATCH 7/7] chore(deps): Bump fast-uri from 3.1.2 to 3.1.4 Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.4) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e76af90..900cb08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "appersonautomotive.com", - "version": "3.1.2", + "version": "3.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "appersonautomotive.com", - "version": "3.1.2", + "version": "3.2.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -4026,9 +4026,9 @@ "license": "MIT" }, "node_modules/fast-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", - "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.4.tgz", + "integrity": "sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==", "devOptional": true, "funding": [ {