Tldraw/apps/dotcom/src/utils
Lu Wilson 8778629f62
Only show cursor chat button in select mode (#3485)
This PR hides the cursor chat context menu button when not in select
tool.

fixes
https://github.com/orgs/tldraw/projects/41/views/1?pane=issue&itemId=59908615

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [ ] `sdk` — Changes the tldraw SDK
- [x] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [x] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Fix cursor chat button appearing when not in select tool.
2024-04-16 12:42:26 +00:00
..
context-menu Only show cursor chat button in select mode (#3485) 2024-04-16 12:42:26 +00:00
migration Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
remote-sync New migrations again (#3220) 2024-04-15 12:53:42 +00:00
assetUrls.ts
cloneAssetForShare.ts
config.ts
createAssetFromFile.ts
createAssetFromUrl.ts
defineLoader.tsx
env.ts
errorReporting.ts
qrcode.ts
scratch-persistence-key.ts
sharing.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
shouldClearDocument.tsx
shouldLeaveSharedProject.tsx
shouldOverrideDocument.tsx
trackAnalyticsEvent.ts
url.ts
useCursorChat.ts
useFileSystem.tsx Update useFileSystem.tsx (#3371) 2024-04-05 11:40:28 +00:00
useHandleUiEvent.tsx
userPreferences.ts