Jump to content

Recommended Posts

Posted (edited)

Show one line text on menu bar with One Thing app.

 

 

image.thumb.png.27d638f4183de2a781e6e63c7a35de5b.pngimage.png.2784a81c4a5bcf1da39f2d545cbd5aee.png

 

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 by freewizard
update GitHub
Link to comment
Share on other sites

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

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

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.

Link to comment
Share on other sites

Posted (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 by freewizard
edit url
Link to comment
Share on other sites

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...