-
Notifications
You must be signed in to change notification settings - Fork 199
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
Footer style improvements for quiz on learning mode #7106
Footer style improvements for quiz on learning mode #7106
Conversation
WordPress Dependencies ReportThe No changes detected in the current commit. But the comment was left so it is possible to check for the edit history. This comment was automatically generated by the |
Codecov Report
@@ Coverage Diff @@
## feature/frontend-improvements #7106 +/- ##
================================================================
Coverage ? 49.35%
Complexity ? 10546
================================================================
Files ? 575
Lines ? 44546
Branches ? 402
================================================================
Hits ? 21987
Misses ? 22232
Partials ? 327 Continue to review full report in Codecov by Sentry.
|
@Imran92 As per our 1:1 chat the other day, I think this one is still pending changes to use padding and not line height for buttons so that the quiz buttons are styled similarly to the lesson buttons. Do I have that right? |
Yap! You're right! I'll be on it very soon |
…tyle-update-lm-quiz
Note that there are some upcoming PRs for the footer when awaiting a grade #7101 and for graded quizzes #7116 where you can see what the footer should look like, so if you'd rather address these issues as part of one of those PRs, that's fine with me. We'd just need to target a feature branch for this PR so we don't merge anything broken to |
Thanks Donna! I've looked into the design issues in footer in 'awaiting grading' state and looks like it's better to handle them in a separate PR under a different issue. Also looks like the broken issue was not a side effect of this PR, it's been looking like that in trunk for quizzes with awaiting grade/graded state that have reset enabled. Here's a screenshot from trunk. So we'll probably not be breaking anything new in trunk Having looked into it, it's because quizzes are rendered using the So, overall, as this awaiting grade is connected to a separate template with a different footer, I think it's better to address the things I've stated above in a separate PR |
Should be 80px on desktop and 60px on mobile as per the design
@Imran92 I tested with Learning Mode disabled too and it looks slightly better. Nothing appears to be broken at least. 😄 I also 16004b8 to match the design since the footer was too tight to the bottom of the page. Once this PR and question styles are merged, I think some more whitespace tweaks will be needed to ensure the space between the bottom of the last question and the top of the quiz actions is correct.
This hasn't been fixed yet. I need to move on to some other things, but I may try to revisit it soon so we can get this one merged. I believe that's the only outstanding issue for this PR at this point. 🤞🏻 Also more than happy if you beat me to it. 😃 |
Oh, sorry I forgot to mention that here, I fixed the alignment issue in the question style update PR as the alignment issue was affecting the questions too #7124 . So this is also resolved Thanks @donnapep ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
Resolves #7073
Proposed Changes
Testing Instructions
Desktop:
Mobile:
Pre-Merge Checklist