Skip to content

SCAL-312776: deprecate V1/v2 homepage and nav and keep V3 as default#530

Open
jishnupavithran007 wants to merge 7 commits into
mainfrom
SCAL-312776
Open

SCAL-312776: deprecate V1/v2 homepage and nav and keep V3 as default#530
jishnupavithran007 wants to merge 7 commits into
mainfrom
SCAL-312776

Conversation

@jishnupavithran007

Copy link
Copy Markdown
Collaborator

No description provided.

@jishnupavithran007 jishnupavithran007 requested a review from a team as a code owner May 18, 2026 11:04
@pkg-pr-new

pkg-pr-new Bot commented May 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@thoughtspot/visual-embed-sdk@530

commit: d06bb98

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

Copy link
Copy Markdown
Contributor

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 updates the AppEmbed configuration and related types to reflect the deprecation of V1 and V2 home page experiences, establishing V3 (ModularWithStylingChanges) as the new baseline. Key changes include updating JSDoc documentation to flag deprecated properties, removing the explicit modularHomeExperience parameter from URL generation (favoring homepageVersion), and updating unit tests to match these URL parameter changes. Feedback was provided regarding the placement of {@link} tags within @deprecated JSDoc blocks to ensure proper rendering and adherence to the repository's style guide.

Comment thread src/embed/app.ts Outdated
Comment thread src/embed/app.ts Outdated
@jishnupavithran007 jishnupavithran007 changed the title SCAL-312776: deprecate V1/v2 homepage and keep V3 as default SCAL-312776: deprecate V1/v2 homepage and nav and keep V3 as default Jun 1, 2026
@shivam-kumar-ts

Copy link
Copy Markdown
Contributor

/gemini review

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

Copy link
Copy Markdown
Contributor

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 new CSS variables for styling the left navigation panel, deprecates the V1 and V2 home page and navigation experiences, and updates the default navigation and home page versions to V3. It also removes the deprecated modularHomeExperience default parameter. The review feedback points out that numerous unit tests in app.spec.ts will fail because their expected URLs do not account for the new default parameters (navigationVersion=v3 and homepageVersion=v3). Additionally, the reviewer provides actionable suggestions to fix JSDoc tag ordering, correct typos, and standardize the casing of version names (e.g., using uppercase 'V3' instead of 'v3') across comments and documentation to ensure consistency.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/embed/app.spec.ts Outdated
Comment thread src/embed/app.spec.ts Outdated
Comment thread src/embed/app.spec.ts Outdated
Comment thread src/embed/app.spec.ts Outdated
Comment thread src/embed/app.spec.ts Outdated
Comment thread src/types.ts Outdated
Comment thread src/types.ts Outdated
Comment thread src/types.ts Outdated
Comment thread src/types.ts Outdated
Comment thread src/types.ts Outdated
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