Skip to content

fix(plugin): Fix some typos in the SDK - #23155

Merged
antobinary merged 3 commits into
bigbluebutton:v3.0.x-releasefrom
GuiLeme:fix-typos-in-plugin-sdk
May 29, 2025
Merged

antobinary merged 3 commits into
bigbluebutton:v3.0.x-releasefrom
GuiLeme:fix-typos-in-plugin-sdk

Conversation

@GuiLeme

@GuiLeme GuiLeme commented May 13, 2025 •

Copy link
Copy Markdown
Contributor

What does this PR do?

It fixes some typos in the data-channel and in the ui-data-hooks along with some other typos in the plugins documentation file.

Motivation

This adds not only consistency to the code but also will prevent us from having huge failures in the future.

More

Closely related PR (from the SDK): bigbluebutton/bigbluebutton-html-plugin-sdk#181

After the merge of this PR, the plugins' PRs need to be tweaked (with the latest version of SDK) and merged:

…es typos and misinformation in the official plugins documentation
@coderabbitai

coderabbitai Bot commented May 13, 2025 •

Copy link
Copy Markdown
Contributor
## Walkthrough

This set of changes addresses naming and typographical consistency across multiple files. Several constants and enum values related to data channel subscriptions were updated to correct casing inconsistencies, specifically standardizing on uppercase naming (e.g., `PLUGIN_DATA_CHANNEL_ALL_ITEMS`, `DataChannelTypes.ALL_ITEMS`). A recurring typo in the identifier `LayoutPresentatioAreaUiDataNames` was corrected to `LayoutPresentationAreaUiDataNames` throughout relevant files and documentation. The package dependency for "bigbluebutton-html-plugin-sdk" was updated from version `0.0.79` to `0.0.82`. Documentation was revised to fix typographical errors and clarify descriptions, with no changes to functional content.

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant UI_Component
    participant DataChannelManager
    participant Subscriptions

    UI_Component->>DataChannelManager: Request data channel (type: ALL_ITEMS)
    DataChannelManager->>Subscriptions: Subscribe using PLUGIN_DATA_CHANNEL_ALL_ITEMS
    Subscriptions-->>DataChannelManager: Subscription data
    DataChannelManager-->>UI_Component: Provide data channel updates

Suggested reviewers

  • JoVictorNunes

<!-- walkthrough_end -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**


<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between c7fbabf53a111346009fa58b9737b2089eda98be and a3012ae206e281d8e09486d99fdf5a497a1998fc.

</details>

<details>
<summary>⛔ Files ignored due to path filters (1)</summary>

* `bigbluebutton-html5/package-lock.json` is excluded by `!**/package-lock.json`

</details>

<details>
<summary>📒 Files selected for processing (2)</summary>

* `bigbluebutton-html5/package.json` (1 hunks)
* `bigbluebutton-web/grails-app/conf/bigbluebutton.properties` (1 hunks)

</details>

<details>
<summary>✅ Files skipped from review due to trivial changes (1)</summary>

* bigbluebutton-web/grails-app/conf/bigbluebutton.properties

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (1)</summary>

* bigbluebutton-html5/package.json

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (5)</summary>

* GitHub Check: build-package (others)
* GitHub Check: build-package (bbb-html5)
* GitHub Check: build-package (bbb-web)
* GitHub Check: build-package (bbb-graphql-server)
* GitHub Check: build-package (bbb-playback-record)

