Skip to content

feat(ui): add tag-based node color coding for lineage DAG#5834

Merged
StuffbyYuki merged 2 commits into
SQLMesh:mainfrom
CTC97:feat/tag-based-node-colors
Jun 12, 2026
Merged

feat(ui): add tag-based node color coding for lineage DAG#5834
StuffbyYuki merged 2 commits into
SQLMesh:mainfrom
CTC97:feat/tag-based-node-colors

Conversation

@CTC97

@CTC97 CTC97 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

Gives users the ability to specify colors for nodes with a given tag in their config.yaml, ex:

ui:
  node_colors:
    staging: "#059669"
    mart: "#ffe291"
    exhibit: "#D97706"

When a model has multiple tags, the first match wins. Projects without ui.node_colors are unaffected — nodes render with default type-based colors.

At least somewhat related to #4363.

Test Plan

Tested locally.

Checklist

  • I have run make style and fixed any issues
  • I have added tests for my changes (if applicable)
  • All existing tests pass (make fast-test)
  • My commits are signed off (git commit -s) per the DCO

@CTC97 CTC97 force-pushed the feat/tag-based-node-colors branch from ba58c85 to 6135f75 Compare June 10, 2026 14:53
Signed-off-by: CTC97 <ctcurnin@gmail.com>
@CTC97 CTC97 force-pushed the feat/tag-based-node-colors branch from 6135f75 to 0ec81a6 Compare June 10, 2026 14:54
Signed-off-by: CTC97 <ctcurnin@gmail.com>
@CTC97 CTC97 force-pushed the feat/tag-based-node-colors branch from 29fc936 to ae2b859 Compare June 11, 2026 20:49
@CTC97

CTC97 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Believe the failing test is flaky, but please let me know if you think otherwise.

@StuffbyYuki StuffbyYuki merged commit aab2095 into SQLMesh:main Jun 12, 2026
62 of 63 checks passed
@StuffbyYuki

Copy link
Copy Markdown
Collaborator

merged

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants