bigbluebutton / bigbluebutton-html-plugin-sdk

BigBlueButton Plugin SDK
GNU Lesser General Public License v3.0
7 stars 6 forks source link

feat(html5) - UserListDropdownItems refactor #116

Closed GuiLeme closed 4 weeks ago

GuiLeme commented 1 month ago

What does this PR do?

Refactor previously named UserListDropdownInformation to two new components:

The first one allows the developer to freely develop an information card, i.e. it's possible to set a react and the second is basically the previous UserListDropdownInformation where the developer just set the label of the information and BBB deals with the styling and react structure.

Outside of that, This PR also adds a new property to UserListDropdownSeparator which is position:

enum UserListDropdownSeparatorPosition {
  BEFORE = 'BEFORE_DEFAULT_ITEMS',
  AFTER = 'AFTER_DEFAULT_ITEMS',
}

More

This PR is closely related to https://github.com/bigbluebutton/plugin-lms-user-information/pull/1 and also https://github.com/bigbluebutton/bigbluebutton/pull/21278