From bd5edfc2993c93bd77f42dcd30d38b57eeb50481 Mon Sep 17 00:00:00 2001 From: Yash Rajpal <58601732+yash-rajpal@users.noreply.github.com> Date: Thu, 25 Sep 2025 21:25:35 +0530 Subject: [PATCH] feat: Resizable contextualbars out of feature preview (#37022) Co-authored-by: Douglas Fabris <27704687+dougfabris@users.noreply.github.com> --- .changeset/happy-carpets-draw.md | 7 + .../__snapshots__/UserInfo.spec.tsx.snap | 1614 +++++++++-------- .../AppLogsFilterContextualBar.stories.tsx | 2 +- .../AppLogsFilterContextualBar.spec.tsx.snap | 695 +++---- .../CannedResponseList.stories.tsx | 9 +- .../CannedResponseList.spec.tsx.snap | 60 +- .../InviteUsers/InviteUsers.stories.tsx | 4 +- .../__snapshots__/InviteUsers.spec.tsx.snap | 1122 +++++++----- .../__snapshots__/RoomMembers.spec.tsx.snap | 1016 ++++++----- .../resizable-contextual-bar.png | Bin 4776 -> 0 bytes apps/meteor/tests/e2e/feature-preview.spec.ts | 1 - .../e2e/page-objects/omnichannel-units.ts | 4 +- packages/i18n/src/locales/en.i18n.json | 2 - packages/i18n/src/locales/nb.i18n.json | 2 - packages/i18n/src/locales/nn.i18n.json | 2 - packages/i18n/src/locales/pt-BR.i18n.json | 2 - packages/i18n/src/locales/sv.i18n.json | 2 - .../Contextualbar/ContextualbarDialog.tsx | 14 +- .../src/hooks/useFeaturePreviewList.ts | 11 +- .../CallHistoryContextualbar.spec.tsx.snap | 880 +++++---- 20 files changed, 3045 insertions(+), 2404 deletions(-) create mode 100644 .changeset/happy-carpets-draw.md delete mode 100644 apps/meteor/public/images/featurePreview/resizable-contextual-bar.png diff --git a/.changeset/happy-carpets-draw.md b/.changeset/happy-carpets-draw.md new file mode 100644 index 00000000000..f59a1a06c7b --- /dev/null +++ b/.changeset/happy-carpets-draw.md @@ -0,0 +1,7 @@ +--- +'@rocket.chat/ui-client': major +'@rocket.chat/i18n': major +'@rocket.chat/meteor': major +--- + +Promotes Resizable Contextualbars from preview state to stable. diff --git a/apps/meteor/client/components/UserInfo/__snapshots__/UserInfo.spec.tsx.snap b/apps/meteor/client/components/UserInfo/__snapshots__/UserInfo.spec.tsx.snap index ad214a8b86b..e051c389655 100644 --- a/apps/meteor/client/components/UserInfo/__snapshots__/UserInfo.spec.tsx.snap +++ b/apps/meteor/client/components/UserInfo/__snapshots__/UserInfo.spec.tsx.snap @@ -8,250 +8,292 @@ exports[`renders Default without crashing 1`] = ` hidden="" />