Commit Graph

416 Commits

Author SHA1 Message Date
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
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
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
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
49456f6ad3
fix(wb): Draw line dropping segment for person drawing (#20660) 2024-07-08 14:35:34 -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
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
KDSBrowne
9e4332d82b handle viewer portrait view 2024-07-01 14:19:42 +00: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
KDSBrowne
5a0f8f897b add presenter check 2024-06-17 13:53:28 +00:00
KDSBrowne
ed66f938fb restore spacebar pan shortcut 2024-06-17 13:50:15 +00:00
Ramón Souza
911f663e27 remove defaultProps from components 2024-06-11 13:10:04 -03:00
KDSBrowne
3bfdeb9cfd
feat(whiteboard): Reuse poll result diagram as a whiteboard shape (#20350)
* create poll shape to render chat poll component
2024-06-10 17:12:40 -04:00
Fred Dixon
bba0405b5a
Merge pull request #20418 from KDSBrowne/bbb-20409
fix(whiteboard): Update presentation dropdown menu icon
2024-06-08 10:11:59 -04:00
Anton Georgiev
558fca5f19
Merge pull request #20401 from KDSBrowne/bbb-20306
fix(whiteboard): Properly handle line shape handles in akka
2024-06-07 16:30:26 -04:00
André Castro
365bd27e89
Client: Updating: userdata-bbb_multi_user_tools, userdata-bbb_presenter_tools and userdata-bbb_multi_user_pen_only (#20218)
* Client: Updating: userdata-bbb_multi_user_tools, userdata-bbb_presenter_tools and userdata-bbb_multi_user_pen_only

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-06-07 16:13:25 -04:00
KDSBrowne
adf905cfce restore keys to move selected shapes | fix focus loss editing shapes 2024-06-05 22:15:43 +00:00
KDSBrowne
caae9a1150
ensure duplicate shape shortcut does not trigger bookmark (#20355) 2024-06-04 14:25:09 -03:00
KDSBrowne
3c3621c4b4 add comment | reduce camera update delay 2024-06-04 15:44:47 +00:00
KDSBrowne
923287e2e7 simplify meta property checks for remote shapes 2024-06-04 15:44:32 +00:00