Skip to content

Promote to prod: third welcome card opens FAQ panel + send icon + gu spacing fix - #138

Merged
KDwevedi merged 3 commits into
amul-prodfrom
promote/faq-third-card-prod
Jul 28, 2026
Merged

Promote to prod: third welcome card opens FAQ panel + send icon + gu spacing fix#138
KDwevedi merged 3 commits into
amul-prodfrom
promote/faq-third-card-prod

Conversation

@KDwevedi

Copy link
Copy Markdown
Collaborator

Promotes the third-welcome-card work from amul-dev to amul-prod.

What ships

Commit Change
b69ace5 Third welcome card ("More Useful Questions") opens the Settings FAQ list instead of sending a prompt. Cherry-pick -x of b76f36a (#131), clean.
9009156 Gujarati moreUsefulQuestions missing space: વધુઉપયોગીવધુ ઉપયોગી.
3d0181c Red Send icon right-anchored on that card only, so the panel-opener has an affordance.

Notes

  • No Hindi. The hi.json half of dev's 6cbbc8b is deliberately excluded — Hindi is not in prod's config.json languages and prod's hi.json is still the pre-Enable Hindi language  #132 file. This PR is en/gu only.
  • The send icon reuses exactly what the FAQ rows already use in settings-drawer.tsx (h-4 w-4 text-[#F65151]), so the card matches the list it opens.
  • The icon is wrapped in a <span> on purpose: Button's size: default variant carries has-[>svg]:px-3, so a bare <svg> child overrides the card's px-4 sm:px-6 and shifts it ~11px left of the other four cards. There's a code comment saying so.

Verification

Ran locally against api.dev.amulai.in, both languages this branch ships:

  • Icon renders on card 3 only; the other four unchanged.
  • All five cards left-align at the same x (checked in the DOM, not just by eye); icon sits 23px off the right edge, matching sm:px-6.
  • Clicking the card opens the Settings FAQ drawer.
  • npm run build green; pre-commit eslint 0 errors (77 pre-existing warnings) + tsc -b.

Deploy

oan-ui-chat-prod-ci CronWorkflow is suspended, so merging does not deploy. Needs run-oan-ui-chat-build.sh on the prod control plane after merge.

🤖 Generated with Claude Code

yashgoel1331 and others added 3 commits July 28, 2026 17:21
Keep the first two pinned questions, and route the fixed "More Useful Questions" card to the settings FAQ list instead of sending a chat prompt.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit b76f36a)
…ઉપયોગી)

Cherry-picked from 6cbbc8b (gu hunk only). The hi.json half is intentionally
left out: Hindi is not enabled in prod config.json, and prod's hi.json is still
the pre-#132 file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The third welcome card opens the settings FAQ list instead of sending its
prompt to the agent, but nothing on the card signalled that. Add the same
red Send glyph the FAQ rows already use (settings-drawer.tsx), right-anchored,
on that card only — the other four keep their plain layout.

The icon is wrapped in a span because Button's `size: default` variant carries
`has-[>svg]:px-3`; a bare svg child shrinks the card's horizontal padding and
shifts it ~11px left of its neighbours.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@KDwevedi
KDwevedi merged commit 4d9a1b3 into amul-prod Jul 28, 2026
@KDwevedi
KDwevedi deleted the promote/faq-third-card-prod branch July 28, 2026 15:11
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