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

Make trend charts configurable (with Bootstrap 5) #889

Merged
merged 34 commits into from
Jun 11, 2021
Merged

Make trend charts configurable (with Bootstrap 5) #889

merged 34 commits into from
Jun 11, 2021

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Apr 23, 2021

Rework UI components to use the upcoming Bootstrap 5 release.

Make build trend charts configurable:

Bildschirmfoto 2021-05-25 um 23 49 49

Downstream of jenkinsci/echarts-api-plugin#124

@uhafner uhafner added the enhancement Enhancement of existing functionality label Apr 23, 2021
@codecov
Copy link

codecov bot commented Apr 23, 2021

Codecov Report

Merging #889 (a50d54c) into master (99c963d) will decrease coverage by 0.21%.
The diff coverage is 39.53%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #889      +/-   ##
============================================
- Coverage     79.79%   79.57%   -0.22%     
- Complexity     1425     1427       +2     
============================================
  Files           238      238              
  Lines          5271     5283      +12     
  Branches        411      414       +3     
============================================
- Hits           4206     4204       -2     
- Misses          911      925      +14     
  Partials        154      154              
Impacted Files Coverage Δ
...ins/analysis/core/model/AggregatedTrendAction.java 28.26% <0.00%> (-0.63%) ⬇️
...kins/plugins/analysis/core/model/IssuesDetail.java 56.98% <0.00%> (-1.90%) ⬇️
...kins/plugins/analysis/core/model/ResultAction.java 66.66% <0.00%> (-1.34%) ⬇️
...gins/analysis/core/util/AffectedFilesResolver.java 91.83% <ø> (ø)
...enkins/plugins/analysis/core/util/QualityGate.java 50.48% <ø> (ø)
...jenkins/plugins/analysis/core/model/JobAction.java 70.58% <7.69%> (-14.78%) ⬇️
...s/plugins/analysis/warnings/tasks/TaskScanner.java 92.70% <90.90%> (+0.15%) ⬆️
...plugins/analysis/core/charts/HealthTrendChart.java 100.00% <100.00%> (ø)
...analysis/core/charts/NewVersusFixedTrendChart.java 100.00% <100.00%> (ø)
...ugins/analysis/core/charts/SeverityTrendChart.java 83.33% <100.00%> (-1.67%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99c963d...a50d54c. Read the comment docs.

@uhafner uhafner changed the title Boostrap 5 migration Make trend charts configurable (with Bootstrap 5) Jun 4, 2021
@uhafner uhafner marked this pull request as ready for review June 4, 2021 09:45
@@ -1,5 +1,11 @@
/* global jQuery3, view, echartsJenkinsApi */
/* global jQuery3, view, echartsJenkinsApi, bootstrap5, trendDefaultStorageId */
Copy link
Contributor

Choose a reason for hiding this comment

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

trendDefaultStorageId doesn't seem to be referenced elsewhere.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for spotting!

Copy link
Contributor

@KalleOlaviNiemitalo KalleOlaviNiemitalo Jun 9, 2021

Choose a reason for hiding this comment

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

I was searching for "storage" because it was not clear to me whether the configuration is stored in the browser, in the Jenkins job, or in the Jenkins user profile.

Copy link
Member Author

Choose a reason for hiding this comment

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

Currently the configuration is stored in the Browser local storage only. If required this can be changed later on.

@uhafner uhafner merged commit 12875e1 into master Jun 11, 2021
@uhafner uhafner deleted the boostrap5 branch June 11, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants