adobe / helix-importer-ui

Apache License 2.0
20 stars 25 forks source link

[feat] Express: Add first customization tab, metadata, to add metadata based on conditions. #383

Closed atopper closed 2 days ago

atopper commented 1 week ago

Description

Add first customization tab, metadata, to add metadata based on conditions.

Related Issue

Motivation and Context

Many VIP projects want pages to have additional metadata block values (i.e. template, keywords, etc.). This feature allows the importer to add strings or DOM values based on conditions on the page. Also a little re-shuffling. "Free-Selecting" is an experiment of 'Express Mapping' - and that idea may change.

How Has This Been Tested?

Manually

Screenshots (if appropriate):

image

Rule:

    {
      "type": "metadata",
      "insertMode": "append",
      "selectors": [],
      "params": {
        "cells": {
          "template": [
            [
              "*",
              "meta[name=template]"
            ]
          ]
        }
      }
    }

Types of changes

Checklist: