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
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
KDSBrowne
9e00a1fa9d
handle canvas position for late joiners to infinite whiteboard mode
2024-07-05 00:55:47 +00:00
Ramón Souza
3ab336c6e2
refactor: fix sonarcloud alerts ( #20629 )
...
* fix incorrect prop type
* remove duplicated code
* fix Unexpected constant truthiness on the left-hand side of a `&&` expression.
* fix Correct one of the identical sub-expressions on both sides of operator
2024-07-04 08:35:01 -03:00
KDSBrowne
f024995f98
Restore default slide position after disabling infinite wb
2024-07-03 17:15:39 +00:00
KDSBrowne
687ee36d29
add functionality to enable infinite whiteboard
2024-07-03 17:14:47 +00:00
João Victor
9402402e0f
Merge branch 'v3.0.x-release' into remove-meteor-stuff-0702
2024-07-02 17:13:28 -03:00
João Victor
50d445f026
Remove Meteor backend
2024-07-02 14:58:58 -03:00
KDSBrowne
9e4332d82b
handle viewer portrait view
2024-07-01 14:19:42 +00:00
André Castro
4058c2a105
Fix: Layout direction does not change when required RTL/LTR ( #20521 )
...
* Fix: Layout direction does not change when required RTL/LTR
* Presentation update
2024-06-27 09:38:38 -03:00
Ramón Souza
7f54bed26f
remove unused data in cursor subscription
2024-06-26 16:00:33 -03:00
João Victor Nunes
1eb984d527
style(whiteboard): polishing toolbar styles ( #20579 )
...
* style(whiteboard): polishing toolbar styles
* Fix colors and RTL mode
2024-06-26 13:40:53 -03:00
KDSBrowne
1cc6efa006
handle Ctrl + z shortcut
2024-06-25 19:16:23 +00:00
KDSBrowne
575cd3ad36
handle delete key shortcut to remove shapes
2024-06-25 18:52:50 +00:00
KDSBrowne
7c66cc3956
fix cut and paste functionality in whiteboard component
2024-06-25 13:57:10 +00:00
Anton Georgiev
dd3dbcb0cc
Merge pull request #20537 from gustavotrott/presentation-fixes
...
refactor: Improvements related to whiteboard cursors/writers
2024-06-19 12:34:32 -04:00
Gustavo Trott
2ea6ba88ca
filter pageId to get writers
2024-06-19 11:13:57 -03:00
Gustavo Trott
a69ade807e
filter cursor only for current_page
2024-06-19 10:53:39 -03:00
Ramón Souza
1872573e96
Merge pull request #20505 from KDSBrowne/v30-spacebar-pan
...
fix(whiteboard): Restore pan tool activation via spacebar
2024-06-19 10:45:41 -03: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
KDSBrowne
5a0f8f897b
add presenter check
2024-06-17 13:53:28 +00:00