Skip to content

chore(desktop): keep the sample prompt rows, drop the prompt-cards experiment - #8855

Merged
saddlepaddle merged 1 commit into
mainfrom
saddlepaddle/remove-prompt-cards-experiment
Oct 24, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
saddlepaddle/remove-prompt-cards-experiment

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

What & why

Experiment 419092 compared the new-workspace sample prompts as three rows, two cards, or four cards, but it never launched (no start date). Its flag stayed off, so everyone has been seeing the three rows. Only new-workspace-prompt-cards-override showed the two-card layout, to one account.

The rows stay. This removes:

  • the SamplePromptCards component and its agent-logo cluster;
  • useNewWorkspacePromptCardsVariant;
  • the NEW_WORKSPACE_PROMPT_CARDS and NEW_WORKSPACE_PROMPT_CARDS_OVERRIDE entries in FEATURE_FLAGS;
  • the card-only description on each sample prompt, plus its 7 strings in every locale catalog (deletions only);
  • comments that described the experiment's arms.

One behavior change: the rows no longer wait up to 2 s for PostHog flags before showing.

Both flags are deleted in PostHog. The draft experiment stays: PostHog can only archive an experiment that has run.

How I tested it

  • In the dev desktop app over CDP, New Workspace shows the three rows ("Get more out of Superset", "Improve the agent instructions", "Add tests where they're missing").
  • DashboardNewWorkspaceModal tests pass (20). tsc for desktop shows no errors in the touched files. Biome is clean. check:i18n passes, and its catalog changes are deletions only.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Workspace
    • The new workspace screen now displays three suggested prompts in the standard prompt list instead of the experimental prompt-card layouts.
    • Suggested prompts no longer include supporting descriptions, and the prompt-card dismiss and layout options are no longer available.

…periment

Experiment 419092 (rows vs two cards vs four cards) never launched: its
flag stayed off, so everyone saw the three rows, and only an override
showed the two-card layout to one account. The rows stay; the cards,
the variant hook, the card-only prompt descriptions and both flags go.

Without a flag to wait for, the rows also no longer hold for up to two
seconds while PostHog loads.

Co-authored-by: Claude <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c84f9954-61bb-4a53-aec6-5c042f3c8dc3
Commits

Reviewing files that changed from the base of the PR and between 348d54e and 4f51732.

Files selected for processing: 27
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/NewWorkspaceScreen.tsx
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/SamplePromptCards.tsx
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/components/AgentLogoCluster/AgentLogoCluster.tsx
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/components/AgentLogoCluster/index.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/index.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePrompts/constants.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/hooks/useSamplePromptSelection/useSamplePromptSelection.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/hooks/useNewWorkspacePromptCardsVariant/index.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/hooks/useNewWorkspacePromptCardsVariant/useNewWorkspacePromptCardsVariant.ts
  • packages/i18n/locales/cs/messages.po
  • packages/i18n/locales/de/messages.po
  • packages/i18n/locales/en/messages.po
  • packages/i18n/locales/es/messages.po
  • packages/i18n/locales/fr/messages.po
  • packages/i18n/locales/id/messages.po
  • packages/i18n/locales/it/messages.po
  • packages/i18n/locales/ja/messages.po
  • packages/i18n/locales/ko/messages.po
  • packages/i18n/locales/nl/messages.po
  • packages/i18n/locales/pl/messages.po
  • packages/i18n/locales/pt-BR/messages.po
  • packages/i18n/locales/ru/messages.po
  • packages/i18n/locales/tr/messages.po
  • packages/i18n/locales/vi/messages.po
  • packages/i18n/locales/zh-CN/messages.po
  • packages/i18n/locales/zh-TW/messages.po
  • packages/shared/src/constants.ts
