Skip to content

Conversation

@juliajforesti
Copy link
Contributor

@juliajforesti juliajforesti commented Jun 12, 2025

ARCH-1651

Proposed changes (including videos or screenshots)

Replace useReactiveValue in favor of Zustand

Issue(s)

Steps to test or reproduce

Further comments

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Jun 12, 2025

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

@changeset-bot
Copy link

changeset-bot bot commented Jun 12, 2025

⚠️ No Changeset found

Latest commit: b4a890e

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

@juliajforesti juliajforesti changed the title chore: remove useReactiveVar from useReplyInDMAction chore: remove useReactiveValue from useReplyInDMAction Jun 13, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 13, 2025

PR Preview Action v1.6.1

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-36217/

Built to branch gh-pages at 2025-06-20 14:24 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.54%. Comparing base (4ec3b92) to head (b4a890e).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #36217   +/-   ##
========================================
  Coverage    64.53%   64.54%           
========================================
  Files         3148     3148           
  Lines       104625   104632    +7     
  Branches     19774    19777    +3     
========================================
+ Hits         67522    67535   +13     
+ Misses       34413    34408    -5     
+ Partials      2690     2689    -1     
Flag Coverage Δ
e2e 57.63% <93.75%> (+0.05%) ⬆️
unit 69.14% <ø> (-0.02%) ⬇️

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 force-pushed the chore/useReplyInDMAction branch from e1bd4f6 to cc28d59 Compare June 17, 2025 14:25
@juliajforesti juliajforesti marked this pull request as ready for review June 18, 2025 23:16
@juliajforesti juliajforesti requested a review from a team as a code owner June 18, 2025 23:16
@tassoevan tassoevan added this to the 7.8.0 milestone Jun 18, 2025
@tassoevan tassoevan added the stat: QA assured Means it has been tested and approved by a company insider label Jun 18, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Jun 18, 2025
@kodiakhq kodiakhq bot merged commit 1d6f335 into develop Jun 20, 2025
86 of 89 checks passed
@kodiakhq kodiakhq bot deleted the chore/useReplyInDMAction branch June 20, 2025 17:39
nmagedman added a commit to seekingalpha/Rocket.Chat that referenced this pull request Sep 17, 2025
…ocketChat#36217)"

This reverts commit 1d6f335.

Reverting experimentally to see if this commit changed the behavior
of "Reply in direct message" (hiding it when there is no pre-existing room)
nmagedman added a commit to seekingalpha/Rocket.Chat that referenced this pull request Sep 18, 2025
…e-d permission

When PR RocketChat#36217 refactored useReplyInDMAction, it introduced a regression.
We previously checked for `!canCreateDM` (with a bang!) but that PR accidentally
negated it to `canCreateDM`.

Additionally, the conditional that includes `canCreateDM` was duplicated.
DRY it out.
nmagedman added a commit to nmagedman/Rocket.Chat that referenced this pull request Sep 18, 2025
…e-d permission

When PR RocketChat#36217 refactored useReplyInDMAction, it introduced a regression.
We previously checked for `!canCreateDM` (with a bang!) but that PR accidentally
negated it to `canCreateDM`.

Additionally, the conditional that includes `canCreateDM` was duplicated.
DRY it out.
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.

3 participants