Skip to content

feat: Create standard Event template in Contentful

Step 1: What is changing in this MR?

Changes to the components are done mostly to inject one single text object instead of multiple text fields that would require new content types or adding more complexity to existing ones.

I extracted most of the data handliong logic into a file called events.service.ts. This is will need more work in the future to follow the Layered architecture model that John suggested but it has the basic logic needed to get the standard events working.

Template Entry : https://app.contentful.com/spaces/xz1dnu24egyd/entries/2NxNjKkXEPIcY8cu3PikXT

Migrated Events:

Review App Contenful Entry
https://2867-eng-create-standard-event-template-in-contentful.about.gitlab-review.app/events/aws-reinforce/ https://app.contentful.com/spaces/xz1dnu24egyd/entries/2v6U6ISZ8UjC3dJZ1zhiMM
https://2867-eng-create-standard-event-template-in-contentful.about.gitlab-review.app/events/aws-reinvent/ https://app.contentful.com/spaces/xz1dnu24egyd/entries/6VKEMI7LxBGtHsGDY65nYl
https://2867-eng-create-standard-event-template-in-contentful.about.gitlab-review.app/events/google-cloud-next/ https://app.contentful.com/spaces/xz1dnu24egyd/entries/55ut4OpTH7osA3cANGm6wm
https://2867-eng-create-standard-event-template-in-contentful.about.gitlab-review.app/events/kubecon/ https://app.contentful.com/spaces/xz1dnu24egyd/entries/1TEUJXzYD3Y27yY8hLWOMZ
https://2867-eng-create-standard-event-template-in-contentful.about.gitlab-review.app/events/rsa/ https://app.contentful.com/spaces/xz1dnu24egyd/entries/3nE6WmWtOYMFk7WJPhmRT6

Step 2: Ensure that your changes comply with the following, where applicable:

  • I, the Assignee, have run Axe tools on any updated pages, and fixed the relevant accessibility issues.
  • These changes meet a specific OKR or item in our Quarterly Plan.
  • These changes work on both Safari, Chrome, and Firefox.
  • These changes have been reviewed for Visual Quality Assurance and Functional Quality Assurance on Mobile, Desktop, and Tablet.
  • These changes work with our Google Analytics and SEO tools.
  • These changes have been documented as expected.

Step 3: Add the appropriate labels for triage

This MR will have dex-approval::2-standard automatically applied, but please update it as follows. If deciding between two levels, go with the higher of the two: https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/sites/handbook/source/handbook/marketing/digital-experience/marketing-site-approval-process/index.html.md

Step 4: Tag the appropriate person for review

Depending on which label is used, you may tag the following people as a Reviewer on this MR: https://about.gitlab.com/handbook/marketing/digital-experience/marketing-site-approval-process/#step-3-tag-the-appropriate-people-for-review

Closes #2867 (closed)

Edited by Margareth Mañunga

Merge request reports