Commit Graph

643 Commits

Author SHA1 Message Date
Joao Victor
18d38b16ad fix: presentation toolbar and presentation menu 2022-11-25 18:24:06 -03:00
Ramón Souza
0bae2a7a9e
Merge pull request #16055 from ramonlsouza/issue-16049
refactor: enforce max characters limit in chat input
2022-11-23 17:02:12 -03:00
Ramón Souza
31f20b08b5 add max characters limit to sticky notes 2022-11-23 14:03:20 -03:00
Joao Victor
08659c0f29 fix: just show presentation 3-dot menu and toolbar after Tldraw has been mounted 2022-11-23 12:05:57 -03:00
KDSBrowne
bca5cc9fbe fix toolbar not responding to wb width 2022-11-17 23:37:17 +00:00
KDSBrowne
85aadaa03c handle whiteboard crash when typing quickly 2022-11-16 15:01:12 +00:00
KDSBrowne
6ed2e47f1d preserve state of shape being edited during memo updates 2022-11-16 04:12:28 +00:00
Ramón Souza
892e34dcf4
Merge pull request #16000 from KDSBrowne/bbb-patch-sticky-notes
Restore Per Character Updates In Sticky Note
2022-11-15 10:18:39 -03:00
KDSBrowne
9839d50a72 restore per character updates in sticky notes 2022-11-14 22:33:11 +00:00
KDSBrowne
4a54cf4bd6 set default text alignment on mount 2022-11-13 18:15:17 +00:00
Ramón Souza
4508a1e567 fix issue with slides not changing after upload 2022-11-08 15:39:16 -03:00
KDSBrowne
2456edb434 update getSibling to return the correct panel element for calc | lint issues 2022-11-04 19:29:30 +00:00
Joao Victor
3e7478a73a fix(whiteboard): take notification bar and banner bar into account when calculating cursor offset 2022-11-03 14:33:15 -03:00
germanocaumo
fa44ee4259 fix(tldraw): don't lose undo/redo stack on resize/fullscreen 2022-11-01 10:46:17 +00:00
germanocaumo
38725cff7f fix(tldraw): update tldraw to latest version +
Small refactor in Cursor component, fix same key warning in console.
2022-10-31 17:07:03 +00:00
germanocaumo
1c6e862d54 fix(tldraw): text losing focus on mobile
Fixs unable to type text on mobile (the keybaord was immeditaly being closed when starting the annotation).
2022-10-31 16:47:45 +00:00
germanocaumo
5d4af2d9df fix(tldraw): change language via settings + fix
Correctly updates the current tldraw language when you change the bbb language in Settings.
Fix some languages not being detected in tldraw.
2022-10-31 16:42:38 +00:00
KDSBrowne
ae1688c9e7 handle rtl menu position 2022-10-27 17:16:44 +00:00
KDSBrowne
c42929be79 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-15888 2022-10-27 13:19:15 +00:00
KDSBrowne
6c4797e814 fix styles menu overlap on whiteboard toolbar 2022-10-27 13:15:09 +00:00
germanocaumo
226f079c07 fix(tldraw): don't patch state when no shapes were removed 2022-10-25 15:53:19 +00:00
germanocaumo
e4317cfc51 fix(tldraw): hidden shapes when moved to back was used
updated from #15862, also update bbb-playback to support the shapes drawn with the fix.
2022-10-24 20:30:26 +00:00
germanocaumo
835cf4f753 fix(whiteboard): diff shape update + shape permission +
Several improvements to tldraw whiteboard:
 - Only send the shape diff on shape updates (reduce a lot the message traffic)
 - Shape permissions (don't allow others to select/edit unless you are presenter/moderator)
  - This required some changes in akka model
 - Tldraw state patch changes to improve stability with fast updates (fix several crashes)
2022-10-21 14:05:31 +00:00
germanocaumo
0e4f88d4b6 fix(tldraw): zoom inconsistency on some cases
Fix some unwanted zooms
2022-10-19 15:13:08 +00:00
germanocaumo
fdd09c578f fix(whiteboard): don't render out of slide cursors
Don't draw cursors with disabled position (-1,-1)
2022-10-19 15:09:13 +00:00
germanocaumo
8f41ab31da fix(tldraw): persist bound shapes (arrows) + fix sending unneeded changes 2022-10-05 20:43:48 +00:00
germanocaumo
2fa76d60c4 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-shape-updates 2022-10-05 19:56:54 +00:00
Ramón Souza
a15cf73721
Merge pull request #15763 from germanocaumo/tldraw-zoom-fixes
fix(whiteboard): several zoom fixes
2022-09-30 17:18:45 -03:00
germanocaumo
e1ee782294 fix(whiteboard): several zoom fixes
Sometimes when whiteboard props change (mainly resizes), the tldraw component gets
mounted again, resetting its camera, and was causing zoom to be applied incorrectly.
I've added a useEffect to better react to when the camera resets and reset to the corret zoom.
2022-09-30 14:35:29 +00:00
germanocaumo
fea31e366c refactor: code smell 2022-09-22 10:06:23 +00:00
germanocaumo
01a1cf83d7 fix(cursor): correctly hide cursor for others on mouse leave
Also update out of bounds coords to -1.0 to not display on playback.
2022-09-21 20:49:07 +00:00
germanocaumo
ae7eb92c86 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-disable-select 2022-09-21 18:10:05 +00:00
Bohdan Zhemelinskyi
811d135585 handle missing cursor property case 2022-09-14 19:42:15 +00:00
Ramón Souza
7d7f26ea55
Merge pull request #15624 from KDSBrowne/bbb-text-updates
fix: Restore Text Shape Updates Per Character
2022-09-14 13:06:10 -03:00
Joao Victor
36864a8880 fix(whiteboard toolbar): reduce offset from the bottom 2022-09-07 11:34:54 -03:00
germanocaumo
1db9fdacb1 fix(tldraw): disable selecting shapes on certain cases
- For presenter/multiuser Don't allow selecting the background shape (could be done with right click on empty area)
- For viewers: don't allow selecting anything (also hides the selection brush)
2022-09-02 20:59:03 +00:00
germanocaumo
87544a8b38 fix(tldraw): correctly sync draw shape updates +
Refactor how shape updates are parsed from tldraw, instead of doing it manually in each action,
uses the tldraw provided list of what changed available in the "onChangePage" callback, simplifying a lot of our code.
2022-09-02 19:26:26 +00:00
KDSBrowne
3277286525 persist patched text changes 2022-08-31 19:01:53 +00:00
Joao Victor
aefc5c6c6a Merge branch 'v2.6.x-release' into issue-15536 2022-08-31 10:47:58 -03:00
Ramón Souza
470f491352
Merge pull request #15583 from germanocaumo/tldraw-viewbox-sync
fix(tldraw): sync viewed area between presenter/viewers +
2022-08-30 17:00:14 -03:00
Ramón Souza
e7107f87a7
Merge pull request #15598 from ramonlsouza/merge-2526-aug25
chore: Merge v2.5.5 into v2.6
2022-08-29 15:58:53 -03:00
germanocaumo
105ed256c3 fix: tldraw not changing pages correctly 2022-08-29 12:27:17 +00:00
Ramón Souza
62f8ab3cb2 Merge remote-tracking branch 'upstream/v2.6.x-release' into pr-15460-aug26 2022-08-26 14:05:45 -03:00
Ramón Souza
609d43157a Merge tag 'v2.5.5' into merge-2526-aug25 2022-08-25 14:33:44 -03:00
KDSBrowne
45b3166863 Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-24 11:55:38 +00:00
KDSBrowne
c758664651 remove toolbar from non presenter cursor calculation 2022-08-24 11:55:31 +00:00
germanocaumo
61cb5b8ef4 fix(tldraw): fit to width / presenter / slide changing 2022-08-23 18:19:17 +00:00
KDSBrowne
9f7b45b172 hide eraser animation on mobile 2022-08-23 12:08:31 +00:00
KDSBrowne
ab4cb469fb Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 19:07:23 +00:00
KDSBrowne
9df18af50f update presentation offset for cursor (mobile) 2022-08-22 19:05:02 +00:00