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

feat: integrate advance analytics charts #1287

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

muhammad-ammar
Copy link
Contributor

Description:

  • Integrate all advance analytics plotly charts
  • Refactor to create reusable table and chart components

JIRA:

For all changes

  • Ensure adequate tests are in place (or reviewed existing tests cover changes)

Only if submitting a visual change

  • Ensure to attach screenshots
  • Ensure to have UX team confirm screenshots

@muhammad-ammar muhammad-ammar marked this pull request as draft August 30, 2024 07:58
@muhammad-ammar muhammad-ammar force-pushed the ammar/integrate-advance-analytics-charts branch 3 times, most recently from 7279e0e to ac811d5 Compare September 3, 2024 09:10
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

Attention: Patch coverage is 95.91837% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.48%. Comparing base (11e8e2e) to head (3f786ef).
Report is 42 commits behind head on master.

Files with missing lines Patch % Lines
...ponents/AdvanceAnalyticsV2/charts/ChartWrapper.jsx 90.00% 1 Missing ⚠️
...ponents/AdvanceAnalyticsV2/tabs/AnalyticsTable.jsx 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1287      +/-   ##
==========================================
- Coverage   85.51%   85.48%   -0.04%     
==========================================
  Files         562      564       +2     
  Lines       12295    12303       +8     
  Branches     2601     2564      -37     
==========================================
+ Hits        10514    10517       +3     
- Misses       1722     1728       +6     
+ Partials       59       58       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@muhammad-ammar muhammad-ammar force-pushed the ammar/integrate-advance-analytics-charts branch 2 times, most recently from 118b5c3 to 33f1856 Compare September 3, 2024 09:45
@muhammad-ammar muhammad-ammar marked this pull request as ready for review September 3, 2024 11:07
Copy link
Contributor

@mahamakifdar19 mahamakifdar19 left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

}}
loadingMessage={intl.formatMessage({
id: 'advance.analytics.completions.tab.chart.top.courses.by.completions.loading.message',
defaultMessage: 'Loading top courses by completions chart data',
Copy link
Contributor

Choose a reason for hiding this comment

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

Please follow the camelCase pattern to write the IDs of marked strings.

tableColumns: PropTypes.arrayOf(PropTypes.shape({})).isRequired,
tableTitle: PropTypes.string.isRequired,
tableSubtitle: PropTypes.string.isRequired,
enableCSVDownload: PropTypes.bool.isRequired,
Copy link
Contributor

Choose a reason for hiding this comment

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

[Suggestion] We could make it a bit more efficient by giving it a default false value. By this, we just need to pass this variable from those charts where we want to enable the download CSV button.

Copy link
Contributor

@jajjibhai008 jajjibhai008 left a comment

Choose a reason for hiding this comment

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

LGTM 👏

@muhammad-ammar muhammad-ammar force-pushed the ammar/integrate-advance-analytics-charts branch from edad54e to 3f786ef Compare September 5, 2024 06:02
@muhammad-ammar muhammad-ammar merged commit 1957eff into master Sep 6, 2024
6 checks passed
@muhammad-ammar muhammad-ammar deleted the ammar/integrate-advance-analytics-charts branch September 6, 2024 07:00
@muhammad-ammar muhammad-ammar added the plotly-migration Work to migrate from Plotly DASH to PlotlyJS label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plotly-migration Work to migrate from Plotly DASH to PlotlyJS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants