Skip to content

chore: Upgrade fuselage packages - #39169

Merged
tassoevan merged 6 commits into
developfrom
chore/bump-fuselage
Mar 4, 2026
Merged

chore: Upgrade fuselage packages#39169
tassoevan merged 6 commits into
developfrom
chore/bump-fuselage

Conversation

@juliajforesti

@juliajforesti juliajforesti commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Release changes:
@rocket.chat/fuselage@0.73.0
@rocket.chat/fuselage@0.72.1
@rocket.chat/fuselage@0.72.0

@rocket.chat/fuselage-hooks@0.40.0

  • Update MenuV2 imports to Menu

Issue(s)

Steps to test or reproduce

Further comments

WA-75
CORE-1750

Summary by CodeRabbit

  • Refactor

    • Standardized menu components across the app for consistent behavior and appearance.
  • Chores

    • Updated UI framework and related package versions to the latest releases.

@dionisio-bot

dionisio-bot Bot commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@changeset-bot

changeset-bot Bot commented Feb 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ec2ef9a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Replaced uses of MenuV2 with Menu in three UI components (imports, JSX, and one prop type) and updated @rocket.chat/fuselage and @rocket.chat/fuselage-hooks versions in multiple package.json files (mostly devDependencies). No other functional changes detected.

Changes

Cohort / File(s) Summary
Component Migrations
apps/meteor/client/views/marketplace/AppMenu.tsx, apps/meteor/client/views/omnichannel/departments/DepartmentsTable/DepartmentItemMenu.tsx, packages/ui-client/src/components/GenericMenu/GenericMenu.tsx
Replaced MenuV2 with Menu: updated imports and JSX usage, removed a TODO referencing MenuV2, and changed GenericMenu prop type to use ComponentProps<typeof Menu> instead of MenuV2.
Dependency Updates (package.json)
apps/meteor/package.json, apps/uikit-playground/package.json, ee/packages/ui-theming/package.json, packages/fuselage-ui-kit/package.json, packages/gazzodown/package.json, packages/livechat/package.json, packages/storybook-config/package.json, packages/ui-avatar/package.json, packages/ui-client/package.json, packages/ui-composer/package.json, packages/ui-contexts/package.json, packages/ui-video-conf/package.json, packages/ui-voip/package.json, packages/web-ui-registration/package.json
Bumped @rocket.chat/fuselage from ^0.71.0 to ^0.72.1 and @rocket.chat/fuselage-hooks from ^0.39.0 to ^0.40.0 across multiple package.json files (primarily devDependencies).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: Upgrade fuselage packages' directly and accurately describes the main change in the changeset: upgrading @rocket.chat/fuselage and @rocket.chat/fuselage-hooks across multiple package.json files, along with related code updates to use the new Menu API.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Feb 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.87%. Comparing base (b7ff7b2) to head (ec2ef9a).
⚠️ Report is 9 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #39169      +/-   ##
===========================================
+ Coverage    70.85%   70.87%   +0.01%     
===========================================
  Files         3208     3208              
  Lines       113431   113431              
  Branches     20542    20545       +3     
===========================================
+ Hits         80376    80395      +19     
+ Misses       31004    30991      -13     
+ Partials      2051     2045       -6     
Flag Coverage Δ
e2e 60.37% <ø> (+0.01%) ⬆️
e2e-api 47.82% <ø> (+0.05%) ⬆️
unit 71.58% <75.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@juliajforesti
juliajforesti marked this pull request as ready for review February 27, 2026 20:21
@juliajforesti
juliajforesti requested review from a team as code owners February 27, 2026 20:21
@juliajforesti juliajforesti added this to the 8.3.0 milestone Feb 27, 2026

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 18 files

