Skip to content

Conversation

@MartinSchoeler
Copy link
Member

@MartinSchoeler MartinSchoeler commented Feb 3, 2025

Proposed changes (including videos or screenshots)

The omnichannel reports page was getting data for one day earlier than supposed in any option that required a date that starts at the start of the month

Issue(s)

CORE-972

Steps to test or reproduce

Further comments

@changeset-bot
Copy link

changeset-bot bot commented Feb 3, 2025

🦋 Changeset detected

Latest commit: 7c7124e

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

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@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 Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@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/license 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/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status 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

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Feb 3, 2025

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2025

PR Preview Action v1.6.0

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

Built to branch gh-pages at 2025-02-05 20:31 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@MartinSchoeler
Copy link
Member Author

Screenshot 2025-02-03 at 14 38 20 As expected the test is failing without the fix

@codecov
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.21%. Comparing base (c216556) to head (7c7124e).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #35100      +/-   ##
===========================================
- Coverage    59.21%   59.21%   -0.01%     
===========================================
  Files         2824     2824              
  Lines        67995    67985      -10     
  Branches     15123    15121       -2     
===========================================
- Hits         40263    40255       -8     
  Misses       24902    24902              
+ Partials      2830     2828       -2     
Flag Coverage Δ
unit 75.13% <ø> (ø)

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

@MartinSchoeler MartinSchoeler marked this pull request as ready for review February 3, 2025 18:25
@MartinSchoeler MartinSchoeler requested a review from a team as a code owner February 3, 2025 18:25
gabriellsh
gabriellsh previously approved these changes Feb 3, 2025
Copy link
Contributor

@aleksandernsilva aleksandernsilva left a comment

Choose a reason for hiding this comment

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

  • This code is shared with the Engagement Dashboard, so I recommend taking a look there to see if everything is working as it should.
  • Considering the distinction between utc+0 and local time utc, it might be a good idea to test the edge scenario were changing this flag causes the start and/or end dates to differ.

PS.: I tried running the tests locally and they were not passing, but CI seems fine 🤔

@MartinSchoeler
Copy link
Member Author

MartinSchoeler commented Feb 4, 2025

  • This code is shared with the Engagement Dashboard, so I recommend taking a look there to see if everything is working as it should.

They are only using the values from lastNDays function, I've done some testing and everything seems to be ok

KevLehman
KevLehman previously approved these changes Feb 6, 2025
Copy link
Member

@KevLehman KevLehman left a comment

Choose a reason for hiding this comment

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

Removing the omni review :)

@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Feb 10, 2025
@MartinSchoeler MartinSchoeler added this to the 7.4.0 milestone Feb 10, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Feb 10, 2025
@kodiakhq kodiakhq bot merged commit facee3b into develop Feb 10, 2025
47 of 48 checks passed
@kodiakhq kodiakhq bot deleted the fix/charts-day branch February 10, 2025 17:27
@MartinSchoeler
Copy link
Member Author

/patch

@KevLehman
Copy link
Member

/bark

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Feb 14, 2025

AU AU

@KevLehman
Copy link
Member

/patch

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Feb 14, 2025

Pull request #35212 added to Project: "undefined"

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.

6 participants