PostHog / PostHog/posthog

Show warning if incorrect templating usage detected (Hog vs. Liquid)

Open
#46,989 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature/workflows
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Currently users can get confused by { vs. {{ and we don't do much to help them become aware of this.

Since workflows templating supports both Hog vs. Liquid (and the mode is set on the node level) we can easily show warnings if it looks like the wrong type is being used

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating workflow templating and the node-level Hog/Liquid mode, then define how incorrect { versus {{ usage should be detected and displayed; done means users receive an appropriate warning for likely mismatches.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.