Files with no reviewable changes: 24
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/components/AgentLogoCluster/index.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/components/AgentLogoCluster/AgentLogoCluster.tsx
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/index.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/hooks/useNewWorkspacePromptCardsVariant/index.ts
  • packages/shared/src/constants.ts
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/components/NewWorkspaceScreen/components/SamplePromptCards/SamplePromptCards.tsx
  • packages/i18n/locales/en/messages.po
  • packages/i18n/locales/zh-CN/messages.po
  • packages/i18n/locales/pt-BR/messages.po
  • packages/i18n/locales/de/messages.po
  • apps/desktop/src/renderer/routes/_authenticated/components/DashboardNewWorkspaceModal/hooks/useNewWorkspacePromptCardsVariant/useNewWorkspacePromptCardsVariant.ts
  • packages/i18n/locales/fr/messages.po
  • packages/i18n/locales/nl/messages.po
  • packages/i18n/locales/id/messages.po
  • packages/i18n/locales/zh-TW/messages.po
  • packages/i18n/locales/cs/messages.po
  • packages/i18n/locales/pl/messages.po
  • packages/i18n/locales/tr/messages.po
  • packages/i18n/locales/vi/messages.po
  • packages/i18n/locales/es/messages.po
  • packages/i18n/locales/ja/messages.po
  • packages/i18n/locales/it/messages.po
  • packages/i18n/locales/ru/messages.po
  • packages/i18n/locales/ko/messages.po

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

Walkthrough

The new workspace screen now displays three sample prompts through SamplePrompts. The prompt-card experiment, its card UI, and associated prompt descriptions and translations have been removed.

Changes: New workspace sample prompts

Layer / File(s) Summary
Prompt selection and experiment removal
apps/desktop/.../NewWorkspaceScreen/*, apps/desktop/.../hooks/useNewWorkspacePromptCardsVariant/*, packages/shared/src/constants.ts
The screen selects and renders three sample prompts without a variant check. The prompt-card component, variant hook, feature flags, and prompt descriptions are removed. Dismissal analytics no longer include a layout value.
Remove obsolete prompt translations
packages/i18n/locales/*/messages.po
Locale catalogs remove the entries for six suggested prompts.

Priority: Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related PRs

  • superset-sh/superset#8845: This PR removes unused feature flags but retains the prompt-card flags that this change removes.

Suggested reviewers: kitenite

Merge Risk: Minimal · up to 4f517

The experiment removal preserves the three-row prompt flow and leaves no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title "chore(desktop): keep the sample prompt rows, drop the prompt-cards experiment" follows conventional commit format and names the main change: removing the unlaunched prompt-cards experiment …
Description check Passed The description follows the template well. The 'What & why' section explains the change and the problem: an experiment that never launched, its flags, and the removed components, hooks, flags, descrip…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 3 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(desktop): keep the sample prompt rows, drop the prompt-cards experiment" follows conventional commit format and names the main change: removing the unlaunched prompt-cards experiment while keeping the three-row sample prompt layout. The changeset removes SamplePromptCards, the useNewWorkspacePromptCardsVariant hook, the related feature flags, and the card-only descriptions and locale strings, so the title matches the objectives. The title is 77 characters, which is slightly long but still readable.

Full details: Description check

Explanation

The description follows the template well. The 'What & why' section explains the change and the problem: an experiment that never launched, its flags, and the removed components, hooks, flags, descriptions, and locale strings. It also notes a behavior change (no 2 s wait for PostHog flags) and states that the flags were deleted in PostHog. The 'How I tested it' section lists concrete verification steps: a CDP check of the three rows, 20 passing modal tests, a clean tsc run on touched files, clean Biome, and a passing check:i18n. Gaps: the template's issue link is absent, and no screenshots are attached even though the change is user-visible. The checklist items are not ticked, and the description does not confirm lint and typecheck across the repo (bun run lint and bun run typecheck).

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@greptile-apps

greptile-apps Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Removes the prompt-cards experiment and keeps the existing three sample-prompt rows.

  • The New Workspace screen shows three sample-prompt rows without a card experiment.

saddlepaddle explicitly described removing the PostHog wait as intentional. The setup-query guard remains, and three prompts match the previous control layout.

No actionable issues found. Review was static; no tests or UI checks were run.

Reviews (1) · Last reviewed commit: "chore(desktop): keep the sample prompt r..." · Reviewed by Greptile

@expo

expo Bot commented Oct 24, 2026

Copy link
Copy Markdown

Preview update published for development build db42788c (fingerprint e28b4b490ccc). Open the build on your phone and scan:

Update group 2a6a24d9

@saddlepaddle
saddlepaddle merged commit 7eb0db9 into main Oct 24, 2026
19 checks passed

This branch was previously deployed

1 inactive deployment
preview — 4f517328 Deployed Oct 24, 2026 by saddlepaddle via Deploy Web #12704
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