bnomei / kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code, CLI or a cronjob
https://forum.getkirby.com/t/kirby3-janitor-plugin/23573
MIT License
88 stars 7 forks source link

Help message in field #23

Open jklue opened 4 years ago

jklue commented 4 years ago

Is there a way to add help: text to the Janitor button field? I want to explain what's going to happen when clicked. Or should I just add an info field above.

bnomei commented 4 years ago

i need to investigate how to create a proper help section for fields with vue to match kirbys core but i would love to delay this until the new UI kit for panel is done, so in the meantime please use a field with type info. but i agree a help section is a useful addition.

bnomei commented 4 years ago

maybe even allow help text to change based on json repsonse.

bnomei commented 2 years ago

maybe @johannschopplich is willing to PR a solution for adding a help message below the button. he was kind enough to redo most of my messy vue code before. but i will create a feature release later today so best not get started right away.