Skip to content

Data: Adding analytics templates#505

Open
aschmoe wants to merge 1 commit intomasterfrom
add-analytics-templates
Open

Data: Adding analytics templates#505
aschmoe wants to merge 1 commit intomasterfrom
add-analytics-templates

Conversation

@aschmoe
Copy link
Copy Markdown
Contributor

@aschmoe aschmoe commented Oct 5, 2023

Description

Adds the "analytics" templates we developed for metabase to the templates directory.

TODO:

  • Test that each template still works
  • Validate the fields we are including
    • Mainly delete some pointless ones from orders
  • Fix up the mesa json to be in accordance with our other templates
  • Rename the templates?
  • Move the templates?
  • Probably a round 2 effort: add Order Edit template that mirrors the order updated (could maybe just Mesa.automation.send() ?)

QA Checklist

  • Does the template work

PR Review Checklist

mesa.json

  • key: Use the slug provided in the task of the MESA Templates list.
  • name: Use the name provided in the task of the MESA Templates list.
  • version: Keep as is.
  • description: Remove this since we rely on Prismic.
  • seconds: Remove this since we rely on Prismic.
  • enabled: Set to false
  • setup: Set to true to add the template setup. Otherwise, keep false if template setup is not applicable. For Google Sheets templates, set to custom as mentioned in the Authoring templates that support the setup wizard documentation.
  • Do the Input/Output names make sense? How about the keys?

Template code (Custom Code, Transform)

  • Is code readable and well-commented?

Deploy Checklist

  • Squash and merge PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant