Commit Graph

400 Commits

Author SHA1 Message Date
Ramón Souza
c79637f21b
Merge pull request #21409 from Arthurk12/layout_media_only
feat(layout): new hidden layout type: `MEDIA_ONLY`
2024-10-23 09:12:22 -03:00
Arthur B. Grossi
4aab1b21d8
feat(layout): add userdata bbb_hide_controls (#21410)
* feat(layout): add `hideTopRow` to nav bar context

Adds the `hideTopRow` property to the navbar in the layout context, allowing
the top row of the navigation bar to be hidden. Only the row with the
talking indicators and timer indicator will remain visible when this
option is used.

* feat(layout): add userdata `bbb_hide_controls`

Introduces the userdata join parameter `bbb_hide_controls`, which hides
the action bar and the top row of the navigation bar (including the close
sidebar button, room title, connectivity indicator, and leave meeting button)
while keeping the row with the talking indicator and timer indicator visible.

* fix(layout): has actions bar boolean expression
2024-10-23 09:06:44 -03:00
Arthur B. Grossi
5f6b8bc698
feat: add bbb_hide_notifications (#21415)
* feat(layout): add `hideNotificationToasts` to notifications bar
context

Adds the `hideNotificationToasts` property to the notifications bar
in the layout context, allowing the notification toasts to be
hidden when the property is set to `true`.

* feat(layout): add userdata `bbb_hide_notifications`

Introduces join userdata parameter `bbb_hide_notifications` that
prevents the rendering of all notification toasts in the client.
2024-10-22 17:43:00 -03:00
germanocaumo
5920181882
fix(plugins): layout content pile hook improvements (#20636)
* fix(plugins): layout content pile hook improvements

The isOpen property of the content was not being updated when the minimize button was pressed, so plugins couldn't know if it was open or not.
Also, plugins were not receiving the initial state when subscribing to the hook, they only received subsequent changes.

+ fix duplicated external video event and user list event with wrong names.

* fix: eslint errors

* fix(layout): remove previous content from pile

Always remove previous content from pile when calling SET_PILE_CONTENT_FOR_PRESENTATION_AREA with open = false
2024-10-22 12:53:08 -04:00
André Castro
2056fe2677
Fix: [3.0] userdata-bbb_hide_presentation_on_join parameter is hiding presentation for presenters (#21397)
* Fix: [3.0] userdata-bbb_hide_presentation_on_join parameter is hiding presentation for presenters

* Update bigbluebutton-html5/imports/ui/components/layout/push-layout/pushLayoutEngine.jsx

Rabbit suggestion

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* changing on the hide presentation for presenter

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Porfirio <gabrielporfirio1994@gmail.com>
2024-10-15 15:03:10 -03:00
Arthurk12
5f74d750e5 feat(layout): add new hidden layout MEDIA_ONLY
Introduces a new layout type called `MEDIA_ONLY`, which shows only media
elements(presentation area and cameras). This layout follows the same
heuristics used by the smart layout to arrange presentation and cameras
in the screen.
2024-10-09 20:10:14 -03:00
Arthurk12
28eb37a498 fix(layout): correct top and height calculation of camera dock bounds
Fixes an issue with the camera dock bounds calculation, where the banner
height was being accounted for twice, leading to incorrect dock height
and excessive spacing. The height is now correctly based on the media
are height, which already factors in the banner height.

Additionally, the top position of the camera dock is now calculated
using the media area's top position, correctly factoring in the margin of
the media area.
2024-10-09 19:44:51 -03:00
Arthurk12
a0f1039721 feat(layout): add optional parameter to calculateMediaAreaBounds
Adds an optional parameter to the `calculateMediaAreaBounds` function,
allowing a margin to be specified when determining the media area
bounds. Any usage of the function without the optional parameter will
default to the previous behavior(no margin).
2024-10-09 19:44:41 -03:00
Arthurk12
cf8a9b857c refactor(layout): propagate and replicate mapping
This commit introduces a mapping between each layout type and the structures
it should propagate or replicate. This change enhances the clarity of the
implemented behavior for each layout type and simplifies modifications to the
elements propagated for each layout.

Additionally, the push layout engine has been updated to utilize the new
mapping structure.
2024-10-09 19:44:34 -03:00
André Castro
2ff6e7dfb6
style(layout/modal): Removing custom layout (visually) from layouts modal (#21324) 2024-10-03 10:23:21 -03:00
André Castro
a198509c99
style(modal): Update modal styles for better positioning on small screens (#21289) 2024-10-01 15:43:02 -03:00
André Castro
87964cabde
refactor/fix(settings): Refactor animation settings retrieval to fix problem with refreshing. (#21284) 2024-09-30 13:33:53 -03:00
João Victor
7c39525cb5 refactor: App component cleanup, part 2 2024-09-13 14:53:14 -03:00
Ramón Souza
376a1bdbc0 fix hide presentation on join 2024-09-11 14:43:45 -03:00
Ramón Souza
1ef0bb547a delay push layout component render until settings are available 2024-09-10 09:44:49 -03:00
Ramón Souza
2aa3f8453a
Merge pull request #21060 from JoVictorNunes/app-component-cleanup
refactor: App component cleanup
2024-09-10 08:33:24 -03:00
Arthur B. Grossi
064fd1d13c
feat(layout): Add propagate layout toggle (#21027)
* feat(layout): add propagation toggle

Transforms the 'update everyone' button in the layout modal into a
toggle, so that presenter get immediate visual feedback of the current
layout propagation setting when the modal is opened.

* fix: update propagation button locale to 'update to everyone'

* test: update layout test

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-09 08:48:07 -03:00
João Victor
c9e1a32d94 refactor: Move layout code from Base to LayoutObserver, clean up 2024-08-29 15:08:24 -03:00
João Victor
368f0dd935 refactor: Move layout code from AppContainer to LayoutObserver, clean up 2024-08-29 12:12:09 -03:00
João Victor
393339d63d refactor: Centralize push layout data access 2024-08-29 11:47:50 -03:00
João Victor
25fe8b8125 refactor: Introduce LayoutObserver, a component for observing and updating the layout state 2024-08-28 09:59:22 -03:00
João Victor Nunes
4e7868b31e
fix(layout): prevent race condition on layout input update (#21018) 2024-08-27 13:38:34 -03:00
Arthurk12
160af41165 fix(layout): restore last presentation state
Restores the last presentation state after sharing media.
2024-08-15 14:47:26 -03:00
Ramón Souza
539caec578
fix external video blank space (#20733) 2024-07-18 16:28:30 -04:00
Gustavo Trott
1683f4c3fe
refactor: Rename all customParameters references to userMetadata or userdata (#20692)
* Rename all customParameters references to userMetadata

* fix linter error

* Update docs/docs/development/api.md

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>

* Update bigbluebutton-html5/imports/ui/components/settings-loader/component.tsx

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-07-16 13:40:49 -04:00
Ramón Souza
b51c7692ad remove console log 2024-07-08 14:06:55 -03:00
Ramón Souza
64d17e2633 fix sidebar in integration layouts 2024-07-08 13:58:07 -03: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
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
João Victor
5f41c712fb Fix bugs 2024-06-14 17:57:40 -03:00
João Victor
ac72582c04 Merge branch 'v3.0.x-release' into remove-mongo-adapters 2024-06-14 16:55:53 -03:00
João Victor
a45eea5a26 Remove Meteor imports 2024-06-14 16:54:31 -03:00
Anton Georgiev
c8dece66f0
Merge pull request #20463 from Arthurk12/generic-content-types
feat(plugins): adds generic content types 'MAIN' and 'SIDEKICK'
2024-06-14 15:18:42 -04:00
João Victor
5207383b93 Merge branch 'v3.0.x-release' into remove-mongo-adapters 2024-06-14 15:58:23 -03:00
João Victor
40c3633ff9 Tweak dependency array 2024-06-14 15:57:42 -03:00
João Victor
dac101523f Fix infinit loop 2024-06-14 15:40:40 -03:00
Arthurk12
b7f9920b6e review: fix tsc errors 2024-06-14 15:32:55 -03:00
João Victor
78958ccf45 Remove meeting adapter consumption 2024-06-14 10:30:48 -03:00
Arthurk12
c3f1423ae8 review: fix generic content types 2024-06-13 19:30:37 -03:00
Ramón Souza
c725998cd3 fix pinned notes do not render if layout is changed 2024-06-12 15:32:44 -03:00
Ramón Souza
911f663e27 remove defaultProps from components 2024-06-11 13:10:04 -03:00
Arthurk12
a1dee317f3 feat(generic-content): add sidekick type
Adds 'sidekick' type of generic content. This type allows rendering
generic content in the sidekick panel, in addition to the existing 'main'
type, which renders generic content over the presentation area.
Each generic sidekick content set through plugins is automatically
associated with a button in the navigation bar to toggle its panel.
2024-06-10 19:36:51 -03:00
Arthurk12
95d823951f feat(generic-component): rename to generic content and add type
Renames the generic component to generic content and adds the first
type, called 'main'. This commit is a preparation to allow generic
content from plugins to have types.
2024-06-10 19:36:45 -03:00
João Victor Nunes
06500be757
refactor(storage): replace Tracker.Dependency with observer hook (#20322)
* refactor(storage): replace Tracker.Dependency with observer hook

* fix(storage): set initial value

* refactor(storage): stop using Meteor's Session singleton
2024-06-06 10:50:03 -03:00
Tainan Felipe
3bc40df230
Add: useDeduplicatedSubscription hook (#20376)
* Add: useDeduplicatedSubscription hook

* Fix: TS error

* Add: components using useDeduplicatedSubscription

* Change: Move to useDeduplicatedSubscription

* Change: unsubscribe logic to own useEffect

* Change: remove file import over package

* Fix: TS errors

* Fix: private chat not loading

* Change: revert changes on queries

* Fix: eslint error

* Remove: html-webpack-plugin package

* Fix: external video

* Add: comment about the stringToHash function

* Fix: video player showing tools over presentation
2024-06-04 10:40:54 -03:00
Ramón Souza
7514066fc3
fix: Client can't load in certain cases (#20336)
* move settings

* remove meteor cache files
2024-05-29 09:26:11 -04:00
João Victor
8de78ad201 removal: remove withTracker from LayoutModalContainer 2024-05-17 09:47:27 -03:00
Ramón Souza
f2bb5b5aeb change enforceLayout to match defaultMeetingLayout format 2024-05-10 10:35:25 -03:00
João Victor
7297778746 fix: tweak video-streams typings (Part 1)
- Tweak high-level components.
2024-05-01 16:48:12 -03:00
Tainan Felipe
e4a23feda3 Remove: old code from notes, pads and meeting ended 2024-05-01 09:39:03 -03:00