freewizard Posted May 9 Share Posted May 9 (edited) Show one line text on menu bar with One Thing app. The app is required to be installed by the user and it's completely free. I'm author of this workflow but not affiliated with One Thing app itself Download workflow: https://github.com/freewizard/alfred-workflows/releases/download/onething-v0.1.0/OneThing.alfredworkflow Please let me know if anything additional needed for Workflow Gallery. Edited May 10 by freewizard update GitHub Link to comment Share on other sites More sharing options...
jordikt Posted May 10 Share Posted May 10 Good workflow, thanks for share it Why you don't upload it to the Alfred Gallery? Link to comment Share on other sites More sharing options...
freewizard Posted May 10 Author Share Posted May 10 23 minutes ago, jordikt said: Good workflow, thanks for share it Why you don't upload it to the Alfred Gallery? Thanks for the reply. I'm not sure how to upload to Alfred Gallery. This is my first time sharing a workflow. Alfred app takes me to https://alfred.app/submit/ which in turn takes me here in this forum. And I followed the pinned post as much I can. Do you see any additional action I may take? Link to comment Share on other sites More sharing options...
Stephen_C Posted May 10 Share Posted May 10 Currently the correct way to submit workflows to the Gallery is to post links to, and descriptions of them, in this part of the forum (following the guidelines in this post). Everything posted here will in due course be reviewed for inclusion in the Gallery (although there's probably a backlog to review at the moment so you may need to be patient). Stephen Link to comment Share on other sites More sharing options...
vitor Posted May 10 Share Posted May 10 Welcome @freewizard, The submission post itself is fine, but there are a few issues. Some are blockers others are suggestions, but I’ll list them all in no particular order.Avoid using Run NSAppleScript unless you know you need it. The message at the top of the object tells you so.You’re using AppleScript to run a shell script, which is roundabout. Use a Run Script with ZSH directly.You’re calling a URL scheme but are not URL encoding the text. Haven’t tested but that seems like it’ll fail with with special characters.Given the above it seems you can redo the whole workflow without code, by using a Universal Action to percent-encode the text and then connecting that to an Open URL.You’re including the file in the repo instead of making a proper release and attaching it there. Codeberg doesn’t seem to have feeds for individual files which would make it impossible to check for updates with your current setup.Codeberg is currently not supported as a host even with releases because they do not support ETags in feeds. See this other post with @pixelgeek for more information. freewizard 1 Link to comment Share on other sites More sharing options...
freewizard Posted May 10 Author Share Posted May 10 (edited) 1 hour ago, vitor said: Welcome @freewizard, The submission post itself is fine, but there are a few issues. Some are blockers others are suggestions, but I’ll list them all in no particular order. Avoid using Run NSAppleScript unless you know you need it. The message at the top of the object tells you so. You’re using AppleScript to run a shell script, which is roundabout. Use a Run Script with ZSH directly. You’re calling a URL scheme but are not URL encoding the text. Haven’t tested but that seems like it’ll fail with with special characters. Given the above it seems you can redo the whole workflow without code, by using a Universal Action to percent-encode the text and then connecting that to an Open URL. You’re including the file in the repo instead of making a proper release and attaching it there. Codeberg doesn’t seem to have feeds for individual files which would make it impossible to check for updates with your current setup. Codeberg is currently not supported as a host even with releases because they do not support ETags in feeds. See this other post with @pixelgeek for more information. Thank you for the comprehensive review and suggestion. Rewrote and released on GitHub https://github.com/freewizard/alfred-workflows/releases/download/onething-v0.1.0/OneThing.alfredworkflow Edited May 10 by freewizard edit url Link to comment Share on other sites More sharing options...
vitor Posted May 10 Share Posted May 10 That’s now a mix of stuff. That repo has two folders whose names end in .alfredworkflow, and the release has one of them. What are your plans for the repo? Because if you’re doing releases they should be for one workflow, doing releases for multiple in the same repo doesn’t really work because there’s no differentiation in the feed. Link to comment Share on other sites More sharing options...
vitor Posted May 20 Share Posted May 20 @freewizard This looks pretty much ready to go (just have to do some quick testing), but I need a reply on the above to know how to best proceed with the update checking. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now