</details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHFcLzpIACIAM3gADwAKbi9sIngMAEouADFE+xYPXFlufGRMsNgPAGUAEQBpABpo+2wBZnUaejlIbERKSABxbHgAGRI2dGRbSAxHAUGAJgBmAEYAVg2m9Fpaf0QB5BKyoipuBAY0X0oKfApkWPxsDHpK3GrIWmo0MAZYTDkLw7UZgb64X6wfD4ADWiB2mHoHw8qXSmWQtHwDEc7Go8HwWHikX4sSqHgAQvAiOS0iRyXgCFhePgRGINDBPrx4MxnPIiPhriSqqhZqgCChmMypAoMIgkDQMAx5AB3dQILDIhRKARoAboV5hfCQapebg8fxSDChOVEDDweJXK2QWLaNIHFAaz6xPDYfxVagKbz0ZxIDyxO7MMl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rjn5pOLErgI9HHAIK9PLmVGDIJNwH6hgLEK9GVnEhoMyJXDkbFjEQOk0ozClizOOkzsqplgSAQkzkuggBiPaKSAtFgCLsUMKp8OLMFlYNVjUFuAAGrZYpi2xtGUAlDjHTLNGlEEitF3DtGtbnZUhXb/JEhwaZbISIL9iDh2wOwET+DgJRDjbuwzbzYLYrZGjiw/EbZLDiw7b8BVjmj4DnGBTkQyY+I3Ykr6ZwHRH9qPbJEWYirvZu6pHuI/aZFQ4A7uZQD4qg6+JpEQ74kuZwo5Fw5vZipu4ImQB3bY4RIXRXR1QGiszNTLQ9EdQbTgLbRoC7R9HyA3qjQqBqCnRTRskzSdSdC4CKwrqICKwWjSJxy0CKx+RobVQGCykMBzaxA6gCCxAbArBoDiRrArAcSmRTZTYLYugbDDgCALZzYrBzYCBLBTbDgLZ0BoALZOkeDTS1ToArBTZrBLBoAkCemmRRmji0DDgkB2kcTDimS0ALb2m0AmloAcQunmnpnDixDyo6l6ksDymKm0DKmqkkDqmKz1TnR6BAA -->

<!-- internal state end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=bigbluebutton/bigbluebutton&utm_content=23155):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@GuiLeme
GuiLeme marked this pull request as ready for review May 27, 2025 21:35

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (5)
docs/docs/plugins.md (5)

179-179: Fix article usage in documentation heading.

The phrase "Here is as complete manifest.json example..." contains an extra word. Consider updating to "Here is a complete manifest.json example..." for correct English.

Diff:

- Here is as complete `manifest.json` example with all possible configurations:
+ Here is a complete `manifest.json` example with all possible configurations:

712-712: Remove trailing punctuation in heading.

The Markdown heading "### Auxiliary functions:" ends with a colon, which is flagged by markdownlint (MD026). Consider removing the trailing colon for consistency:

- ### Auxiliary functions:
+ ### Auxiliary functions
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

712-712: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


727-727: Use stronger verb for clarity.

Instead of "it gives you information on the user-voice data…", consider "it provides information on user-voice data…". This makes the wording more concise and professional.

- - `useTalkingIndicator` hook: it gives you information on the user-voice data, that is, who is talking or muted.
+ - `useTalkingIndicator` hook: it provides information on user-voice data, that is, who is talking or muted.
🧰 Tools
🪛 LanguageTool

[style] ~727-~727: Consider using a different verb to strengthen your wording.
Context: ... from. - useTalkingIndicator hook: it gives you information on the user-voice data,...

(GIVE_INFORMATION)


759-759: Improve comment grammar.

The inline comment "Function replace a specific item" is missing the preposition "to". For consistency with other comments, update to:

- replaceEntry: replaceEntryFunction, // Function replace a specific item
+ replaceEntry: replaceEntryFunction, // Function to replace a specific item

933-935: Standardize bullet punctuation.

The sublist under fetchMode uses semicolons at the end of each item. For consistency and readability, consider ending each bullet with a period:

- - `fetchMode`: It tells the plugin-server if it should fetch the data only when creating the meeting, or every time the function is called in the plugin portion;
-   - If one chooses `onMeetingCreate`, the data will be fetched when the create endpoint of the meeting is called, then it's cached in the plugin-server so that every time the plugin wants that data, the plugin-server will respond with the cached data;
-   - On the other hand, if `onDemand` is selected, every time the plugin calls this method, the plugin-server will fetch the data and then proxy it to the plugin;
+ - `fetchMode`: It tells the plugin-server if it should fetch the data only when creating the meeting, or every time the function is called in the plugin portion.
+   - If one chooses `onMeetingCreate`, the data will be fetched when the create endpoint of the meeting is called, then it's cached in the plugin-server so that every time the plugin wants that data, the plugin-server will respond with the cached data.
+   - On the other hand, if `onDemand` is selected, every time the plugin calls this method, the plugin-server will fetch the data and then proxy it to the plugin.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ba1160f and c7fbabf.

