Skip to content

Conversation

@dougfabris
Copy link
Member

@dougfabris dougfabris commented Dec 1, 2025

Proposed changes (including videos or screenshots)

The FingerprintChangeModal has pushing people to click on “New workspace” by accident and that creates demand for our support team to update their register, while that doesn’t happen, premium customers stay stuck in the free version, right after they click on new workspace.

This pull request changes the position of the "configuration update" and "new workspace" buttons in FingerprintChangeModal in order to highlight configuration update instead of new workspace to avoid this mistake

before

image

after

image

Issue(s)

Steps to test or reproduce

Further comments

CORE-1541

Summary by CodeRabbit

  • Bug Fixes
    • Corrected button labels and positioning in the Unique ID change detected modal to properly emphasize configuration update as the primary action over workspace creation.

✏️ Tip: You can customize this high-level summary in your review settings.

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Dec 1, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is targeting the wrong base branch. It should target 7.14.0, but it targets 7.13.0

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2025

🦋 Changeset detected

Latest commit: ad97ea3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 41 packages
Name Type
@rocket.chat/meteor Minor
@rocket.chat/core-typings Minor
@rocket.chat/rest-typings Minor
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Major
@rocket.chat/gazzodown Major
@rocket.chat/http-router Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-avatar Major
@rocket.chat/ui-client Major
@rocket.chat/ui-contexts Major
@rocket.chat/web-ui-registration Major
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/federation-matrix Patch
@rocket.chat/license Patch
@rocket.chat/media-calls Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/omni-core-ee Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-video-conf Major
@rocket.chat/ui-voip Major
@rocket.chat/instance-status Patch
@rocket.chat/omni-core Patch

Not sure what this means? Click here to learn what changesets are.

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 1, 2025

Walkthrough

This PR inverts button positions and labels in the Unique ID change detected modal to redirect user attention from "New workspace" to "Configuration update". The confirm button now displays "Configuration_update" with CTA styling, while the cancel button shows "New_workspace". Handler logic is synchronized to match the reversed button behavior.

Changes

Cohort / File(s) Change Summary
Unique ID Modal Button Inversion
.changeset/fuzzy-plants-hammer.md
Adds changeset entry documenting minor version bump and UI adjustment.
Modal Component
apps/meteor/client/components/FingerprintChangeModal.tsx
Swaps confirm and cancel button labels: confirmText now uses 'Configuration_update' key; cancelText now uses 'New_workspace' key.
Modal Hook Handler
apps/meteor/client/views/root/hooks/loggedIn/useFingerprintChange.tsx
Inverts newWorkspace dispatch values between onConfirm and onCancel handlers to align with swapped button behavior.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify that swapping onConfirm/onCancel handlers with inverted newWorkspace booleans doesn't introduce unexpected branching or state logic errors
  • Confirm the button label mappings correctly reflect the intended user flow (configuration update as primary action)

Suggested labels

stat: ready to merge, stat: QA assured

Suggested reviewers

  • ggazzo
  • MartinSchoeler
  • yash-rajpal

Poem

🐰 With buttons swapped and logic turned,
The modal's lesson has been learned!
Now config wins the spotlight bright,
While new workspaces step aside right.
Support tickets fade away—hooray!

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: reordering CTA buttons in FingerprintChangeModal to emphasize configuration updates over new workspace creation.
Linked Issues check ✅ Passed The PR fully implements CORE-1541 objectives: swaps button positions, inverts labels, alters control flow to map confirm to configuration-update and cancel to new-workspace, achieving visual and behavioral emphasis inversion.
Out of Scope Changes check ✅ Passed All changes are directly scoped to CORE-1541: button label swaps in FingerprintChangeModal and corresponding handler logic inversions in useFingerprintChange; no unrelated modifications present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/fingerprint-modal-cta

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.

@dougfabris dougfabris added this to the 7.14.0 milestone Dec 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2025

📦 Docker Image Size Report

📈 Changes

Service Current Baseline Change Percent
sum of all images 1.2GiB 1.2GiB +12MiB
rocketchat 359MiB 347MiB +12MiB
omnichannel-transcript-service 132MiB 132MiB -271B
queue-worker-service 132MiB 132MiB -1.2KiB
ddp-streamer-service 126MiB 126MiB -1.2KiB
account-service 113MiB 113MiB +1.9KiB
stream-hub-service 111MiB 111MiB -610B
authorization-service 111MiB 111MiB +340B
presence-service 111MiB 111MiB +1.1KiB

📊 Historical Trend

---
config:
  theme: "dark"
  xyChart:
    width: 900
    height: 400
---
xychart
  title "Image Size Evolution by Service (Last 30 Days + This PR)"
  x-axis ["11/15 22:28", "11/16 01:28", "11/17 23:50", "11/18 22:53", "11/19 23:02", "11/21 16:49", "11/24 17:34", "11/27 22:32", "11/28 19:05", "12/01 23:01", "12/02 18:29", "12/02 19:20 (PR)"]
  y-axis "Size (GB)" 0 --> 0.5
  line "account-service" [0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]
  line "authorization-service" [0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]
  line "ddp-streamer-service" [0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12]
  line "omnichannel-transcript-service" [0.14, 0.14, 0.14, 0.14, 0.14, 0.13, 0.13, 0.13, 0.13, 0.13, 0.13, 0.13]
  line "presence-service" [0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]
  line "queue-worker-service" [0.14, 0.14, 0.14, 0.14, 0.14, 0.13, 0.13, 0.13, 0.13, 0.13, 0.13, 0.13]
  line "rocketchat" [0.36, 0.36, 0.35, 0.35, 0.35, 0.34, 0.34, 0.34, 0.34, 0.34, 0.34, 0.35]
  line "stream-hub-service" [0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11]
