DashTaste

v0.0.9
io.github.FelixFangX/dashtaste Checked 1 day ago Published 2 days ago

Pick a named dashboard taste, check ECharts options against 38 rules, and install its tokens.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_tastes

List the six dashtaste schools: id, tokens, composition, and the rules sentence. Pick one before building a dashboard.

taste_tokens

Tokens, composition caps, and the rules sentence for one named taste. Same payload as `dashtaste tokens --taste`.

ParameterTypeDescription
taste *string

taste_example

A minimal ECharts option that scores 100 under one taste. Same payload as `dashtaste example --taste`. Copy it instead of inventing a palette.

ParameterTypeDescription
taste *string

check_taste

Check an ECharts option, option array, or page-facts envelope against one taste. Defaults to saas-dense. `--pack global` is saas-dense; `--pack cn` is cn-ecommerce. disable and only use the same rule ids as the CLI. An unknown id is named in the error. The result includes ruleset, ran, chartsReviewed, and findings with name and basis (constraint, heuristic, or taste). Basis does not change severity. An empty chart list can still score 100; that score is not a quality verdict. A rainbow palette is an error in every taste.

ParameterTypeDescription
disablearray
modestring
onlyarray
option
optionJsonstring
packstring
tastestring

apply_taste

Return the tokens.json and example.json bodies for one taste. Pass `out` to also write those files, same as `dashtaste apply --taste`.

ParameterTypeDescription
taste *string
outstring