Skip to content

bundle ng-basic-catalog as default out-of-the-box renderer#71

Open
jgindin wants to merge 1 commit into
mainfrom
fast-start
Open

bundle ng-basic-catalog as default out-of-the-box renderer#71
jgindin wants to merge 1 commit into
mainfrom
fast-start

Conversation

@jgindin

@jgindin jgindin commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Description

Include the ng-basic-catalog sample in with the shell build so that you can be up & running immediately.

Pre-launch Checklist

  • I signed the [CLA].
  • I read the [Contributors Guide].
  • I read the [Style Guide].
  • I have added updates to the [CHANGELOG].
  • I updated/added relevant documentation.
  • My code changes (if any) have tests.
  • If my branch is on fork, I have verified that scripts/e2e_test.sh passes.

@github-actions

Copy link
Copy Markdown
Contributor

⚡ A2UI Composer PR Preview

Your automated preview is successfully live:
👉 Launch PR Preview

Note: This environment will be wiped automatically when the PR is merged or closed.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for relative renderer URLs (starting with '/') across the application, updating the configuration, settings validation, query parser, and preview bridge fetch calls accordingly. It also integrates dynamic initial draft pre-population based on the active catalog. The reviewer feedback highlights three main areas for improvement: addressing potential state desynchronization when switching active catalogs, using JSON.stringify instead of template string interpolation to construct JSON safely, and replacing corepack yarn with standard yarn in the package scripts for better portability and consistency.

Comment thread shell/src/app/chat/state-sync/state-sync.ts
Comment thread shell/src/app/chat/state-sync/state-sync.ts Outdated
Comment thread shell/package.json Outdated
@jgindin jgindin force-pushed the fast-start branch 4 times, most recently from 2d74a02 to 7826a66 Compare June 23, 2026 15:44
@jgindin jgindin requested a review from sugoi-yuzuru June 23, 2026 15:50
- Update shell build options in angular.json to copy basic catalog
  assets and preserve symlinks.
- Create symlink in shell/src/samples to work around Angular CLI
  folder copying rules.
- Set defaultRendererUrl in config.json to relative path.
- Add basic catalog workspace dependency to shell package.json for
  build ordering, and build catalog workspace on shell start.
- Configure ng-basic-catalog build with relative base href to support
  embedded frame loading.
- Resolve preview-bridge catalog endpoints relatively to support
  embedded paths.
- Relax settings page pattern validator and QueryParser URL parser to
  support relative paths.
- Add E2E and unit tests verifying relative URL resolution, validation,
  and initial workspace loading.
- Restrict CAR_BOOKING pre-population to when the renderer app
  supports the basic catalog.
- Update StateSync to dynamically detect catalog changes and reset the
  active draft if incompatible.
- Safely serialize catalog initial drafts using JSON.stringify.
- Change start script in shell package.json to use standard yarn for
  improved portability.
- Add unit tests for StateSync to cover dynamic draft resets on catalog
  change and verify parsing logic edge cases.
- Fix failing React basic catalog test to expect relative path 'catalog' fetch.

TAG=agy
BUG=
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.

1 participant