Commit Graph

393 Commits

Author SHA1 Message Date
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
Guilherme Leme
dc1d831ea2 [fix-sahred-notes-not-unmounting] - centralize shared notes pin rendering logic 2024-04-19 11:08:13 -03:00
Tainan Felipe
248249d135 Fix: content top 2024-04-01 15:48:15 -03:00
Guilherme Pereira Leme
41bb140dc5
feat: change way of rendering contents in presentation area to a pile-based logic. (#19854) 2024-03-25 18:13:57 -03:00
Anton Georgiev
51d1217012
Merge pull request #19844 from JoVictorNunes/fix-default-layout-3.0
!fix(layout): defaultLayout join parameter (port)
2024-03-20 08:56:20 -04:00
Anton Georgiev
beae4f6cb4
Merge pull request #19842 from Scroody/i-19819
Port: Changes to layout toast's workflow
2024-03-19 14:19:29 -04:00
João Victor
006c6e8c43 fix(layout): defaultLayout join parameter 2024-03-18 17:42:03 -03:00
André
ec718ea43e Port: Changes to layout toast's workflow 2024-03-18 15:33:37 -03:00