Skip to content

Navigate between higher+foundation tiers LESQ 1858#4142

Merged
carlmw merged 8 commits into
mainfrom
feat/LESQ-1858/tier-toggles
Apr 9, 2026
Merged

Navigate between higher+foundation tiers LESQ 1858#4142
carlmw merged 8 commits into
mainfrom
feat/LESQ-1858/tier-toggles

Conversation

@carlmw

@carlmw carlmw commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Description

Music year: 1982

  • Adds links between the Foundation and Higher tier versions of a unit

How to test

  1. Go to https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/biology-secondary-ks4-foundation-aqa/units/eukaryotic-and-prokaryotic-cells/lessons
  2. Click on "Higher"
  3. You should see the same unit for the Higher tier

No tiers for primary
https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/science-primary-ks1/units/naming-and-grouping-animals/lessons

English (no tiers) should not display the tier links
https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/english-secondary-ks4-aqa/units/modern-text-first-deep-dive-5141/lessons?subject_category=literature

Computing (Core "tier") should not display the tier links
https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/computing-secondary-ks3/units/clear-messaging-in-digital-media/lessons

Maths GCSE should show tiers
https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/maths-secondary-ks4-foundation/units/algebraic-fractions/lessons

Combined science should show tiers
https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/combined-science-secondary-ks4-foundation-aqa/units/atomic-structure-and-the-periodic-table/lessons

Screenshots

Screenshot 2026-04-07 at 17 34 01 Screenshot 2026-04-07 at 17 34 10

Checklist

  • Added or updated tests where appropriate
  • Manually tested across browsers / devices
  • Considered impact on accessibility
  • Design sign-off
  • Approved by product owner
  • Does this PR update a package with a breaking change
  • Tier toggle button
    • Maths Year 10
      • Foundation
      • Higher
    • Maths Year 11
      • Foundation
      • Higher
  • Subject category
    • Year 10 Combined science
      • Biology
      • Chemistry
      • Physics

@vercel

vercel Bot commented Apr 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
oak-web-application-storybook Ready Ready Preview, Comment Apr 8, 2026 10:53am
oak-web-application-website Ready Ready Preview, Comment Apr 8, 2026 10:53am

Request Review

@messmike

messmike commented Apr 8, 2026

Copy link
Copy Markdown
Screen.Recording.2026-04-08.at.10.06.55.mov

@carlmw this may be because it is behind the feature flag, but I've noticed the height of the nav bar in the header change while the 'Download' button loads in - just checking if this would carry through to live?

@carlmw

carlmw commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

Screen.Recording.2026-04-08.at.10.06.55.mov
@carlmw this may be because it is behind the feature flag, but I've noticed the height of the nav bar in the header change while the 'Download' button loads in - just checking if this would carry through to live?

yes it will, it's not related to this PR though. I think it's down to the size of the download button increasing the nav bar height when it appears. It's a small fix.

@messmike messmike left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For my part, happy to approve, factoring in the couple of things discussed in the pr.

@carlmw carlmw force-pushed the feat/LESQ-1858/tier-toggles branch from 7e94c6a to ca4b148 Compare April 8, 2026 10:38
Comment thread src/utils/curriculum/sorting.ts
@carlmw

carlmw commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

@messmike sorry for the mixup, but subject category toggles have been added now

Screenshot 2026-04-08 at 11 43 39

https://oak-web-application-website-git-feat-lesq-1858tier-toggles.vercel.thenational.academy/programmes/chemistry-secondary-ks4-foundation-aqa/units/atomic-structure-and-the-periodic-table/lessons

Couldn't find an example in Figma, but i've tried to make them as consistent as possible with the filters on the programme page.

@carlmw

carlmw commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

Screen.Recording.2026-04-08.at.10.06.55.mov
@carlmw this may be because it is behind the feature flag, but I've noticed the height of the nav bar in the header change while the 'Download' button loads in - just checking if this would carry through to live?

yes it will, it's not related to this PR though. I think it's down to the size of the download button increasing the nav bar height when it appears. It's a small fix.

@messmike pushed a little fix to correct this, it was bothering me a lot 😆

@sonarqubecloud

sonarqubecloud Bot commented Apr 8, 2026

Copy link
Copy Markdown

@messmike

messmike commented Apr 8, 2026

Copy link
Copy Markdown

thanks for the updates @carlmw !

@njblore njblore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good!

@carlmw carlmw merged commit 3601425 into main Apr 9, 2026
22 of 24 checks passed
@carlmw carlmw deleted the feat/LESQ-1858/tier-toggles branch April 9, 2026 08:12
@oak-machine-user

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.1036.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants