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

[Surrey] Add text under happy-or-not section #5256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrismytton
Copy link
Member

For FD-4776

image

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.39%. Comparing base (5d533bf) to head (a72588e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5256   +/-   ##
=======================================
  Coverage   82.39%   82.39%           
=======================================
  Files         409      409           
  Lines       32093    32093           
  Branches     5121     5121           
=======================================
  Hits        26443    26443           
  Misses       4130     4130           
  Partials     1520     1520           

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

Copy link
Member

@davea davea left a comment

Choose a reason for hiding this comment

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

Looking good, a couple of small things to improve display, but primarily I don't think this makes sense on every page where the HoN widget appears. The front page, for example, where the user hasn't made a report yet.

Is there a way to only include/display this text on the problem confirmation page?

@@ -1,5 +1,8 @@
<section id="happy-or-not-smiley-section">
<div id="happy-or-not-smiley-digital-embed"></div>
<div class="container" id="happy-or-not-feedback-statement">
<p>We’d love you to give us some feedback on how easy it was to report this issue. Please note this feedback will not be included as part of your report.</p>
Copy link
Member

Choose a reason for hiding this comment

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

Splitting this in the middle improves the display a bit...

Suggested change
<p>We’d love you to give us some feedback on how easy it was to report this issue. Please note this feedback will not be included as part of your report.</p>
<p>We’d love you to give us some feedback on how easy it was to report this issue.</p>
<p>Please note this feedback will not be included as part of your report.</p>

@@ -184,6 +184,10 @@ a#geolocate_link,
background: #f3f6f9;
}

#happy-or-not-feedback-statement {
padding: 1em 0;
Copy link
Member

Choose a reason for hiding this comment

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

...and then maybe centre the text too:

Suggested change
padding: 1em 0;
padding: 1em 0;
text-align: center;

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