Skip to content

Migrate all-jobs page to Buyer Experience / CMS

Megan Filo requested to merge jobs-page-mf into main

Related: #3271 (closed)

WIP review app: https://jobs-page-mf.about.gitlab-review.app/jobs/all-jobs-review/

Contentful: https://app.contentful.com/spaces/xz1dnu24egyd/entries/5oCKZ6Szkbo1CF3QlpFZQn?focusedField=schema&focusedLocale=en-US

Figma: https://www.figma.com/file/GcggmhfDQ8UUYh1OyDYadC/Jobs?node-id=0%3A1&mode=dev

What's in this MR?

Migrating our job openings page (/jobs/all-jobs) over to our CMS and Buyer Experience. Historically, it has lived in www. With the recent jquery/javascript issue, there was a patch to redirect this page straight to our Greenhouse landing page. This is not ideal.

  • New /jobs/all-jobs page/route
  • Set up a Jest test to check that the API endpoint is a 200. If it is not, our test job will fail and stop the pipeline. Otherwise, we may not know until it is too late that our Jobs page is broken!
  • Set up a Vuex store (first in the BE project) that grabs the API data to be shared across our site more efficiently. This was required because I needed the API data in two sibling components. It was not ideal to make this client-side call on the page, because we would could experience rendering delays or flickers if the whole page was taking care of this call.
  • The API call remains on the client-side. We could just call it every time our site gets built, but I think it is more impactful if it can automatically update as the TA team makes updates in Greenhouse. Otherwise they would have to wait for a successful BE pipeline to run to see updates to job listings
Edited by Megan Filo

Merge request reports