Skip to content

Redesign/general-improvements-9 #1468

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

Merged
merged 19 commits into from
May 23, 2025
Merged

Conversation

jacbn
Copy link
Contributor

@jacbn jacbn commented May 20, 2025

Yet more bugfixes!

Of the larger changes:

  • Reset the status of our Redux store's doc on page switch so that calls to doc.get (used in various content components to determine the page type) are not stale;
  • Move the styling of accordion-less questions one component out (to the surrounding <Form/>) so that hints are included and appear in the same "block";
  • Refactor QF to make spacing around checkboxes consistent, and to fix an issue with the book filters

Copy link
Contributor

@axlewin axlewin left a comment

Choose a reason for hiding this comment

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

nice, one small visual bug but otherwise this all looks good 👍

@@ -190,12 +190,15 @@ export const HomepagePhy = () => {
</div>
<ShowLoadingQuery
query={eventsQuery}
defaultErrorTitle={"Error loading events list"}
ifError={(() => <p>There was an error loading the events list. Please try again later!</p>)}
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use this for events on the subject-stage landing pages too?

Comment on lines +74 to +75
background-color: white;
box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.08);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
background-color: white;
box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.08);
background-color: white;
border-radius: $border-radius-lg;
box-shadow: 0 2px 30px 0 rgba(0, 0, 0, 0.08);

minor visual thing with the top corners on accordion-less questions:
image

Copy link
Contributor Author

@jacbn jacbn May 21, 2025

Choose a reason for hiding this comment

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

Hm. That CSS block should be switched to the form styling, otherwise it doesn't give a background to hints..? Also fixes that issue as then the outline and border-radius are applied to the same element. Not sure why it wasn't.

Copy link

codecov bot commented May 21, 2025

Codecov Report

Attention: Patch coverage is 44.23077% with 29 lines in your changes missing coverage. Please review.

Project coverage is 40.59%. Comparing base (015bf60) to head (90b4770).
Report is 58 commits behind head on redesign-2024.

Files with missing lines Patch % Lines
src/app/components/site/phy/HomepagePhy.tsx 0.00% 11 Missing ⚠️
...ents/elements/panels/QuestionFinderFilterPanel.tsx 41.17% 10 Missing ⚠️
...rc/app/components/elements/svg/HierarchyFilter.tsx 20.00% 4 Missing ⚠️
...c/app/components/elements/layout/SidebarLayout.tsx 33.33% 2 Missing ⚠️
src/app/components/content/IsaacQuestion.tsx 0.00% 1 Missing ⚠️
src/app/components/site/phy/HeaderPhy.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           redesign-2024    #1468      +/-   ##
=================================================
- Coverage          40.60%   40.59%   -0.01%     
=================================================
  Files                494      495       +1     
  Lines              22052    22106      +54     
  Branches            6525     7325     +800     
=================================================
+ Hits                8954     8975      +21     
- Misses             13061    13094      +33     
  Partials              37       37              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@axlewin axlewin merged commit e98219c into redesign-2024 May 23, 2025
8 checks passed
@axlewin axlewin deleted the redesign/general-improvements-9 branch May 23, 2025 15: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.

3 participants