Skip to content

@W-22334153 Adding fixes for navigate action in Omniscript#493

Merged
sf-pallavi-das merged 2 commits into
salesforcecli:developfrom
sf-pallavi-das:u/pallavi-das/W-22334153_navigate_action
May 29, 2026
Merged

@W-22334153 Adding fixes for navigate action in Omniscript#493
sf-pallavi-das merged 2 commits into
salesforcecli:developfrom
sf-pallavi-das:u/pallavi-das/W-22334153_navigate_action

Conversation

@sf-pallavi-das
Copy link
Copy Markdown
Collaborator

@sf-pallavi-das sf-pallavi-das commented May 22, 2026

What does this PR do?

  • Added processNavigateAction handler in that resolves Type/Sub Type/Language from the legacy LWC OmniScript reference using the name registry and clears the LWC name field.
  • Rewrites OmniScript Prefill keys from the managed-package c__ namespace to the standard runtime omniscript__ namespace (only at key boundaries, not inside values).
  • Wired the new Navigate Action constant into the dispatcher and added 6 unit tests in covering match/no-match, prefill rewriting, and dispatcher integration.

What issues does this PR fix or reference?

@sf-pallavi-das sf-pallavi-das requested a review from a team as a code owner May 22, 2026 15:39
Copy link
Copy Markdown

@shaurabh-tiwari-git shaurabh-tiwari-git left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Collaborator

@mdmehran-qureshi mdmehran-qureshi left a comment

Choose a reason for hiding this comment

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

.

Comment thread src/migration/omniscript.ts
Comment thread src/migration/omniscript.ts
Comment thread src/migration/omniscript.ts
Comment thread test/migration/omniscript-content-processing.test.ts Outdated
Copy link
Copy Markdown
Contributor

@sf-kishore-kurri sf-kishore-kurri left a comment

Choose a reason for hiding this comment

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

Can you add the video recording of the working use case post migration, changes LGTM

@sf-pallavi-das sf-pallavi-das force-pushed the u/pallavi-das/W-22334153_navigate_action branch from fa95e77 to adc5b42 Compare May 29, 2026 12:50
@sf-pallavi-das sf-pallavi-das merged commit 1350439 into salesforcecli:develop May 29, 2026
1 check 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.

4 participants