Open GitMurf opened 3 years ago
Also to make it easier, add a <%SET%> variable command block for the users API Key when using the SB block to set the key / authenticate. This is easier than asking user to hardcode in the javascript block. Also if they didn't fill out the SET variable block then the code knows to ask the user for the KEY each time with an input box.
Already can do most of this! Just need to also add the "format converter" for the smartblock examples into the workflow as well. Also probably best if don't need the template all in one block. If smartblock could cycle through each child block of the template for each section and add it all together into the body of post. Or maybe not. Maybe just having template as one block is easy because tell users to save our 3 templates into 3 blocks pasting with ctrl+shift+v and then simply copy a template block when you want to open a new issue and fill out it in the single block and submit.
The question becomes will copying the SB examples and pasting in with ctrl+shift+v work within a single block with the soft line breaks? See if my SB format converter works fine with it. Here is a video showing it working with everything except the SB example piece!
📋 Describe the new feature/idea/enhancement you are requesting
Use my GitHub API SB that I already created to create Issues in GitHub from Roam. But add to it so can take several blocks which are setup similar to the GitHub issue templates that I have created. So users can simply add these templates into Roam (create a SB to create each template type for the user) and then can fill out the template in Roam including copying their SmartBlock example within it. Then the new SB will use the conversion/formatter SB that I already created here #64 to make sure it is formatted properly for Github.
This will be an "all in one" solution to get our examples into GitHub REALLY easy and seamless!
🔑 Why do you want this?
Make sharing much easier for the community.
⚠️ Is your feature request related to a problem? Please describe.
Formatting issues between roam/slack/github and also trying to keep templates consistent in Github so that people follow the same process.
🔨 Describe any alternatives you've considered
The way we currently do things.