germanocaumo
d8054da172
fix(tldraw): reduce mounted camera delay
2024-10-15 12:15:16 -03:00
germanocaumo
76cea79518
Merge branch 'v3.0.x-release' into fit-to-width-zoom-fixes
2024-10-11 14:00:22 +00:00
Ramón Souza
6741437a28
Merge pull request #21381 from ramonlsouza/issue-21297
...
fix: Unlocking specific user to see other viewers cursors not working
2024-10-09 14:34:30 -03:00
KDSBrowne
f785b13e8d
improve timeout handling in adjustCameraOnMount
2024-10-09 17:25:29 +00:00
KDSBrowne
a54d10de45
fix camera position not updating correctly when tab is hidden
2024-10-09 15:49:22 +00:00
KDSBrowne
74bab5a76e
fix(whiteboard): Disable tldraw right-click options ( #21383 )
...
* disable tldraw right-click options
* hide menu options for background image
2024-10-09 09:12:17 -03:00
KDSBrowne
37facb3c1a
fix(whiteboard): Restrict pan keyboard shortcut to presenter only ( #21384 )
...
* restrict pan keyboard shortcut to only presenter
* dont run tldraw simple key shortcuts when mods pressed
2024-10-09 09:05:59 -03:00
germanocaumo
3525e0e9d6
fix(whiteboard): increase timeout on camera updates
...
Reintroduce the CAMERA_UPDATE_DELAY to help camera update zoom after resizing.
2024-10-09 08:52:52 -03:00
germanocaumo
aab6e7b9d4
fix(whiteboard): more zoom fixes
...
Reorder where adjustCamerOnMout is called and fixes viewer zoom when it loses presenter.
2024-10-08 10:59:18 -03:00
germanocaumo
9e214c6d72
fix(whiteboard): zoom not updating when tldraw remounts
...
Missing editor in dependency array so the zoom can apply when it remounts
e.g. changing Animations in settings
2024-10-07 11:03:22 -03:00
Ramón Souza
5f23ff3029
fix unlocked user cant see other users whiteboard cursor
2024-10-07 10:43:56 -03:00
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
KDSBrowne
0dd2bb9446
remove duplicate undo and redo handlers ( #21327 )
2024-10-03 10:20:15 -03:00
Anton Georgiev
35c29836b2
Merge pull request #21069 from KDSBrowne/bbb-21035
...
fix(whiteboard): Clear non-current page shapes from the tldraw store
2024-09-25 16:18:32 -04:00
KDSBrowne
694dc2d4d9
fix(whiteboard): Correct tldraw camera after full screen exits ( #21232 )
...
* fix presenter resize error
* fix current tldraw camera position when exiting fullscreen
2024-09-25 14:54:21 -04:00
Anton Georgiev
6f5482dae3
Merge pull request #21139 from danielpetri1/show-poll-result-in-bbb-playback
...
refactor(bbb-html5): Remove custom poll shape
2024-09-25 10:39:56 -04:00
KDSBrowne
e54fb07423
add boundry check for creating tl-cameras | updates
2024-09-24 21:24:40 +00:00
KDSBrowne
7bfb485623
Merge branch 'v3.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-21035
2024-09-24 18:45:26 +00:00
Ramón Souza
946ec031fd
remove extra argument in function call
2024-09-24 08:49:53 -03:00
Anton Georgiev
919ae4cb00
Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback
2024-09-23 16:06:42 -04:00
germanocaumo
0a984347a0
fix(tldraw): restore shapesVersion + customParam
2024-09-23 14:24:22 -03:00
danielpetri1
6fa4595b2d
Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback
2024-09-20 21:26:41 +00:00
germanocaumo
845ccc5ce7
fix(tldraw): group remove updates + fix shape max limit
...
- We were sending one websocket message for each removed shape, send only one with all IDs.
- The shape limit verification was not always working with rapid updates and if somehow the db got more shapes,
the users couldn't update or delete any shape anymore
- Unnecessary remove shape messages were being sent to the server when going over limit
2024-09-19 16:17:11 -03:00
germanocaumo
f7468b6fc2
fix(tldraw): only send diffs updates to server
...
When a shape is changed, the full shape objcect was being transmitted to the server again.
Do a diff to only send what changed (similarly as it was in tldraw v1) to save upload bw.
TODO:
Draw segments diffs (array) is still not working, so all the segments are still being sent every time.
2024-09-19 12:38:57 -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
a868eccd4f
fix(whiteboard): Batch shape updates and persist on idle or editing states ( #21186 )
...
* Batch shapes and persist on idle or editing states
* add highlight.idle to condition
Co-authored-by: germanocaumo <germanocaumo@gmail.com>
---------
Co-authored-by: germanocaumo <germanocaumo@gmail.com>
2024-09-17 15:57:25 -04:00
germanocaumo
dea3929a2a
fix(whiteboard): background white borders ( #21136 )
...
Background shape can show white borders due to rounding erros in the tldraw canvas, change size and position of background shape to avoid it.
Also disable tl container outline showing when in focus.
2024-09-16 14:19:41 -03:00
Ramón Souza
776215ec58
restore react 18 createRoot render method ( #21041 )
...
* restores react18 createRoot
* fix slideChange issue - new slide not loading
* fix skip video preview
* test: update screenshare function checks + close notifications
---------
Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-12 14:34:36 -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
danielpetri1
ca8f733267
Remove client poll implementation
2024-09-06 15:55:41 +00:00
KDSBrowne
ede8d78dad
Improve maintainability and simplify code
2024-08-30 13:46:06 +00:00
KDSBrowne
4cf7312808
clear non-current page shapes from the tldraw store
2024-08-29 23:02:58 +00:00
KDSBrowne
4ca3084db5
fix mouse wheel zoom not working on other pages ( #20680 )
2024-08-21 14:57:41 -03:00
João Victor Nunes
3ad9aafd7b
fix: userdata-force_restore_presentation_on_new_events ( #20974 )
2024-08-20 13:29:04 -03:00
KDSBrowne
4f4c6ef70e
fix(whiteboard): increase camera update delay to allow for bbb layout to position itself ( #20864 )
2024-08-07 10:00:41 -04:00
Ramón Souza
394d9f9236
fix: whiteboard settings ( #20785 )
2024-07-26 17:12:45 -04:00
KDSBrowne
1a887ba6ac
remove active cursors when access is revoked
2024-07-18 17:00:28 +00:00
KDSBrowne
54479d9017
fix(whiteboard) Delete key removing text shape while editing ( #20668 )
...
* fix delete key removing shapes while editing
* remove backspace
2024-07-10 15:42:08 -04:00
KDSBrowne
df51cdabf2
fix(wb): increase duplicated shape distance from origional ( #20677 )
2024-07-09 14:37:06 -04:00
KDSBrowne
7e7fd3e0ac
fix(wb): handle preloading next slide camera position ( #20674 )
2024-07-09 14:36:06 -04:00
KDSBrowne
d947e13bfd
fix(whiteboard): increase wheel zoom speed ( #20675 )
2024-07-09 10:52:10 -04:00
KDSBrowne
49456f6ad3
fix(wb): Draw line dropping segment for person drawing ( #20660 )
2024-07-08 14:35:34 -04:00
KDSBrowne
71b4e484d8
fix(wb): make wheel zoom focus toward mouse pointer ( #20661 )
2024-07-08 14:14:24 -04:00
KDSBrowne
6b6c4e0566
fix(wb): update shortcut handling to support mac keys ( #20662 )
2024-07-08 14:06:23 -04:00
Anton Georgiev
abeb12146b
Merge pull request #20480 from KDSBrowne/v30-enable-whiteboard-infinite-canvas
...
feat(whiteboard): Add infinite whiteboard for presentation slides
2024-07-05 17:54:55 -04:00
KDSBrowne
c341ea44f8
update canvas names to whiteboard
2024-07-05 20:13:30 +00:00
João Victor
41746ca67e
Merge branch 'v3.0.x-release' into remove-meteor-stuff-0702
2024-07-05 12:24:31 -03:00
KDSBrowne
5958ef0646
prevent needing to reload to enable iwb on other slides
2024-07-05 15:03:37 +00:00
KDSBrowne
7680b9086c
fix undo action showing shapes by other users
2024-07-05 14:14:36 +00:00
KDSBrowne
a6e4d151ad
allow wheel zoom outside slide during infinite wb
2024-07-05 02:17:48 +00:00