Skip to content

No Personas or Methods booleans available for use with xyzzy.md #565

@AaronAtSegment

Description

@AaronAtSegment

I'd like to update the xyzzy.md script to include whether a destination is a Personas destination. I don't know the exact logic for how our docs know if a destination is a Personas destination, so if we can find that it would be great!

I think that in order to do this, we need the destinations.yml file to contain the methods (provided by the API response) for each destination along with the components and platforms that already are in this file.

Current destination example:

components:
  - type: WEB
  platforms:
    browser: true
    server: false
    mobile: false
  browserUnbundlingSupported: false
  browserUnbundlingPublic: true

Requested destination example:

components:
  - type: WEB
  platforms:
    browser: true
    server: false
    mobile: false
  browserUnbundlingSupported: false
  browserUnbundlingPublic: true
  methods:
    track: true
    identify: false
    page: false
    group: true
    alias: false

Problem location

I think the /src/_data/catalog/destinations.yml file is the culprit, and I think this is generated by /scripts/catalog.js

Suggestions for a fix

I've submitted a suggested fix to pull in the methods, but I'm unable to verify locally because when I run the script, my destinations.yml file is not being updated. #564

Mood (optional)

Excited!

Metadata

Metadata

Assignees

No one assigned

    Labels

    back-endfixes or updates to the site itself, which should not go in release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions