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

Errorboundary improvements #1403

Merged
merged 16 commits into from
May 15, 2019
Merged

Errorboundary improvements #1403

merged 16 commits into from
May 15, 2019

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented May 14, 2019

Checklist:

@codecov
Copy link

codecov bot commented May 14, 2019

Codecov Report

Merging #1403 into gsa-8.0 will increase coverage by 0.04%.
The diff coverage is 21.23%.

Impacted file tree graph

@@             Coverage Diff             @@
##           gsa-8.0    #1403      +/-   ##
===========================================
+ Coverage    36.47%   36.52%   +0.04%     
===========================================
  Files          960      960              
  Lines        21664    21673       +9     
  Branches      6025     6007      -18     
===========================================
+ Hits          7901     7915      +14     
+ Misses       12433    12428       -5     
  Partials      1330     1330
Impacted Files Coverage Δ
gsa/src/web/components/dashboard/dashboard.js 8.33% <ø> (ø) ⬆️
gsa/src/web/entities/page.js 6.18% <ø> (ø) ⬆️
gsa/src/web/pages/reports/detailscontent.js 10.75% <ø> (ø) ⬆️
gsa/src/web/pages/start/page.js 6.87% <ø> (ø) ⬆️
gsa/src/web/pages/ldap/ldappage.js 7.69% <ø> (ø) ⬆️
gsa/src/web/entity/page.js 6.81% <ø> (ø) ⬆️
gsa/src/web/pages/page.js 13.63% <ø> (ø) ⬆️
gsa/src/web/pages/radius/radiuspage.js 8.33% <ø> (ø) ⬆️
gsa/src/web/components/error/errorcontainer.js 100% <ø> (ø)
gsa/src/web/pages/extras/cvsscalculatorpage.js 6.34% <ø> (ø) ⬆️
... and 10 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 833b976...70624f7. Read the comment docs.

Only passing the element where the error did occur doesn't work for
translations. Therefore expect a full message string now.
Use same error boundary for all rendered pages after login.
Rendering the ErrorBoundary component for catching errors at this
components got moved to the parent Page component. Therefore these
ErrorBoundary components can be removed safely.
Always provide a message string for all ErrorBoundary components.
The directory contains error related components now not only for the
error boundary.
Also add an extended margin between the icon and texts.
Allow to display component and error stack traces if the user clicks on
show error details.
Don't wrap stacktrace and show scrollbar at x axis if text is to wide.
It's completely unexpected and unpredictable that the datepicker css
class names are changing for unrelated changes...
@bjoernricks bjoernricks marked this pull request as ready for review May 14, 2019 14:56
@bjoernricks bjoernricks requested a review from a team May 14, 2019 14:56
gsa/src/web/components/dialog/savedialog.js Outdated Show resolved Hide resolved
gsa/src/web/components/dashboard/display/display.js Outdated Show resolved Hide resolved
gsa/po/gsa-de.po Outdated Show resolved Hide resolved
gsa/po/gsa-de.po Outdated Show resolved Hide resolved
Update spelling of error messages.

Co-Authored-By: sarahd93 <sarah.diedrich93@gmail.com>
@bjoernricks bjoernricks requested a review from sarahd93 May 15, 2019 08:02
@bjoernricks bjoernricks merged commit dc57c7c into greenbone:gsa-8.0 May 15, 2019
@bjoernricks bjoernricks deleted the errorboundary-improvements branch May 15, 2019 08:11
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