Commit Graph

1020 Commits

Author SHA1 Message Date
Scroody
d0b73e9c0b Fix: editable polls. 2023-05-08 15:50:43 -03:00
Anton Georgiev
5f0686697a
Merge pull request #17792 from Scroody/I-17741
fix: Default cursor not appearing when entering meeting.
2023-05-04 10:38:31 -04:00
Ramón Souza
c3ad0e7727 fix cursor for multi-user whiteboard 2023-05-04 09:20:36 -03:00
GuiLeme
90078aedc7 [issue-17531] - resolve conflicts with 2.7 2023-05-04 08:56:27 -03:00
GuiLeme
f650ade561 [issue-17531] - prevent user from exporting annotations when there is no annotation 2023-05-04 08:48:32 -03:00
Anton Georgiev
80079bd3bf
Merge pull request #17798 from Scroody/meteor-migration
fix: Meteor migration async annotation tweaks
2023-05-03 15:12:12 -04:00
Scroody
ab8e8b9ddb Changes to annotations async 2023-05-03 13:56:47 -03:00
Scroody
1a75eb884e Tweeks to annotations async 2023-05-03 13:53:28 -03:00
Scroody
85669f0038 Fix: Default cursor not appearing when entering meeting. 2023-05-02 15:32:10 -03:00
Ramón Souza
af8556e026 Merge remote-tracking branch 'upstream/v2.6.x-release' into 26-27-apr24 2023-04-24 17:15:47 -03:00
KDSBrowne
82c946233f
Update bigbluebutton-html5/imports/ui/components/whiteboard/cursors/component.jsx
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2023-04-20 16:14:42 -04:00
KDSBrowne
8ee76b6b3e restore chat text selection | disable loupe in ipad while writing on canvas 2023-04-20 18:13:45 +00:00
KDSBrowne
65ac2b6d55 patch auto hidden tools to stay invisible on page change 2023-04-18 20:56:18 +00:00
Ramón Souza
2c8f357977 keep whiteboard toolbar hidden on resize / slide change 2023-04-18 15:03:22 -03:00
KDSBrowne
3a6fde4fd0 disable toolbar autohide animations based on app settings 2023-04-14 15:27:37 +00:00
KDSBrowne
d0d3862708 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-hover-tools 2023-04-13 17:45:39 +00:00
André Castro
e00a258d0d
Merge branch 'v2.6.x-release' into fix-warnings-on-create 2023-04-13 11:27:50 -03:00
Scroody
100e96bb99 panSelected added back to styles.js 2023-04-13 11:20:32 -03:00
Scroody
416656087a panSelected now passed as styleProp 2023-04-13 11:13:20 -03:00
KDSBrowne
628f001de6 handle update when userlist is resized 2023-04-12 18:36:13 +00:00
KDSBrowne
b9c04ad319 add presentationAreaHeight & presentationAreaWidth to editable wb key | remove throttle func 2023-04-12 17:03:54 +00:00
Ramón Souza
6a06f994a9
Merge branch 'v2.6.x-release' into meteor-migration 2023-04-12 11:03:13 -03:00
Ramón Souza
fb308f0a60
Merge pull request #17397 from hiroshisuga/dev2.6.1_tooltip
[2.6 fix] Show the pan tool tip at the same timing and position as other tools
2023-04-11 13:18:18 -03:00
Scroody
69f39da665 Fix: Poll results not appearing. 2023-04-10 11:17:35 -03:00
Scroody
958170bf8a Fix: Warnings when creating new meetings solved. 2023-04-06 16:22:21 -03:00
Anton Georgiev
72c575b911 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-apr-6 2023-04-06 11:50:26 -04:00
Ramón Souza
cd7fc0b11f
Merge pull request #17392 from KDSBrowne/bbb-17164
fix: Preserve Tool & Style Settings On Page Change
2023-04-06 09:09:51 -03:00
Anton Georgiev
173ca01519
Merge pull request #17344 from KDSBrowne/bbb-17331
fix: Move Setting isForcePanning To Patch Event
2023-04-05 15:16:29 -04:00
Ramón Souza
7438f100fe remove new instances of lodash methods 2023-04-05 09:44:47 -03:00
Ramón Souza
bcd504b749 Merge remote-tracking branch 'upstream/v2.7.x-release' into lodash-radash 2023-04-05 09:42:05 -03:00
hiroshisuga
b3e6cf0c78
Fix a bug
Clicking the presentation with the pan tool selected grayed the presentation.
2023-04-04 17:40:21 +09:00
hiroshisuga
5bc2976328
lower case to avoid warning 2023-04-04 12:08:35 +09:00
hiroshisuga
828f692d7b
add two props to pan injector 2023-04-03 17:09:53 +09:00
hiroshisuga
d873156ed8
Update styles.js 2023-04-03 00:30:22 +09:00
hiroshisuga
2a31b1e0ee
Update styles.js 2023-04-03 00:13:44 +09:00
hiroshisuga
5be3e2ef1c
Update component.jsx 2023-04-02 23:42:12 +09:00
hiroshisuga
476c31a912
Update component.jsx 2023-04-02 23:39:41 +09:00
hiroshisuga
8b92b444ca
Update styles.js 2023-04-02 23:38:32 +09:00
KDSBrowne
a0f6bfcff2 fix the need to double click on style items 2023-04-01 21:05:27 +00:00
KDSBrowne
da66eeccc4 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-17164 2023-04-01 20:22:50 +00:00
KDSBrowne
9abc00bcbc preserve tool and style setting on page change 2023-04-01 20:18:03 +00:00
Anton Georgiev
eecde552ce Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into mar-30-1 2023-03-30 08:47:07 -04:00
Ramón Souza
671d9a589e
Merge branch 'v2.6.x-release' into I-17081 2023-03-30 08:58:58 -03:00
imdt
573c8a47a9 Fixed: another bug cause by undo related to the one solved initial PR. 2023-03-29 16:30:32 -03:00
Ramón Souza
ab8d9214af fix empty slide on presentation change 2023-03-29 09:35:10 -03:00
KDSBrowne
8af51216fb move setting isForcePanning to patch event 2023-03-28 16:48:25 +00:00
Ramón Souza
22ce3af864
Merge pull request #17322 from ramonlsouza/issue-17022
fix(whiteboard): Bug while panning the slide by pressing the scroll mouse button or spacebar
2023-03-28 10:25:24 -03:00
Ramón Souza
1fcad3e2f3
Merge pull request #17325 from KDSBrowne/bbb-16946
fix: Update Style Menu Position On Iphone
2023-03-28 09:41:42 -03:00
Anton Georgiev
f31378ceee
Merge pull request #17163 from ramonlsouza/meteor-tests
refactor: migrate Meteor backend to new async api
2023-03-27 15:07:00 -04:00
KDSBrowne
481582cbbd add missing isIphone value 2023-03-27 15:45:16 +00:00
KDSBrowne
fc001edd51 update style menu position on iphone 2023-03-27 15:33:10 +00:00
Ramón Souza
5cd5c14c3d do not display grab cursor if the user is not presenter 2023-03-27 11:32:43 -03:00
Ramón Souza
b3754570ed fix force panning 2023-03-27 10:38:05 -03:00
Ramón Souza
fdf9b1a7cc fix drag presentation after rotating shape 2023-03-27 09:01:59 -03:00
KDSBrowne
72adc96dbe add autohide option for whitboard toolbars 2023-03-26 22:08:09 +00:00
André Castro
97749719b6 Fix: Undo bug returning to slide '0'. 2023-03-22 18:00:19 +00:00
Tainan Felipe
77fc5d4067 Refactor: Migrate annotations for the Meteor 3.0 api 2023-03-20 16:16:52 -03:00
Ramón Souza
3b849a9600 fix poll results size on firefox 2023-03-17 14:51:39 -03:00
Ramón Souza
f4bd2e8bef
Merge pull request #17039 from ramonlsouza/issue-16682
fix: Poll results are difficult to read and not scaled to fit slide
2023-03-17 08:41:01 -03:00
Ramón Souza
dcc9e4fb64 add links to tldraw functions 2023-03-17 08:40:24 -03:00
Ramón Souza
1cc60fda31 adjust size calculation, preload font 2023-03-16 15:55:56 -03:00
Ramón Souza
5d0b1c842f handle select all shortcut in whiteboard 2023-03-15 11:39:33 -03:00
Ramón Souza
cc4f7a9f0b
Merge pull request #17018 from KDSBrowne/bbb-16379
Zoom By Mouse Wheel Only Operation
2023-03-14 17:21:43 -03:00
Ramón Souza
fa1ad677d6 add border and formatting to poll results 2023-03-14 15:16:21 -03:00
KDSBrowne
5fe6a9a0a9 add query for canvas element 2023-03-13 17:22:38 +00:00
KDSBrowne
53cc7c48f3 intercept wheel event and force ctrl key for zooming 2023-03-13 16:16:37 +00:00
Ramón Souza
4a6c10a3dd fix whiteboard snapshot 2023-03-13 09:17:14 -03:00
KDSBrowne
e577d0a8f7 remove disabled from pan tool 2023-03-11 17:11:48 +00:00
KDSBrowne
8eba308f36 add crosshair cursor for arrow and eraser tool 2023-03-11 16:09:30 +00:00
germanocaumo
a0ef1957c6 fix(pantool): prop type warning 2023-03-10 12:36:54 +00:00
germanocaumo
d09f2681d9 refactor(html5): presentation/whiteboard/cursor code cleanup and linting 2023-03-10 11:30:46 +00:00
Ramón Souza
6970fef004
Merge pull request #16962 from germanocaumo/cursor-fixes
fix(tldraw): cursor fixes
2023-03-10 08:04:31 -03:00
germanocaumo
a3f8147b42 fix(cursor): remove duplicate code 2023-03-09 23:10:18 +00:00
Ramón Souza
9a60bdcd06
Merge pull request #16971 from KDSBrowne/bbb-16959
fix: Stop Tool Lock Being Reset on Updates
2023-03-09 10:47:36 -03:00
KDSBrowne
c6379443cc
update isToolLocked initial value 2023-03-09 08:42:05 -05:00
KDSBrowne
47e7bda1a9 stop tool lock being reset on updates 2023-03-08 20:41:25 +00:00
germanocaumo
8aa15ef861 fix(cursor): send cursor position disabled on unmount
This fixes the cursors staying visible in the recording after the multiuser was disabled.
Also stop sending some unnecessary end events.
2023-03-08 16:39:53 +00:00
Ramón Souza
8ee8a5508f fix whiteboard crash when adding a new presentation 2023-03-08 10:01:18 -03:00
Anton Georgiev
8e640a7918 fix: avoid wb crash when switching presentation 2023-03-07 16:11:40 -05:00
germanocaumo
c1810360ef fix(cursor): improve cursor position for others
Cursor position was desynced after the presenter zoomed with ctrl+scroll, also fixes the last position of the cursor not being sent sometimes.
Move the throttle to the service call so it is considered in all cases (and there was already a throttle there).
2023-03-07 19:03:07 +00:00
hiroshisuga
20325de995
typo 2023-03-07 13:29:00 +09:00
KDSBrowne
95fd2e3d3e fix moving a group of objects | add select cursor 2023-03-05 23:20:56 +00:00
Ramón Souza
50000ad806
Merge pull request #16851 from KDSBrowne/bbb-pan-fixes
fix: Prevent Lines Being Drawn While Panning | Style Updates
2023-03-02 17:05:19 -03:00
Anton Georgiev
932f5ecf71
Merge pull request #16842 from ramonlsouza/issue-16818
fix: Deleting the target object for an arrow crashes the presentation area
2023-03-02 13:25:38 -05:00
Ramón Souza
d181eba1c2 replace lodash.throttle with native function 2023-03-02 10:25:08 -03:00
Ramón Souza
eacf96b5f2 remove lodash 2023-03-02 08:22:23 -03:00
hiroshisuga
b181a31b38
add button 2023-03-02 09:39:47 +09:00
Ramón Souza
41c187d93e Merge remote-tracking branch 'upstream/v2.6.x-release' into lodash-radash 2023-03-01 15:19:12 -03:00
Ramón Souza
0a622eff32 replace lodash throttle with standalone package 2023-03-01 15:13:29 -03:00
hiroshisuga
e62f5f71ed
reactivate the more icon 2023-03-02 00:49:05 +09:00
hiroshisuga
dec7011239
inactive the hidden help icon 2023-03-02 00:09:33 +09:00
KDSBrowne
28a528e085 prevent lines being drawn while panning 2023-03-01 03:32:24 +00:00
KDSBrowne
3c8c9de050 update disable pan label | fix pan deselect on zoom | add pan grabbing cursor 2023-03-01 02:03:33 +00:00
Anton Georgiev
ac91d48a44
Merge pull request #16822 from ramonlsouza/issue-16725
fix: First slide appears on slide transition later on
2023-02-28 13:47:26 -05:00
Ramón Souza
f57c6a0ae9 fix removing arrow target object 2023-02-28 11:36:50 -03:00
Ramón Souza
82c559cba0 fix first slide appearing when switching slides 2023-02-27 13:05:29 -03:00
KDSBrowne
7b5aef8327 remove selectTool call from injector 2023-02-24 23:38:15 +00:00
KDSBrowne
642b2fe2e6 update pan button css 2023-02-24 23:05:14 +00:00
KDSBrowne
d69b535780 fix memory leak | add missing select style 2023-02-24 23:00:15 +00:00
KDSBrowne
811095a913 fix pan tool not deselecting after selecting shapes menu button 2023-02-24 22:51:03 +00:00
KDSBrowne
c171003595 fix unstable_flushDiscreteUpdates error | prevent disabled selection 2023-02-24 17:17:54 +00:00
KDSBrowne
465acd3c87 add missing override styles | prevent selection when disabled 2023-02-24 14:17:51 +00:00
KDSBrowne
d2927c62fb remove unused import 2023-02-23 23:58:27 +00:00
KDSBrowne
044287dc73 clean up value not being used 2023-02-23 23:52:27 +00:00
KDSBrowne
3dc730d5bf inject pan tool into tldraw toolbar 2023-02-23 23:47:34 +00:00
Ramón Souza
4ed09c89cf replace lodash uniqueId 2023-02-23 11:23:51 -03:00
Ramón Souza
ba9c414989 replace lodash isEqual and isEmpty 2023-02-23 10:27:16 -03:00
Ramón Souza
5c5433296b replace lodash range, partition and upperFirst 2023-02-22 13:52:18 -03:00
Ramón Souza
b7f3184503 replace lodash omit 2023-02-21 10:29:51 -03:00
KDSBrowne
23f7b80e35 add forcus ring to items in tldraw styles toolbar 2023-02-14 03:28:36 +00:00
Anton Georgiev
425c6f591d
Merge pull request #16712 from ramonlsouza/throttled-cursor-updates
fix: reduce whiteboard cursor updates
2023-02-13 15:07:04 -05:00
Ramón Souza
0d4e7e80bb reduce unnecessary renders in cursors 2023-02-13 16:41:33 -03:00
Ramón Souza
53a1b02d04 restore throttle in cursor updates 2023-02-13 15:05:49 -03:00
Ramón Souza
320d121254 change cursor when moving shapes 2023-02-10 15:30:24 -03:00
Ramón Souza
225874ad77 adjust whiteboard toolbar in dark mode 2023-02-10 10:37:29 -03:00
Ramón Souza
ee006508cc adjust whiteboard toolbar buttons 2023-02-10 10:05:34 -03:00
Ramón Souza
51781d7419
Merge pull request #16661 from ramonlsouza/issue-15965
fix(whiteboard): cursor in the wrong place if presenter is changed with multi-user whiteboard
2023-02-07 13:24:38 -03:00
Ramón Souza
87d6d0a6c4 clear cursor events when presenter changes 2023-02-07 09:52:24 -03:00
Ramón Souza
5a93e3649f restore missing whiteboard shortcuts 2023-02-06 10:37:34 -03:00
Ramón Souza
5b83c12ffe remove limit in query 2023-02-03 09:49:49 -03:00
Ramón Souza
f610bd472c fix resizing and copying shapes if limit is reached 2023-02-03 09:11:07 -03:00
Ramón Souza
25800ee92b limits the number of annotations per slide 2023-02-02 16:47:16 -03:00
Ramón Souza
4c4487c6fb
Merge pull request #16607 from KDSBrowne/bbb-16602
Add Dependency Array to UseEffect in Cursor Component
2023-02-01 17:26:26 -03:00
Ramón Souza
9ec11ccc31
Merge pull request #16601 from ramonlsouza/issue-16595
fix: Zoom + drag on whiteboard does not move full range
2023-02-01 14:10:56 -03:00
KDSBrowne
0a98abaf7e add key to cursor wrapper container 2023-02-01 01:10:44 +00:00
KDSBrowne
594c2064f7 add dependancy array to useEffect in cursor cmp 2023-01-31 13:32:35 +00:00
Ramón Souza
6a32e03b70 fix pan tool 2023-01-30 13:05:35 -03:00
germanocaumo
de0b71ab76 fix(whiteboard): update viewport variables after update
Tldraw fixed the width/height mismatch bug in the latest version: eef0472683
2023-01-30 15:05:30 +00:00
Anton Georgiev
fa7aa6b80f
Merge pull request #16582 from ramonlsouza/fix-group-removal
fix(whiteboard): improve invalid shape filter
2023-01-27 12:57:33 -05:00
Ramón Souza
ac00ea4422
Merge pull request #16584 from danielpetri1/issue-16544
fix(whiteboard): Prevent infinite zoom levels
2023-01-27 13:47:29 -03:00
Daniel Petri Rocha
6a11e295ba Prevent division by zero in zoom calculation 2023-01-27 16:49:32 +01:00
Ramón Souza
b022f00c3d
Merge pull request #16581 from Tainan404/fix-whiteboard-position
fix: Fix whiteboard positioning when switching slides with zoom
2023-01-27 11:33:39 -03:00
Ramón Souza
5f6430db2a
Update bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx 2023-01-27 11:33:16 -03:00
Ramón Souza
13f033aea2 fix remove orphan shapes 2023-01-27 10:29:59 -03:00
Tainan Felipe
b57b810585 Fix whiteboard positioning when switching slides with zoom 2023-01-27 10:05:08 -03:00
Anton Georgiev
013dab9a9b
Merge pull request #16569 from ramonlsouza/issue-16153
fix: Whiteboard component crash
2023-01-26 11:21:49 -05:00
Ramón Souza
775dfd05af
Merge pull request #16564 from ramonlsouza/issue-16389
fix(whiteboard): Incorrect pen position after column resize
2023-01-26 11:29:51 -03:00
Ramón Souza
500a70eaa9 add early return if pageState is unavailable 2023-01-26 10:11:31 -03:00
Ramón Souza
e9677a714b
Merge pull request #16539 from KDSBrowne/bbb-16530
fix: Update Tldraw Toolbar Placement
2023-01-26 08:37:58 -03:00
Ramón Souza
4124732b86 fix draw position after resize 2023-01-25 15:49:09 -03:00
Ramón Souza
41a2b65463
Merge pull request #16525 from antobinary/wb-fix-1
fix: check for shape before shape.isLocked
2023-01-24 15:53:31 -03:00
germanocaumo
44692f9b71 refactor(whiteboard): move shapelock to container + linting
Do the shape lock propery set in the container so the props change less times and avoid problems in the useMemo.
2023-01-24 18:32:49 +00:00
Ramón Souza
f0c4ed0178 fix removal of grouped shapes 2023-01-23 17:00:05 -03:00
KDSBrowne
985fe7cbe2 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-16530 2023-01-23 15:34:44 +00:00
KDSBrowne
503fadab22 fix whiteboard toolbar position starting at bottom 2023-01-23 15:30:59 +00:00
Ramón Souza
b6f43f0491 Merge remote-tracking branch 'upstream/v2.6.x-release' into pr-16423-jan20 2023-01-20 16:55:54 -03:00
Anton Georgiev
bd8ff6951a fix: check for shape before shape.isLocked 2023-01-20 19:18:58 +00:00
Ramón Souza
04761bc24c
Merge pull request #16477 from ramonlsouza/block-image-shapes
fix: Disable paste file in whiteboard
2023-01-20 14:27:55 -03:00
Ramón Souza
419e83ecd4
add video as an invalid shape type 2023-01-20 13:16:38 -03:00
Anton Georgiev
c59b237537
Merge pull request #16509 from germanocaumo/f-tldraw-es-fallback
fix(tldraw): fallback es-xx locales to es
2023-01-20 09:11:02 -05:00
Ramón Souza
dfb438922e
Merge pull request #16502 from JoVictorNunes/issue-16479
fix(whiteboard): complete draw session when clicking outside of viewport
2023-01-20 09:16:14 -03:00
Anton Georgiev
f3f26bf659 fix: check for slidePosition before using it 2023-01-19 20:56:20 +00:00
Joao Victor
247219fe9e fix(whiteboard): complete draw session when leaving the tab 2023-01-19 17:27:30 -03:00
germanocaumo
a859cb93dd fix(tldraw): fallback es-xx locales to es 2023-01-18 20:08:32 +00:00
Ramón Souza
371406d4ff
Merge pull request #16498 from KDSBrowne/bbb-wb-perf-imp
Remove useEffect Hook Without Dependency Array
2023-01-18 16:16:02 -03:00
Joao Victor
28e40b77d5 fix(whiteboard): complete draw session when clicking outside of viewport 2023-01-18 10:12:16 -03:00
Ramón Souza
b995f6a33d
Merge pull request #16475 from JoVictorNunes/issue-15964-1
feat(whiteboard): configurable text tool font family
2023-01-18 08:26:11 -03:00
KDSBrowne
56fad69924 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-wb-perf-imp 2023-01-18 00:23:19 +00:00
KDSBrowne
4712770f32 remove useEffect hook without dependency array 2023-01-18 00:22:50 +00:00
Ramón Souza
dd1c330c64 fix change slide with same content 2023-01-17 14:45:15 -03:00
Ramón Souza
0dea438881 prevent copy+paste of images in whiteboard 2023-01-16 11:35:39 -03:00
Joao Victor
44896106b9 feat(whiteboard): configurable text tool font family 2023-01-16 08:40:42 -03:00
germanocaumo
5c35aed44d fix(whiteboard): restore per character text shape updates 2023-01-14 20:37:43 +00:00
Ramón Souza
b8d5ce2bb8
Merge pull request #16451 from JoVictorNunes/issue-16130
fix(tldraw): show tool cursors
2023-01-13 15:59:59 -03:00
Joao Victor
97eed6eded Remove unused code 2023-01-13 15:58:21 -03:00
Ramón Souza
ae6d89c881 restore drag-to-select feature - whiteboard 2023-01-12 08:50:05 -03:00
Joao Victor
14d529ead9 fix(tldraw): show tool cursors 2023-01-11 16:32:03 -03:00
KDSBrowne
124076d560 remove all shapes first before group types 2023-01-09 19:40:47 +00:00
germanocaumo
b94d91d117 fix(whiteboard): group similar answers in the poll text 2023-01-05 16:40:03 +00:00
KDSBrowne
e633896a8a restore eraser animation 2022-12-30 20:09:49 +00:00
Joao Victor
2291477f3d feat(whiteboard): reset zoom when switching presentation 2022-12-16 16:00:02 -03:00
Ramón Souza
c142d0eb9f
Merge pull request #16124 from ramonlsouza/issue-16059
Disable paste file in whiteboard
2022-12-16 13:12:28 -03:00
Ramón Souza
064b554dfd Merge remote-tracking branch 'upstream/v2.5.x-release' into merge-2526-dec14 2022-12-14 13:23:11 -03:00
Ramón Souza
692ee112cc disable paste file in whiteboard 2022-12-13 13:11:56 -03:00
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
Arthurk12
d2b2acbf2d fix(whiteboard): re-adds right click to cancel
Re-adds cancelling text annotation on right click. To achieve this,
some mechanisms that were previously used to handle live synced annotations
were rescued. So this partially reverts 40b18b0.
2022-09-01 12:40:14 +00:00
Arthurk12
480925517c fix(whiteboard): text annotations stuck as fake
Cleans up and modifies the added annotation handler to suit only for text
annotation. As soon as the DRAW_END message is sent, the local fake
annotations are removed and replaced by the complete/not fake annotation.
2022-09-01 12:40:10 +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
Arthurk12
070aa3425f Revert "fix: don't clear text fake annotations"
This reverts commit 74c4c1c4cc.
Reverting this commit because it causes fake annotations from the text
tool not to be removed. Since the text tool is the only one that
generates fake annotations(because it is the only one that is live
synced), the function to clear fake annotations is directly intended to
clear them.
2022-08-30 20:08:26 +00: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
germanocaumo
0e7c27968e Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 18:11:40 +00:00
KDSBrowne
eb7c3dcbc8 update pan tool button after zoom changes 2022-08-22 16:55:44 +00:00
João Victor Nunes
aba9d86904
Merge branch 'v2.6.x-release' into issue-15276 2022-08-22 13:05:25 -03:00
germanocaumo
c948f39392 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync 2022-08-22 15:47:51 +00:00
germanocaumo
f209fd17c1 Merge branch 'tldraw-viewbox-sync' of https://github.com/germanocaumo/bigbluebutton into tldraw-viewbox-sync 2022-08-22 15:43:04 +00:00
KDSBrowne
1de4b3f644 update cursor position handling | temp hide eraser animation 2022-08-22 14:37:34 +00:00
Ramón Souza
9303c598c1
Merge pull request #15532 from KDSBrowne/bbb-responsive-wb-toolbar
fix: Make Whiteboard Toolbar Responsive to Smaller Sizes
2022-08-22 11:33:46 -03:00
KDSBrowne
9c018ee6db restore large toolbar size when view enlarged 2022-08-21 21:38:54 +00:00
germanocaumo
7bf8668f23 Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into tldraw-viewbox-sync 2022-08-18 18:41:27 +00:00
germanocaumo
99549d880f fix(tldraw): fit-to-width / presenter change view area sync
- Correctly sync the viewed area when in fit-to-width mode and when the presenter reloades the page or the presenter changes to another user.
2022-08-18 18:18:02 +00:00
Ramón Souza
81b15ae329
Merge pull request #15518 from JoVictorNunes/issue-15291
fix: incorrect calculation of number of users in multi user whiteboard
2022-08-18 10:52:34 -03:00
germanocaumo
d4b8bdce7e fix(tldraw): sync viewed area between presenter/viewers +
- Return to the ResizeAndMoveSlide event to do pan&zoom, respecting the viewed width and height ratio
- Defaults zoom in toolbar to 100% like before to be more consistent
- Fit to width and Reset Zoom is back (fit tho width still has some sync problems)
- Fix to not change to first page when presenter reloads page
2022-08-16 12:12:43 +00:00
KDSBrowne
12a324631f update cursor type when pan enabled 2022-08-15 13:02:56 +00:00
KDSBrowne
26f3e5dc3f add pan button to presentation toolbar 2022-08-14 22:49:39 +00:00
KDSBrowne
df0fc0da15 make whiteboard toolbar responsive to small screens 2022-08-12 19:08:26 +00:00
Joao Victor
8e9ca4b2c8 fix: incorrect calculation of number of users in multi user whiteboard 2022-08-11 15:44:16 -03:00
Joao Victor
60857a0056 fix(tldraw): hide context menu for users who don't have access to whiteboard 2022-08-11 13:38:17 -03:00
KDSBrowne
3ebfdef9bd use api toolbar general position | sync current locale 2022-08-08 22:47:51 +00:00
Joao Victor
74c4c1c4cc fix: don't clear text fake annotations 2022-08-08 17:07:41 -03:00
KDSBrowne
48cc57dbaf move variable definition 2022-08-03 14:30:22 +00:00
KDSBrowne
b66e44a4cb Upgrade tldraw to latest version 2022-08-03 14:19:12 +00:00
Gabriel Porfirio
8198953f30 removing unused imports 2022-07-28 16:50:31 -03:00
KDSBrowne
a485f372f6 fix console error 2022-07-27 18:46:44 +00:00