Skip to content

fix(web): add pointer cursor to running stop-generation button#900

Merged
juliusmarminge merged 3 commits intopingdotgg:mainfrom
binbandit:t3code/fix-stop-button-cursor
Mar 12, 2026
Merged

fix(web): add pointer cursor to running stop-generation button#900
juliusmarminge merged 3 commits intopingdotgg:mainfrom
binbandit:t3code/fix-stop-button-cursor

Conversation

@binbandit
Copy link
Contributor

@binbandit binbandit commented Mar 11, 2026

Summary

  • add cursor-pointer to the running stop button in the thread composer
  • add a browser regression test that asserts the rendered stop button exposes a pointer cursor while the thread is running

Validation

  • bun fmt
  • bun lint
  • bun typecheck
  • bun run test:browser -- -t "shows a pointer cursor for the running stop button"

Note

Add pointer cursor to the stop-generation button in ChatView

Adds cursor-pointer to the stop-generation button in ChatView.tsx when the session phase is running. Also extends the createSnapshotForTargetUser test utility to accept an optional sessionStatus parameter, used in a new browser test that asserts the pointer cursor via getComputedStyle.

Macroscope summarized 34c48b9.

- Add `cursor-pointer` to the running stop button in `ChatView`
- Extend browser test snapshot helpers to set session status
- Add regression test verifying stop button cursor is `pointer` while running
@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 796af858-98c0-4a86-87d5-4f2cd3988406

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

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 and usage tips.

@github-actions github-actions bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 11, 2026
@binbandit binbandit changed the title Add pointer cursor to running stop-generation button fix(web): add pointer cursor to running stop-generation button Mar 11, 2026
@github-actions github-actions bot added the size:M 30-99 changed lines (additions + deletions). label Mar 12, 2026
@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Mar 12, 2026
@juliusmarminge juliusmarminge merged commit 224aceb into pingdotgg:main Mar 12, 2026
9 checks passed
gabrielMalonso pushed a commit to gabrielMalonso/t3code that referenced this pull request Mar 12, 2026
…otgg#900)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
gabrielMalonso added a commit to gabrielMalonso/t3code that referenced this pull request Mar 12, 2026
* fix: don't restart the app on normal exists in dev runner (pingdotgg#986)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

* feat: add fuzzy workspace entry search (pingdotgg#256)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

* fix: clean up timeout in PlanSidebar to prevent memory leaks (pingdotgg#949)

Co-authored-by: hobostay <hobostay@users.noreply.github.com>

* fix: Linux icon now shows up (pingdotgg#807)

* fix syntax errors from bad merge

* fix: add logging for WebSocket errors (pingdotgg#948)

Co-authored-by: hobostay <hobostay@users.noreply.github.com>

* fix: add error logging for code highlighting failures (pingdotgg#951)

* chore: update actions/checkout and actions/github-script (pingdotgg#956)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

* update project removal copy (pingdotgg#981)

* fix pr size workflow

* Fix new-thread shortcuts when terminal is focused

- move chat-wide key handling into `_chat` route-level shortcut handler
- extract reusable `useHandleNewThread` hook and `isTerminalFocused` helper
- update browser WS fixture to support `terminalOpen` RPC shape

* Fix mod+N new thread flow and terminal split limits

- ensure `chat.new` creates a fresh draft after a promoted draft thread
- enforce terminal cap per split group (4) while allowing additional terminal groups
- refine sidebar row selected/active styling via shared class-name logic and tests

* fix(web): add pointer cursor to running stop-generation button (pingdotgg#900)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

* fix: add missing closing brace in wsTransport connect method

The cherry-pick of WebSocket error logging (b6eba33) left a missing
closing brace for the connect() method, causing a TS compilation error.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* style: fix formatting in _chat.tsx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Noah Gregory <noah@wts.dev>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Kiyotaka <maskdotdev@gmail.com>
Co-authored-by: Qiaochu Hu <110hqc@gmail.com>
Co-authored-by: hobostay <hobostay@users.noreply.github.com>
Co-authored-by: Alex Schwartz <alexschwartz01@gmail.com>
Co-authored-by: Adam Naji <110662505+Bashamega@users.noreply.github.com>
Co-authored-by: Donald Silveira <donaldsilveira@gmail.com>
Co-authored-by: 0x1f99d <crazywolf132@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants