perses / perses/cli-actions

`dac` workflow: group diff & preview outputs together

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CUE
Stars
2
Forks
2
Avg merge
6d 12h
Merged PRs (30d)
2

Description

It would be better IMHO to group diff & preview output. Currently we have separated comments that look like this:

Dashboard previews
Project Dashboard Status Preview Current
perses-cli-actions empty_dashboard UPDATED Preview Current

on one side &

Dashboard diffs
perses-cli-actions-empty_dashboard:
{
-  "display": {
-    "name": "Empty Dashboard"
-  },
   "panels": {},
   "layouts": [],
-  "duration": "1h",
-  "refreshInterval": "0s"
+  "duration": "1h"
 }

on the other side.

So instead we could have a consolidated output like:

Changes
Project Dashboard Status Preview Current Diff
perses-cli-actions empty_dashboard UPDATED Preview Current diff

Where the diff link would redirect to an external file.

Contributor guide

No contributing guide indexed for this repository

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

Start by locating the dac workflow code that generates the separate dashboard preview and diff comments. Trace how those outputs and external diff files are produced, then consolidate them into one Changes table with preview, current, and diff links; verify the resulting workflow comment format.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.