Loading

Statistics (last 11 days):

  • 📊 Average: 1.5GiB
  • ⬇️ Minimum: 1.2GiB
  • ⬆️ Maximum: 1.6GiB
  • 🎯 Current PR: 1.2GiB
ℹ️ About this report

This report compares Docker image sizes from this build against the develop baseline.

  • Tag: pr-37659
  • Baseline: develop
  • Timestamp: 2025-12-02 19:20:22 UTC
  • Historical data points: 11

Updated: Tue, 02 Dec 2025 19:20:22 GMT

@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.81%. Comparing base (a5495ff) to head (ad97ea3).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #37659      +/-   ##
===========================================
- Coverage    68.81%   68.81%   -0.01%     
===========================================
  Files         3361     3361              
  Lines       114260   114204      -56     
  Branches     20619    20619              
===========================================
- Hits         78629    78586      -43     
+ Misses       33533    33520      -13     
  Partials      2098     2098              
Flag Coverage Δ
e2e 57.25% <0.00%> (-0.08%) ⬇️
e2e-api 43.18% <ø> (+0.98%) ⬆️

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.

@dougfabris dougfabris marked this pull request as ready for review December 2, 2025 14:38
@dougfabris dougfabris requested a review from a team as a code owner December 2, 2025 14:38
@dougfabris dougfabris added the stat: QA assured Means it has been tested and approved by a company insider label Dec 2, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Dec 2, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
.changeset/fuzzy-plants-hammer.md (1)

5-5: Reword changeset description for concision and clarity

You can tighten the sentence and make the intent clearer by dropping “in order to” and clarifying the emphasized action.

-Changes the position of the buttons in Unique ID change detected modal in order to highlight configuration update instead of new workspace
+Changes the position of the buttons in the Unique ID change detected modal to highlight the configuration update action instead of creating a new workspace.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6264e1c and acd3243.

📒 Files selected for processing (3)
  • .changeset/fuzzy-plants-hammer.md (1 hunks)
  • apps/meteor/client/components/FingerprintChangeModal.tsx (1 hunks)
  • apps/meteor/client/views/root/hooks/loggedIn/useFingerprintChange.tsx (1 hunks)
🧰 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:

  • apps/meteor/client/views/root/hooks/loggedIn/useFingerprintChange.tsx
  • apps/meteor/client/components/FingerprintChangeModal.tsx
🧠 Learnings (1)
📚 Learning: 2025-11-19T18:20:07.720Z
Learnt from: gabriellsh
Repo: RocketChat/Rocket.Chat PR: 37419
File: packages/i18n/src/locales/en.i18n.json:918-921
Timestamp: 2025-11-19T18:20:07.720Z
Learning: Repo: RocketChat/Rocket.Chat — i18n/formatting
Learning: This repository uses a custom message formatting parser in UI blocks/messages; do not assume standard Markdown rules. For keys like Call_ended_bold, Call_not_answered_bold, Call_failed_bold, and Call_transferred_bold in packages/i18n/src/locales/en.i18n.json, retain the existing single-asterisk emphasis unless maintainers request otherwise.

Applied to files:

  • .changeset/fuzzy-plants-hammer.md
🪛 LanguageTool
.changeset/fuzzy-plants-hammer.md

[style] ~5-~5: Consider a more concise word here.
Context: ...tons in Unique ID change detected modal in order to highlight configuration update instead ...

(IN_ORDER_TO_PREMIUM)

⏰ 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). (10)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
  • GitHub Check: 🔨 Test API (EE) / MongoDB 8.2 coverage (1/1)
🔇 Additional comments (2)
apps/meteor/client/views/root/hooks/loggedIn/useFingerprintChange.tsx (1)

77-78: Confirm/cancel handlers now align with inverted CTA semantics

onConfirm setting newWorkspace: false and onCancel setting newWorkspace: true correctly inverts the paths so the primary action corresponds to a configuration update while still allowing the alternative “new workspace” flow via the secondary button, matching the fingerPrintMutation(newWorkspace ? 'new-workspace' : 'updated-configuration') logic.

apps/meteor/client/components/FingerprintChangeModal.tsx (1)

24-25: Swapped button labels correctly emphasize configuration update as CTA

Using confirmText={t('Configuration_update')} and cancelText={t('New_workspace')} matches the product goal of making configuration update the primary CTA and is consistent with the updated useFingerprintChange handlers.

@kodiakhq kodiakhq bot merged commit 0c05024 into develop Dec 2, 2025
48 checks passed
@kodiakhq kodiakhq bot deleted the feat/fingerprint-modal-cta branch December 2, 2025 19:45
@dougfabris dougfabris modified the milestones: 7.14.0, 8.0.0 Jan 19, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants