Skip to content

feat(seer agent): Add suggested question buttons to empty state#113636

Merged
sehr-m merged 1 commit into
masterfrom
sehrm/seer-agent-empty-state
Apr 22, 2026
Merged

feat(seer agent): Add suggested question buttons to empty state#113636
sehr-m merged 1 commit into
masterfrom
sehrm/seer-agent-empty-state

Conversation

@sehr-m

@sehr-m sehr-m commented Apr 22, 2026

Copy link
Copy Markdown
Member

As part of seer agent style changes, this PR renders three clickable suggestion buttons in the Seer Explorer drawer empty state. Clicking a button auto-sends the suggested question via sendMessage. A follow up task to customize these questions will be added, but for now they are hardcoded

Screenshot 2026-04-21 at 8 58 26 PM

Render three clickable suggestion buttons in the Seer Explorer drawer empty state. Clicking a button auto-sends the suggested question via sendMessage, giving users a zero-typing entry point into a new session.
@sehr-m
sehr-m requested a review from a team as a code owner April 22, 2026 04:02
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 22, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9666101. Configure here.

font-size: ${p => p.theme.font.size.sm};
font-weight: ${p => p.theme.font.weight.sans.regular};
line-height: 16px;
`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

New styled() call overrides Button typography properties

Low Severity

SuggestionButton is a newly added styled(Button) that overrides typography properties (font-size, font-weight, line-height) and sizing (height, padding). The AGENTS.md states: "Always use Core components whenever available. Avoid using Emotion (styled components) unless absolutely necessary." The padding override (theme.space.sm / theme.space.md) exactly matches the Button's built-in size="xs" padding, so switching to size="xs" would eliminate most overrides.

Fix in Cursor Fix in Web

Triggered by project rule: Frontend guidelines

Reviewed by Cursor Bugbot for commit 9666101. Configure here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Following the figma here... so I feel its okay

isLoading={isPolling}
isError={isError}
runId={runId}
onSuggestionClick={readOnly ? undefined : sendMessage}

@aliu39 aliu39 Apr 22, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we'll ever show a non-loading empty state if readOnly, can choose not to handle

@sehr-m
sehr-m enabled auto-merge (squash) April 22, 2026 06:59
@sehr-m
sehr-m disabled auto-merge April 22, 2026 15:14
@sehr-m
sehr-m merged commit 50cb5dc into master Apr 22, 2026
71 of 72 checks passed
@sehr-m
sehr-m deleted the sehrm/seer-agent-empty-state branch April 22, 2026 15:19
@github-actions github-actions Bot locked and limited conversation to collaborators May 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants