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 [dotcom] Delete service worker, cache tldraw assets (#2552) 2024-01-19 15:31:01 +00:00
cloneAssetForShare.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
config.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
createAssetFromFile.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
createAssetFromUrl.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
defineLoader.tsx unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
env.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
errorReporting.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
qrcode.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
scratch-persistence-key.ts Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
sharing.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
shouldClearDocument.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
shouldLeaveSharedProject.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
shouldOverrideDocument.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
trackAnalyticsEvent.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
url.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
useCursorChat.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
useFileSystem.tsx Update useFileSystem.tsx (#3371) 2024-04-05 11:40:28 +00:00
useHandleUiEvent.tsx unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
userPreferences.ts Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00