Skip to content

Dashboard generation improvement#135

Closed
StpMax wants to merge 13 commits intomainfrom
feat/FQE-2213-2
Closed

Dashboard generation improvement#135
StpMax wants to merge 13 commits intomainfrom
feat/FQE-2213-2

Conversation

@StpMax
Copy link
Copy Markdown
Collaborator

@StpMax StpMax commented Apr 24, 2026

  • Templated HTML generation. Dashboards are now produced by filling markers in a template html (GitHub-dark theme, pre-registered ECharts theme and initChart helper) instead of hand-rolling CSS/JS from scratch in every build.

  • Reworked generation prompt. New instruction is short is:
    (1) insights checklist
    (2) a spec YAML plan of the page
    (3) implementation of template markers and DashSpec blocks
    (4) context eraising

  • Main HTML generation prompt is now loaded as a skill when proactive_dashboards=False.

  • Context cleanup after build. A new tool erase_scratchpad_history wipes the code of every scratchpad cell the agent marked as # DELETABLE: <desc> — both in the live pads and in the assistant message history. Once the HTML is on disk, the intermediate generation code no longer occupies context.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 24, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@StpMax
Copy link
Copy Markdown
Collaborator Author

StpMax commented Apr 24, 2026

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Apr 24, 2026
@torrmal
Copy link
Copy Markdown
Contributor

torrmal commented Apr 25, 2026

i tried this but I think it reduces the flexibility that anton has about what it generates, I got the exeprience that the dashboards it generates using this branch are a bit more limited, lets put this one on hold, and we can discuss a plan on how to improve this part

@torrmal torrmal closed this Apr 25, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants