Skip to content

Site schema v3

QA

  • Open the BO of Singapore and check that the UI is still translated
  • Change the language in Preferences, check that the UI is still translated
  • Open the BO of Seoul, check that the UI is still translated
  • Create a page, append some content, and show it on the public site
  • Create a new local web site following the instructions, open the BO, append some content, and show it on the public site
  • Create another local website but multilingual, open the BO, append some content, and show it on the public site

Implementation

  • Merge site, documentTypes, partTypes in a single list leafTypes (or key/value object?)
  • Add a property: kind: "site" | "document" | "part"
    • kind: "routingPoint" becomes routingPoint?: boolean
  • Update the localization keys
  • Use "type" instead of "schema" (except for the "site schema" itself)
  • Rename "classic" to "regular"
  • Move languageLabels to l10n.languages.xx.label (including for the liquid templates)
  • Add isMultilingual, remove defaultLanguage
  • Do not separate siteFieldLib and sectionFieldLib
Edited by Nathan GNANKADJA