Commit Graph

22 Commits

Author SHA1 Message Date
germanocaumo
dca54654c3 fix(whiteboard): fit to width and zoom misc fixes
- Ensure presenter & viewer camera are the same whten using Fit To Width
- Some zoom issues when resizing/reloading
- Fix Viewer still sable to zoom white mouse wheel after someone takes presenter
- Do not apply shortcuts when using "Edit Link" shape dialog is open
- Hide Tldraw native reset zoom button as it does not to what expected
2024-10-04 13:28:06 -03:00
germanocaumo
eef565ec81 refactor(whiteboard): lint file and remove unused code
Clean all warning and errors from linter.
2024-09-18 12:21:16 -03:00
KDSBrowne
23a9f089fa
fix(whiteboard): First wheel zoom always going to top left corner (#21011)
* fix first wheel zoom always going to top left corner

* focus button zoom on center of page after wheel zoom

* test: update zoom test to avoid snapshot miscomparisons when zooming in and out

* test: fix usage of hasText function params

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-10 14:38:55 -03:00
KDSBrowne
d947e13bfd
fix(whiteboard): increase wheel zoom speed (#20675) 2024-07-09 10:52:10 -04:00
KDSBrowne
71b4e484d8
fix(wb): make wheel zoom focus toward mouse pointer (#20661) 2024-07-08 14:14:24 -04:00
KDSBrowne
a6e4d151ad allow wheel zoom outside slide during infinite wb 2024-07-05 02:17:48 +00:00
KDSBrowne
3e39145806 update dependencies 2024-06-17 20:25:56 +00:00
KDSBrowne
280a48ab71 fix non pres wb user tool selection 2024-06-17 19:57:57 +00:00
KDSBrowne
c40ccad5b4 fix focus not moving to chat while editing shape 2024-06-17 19:06:05 +00:00
Ramón Souza
3ba14e69ce only send cursor updates of users with whiteboard access 2024-05-07 09:13:41 -03:00
KDSBrowne
0ed0db059b initial upgrade to tldraw v2.0.0-alpha.19 2024-04-17 16:04:27 +00:00
KDSBrowne
8ae92d7c9b remove conditionally called hooks 2024-04-04 14:51:50 +00:00
KDSBrowne
719952c1ad use canMoveCamera to disable viewer mouse wheel pan | lint hook 2024-03-27 15:06:54 +00:00
Ramón Souza
6b13f4fe30 add publishCursorUpdate action 2024-03-12 12:03:43 -03:00
KDSBrowne
271bb22daa fix wheel zoom not working with smaller sizes 2024-01-31 18:56:42 +00:00
KDSBrowne
0b54e4e539 Merge remote-tracking branch 'origin/v3.0.x-release' into v3.wheelZoomDisplayVal 2024-01-30 15:55:15 +00:00
hiroshisuga
d266d48f04 Update hooks.js 2024-01-30 09:28:44 -05:00
KDSBrowne
7f7f6c28f7 Merge remote-tracking branch 'origin/v3.0.x-release' into v3.wheelZoomDisplayVal 2024-01-29 20:58:51 +00:00
KDSBrowne
93695e62a3 update hook 2024-01-09 15:02:32 +00:00
KDSBrowne
1d98e643ff handle wheel zoom updating display value 2024-01-09 14:31:08 +00:00
KDSBrowne
cee1607869 fix lag while shapes move via arrow keys | remove akka infinite canvas restriction 2023-12-11 19:31:21 +00:00
KDSBrowne
cc7aff8686
Feat: Migrating to Tldraw v2 (Alpha v18) on 3.0 (#19268)
* initial tldraw v2 alpha 18 with graph-ql

* add @apollo/client

* update whiteboard test element

* update whiteboard test elements

* update whiteboard test elements

* load .tldr file shapes into bbb

* temporarily disable infinite canvas limit in client

* disabling failing tests on ci

* restore poll results on whiteboard

* restore hideViewerCursor functionality

* disabling failing tests that needs to be updated

---------

Co-authored-by: Gabriel Porfirio <gabrielporfirio1994@gmail.com>
2023-12-05 15:15:25 -03:00