Closed hoorayimhelping closed 4 years ago
@hoorayimhelping:
Templates already have a standard section called ## Setup Instructions
that contain info on how to install Telegraf, supporting scripts and 3rd party services. These steps should be identical for both GUI and CLI installed templates, could we use that section instead of creating a new one?
I'm unclear what copy and paste instructions would go in this section, since the UI won't display it until the user has already copy and pasted the template URL into the UI.
@mhall119
## Setup Instructions
works for me.@hoorayimhelping okay, so for #2 if I just add something to ## Quick Install
at the top of the readme that says something like: Copy this URL into the InfluxDB UI: <url to manifest>
would that work for you and @bpalani ?
@mhall119 - yes I think I like the idea of adding UI instructions under ## Quick Install
. Also there may be some additional steps required to complete the template install process (e.g. signing up for 3rd party service like Quandl) which should also be added under that section so that when users come back to the UI, they can see that under the Readme
tab.
@bpalani all of those additional instructions should already be in the ## Setup Instructions
section, and will be the same for CLI and UI installs
@hoorayimhelping - are you able to get the additional instructions from Setup Instructions
to show in the Readme tab of the UI?
@bpalani i'm planning on doing a simple parse of the readme file and discarding everything before ## Setup Instructions
The UI will greedily render all content that follows this header. Any instructions relevant to cloud installations, including telegraf installation instructions so [sic] go here. Some readmes might need to have their content restructured to make this more usable.
Every template (except downsampling) has been updated to have:
### Quick Install
section at the top#### InfluxDB UI
subsection of Quick Install
with instructions to copy the manifest URL into the UI## Setup Instructions
section with post-install instructions
Background
The UI is only concerned with displaying readme data that is relevant to users of the UI.
Acceptance Criteria:
- All readmes are lowercased:
readme.md
~README.md
~ ~readme.MD
~ ~README.MD
~ - All readmes have a section titled## UI Installation Instructions
(or something similarly titled). The UI will greedily render all content that follows this header. Any instructions relevant to cloud installations, including telegraf installation instructions so go here. Some readmes might need to have their content restructured to make this more usable. - All readmes have a section under the## UI Installation Instructions
(or something similarly titled) have a portion that the user can copy and paste directly into the UI to install that template.