~/talk

Unity Blog use case Decouple Drupal GraphQL 4 Nextjs

Talkat DrupalCamp Spain 2022 · 2022-06-03..06-05· [drupal, graphql, react]
name:Fran Seva
links:none on file
slides:none on file

Unity Blog is rebuilt with Drupal 9 as headless CMS and GraphQL 4 serving a Next.js frontend; every Drupal entity field is exposed by hand via .graphqls type defs plus custom resolver classes and data producers because GraphQL 4 does not auto-generate fields (unlike v3). Paragraph-based posts, Storybook-driven design system and Tailwind are used; persistent queries register server-side queries so the client only sends IDs. Added custom resolvers for translations and image metadata (width/height) to satisfy Next.js image component issue; it works but required patches and bespoke data producers.

AI-written summary · about

  1. 0:00Start
  2. 4:33Graphql
  3. 7:59How To Get Entities in Drupal Exposed on Graphql
  4. 16:06Add Query Fields
  5. 30:50Documentation
  6. 33:47Pages and Dynamic Routes
  7. 34:37Dynamic Routes
  8. 36:05Incremental Static Generation
  9. 36:31Layout
  10. 39:31Using the Graphql Module
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.