Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken error messages on room.saveInfo & missing CF validations on omni/contact api #28367

Merged
merged 20 commits into from
May 26, 2023

Conversation

cauefcr
Copy link
Contributor

@cauefcr cauefcr commented Mar 10, 2023

Proposed changes (including videos or screenshots)

The code with Promises.allSettled was suppressing room.saveInfo errors, made changes to stop that, and added API tests to stop them from happening again .

Issue(s)

OC-715

Steps to test or reproduce

Further comments

@cauefcr cauefcr added this to the 6.1.0 milestone Mar 10, 2023
@cauefcr cauefcr changed the title [FIX] fixes broken error messages on room.saveInfo [FIX] broken error messages on room.saveInfo Mar 10, 2023
@cauefcr cauefcr changed the title [FIX] broken error messages on room.saveInfo [IMPROVE] fix broken error messages on room.saveInfo Mar 10, 2023
@cauefcr cauefcr changed the title [IMPROVE] fix broken error messages on room.saveInfo fix: broken error messages on room.saveInfo Mar 10, 2023
@codecov
Copy link

codecov bot commented Mar 10, 2023

Codecov Report

Merging #28367 (e937e78) into develop (eeee52f) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #28367      +/-   ##
===========================================
- Coverage    46.86%   46.81%   -0.05%     
===========================================
  Files          707      707              
  Lines        13241    13241              
  Branches      2221     2221              
===========================================
- Hits          6205     6199       -6     
- Misses        6720     6727       +7     
+ Partials       316      315       -1     
Flag Coverage Δ
e2e 46.77% <ø> (-0.05%) ⬇️

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

@cauefcr cauefcr marked this pull request as ready for review March 10, 2023 19:32
@cauefcr cauefcr requested review from a team as code owners March 10, 2023 19:32
murtaza98
murtaza98 previously approved these changes Mar 13, 2023
@MartinSchoeler MartinSchoeler removed this from the 6.1.0 milestone Mar 23, 2023
@murtaza98 murtaza98 requested a review from a team as a code owner March 30, 2023 09:12
@murtaza98 murtaza98 removed the request for review from a team March 30, 2023 09:13
murtaza98
murtaza98 previously approved these changes Apr 3, 2023
@murtaza98 murtaza98 changed the title fix: broken error messages on room.saveInfo fix: broken error messages on room.saveInfo & missing CF validations on omni/contact api Apr 3, 2023
@renatobecker renatobecker added this to the 6.2.0 milestone Apr 11, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels May 25, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels May 25, 2023
@murtaza98 murtaza98 requested a review from debdutdeb May 26, 2023 04:14
@murtaza98 murtaza98 dismissed debdutdeb’s stale review May 26, 2023 04:15

Changes addressed

@dionisio-bot dionisio-bot bot removed the stat: ready to merge PR tested and approved waiting for merge label May 26, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels May 26, 2023
@kodiakhq kodiakhq bot merged commit b03fcd9 into develop May 26, 2023
@kodiakhq kodiakhq bot deleted the OC-715 branch May 26, 2023 06:46
gabriellsh added a commit that referenced this pull request May 26, 2023
…ove/mentions

* 'develop' of github.com:RocketChat/Rocket.Chat: (48 commits)
  fix: Changed contact form async validations to onSubmit (#29250)
  refactor: Omnichannel Department re-write (#28948)
  feat: Added attachments to contact history message list (#29336)
  fix: Clicking uploaded file title replaces current tab (#29174)
  fix: broken error messages on room.saveInfo & missing CF validations on omni/contact api (#28367)
  regression: Missing loading indicator (#29374)
  fix: Added check if count is truthy on `cleanRoomHistory` (#28081)
  chore: small tricks with keys and invalidations with marketplace page (#29369)
  fix: Missing await on agent leave action (#29358)
  refactor: useQuery for Marketplace Lists (#29348)
  test: add missing omnichannel contact-center tests (#28989)
  ci: omit vite log (#29360)
  chore: update `status-warning-2` color (#29321)
  fix: File upload in Safari, IOS devices (#27121)
  chore: update status-bullet colors (#29316)
  chore: `Contextualbar` empty state consistency (#29341)
  chore(deps-dev): Bump @storybook/source-loader from 6.5.15 to 6.5.16 (#27866)
  feat(apps): Disabling apps on trial license expiration (#29037)
  chore(deps-dev): Bump @storybook/manager-webpack4 from 6.5.15 to 6.5.16 (#27865)
  chore(deps-dev): Bump @storybook/addon-actions from 6.5.15 to 6.5.16 (#27917)
  ...
gabriellsh added a commit that referenced this pull request May 26, 2023
…memberList

* 'develop' of github.com:RocketChat/Rocket.Chat: (30 commits)
  fix: Changed contact form async validations to onSubmit (#29250)
  refactor: Omnichannel Department re-write (#28948)
  feat: Added attachments to contact history message list (#29336)
  fix: Clicking uploaded file title replaces current tab (#29174)
  fix: broken error messages on room.saveInfo & missing CF validations on omni/contact api (#28367)
  regression: Missing loading indicator (#29374)
  fix: Added check if count is truthy on `cleanRoomHistory` (#28081)
  chore: small tricks with keys and invalidations with marketplace page (#29369)
  fix: Missing await on agent leave action (#29358)
  refactor: useQuery for Marketplace Lists (#29348)
  test: add missing omnichannel contact-center tests (#28989)
  ci: omit vite log (#29360)
  chore: update `status-warning-2` color (#29321)
  fix: File upload in Safari, IOS devices (#27121)
  chore: update status-bullet colors (#29316)
  chore: `Contextualbar` empty state consistency (#29341)
  chore(deps-dev): Bump @storybook/source-loader from 6.5.15 to 6.5.16 (#27866)
  feat(apps): Disabling apps on trial license expiration (#29037)
  chore(deps-dev): Bump @storybook/manager-webpack4 from 6.5.15 to 6.5.16 (#27865)
  chore(deps-dev): Bump @storybook/addon-actions from 6.5.15 to 6.5.16 (#27917)
  ...
hugocostadev pushed a commit that referenced this pull request May 30, 2023
…on omni/contact api (#28367)

Co-authored-by: Murtaza Patrawala <34130764+murtaza98@users.noreply.github.com>
Co-authored-by: Kevin Aleman <11577696+KevLehman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants