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

Update form fields #2520

Merged
merged 4 commits into from
Oct 20, 2020
Merged

Update form fields #2520

merged 4 commits into from
Oct 20, 2020

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Oct 19, 2020

What:

Update form fields to fix a typo, a bug and to remove obsolete behavior.

Why:

Cleanup and fixing of form fields.

How:

All tests still run, linting is happy and verified that some form fields are still working manually.

Checklist:

With this change values of fields must be controlled in the parent
component. The uncontrolled use case isn't used at all and therefore
completely unnecessary.
This fixes passing for example an error object instance as errorContent
and displays the message of the error.
@bjoernricks bjoernricks marked this pull request as ready for review October 19, 2020 15:06
@bjoernricks bjoernricks requested a review from a team October 19, 2020 15:06
@codecov
Copy link

codecov bot commented Oct 19, 2020

Codecov Report

Merging #2520 into gsa-21.04 will increase coverage by 0.13%.
The diff coverage is 74.65%.

Impacted file tree graph

@@              Coverage Diff              @@
##           gsa-21.04    #2520      +/-   ##
=============================================
+ Coverage      52.93%   53.07%   +0.13%     
=============================================
  Files           1070     1071       +1     
  Lines          25811    25848      +37     
  Branches        7351     7350       -1     
=============================================
+ Hits           13664    13719      +55     
+ Misses         11030    11012      -18     
  Partials        1117     1117              
Impacted Files Coverage Δ
gsa/src/gmp/models/filter/convert.js 100.00% <ø> (ø)
gsa/src/gmp/models/filter/keywords.js 100.00% <ø> (ø)
gsa/src/gmp/models/scanner.js 100.00% <ø> (ø)
gsa/src/gmp/models/tlscertificate.js 100.00% <ø> (ø)
...shboard/display/severity/severityclasstransform.js 18.64% <ø> (ø)
gsa/src/web/pages/audits/component.js 38.85% <0.00%> (+0.24%) ⬆️
gsa/src/web/pages/reportformats/detailspage.js 33.33% <ø> (ø)
gsa/src/web/pages/reports/detailsfilterdialog.js 18.18% <ø> (ø)
gsa/src/web/pages/results/detailspage.js 12.32% <ø> (ø)
gsa/src/web/pages/results/filterdialog.js 37.50% <ø> (ø)
... and 37 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 96ae8d6...a22adc7. Read the comment docs.

@saberlynx saberlynx merged commit b219dcc into greenbone:gsa-21.04 Oct 20, 2020
@bjoernricks bjoernricks deleted the update-form-fields branch October 20, 2020 08:08
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.

2 participants