Releases: DFE-Digital/get-into-teaching-app
Release 2901
Update the image for the home page targeting events.
Release 2896
Trello card
Context
Add better documentation about the SP secret expiry process
Changes proposed in this pull request
Add message to say the Key Vault secret needs updating.
Guidance to review
Updated Slack message content
Release 2892
Trello card
Context
There is a marketing programme for the Get Into Teaching events between 18th Oct and 30th Nov; we want to support the effort during this period by featuring Get Into Teaching events more prominently on the homepage.
Changes proposed in this pull request
- Rename badges to vertical-tags
We are going to have an alert style 'badge' component in the header going forward and to me these aren't really badges, so renaming to 'vertical tags' to avoid confusion.
- Add Stimulus controller for badges
A simple Stimulus controller that will make an ajax request for some JSON data and display the value of a given key in a 'badge' component. If the count is 0 the badge will not display.
- Show badge of open GiT events in header
We want to show a badge in the header next to a new 'Get Into Teaching events' link that indicates how many open GiT events there currently are.
- Update home page to focus on events
Update the hero section to prompt users to sign up for a Get Into Teaching event. Replace the event CTA further down the page with a mailing list CTA.
Guidance to review
Getting the badge to appear consistently and without flickering on page changes was a bit tricky; I tried using turbolinks-permanent
initially but it didn't yield good results, so instead I've opted to maintain a cache of the badge counts in the global window
object. This way we can restore the badge immediately on Turbolinks page changes.
The initial page load (and full page reloads thereafter) may get a short delay before the badge appears. We can't get around this due to our static page cache (we could fix it on dynamic pages but it would introduce extra complexity and isn't worth it IMO).
The new content on the home page is much longer than we had previously and it causes the images to be really tall; we may want to do something about that.
I thought about writing a dedicated statistics endpoint on the API so we don't have to pull all the GiT events just to get the count, but in reality the events endpoint gets cached so we'll only be hitting the API once every ~10 mins and the number of GiT events is low and not expected to increase (around 10) so I think its fine for now.
Release 2883
Trello card
https://trello.com/c/i9mZKrgK/3753-change-promo-modules-to-events
Context
Now that Get Into Teaching events are starting again, we should look at promoting these around the website.
This includes:
- adding GIT events promos to relevant pages
- making sure the about GIT events page is optimised properly
Changes proposed in this pull request
Guidance to review
Release 2879
Bump warchant/setup-sonar-scanner from 3 to 4
Release 2899
Trello card
Context
Silktide has identified issues on two international pages where the same link text is used for different destinations. This is not good practice in terms of accessibility as it can be particularly confusing for screen reader users.
Release 2898
Trello card
https://trello.com/c/YaKtj975/3713-update-salary-information
Context
The international page says what the minimum salary is for a teacher, but doesn't address that this will be different in London.
Adding copy to make that clearer.
Changes proposed in this pull request
Guidance to review
Release 2895
Bump StatusCakeDev/statuscake from 2.0.4 to 2.0.5 in /terraform/paas
Release 2888
Bump hashicorp/azurerm from 3.26.0 to 3.27.0 in /terraform/paas
Release 2894
Trello card
Context
https://github.com/DFE-Digital/get-into-teaching-app/actions/runs/3250856867/jobs/5335216729
Changes proposed in this pull request
Add missing DOCKER_IMAGE_TEST variable