Skip to content

Merge develop into main: BBBSearch#45

Merged
Arthurk12 merged 16 commits into
mainfrom
develop
Jun 22, 2026
Merged

Merge develop into main: BBBSearch#45
Arthurk12 merged 16 commits into
mainfrom
develop

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

Merge of last develop updates into main. Adds new component: BBBSearch

Arthurk12 and others added 16 commits May 12, 2026 16:42
The idea is to call sync-develop at the end of tag-and-release
workflow.
ci: allow calling sync-develop by other workflows
Use a controlled trigger-button pattern with a ModalStory wrapper
component to prevent the fixed overlay from covering Storybook's UI.
The modal can now be opened/closed via a button while keeping the
controls panel fully accessible. Syncs with the isOpen arg control
via useEffect and sets ariaHideApp={false} to avoid react-modal
warnings in the iframe context.
options

Add more elements to the modal body to enable meaningful testing of
the `allowScroll` option. Add a default footer with two buttons to
allow testing of footer rendering and the `showDividers` option.
When `noFooter` is true, the footer is still displayed if
`footerContent` is provided.

Update the footer visibility condition so `noFooter: true` hides
the footer regardless of whether `footerContent` is set.
content

When `stickyFooter` is set to false, the footer does not correctly
position itself below the full modal content and is affected by
additional padding.

Position the footer below the entire modal content when
`stickyFooter` is false, ignoring any additional padding.
The BBBModal background colors are hardcoded as `#fff` instead of
using the `colorWhite` CSS variable, causing them to ignore theme
overrides.

Replace all `#fff` occurrences with `colorWhite`.
fix(BBBModal): footer tweaks, docs(BBBModal): enhance story usability
Pin React and React DOM peer dependencies to `^18.2.0` to match
the version used in bigbluebutton-html5, preventing runtime issues
caused by mismatched React versions.

Downgrade Storybook from v9 to v8.6.18 and align MUI dependencies
to v6 as a secondary change to keep the Storybook environment
consistent with the React 18 constraint. Replace
`@storybook/addon-webpack5-compiler-swc` with
`@storybook/addon-webpack5-compiler-babel`, move
`@storybook/addon-a11y` and `@storybook/addon-actions` to
devDependencies, and update the `fn` import in Button stories to
use `@storybook/test` instead of `storybook/test`.
chore(deps): restrict React dependency to ^18.2.0 to match html5
Adds `testId` (forwarded to the underlying ReactModal element) and
`closeButtonDataTest` props. When `testId` is set and `closeButtonDataTest`
is omitted, the close button receives `${testId}-close-button`
automatically.
feat(BBBModal): add `testId` and `closeButtonDataTest` props
Add BBBSearch, a search input component with debounce, clear action,
and optional loading state indicator.

- Supports controlled mode (value + onChange) and uncontrolled mode
  (internal state + onSearch with configurable debounce, default 500ms)
- Clear button fires onSearch('') immediately, bypassing debounce
- Loading state replaces the clear button with a BBBSpinner
- Accepts inputRef for external focus control and autoFocus prop
- Accessible via aria-label and role="searchbox"
feat(BBBSearch): add search component
@Arthurk12 Arthurk12 merged commit 3be3f2f into main Jun 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants