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

Stop toolbars from growing if they have only the help icon #2641

Merged
merged 6 commits into from
Dec 22, 2020

Conversation

swaterkamp
Copy link
Member

What:
Don't grow the toolbar on pages where there is only the help icon. This is achieved by simply wrapping it into a span.

Why:
The clickable area to link to the manual spread to 100% width of the screen. Other pages (e.g. tickets) already had a reduced click area, because their toolbar is wrapped already.

How:
Manually check whether the clickable areas are reduced to the icon on the 4 pages in question and if the links still work. Also updated the startpage test.

Checklist:

@swaterkamp swaterkamp requested review from sarahd93, saberlynx and a team December 21, 2020 16:11
@swaterkamp swaterkamp self-assigned this Dec 21, 2020
@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #2641 (f44223c) into gsa-20.08 (2f34292) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           gsa-20.08    #2641      +/-   ##
=============================================
+ Coverage      53.06%   53.08%   +0.01%     
=============================================
  Files           1072     1072              
  Lines          25900    25904       +4     
  Branches        7372     7399      +27     
=============================================
+ Hits           13744    13751       +7     
+ Misses         11034    11032       -2     
+ Partials        1122     1121       -1     
Impacted Files Coverage Δ
gsa/src/web/pages/extras/cvsscalculatorpage.js 94.73% <ø> (ø)
gsa/src/web/pages/extras/feedstatuspage.js 97.67% <ø> (ø)
gsa/src/web/pages/extras/trashcanpage.js 3.27% <ø> (ø)
gsa/src/web/pages/start/page.js 51.23% <ø> (ø)
gsa/src/web/pages/users/detailspage.js 33.33% <ø> (ø)
gsa/src/web/pages/users/row.js 26.66% <ø> (ø)
gsa/src/gmp/models/user.js 100.00% <100.00%> (ø)
gsa/src/web/components/dialog/error.js 100.00% <0.00%> (+42.85%) ⬆️

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 c5f01c5...f44223c. Read the comment docs.

@bjoernricks bjoernricks merged commit fdd5170 into greenbone:gsa-20.08 Dec 22, 2020
@swaterkamp swaterkamp deleted the helpClickArea branch December 22, 2020 10:25
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