Skip to content

Gallery 1 shell link#56

Open
jgindin wants to merge 3 commits into
mainfrom
gallery-1-shell-link
Open

Gallery 1 shell link#56
jgindin wants to merge 3 commits into
mainfrom
gallery-1-shell-link

Conversation

@jgindin

@jgindin jgindin commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Description

Remove the showComponentsGallery signal to expose the components gallery link in the primary navigation sidebar.

This is the first in a series of PRs which culminates in a dynamically generated page to show the components of the current catalog:
image

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.

Enables correct rendering of material icons inside the sandboxed preview
iframe running the ng-basic-catalog app.

@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 makes the 'Components Gallery' navigation link visible by default, removes the associated conditional signal, and updates the corresponding E2E and unit tests. It also adds support for stripping a JSON safety prefix when fetching the startup configuration, along with several new unit tests. The review feedback highlights two important issues: first, MatListItemHarness does not support getFullText(), so getText() should be used instead to avoid runtime errors; second, the regular expression used to strip the JSON safety prefix should be made more robust by using \s* instead of explicitly matching only a single newline.

Comment thread shell/src/app/shell/composer-shell/test/composer-shell.harness.ts
Comment thread shell/src/app/shell/startup-resolution/startup-resolution.ts Outdated
@github-actions

github-actions Bot commented Jun 19, 2026

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.

jgindin added 2 commits June 19, 2026 16:42
* Use `QueryParser.` instead of `this.` when calling static functions
* Ensure returned config.json doesn't have "JSON hijacking" prefixes
Remove the showComponentsGallery signal to expose
the components gallery link in the primary navigation sidebar.
Adds test coverage checking link visibility using shell harnesses.
@jgindin jgindin force-pushed the gallery-1-shell-link branch from 6131b9e to b4b3978 Compare June 19, 2026 20:42
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