Skip to content

Conversation

@murtaza98
Copy link
Contributor

@murtaza98 murtaza98 commented Dec 18, 2020

Proposed changes (including videos or screenshots)

Issue(s)

  1. Fix layout not rendering properly. Following was the layout which was getting rendered
    BEFORE
    image
    AFTER
    image

  2. Handle some edge cases for date select
    image

  • When we select This Month, then it should set the end date to current date instead of the last date of the month
  • Earlier when we were using date.toISOString(), under my timezone it was converting start of the month incorrectly. I expected it to be 1st December however it converts it to 30st November. Please have a look in the below console
    image
    To solve 🔝 error, I've converted the code to use moment library.

Steps to test or reproduce

Further comments

Server version: In sync with latest develop branch

- Fix layout not rendering properly
- handle some edge cases for date select
@murtaza98 murtaza98 added this to the 3.10.0 milestone Dec 18, 2020
rafaelblink
rafaelblink previously approved these changes Dec 18, 2020
Copy link
Contributor

@rafaelblink rafaelblink left a comment

Choose a reason for hiding this comment

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

Everything working well.

Copy link
Contributor

@renatobecker renatobecker left a comment

Choose a reason for hiding this comment

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

Screen Shot 2020-12-21 at 18 40 36

@murtaza98 this is the design expected.

I'm still getting errors on server-side, BTW:

I20201221-18:35:31.564(-3)? Incorrect chart options
I20201221-18:35:31.571(-3)? livechat:getAnalyticsOverviewData => Invalid dates
I20201221-18:35:31.576(-3)? Incorrect analytics options

@murtaza98 murtaza98 marked this pull request as draft January 12, 2021 04:12
@murtaza98 murtaza98 marked this pull request as ready for review January 13, 2021 12:10
@renatobecker
Copy link
Contributor

@murtaza98 I'm still facing this inconsistency

Screen Shot 2021-01-14 at 09 22 10

@murtaza98
Copy link
Contributor Author

@murtaza98 I'm still facing this inconsistency

Screen Shot 2021-01-14 at 09 22 10

@renatobecker This bug hasn't been fixed yet. I wasn't able to determine the issue 😞 . I'll still need to do some more debugging specifically with mongo queries.

@renatobecker renatobecker changed the title [FIX] Omnichannel Analytics Page [FIX] Invalid filters on the Omnichannel Analytics page Jan 14, 2021
@renatobecker renatobecker modified the milestones: 3.10.0, 3.11.0 Jan 14, 2021
@renatobecker renatobecker merged commit 28a2577 into develop Jan 14, 2021
@renatobecker renatobecker deleted the omnichannel/fix-analytics-page-layout-1 branch January 14, 2021 19:54
@sampaiodiego sampaiodiego mentioned this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants