Back to Overview
WORK WITH YOUR STACKAvailable

UXDL with Git & Versioning

Track UXDL YAML files alongside source code in git repositories for peer code review.


Git Code Review Workflow

Store UXDL files inside your git repository (e.g. product/flows/*.uxdl.yaml). When a product behavior change is proposed, submit a pull request updating the UXDL file alongside the corresponding application code change.

Readable Diff Example

DIFF
@@ -12,6 +12,8 @@ screens:
checkout:
states:
default: Cart ready for payment
+ payment_failed: Card declined by payment gateway
actions:
submit:
relations:
+ failed:
+ to: checkout
+ state: payment_failed