-
Notifications
You must be signed in to change notification settings - Fork 357
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: ensure historic usage charts assume the correct timezone (DET-10407) #9650
fix: ensure historic usage charts assume the correct timezone (DET-10407) #9650
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9650 +/- ##
==========================================
- Coverage 57.01% 52.99% -4.02%
==========================================
Files 761 1255 +494
Lines 103084 152888 +49804
Branches 3233 3234 +1
==========================================
+ Hits 58771 81027 +22256
- Misses 44162 71710 +27548
Partials 151 151
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added few comments, otherwise lgtm
@@@@@@ @@@@@@
@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@%#***#%%@@@@@@%#****#@@@@@@@@@@@
@@@@@@@@*:::::::::::::::::::::::::-@@@@@@@@
@@@@@@@-:::. .::::::::::::::. .:::*@@@@@@
@@@@@=:::.:***.::::::::::::.+**-.:::%@@@@@
@@@@@-:::.=***-.::::::::::.:****.:::#@@@@
@@@@@@ @@@@@@@@@@+:::.:***:.:::::::::::.+**=.:::%@@@@ @@@@ @@@@@
@@@@@@@@ @@@@::::.. ..:::::+=::::::. .::::@@@@ @@@@@@@@
@@ @@@@-::::::::::::::::::::::::::-@@@@ @@
@@@@#::::::::::+=::::::::::=@@@@
@@+ @@@@@@@@%#*******#%@@@@@@@
@@%%@ @@@@@@@@@@@@@@
:: @@*% @@@@@@@@@@@@@@@@
@@#@@@ @@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@ @@@@
@@@@@@@@@@@@@ @@@@
@@@@@@@@@@@@@ @@@@
@@@@@@@@%@@@@ @@@@
:::::%@@%-@@@++@@@-@@@#:::::
:::::::*@@@#-+@@@--@@@+-%@@@+:::::::
::::::::----:*@@+::::+@@*:----:::::::::
:::::::::::-------::::-------:::::::::::
:::::::::::---:---::---:----::::::::::
:::::::::---:--------:---:::::::::
::::---:--------:----::::
webui/react/src/pages/Cluster/ClusterHistoricalUsageFilters.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
....................................................:+#####+-.......................................
...................................................=#%*=-=*#%+......................................
...................................................*%%. ...=%#=.....................................
...................................................+%%. ....+%#-....................................
...................................................+%%: ....#%+:...................................
...................................................+%%: ....=%#-...................................
..................................................:*%%. ....:#%=...................................
.................................................:+%%: .....-%%=...................................
.................................................+%#: ......+%*:...................................
...............................................:*%#:. .......#%+:...................................
..............................................:#%*: .......:%%=....................................
.............................................-#%*: .......+%#******+**+**+**+=-...................
............................................+#%+. .......******************#%%#-.................
....................:-+++++++++++++++++++=-#%#- .........:#%*:................
............. .....=%%%%%%%%%%%%%%%%%%%%%%%%+.. .........+%*-................
...................+%#++++++++++++++++*#%#-. ..........=%%+.................
...................*%#++++++++++++++++*#+... .........:+#%%+..................
...................+%#++++++++++++++++*#+... .........-#%#..................
...................+%#++++++++++++++++*#+... ..........#%*..................
...................*%#++++++++++++++++*#+... .........-*%#:..................
...................+%#++++++++++++++++*#+... ........:*%%%-...................
...................*%#++++++++++++++++*#+... .........-#%*...................
...................+%#++++++++++++++++*#+... .........=#%=...................
...................*%#++++++++++++++++*#+... .........:=#%+....................
...................*%#++++++++++++++++*#+... .........:+#%#:....................
...................+%#++++++++++++++++*#+... .........+%%-....................
...................*%#++++++++++++++++*#*=:. ........:*%#:....................
...................+%#++++++++++++++++*#%%%%*-:.................:::::::::=*%%#-.....................
...................*%#*+++++++++++++++*%%+-*##%%%%%%%%%%%%%%%%%%%%%%%%%%%##*=:......................
...................:#%%%%%%%%%%%%%%%%%%%*:..........................................................
Ticket
DET-10407
Description
An escalation was reported that the data being presented in the historic usage charts was excluding expected start & end dates of the provided range. This adjusts the terminology in the frontend & query parameters to be reflective of this inclusion.
Additionally, this PR adjust the
Date.parse()
call for the X axis on the Historic Usage Charts to ensure that the comparison between times is done based on the local timezone, so that when the information is rendered in the Line Chart all communicated information is visible.Test Plan
Cluster
tab2024-01-01 12:00am
and end with2024-02-01 12:00am
Checklist
docs/release-notes/
See Release Note for details.