⛔ Files ignored due to path filters (1)
  • bigbluebutton-html5/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (5)
  • bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/channel-manager/reader-manager.tsx (2 hunks)
  • bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/subscriptions.ts (2 hunks)
  • bigbluebutton-html5/imports/ui/components/plugins-engine/ui-data-hooks/layout/presentation-area/utils.ts (3 hunks)
  • bigbluebutton-html5/package.json (1 hunks)
  • docs/docs/plugins.md (9 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/channel-manager/reader-manager.tsx (1)
bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/subscriptions.ts (1)
  • PLUGIN_DATA_CHANNEL_ALL_ITEMS (75-75)
🪛 GitHub Actions: Plugin SDK - Match version of html5 package.json with bigbluebutton.properties
bigbluebutton-html5/package.json

[error] 1-1: The bigbluebutton-html-plugin-sdk dependency is pointing to a commit in the SDK's repository, which is not allowed. Please update the dependency version.

🪛 markdownlint-cli2 (0.17.2)
docs/docs/plugins.md

712-712: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)

🪛 LanguageTool
docs/docs/plugins.md

[style] ~727-~727: Consider using a different verb to strengthen your wording.
Context: ... from. - useTalkingIndicator hook: it gives you information on the user-voice data,...

(GIVE_INFORMATION)

⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: build-package (others)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: build-package (bbb-graphql-server)
  • GitHub Check: build-package (bbb-playback-record)
🔇 Additional comments (14)
bigbluebutton-html5/imports/ui/components/plugins-engine/ui-data-hooks/layout/presentation-area/utils.ts (4)

3-3: LGTM: Import statement typo fixed correctly

The typo in LayoutPresentatioAreaUiDataNames has been corrected to LayoutPresentationAreaUiDataNames (added missing 'n').


10-10: LGTM: Type annotation updated consistently

The type annotation correctly uses the fixed identifier name.


47-47: LGTM: Event dispatch uses corrected identifier

The CustomEvent dispatch correctly references the fixed constant name.


56-56: LGTM: Event listener strings updated consistently

Both the addEventListener and removeEventListener calls correctly use the fixed identifier name, ensuring proper event handling.

Also applies to: 63-63

bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/subscriptions.ts (2)

26-26: LGTM: Constant naming convention improved

Good fix to enforce consistent uppercase naming by changing PLUGIN_DATA_CHANNEL_All_ITEMS to PLUGIN_DATA_CHANNEL_ALL_ITEMS.


75-75: LGTM: Export statement updated consistently

The export statement correctly reflects the renamed constant.

bigbluebutton-html5/imports/ui/components/plugins-engine/data-channel/channel-manager/reader-manager.tsx (3)

12-12: LGTM: Import statement updated to match renamed constant

The import correctly references the renamed PLUGIN_DATA_CHANNEL_ALL_ITEMS constant from subscriptions.ts.


58-59: LGTM: Enum case and subscription assignment updated consistently

Both the switch case and subscription assignment correctly use the updated naming convention.


62-62: LGTM: Default case updated consistently

The default case correctly uses the renamed constant.

docs/docs/plugins.md (5)

747-749: Review bullet formatting for data-channel hooks.

The new bullet items for ALL_ITEMS and LATEST_ITEM are correct in content and casing. The descriptions align with expected behavior and naming conventions. No issues found here.


762-762: Confirmed correct default enum usage.

The comment indicating ALL_ITEMS as the default value for useDataChannel is accurate and clear.


771-771: Confirm clarity of configuration note.

The sentence describing that the data-channel name must be in the manifest.json along with permissions is precise and well phrased.


808-808: Confirm correctness of useUiData hook description.

The description for the useUiData hook is clear and accurate. No changes needed.


815-815: Confirm enum identifier correction.

The updated enum identifier LayoutPresentationAreaUiDataNames.CURRENT_ELEMENT matches the code changes and is correctly documented.

Comment thread bigbluebutton-html5/package.json Resolved
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@antobinary
antobinary merged commit 80056a1 into bigbluebutton:v3.0.x-release May 29, 2025
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.

3 participants