@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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/web-ui-registration/src/LoginForm.tsx`:
- Line 72: Remove the leftover debug console.log by deleting the
console.log(errors) statement in the LoginForm component (function/component
LoginForm in LoginForm.tsx); if you need to keep diagnostic output during
development, replace it with a conditional dev-only logger (e.g., wrap in if
(process.env.NODE_ENV !== 'production') or use the existing app logger) so no
form errors are logged in production.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 69aa9ce and b0a5fda.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (14)
  • apps/meteor/package.json
  • apps/uikit-playground/package.json
  • ee/packages/ui-theming/package.json
  • packages/fuselage-ui-kit/package.json
  • packages/gazzodown/package.json
  • packages/storybook-config/package.json
  • packages/ui-avatar/package.json
  • packages/ui-client/package.json
  • packages/ui-composer/package.json
  • packages/ui-contexts/package.json
  • packages/ui-video-conf/package.json
  • packages/ui-voip/package.json
  • packages/web-ui-registration/package.json
  • packages/web-ui-registration/src/LoginForm.tsx
🚧 Files skipped from review as they are similar to previous changes (11)
  • apps/meteor/package.json
  • packages/ui-voip/package.json
  • packages/web-ui-registration/package.json
  • packages/ui-client/package.json
  • apps/uikit-playground/package.json
  • packages/storybook-config/package.json
  • packages/fuselage-ui-kit/package.json
  • packages/gazzodown/package.json
  • packages/ui-composer/package.json
  • packages/ui-avatar/package.json
  • packages/ui-video-conf/package.json
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: 📦 Build Packages
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: CodeQL-Build
  • GitHub Check: CodeQL-Build
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,js}

📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)

**/*.{ts,tsx,js}: Write concise, technical TypeScript/JavaScript with accurate typing in Playwright tests
Avoid code comments in the implementation

Files:

  • packages/web-ui-registration/src/LoginForm.tsx
🧠 Learnings (6)
📓 Common learnings
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 0
File: :0-0
Timestamp: 2026-02-24T19:05:56.710Z
Learning: Rocket.Chat repo context: When a workspace manifest on develop already pins a dependency version (e.g., packages/web-ui-registration → "rocket.chat/ui-contexts": "27.0.1"), a lockfile change in a feature PR that upgrades only that dependency’s resolution is considered a manifest-driven sync and can be kept, preferably as a small "chore: sync yarn.lock with manifests" commit.
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 0
File: :0-0
Timestamp: 2026-02-24T19:05:56.710Z
Learning: In Rocket.Chat PRs, keep feature PRs free of unrelated lockfile-only dependency bumps; prefer reverting lockfile drift or isolating such bumps into a separate "chore" commit/PR, and always use yarn install --immutable with the Yarn version pinned in package.json via Corepack.
📚 Learning: 2026-02-24T19:05:56.710Z
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 0
File: :0-0
Timestamp: 2026-02-24T19:05:56.710Z
Learning: Rocket.Chat repo context: When a workspace manifest on develop already pins a dependency version (e.g., packages/web-ui-registration → "rocket.chat/ui-contexts": "27.0.1"), a lockfile change in a feature PR that upgrades only that dependency’s resolution is considered a manifest-driven sync and can be kept, preferably as a small "chore: sync yarn.lock with manifests" commit.

Applied to files:

  • packages/ui-contexts/package.json
  • ee/packages/ui-theming/package.json
📚 Learning: 2026-02-24T19:05:56.710Z
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 0
File: :0-0
Timestamp: 2026-02-24T19:05:56.710Z
Learning: In Rocket.Chat PRs, keep feature PRs free of unrelated lockfile-only dependency bumps; prefer reverting lockfile drift or isolating such bumps into a separate "chore" commit/PR, and always use yarn install --immutable with the Yarn version pinned in package.json via Corepack.

Applied to files:

  • packages/ui-contexts/package.json
  • ee/packages/ui-theming/package.json
📚 Learning: 2026-02-24T19:09:09.561Z
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 38974
File: apps/meteor/app/api/server/v1/im.ts:220-221
Timestamp: 2026-02-24T19:09:09.561Z
Learning: In RocketChat/Rocket.Chat OpenAPI migration PRs for apps/meteor/app/api/server/v1 endpoints, maintainers prefer to avoid any logic changes; style-only cleanups (like removing inline comments) may be deferred to follow-ups to keep scope tight.

Applied to files:

  • packages/ui-contexts/package.json
📚 Learning: 2025-11-19T12:32:29.696Z
Learnt from: d-gubert
Repo: RocketChat/Rocket.Chat PR: 37547
File: packages/i18n/src/locales/en.i18n.json:634-634
Timestamp: 2025-11-19T12:32:29.696Z
Learning: Repo: RocketChat/Rocket.Chat
Context: i18n workflow
Learning: In this repository, new translation keys should be added to packages/i18n/src/locales/en.i18n.json only; other locale files are populated via the external translation pipeline and/or fall back to English. Do not request adding the same key to all locale files in future reviews.

Applied to files:

  • packages/ui-contexts/package.json
📚 Learning: 2026-02-25T20:10:16.987Z
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 38913
File: packages/ddp-client/src/legacy/types/SDKLegacy.ts:34-34
Timestamp: 2026-02-25T20:10:16.987Z
Learning: In the RocketChat/Rocket.Chat monorepo, packages/ddp-client and apps/meteor do not use TypeScript project references. Module augmentations in apps/meteor (e.g., declare module 'rocket.chat/rest-typings') are not visible when compiling packages/ddp-client in isolation, which is why legacy SDK methods that depend on OperationResult types for OpenAPI-migrated endpoints must remain commented out.

Applied to files:

  • packages/ui-contexts/package.json
  • ee/packages/ui-theming/package.json
🔇 Additional comments (2)
ee/packages/ui-theming/package.json (1)

19-20: Dependency bump for @rocket.chat/fuselage and @rocket.chat/fuselage-hooks is consistent and safe.

The versions ^0.72.1 and ^0.40.0 are pinned across the monorepo with a manifest-driven sync (isolated chore commit), and peer dependencies are declared with wildcards, so no version conflicts exist.

packages/ui-contexts/package.json (1)

25-26: Fuselage 0.72.1 breaking change confirmed; fuselage-hooks version requires clarification.

@rocket.chat/fuselage@0.72.1 includes the MenuV2 → Menu breaking change (imports renamed, legacy Menu removed). However, @rocket.chat/fuselage-hooks@0.40.0 does not appear to exist on npm—available versions are around 0.37.x–0.38.x. Verify the intended version for fuselage-hooks and confirm compatibility with the fuselage bump.

Comment thread packages/web-ui-registration/src/LoginForm.tsx Outdated
dougfabris
dougfabris previously approved these changes Mar 3, 2026
@juliajforesti juliajforesti added the stat: QA assured Means it has been tested and approved by a company insider label Mar 3, 2026
@dionisio-bot dionisio-bot Bot added the stat: ready to merge PR tested and approved waiting for merge label Mar 3, 2026
@dionisio-bot
dionisio-bot Bot added this pull request to the merge queue Mar 3, 2026
@juliajforesti
juliajforesti removed this pull request from the merge queue due to a manual request Mar 3, 2026
tassoevan
tassoevan previously approved these changes Mar 3, 2026
@dionisio-bot
dionisio-bot Bot added this pull request to the merge queue Mar 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 3, 2026
@tassoevan
tassoevan added this pull request to the merge queue Mar 3, 2026
Merged via the queue into develop with commit a601a67 Mar 4, 2026
107 of 112 checks passed
@tassoevan
tassoevan deleted the chore/bump-fuselage branch March 4, 2026 00:49
TheRazorbill pushed a commit to TheRazorbill/Rocket.Chat that referenced this pull request Mar 4, 2026
Co-authored-by: Tasso Evangelista <tasso.evangelista@rocket.chat>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge type: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants