OPS-1430: Add what are you interested in option in demo form#6459
OPS-1430: Add what are you interested in option in demo form#6459carlosabadia wants to merge 3 commits intomainfrom
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
Greptile SummaryThis PR adds a new "What are you interested in?" select field to the demo form (with options: AI builder, MCP, On-Prem, App Management) and consolidates it alongside the existing "How technical are you?" field into the responsive 2-column grid, creating a clean 2×2 layout on medium+ screens. The
Confidence Score: 4/5Safe to merge — the changes are additive and self-contained, touching only the form layout and PostHog key allowlist. The new field is wired up correctly end-to-end: it appears in the form, it is required, and its key is present in the PostHog allowlist. The only observation is a minor style inconsistency where one select_field call still passes required as a positional True rather than the keyword required=True used by every other call in the same block. No files require special attention; the style inconsistency in demo_form.py is cosmetic only. Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant DemoForm
participant DemoFormStateUI
participant PostHog
User->>DemoForm: Fill fields (name, email, company, interested_in, technical_level, …)
User->>DemoForm: Submit
DemoForm->>DemoFormStateUI: track_demo_form_posthog(form_data)
DemoFormStateUI->>PostHog: track_demo_form_posthog_submission(form_data)
Note over PostHog: Filter keys via _COMMON_KEYS<br/>(now includes "interested_in")
PostHog-->>User: posthog.identify + posthog.capture("demo_request", props)
DemoForm->>DemoForm: Close dialog (demo_form_open_cs = false)
Reviews (1): Last reviewed commit: "update word" | Re-trigger Greptile |
No description provided.