Releases: DFE-Digital/get-into-teaching-app
Release 2838
Bump hashicorp/azurerm from 3.24.0 to 3.25.0 in /terraform/paas
Release 2837
Trello card
Context
The Financial incentives team have suggested that we add some kind of holding message on GIT before Find opens to make it clear that the bursary and scholarship amounts we are displaying relate to the previous recruitment cycle (ie trainees starting now).
Changes proposed in this pull request
Guidance to review
Release 2840
Trello card
Context
Update the images on the first event sign up page to match the online/in-person image used elsewhere.
Changes proposed in this pull request
- Update event sign up page images
Guidance to review
Release 2839
Trello card
Context
We have noticed that a video hosted on our assets server is being blocked by our Content Security Policy. We're not sure why/when this started happening and other directives appear to allow the Rails asset_host
(images are fine, for example).
Changes proposed in this pull request
- Whitelist asset host in CSP
Explicitly whitelist the assets host if set to ensure videos are displayed; we will investigate why it's only effecting the media_src
directive.
Guidance to review
Release 2836
Trello card
Context
Request via the support team to remove North Manchester ITT Partnership from the Assessment Only Providers page
Release 2834
Trello card
Context
Currently the first request for an image will have an overhead as we size it (and cache the result for later requests). We can see this having a not-insignificant impact on those first requests, taking up to ~50ms. Instead, we want to pre-fill the image size cache on boot.
Changes proposed in this pull request
- Add ability to pre-warn the image size cache
Pre-warm the image size cache; we will do this on application boot; this commit adds the relevant method to call.
- Warm image cache on application boot
Pre-fills the image cache on application boot to avoid a slow initial request of pages.
Only performed on hosted environments to avoid slowing down the test suite/development.
Guidance to review
Release 2832
Trello card
Context
We want to use new images for the Get Into Teaching event listings; showing a different image for online vs in-person events.
Changes proposed in this pull request
- Use new images for GiT event listings
Update EventComponent
to render the new images.
Guidance to review
Release 2830
Trello card
Context
We want to include GiT events and Online Q&A events in the sitemap.xml so that Google hopefully does a better job of keeping our indexed pages up to date.
Changes proposed in this pull request
- Include GiT/Online Q&A events in sitemap
Add Get into Teaching events and Online Q&A events to the sitemap.xml
.
We only include future events and limit to 100 (which should be plenty to cover all active events at any given time).
Guidance to review
The sitemap can be viewed here.
It uses the global default lastmod
for the entries; we don't expose a 'created at' date from the API and from what I've ready Google ignores the lastmod
anyway so its probably not worth doing so.
Release 2829
Trello card
Context
We occasionally find that large/unoptimised images have been accidentally added to the website; this can have a negative impact on the page speed performance and user experience. We want to prevent laege images from being added by automatically flagging it in the build.
Changes proposed in this pull request
- Add unit test to ensure all images are optimised
We want to make sure all of our images are reasonably optimised on the website. We have a pipeline that compresses images before deployment, but it makes sense to ensure we don't add enormous images accidentally to the repository.
Add a unit test that will fail if it finds an image larger than 500kb.
- Optimise large images
These images were identified by the new unit test; optimise them to be under 500kb.
Guidance to review
Release 2831
Trello card
Context
We want to render the event message as an InsetTextComponent
as we find in UR sessions that people try and interact/click on the purple notification box.
Changes proposed in this pull request
- Render event message as an
InsetTextComponent