-
Notifications
You must be signed in to change notification settings - Fork 32
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
advance analytics plotly chart components #1266
advance analytics plotly chart components #1266
Conversation
ff6026b
to
d708471
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1266 +/- ##
==========================================
+ Coverage 85.41% 85.43% +0.01%
==========================================
Files 542 554 +12
Lines 11991 12081 +90
Branches 2525 2567 +42
==========================================
+ Hits 10242 10321 +79
- Misses 1691 1701 +10
- Partials 58 59 +1 ☔ View full report in Codecov by Sentry. |
4adbdb5
to
275e827
Compare
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.
Looks good, just a couple of comments.
Also, can you mark all the strings for i18n as well?
|
||
const AnalyticsV2Page = () => { | ||
const [activeTab, setActiveTab] = useState('enrollments'); | ||
const [granularity, setGranularity] = useState(undefined); |
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.
It would be better to have the default value here instead of undefined.
const AnalyticsV2Page = () => { | ||
const [activeTab, setActiveTab] = useState('enrollments'); | ||
const [granularity, setGranularity] = useState(undefined); | ||
const [calculation, setCalculation] = useState(undefined); |
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.
Same as above.
@muhammad-ammar Please attach screenshots in the PR description. |
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.
The strings need to be marked for i18n. Other than that, LGTM
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.
- [Request] Please mark all static strings throughout your changes for translations.
- [Question] Aren't we supposed to apply loaders on each graph level? Or we supposed to apply a data leader on each tab level? Is that work part of this ticket?
<div className="container-fluid w-100"> | ||
<div className="row data-refresh-msg-container mb-4"> | ||
<div className="col"> | ||
<span>Data updated on ...</span> |
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.
Please mark the static strings for translations.
<div className="row filter-container mb-4"> | ||
<div className="col"> | ||
<Form.Group> | ||
<Form.Label>Start Date</Form.Label> |
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.
Please mark the static strings for translations.
|
cc5c2f9
to
cabb37c
Compare
JIRA:
Screenshot:
For all changes
Only if submitting a visual change