-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include README.md as description #17
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There a couple of things that I don't like about this approach (and/or about the changes introduced in https://github.com/signadot/signadot/pull/3096):
IMO, ideally it should be formatted as a YAML, something like: That before https://github.com/signadot/signadot/pull/3096, at least had the gray background.
Those lines could easily confuse the user? what does that mean? where are those files (
|
#1: The current design for yaml editor is temporary. I plan to use a different off-the-shelf component for displaying yaml afterwards. I had actually done that in one of the pull requests. But had to scrap that because the version update for webpack led to some conflicts/issues with the library. I can change the background for yaml viewer to grayish for the time being. That will be quick. #2: I agree. Any thoughts on having a separate markdown file for that purpose? #3: I know. But if we want include more information, there's no way around that, unless we remove the property or redact the value which is probably not a good idea. |
It's good to know that the change is part of the roadmap.
I guess we could make the description of our plugins richer and store them in separate files, yes.
I think for an end state, we can have a much richer UI by extracting info from the plugin spec.
|
It's much easier to include description about the plugin in a markdown than in the spec itself. If we plumb it this way, it's more likely that the users will follow the same.
Fyi, with #3096 merged in, the markdowns are formatted pretty nicely as well.
Example: https://app.staging.signadot.com/resource-plugins/name/mariadb
Open to opinion.