Skip to content

feat(web): assistant suggestions show their wait, fade in and scroll with a mouse - #121

Merged
dollyzn merged 2 commits into
mainfrom
feat/assistant-suggestions
Nov 21, 2026
Merged

dollyzn merged 2 commits into
mainfrom
feat/assistant-suggestions

Conversation

@dollyzn

@dollyzn dollyzn commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Why

After each answer the assistant writes the next questions, but nothing said they were coming: the screen's questions stayed and were swapped at once when the written ones arrived. On a computer the strip of questions couldn't be scrolled with a mouse (no wheel, no drag), so the ones past the edge were out of reach.

What

  • Waiting: while the assistant writes the next questions, the strip shows "Pensando em sugestões…" with a spinner, and the screen's questions wait dimmed.
  • Transition: the written questions come in one by one with a short fade and slide, replacing the screen's; nothing moves for people who ask for reduced motion.
  • Scrolling with a mouse: the wheel scrolls the strip sideways, it can be dragged (a drag never picks a question), the edges fade where there is more, and arrows on the edges move it on computers. Touch scrolling is unchanged.

Tests

  • e2e (assistant.spec.ts): the next questions are held for a moment to check "Pensando em sugestões…" shows and then gives way to the written ones; with a strip wider than the sheet, the mouse wheel scrolls it sideways.
  • Lint and typecheck pass; the assistant's e2e passes.

Deploy notes

Web only. No migrations or new environment variables.

dollyzn and others added 2 commits November 21, 2026 16:58
…en ones and scroll with a mouse

While the assistant writes the next questions, the strip says so and the
screen's questions wait dimmed; the written ones come in one by one. On a
computer the strip scrolls with the wheel and by dragging (a drag never
picks a question), with faded edges and arrows when there is more.
@dollyzn
dollyzn merged commit 8a5e94e into main Nov 21, 2026
4 checks passed
@dollyzn
dollyzn deleted the feat/assistant-suggestions branch November 21, 2026 22:16
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