Skip to content

Feat/website brand import - #2

Merged
thomas-chu-30 merged 3 commits into
masterfrom
feat/website-brand-import
Sep 18, 2026
Merged

thomas-chu-30 merged 3 commits into
masterfrom
feat/website-brand-import

Conversation

@herefindalex

@herefindalex herefindalex commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Replace runtime Website Brand Capture with a request-bound Website Brand Import workflow.
  • Let Admin generate a source-bound prompt, paste structured external-model output, review the proposed field-level diff, confirm content rights, and apply the result to the Website Working configuration.
  • Add structured Organization, Header, Footer, Navigation, Theme, contact, and brand-layout handling with server-side normalization and validation.
  • Update public rendering, responsive styles, accessibility contrast handling, Admin UI, localization copy, and embedded frontend assets.
  • Remove the previous runtime browser-capture implementation and its tests.
  • Keep broad engineering documentation changes in the separate docs/engineering-guides branch.

Scope and safety

  • Import results are bound to the original request ID, source URL, prompt version, expiry, user, and current Working revision.
  • Import applies only to Website Working state; it does not publish automatically.
  • Rights confirmation is required before applying a validated proposal.
  • The deployed Go process does not gain a browser, AI runtime, or external-model dependency.

Verification

  • go test ./... — 396 tests passed
  • go test -tags poc ./... -timeout=5m — 435 tests passed
  • go vet ./... — passed
  • pnpm --dir web/ui typecheck — passed
  • pnpm --dir web/ui test — 50 tests passed
  • Rebuilt embedded Admin and Public assets match the committed outputs

Before merge

  • Require imported Headers to retain the core Search and RFQ actions.
  • Make generated Product HTML render utility Search consistently with other public pages.
  • Enforce the bundled JSON Schema during server-side validation.
  • Expose unsupported-source observations and field evidence to Admin before apply.
  • Correct the Brand Import preview condition and ensure preview represents the proposed configuration.

Replace runtime website capture with a request-bound external-model import workflow. This keeps the production Go process free of browser and AI runtime dependencies while validating the exact source URL, rights confirmation, structured brand data, and preview/publish boundaries. Add the Admin import flow, public brand layouts, schema validation, tests, documentation, and regenerated embedded assets.
@thomas-chu-30 thomas-chu-30 self-assigned this Sep 18, 2026
@thomas-chu-30

Copy link
Copy Markdown
Collaborator

approval

@thomas-chu-30 thomas-chu-30 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval !!

@thomas-chu-30
thomas-chu-30 merged commit 06c5d97 into master Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants