Skip to content

Conversation

@thehansong
Copy link
Contributor

Introduces a GenAI feature flag fetched from the backend and exposes it on the window object. Updates itemCardRenderer to conditionally render GenAI UI elements based on the feature flag and rule support.

This PR adds...

  • I've kept this PR as small as possible (~500 lines) by splitting it into PRs with manageable chunks of code
  • I've requested reviews from 1 reviewer
  • I've tested existing features (website scan, sitemap, custom flow) in both node index and cli
  • I've synced this fork with GovTechSG repo
  • I've added/updated unit tests
  • I've added/updated any necessary dependencies in package[-lock].json npm audit, portable installation on GitHub Actions

Introduces a GenAI feature flag fetched from the backend and exposes it on the window object. Updates itemCardRenderer to conditionally render GenAI UI elements based on the feature flag and rule support.
@thehansong thehansong self-assigned this Dec 16, 2025
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