Skip to content
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

[Raycast Notification] ... #13956

Closed
njthebaud opened this issue Aug 9, 2024 · 5 comments · Fixed by #13958
Closed

[Raycast Notification] ... #13956

njthebaud opened this issue Aug 9, 2024 · 5 comments · Fixed by #13958
Labels
extension: raycast-notification Issues related to the raycast-notification extension extension Issues related to one of the extensions in the Store feature request New feature or improvement

Comments

@njthebaud
Copy link

Extension

https://www.raycast.com/maxnyby/raycast-notification

Description

Really liking this extension since I've always wanted to use Raycast's notifications. However, it would be nice if there were options for colored text. Specifically green and red (yellow may be useful as well), although I suppose the option of any color would be ideal. Other extensions sometimes give their notifications in green if it was successful and red if it wasn't. The below shows an example in green from a GIF extension. This sometimes includes a circle (success) at the beginning or an X for failure, but not as necessary as the color in my opinion, but would be nice to have.

SCR-20240809-pzqj

Who will benefit from this feature?

Anyone who wants to indicate success or failure of an action, or simply just wants to have the option of using colored text in their notifications for no other reason than to have color.

Anything else?

No response

@njthebaud njthebaud added extension Issues related to one of the extensions in the Store feature request New feature or improvement labels Aug 9, 2024
@raycastbot raycastbot added the extension: raycast-notification Issues related to the raycast-notification extension label Aug 9, 2024
@raycastbot
Copy link
Collaborator

Thank you for opening this issue!

🔔 @maxnyby you might want to have a look.

💡 Author and Contributors commands

The author and contributors of maxnyby/raycast-notification can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

@erics118
Copy link
Contributor

erics118 commented Aug 12, 2024

Seems like this actually isn't a feature. This extension internally uses the showHUD function which only supports a single text parameter. See https://developers.raycast.com/api-reference/feedback/hud#showhud

What you're seeing is a toast after the main window has closed (which looks the exact same) but supports a success, failure, and loading state.

Edit: looks like this actually can be implemented, oops

@jfkisafk
Copy link
Contributor

@njthebaud I have implemented the feature but the toast API does not support background launchType. So there might be a flickering effect (opens raycast -> close main window -> show toast) to get success and failure notifications.

@erics118
Copy link
Contributor

Yeah, I was concerned about the possible flickering. I was wondering if maybe the API could be updated to support this the success, failure, and loading states, so I asked in the slack: https://raycastcommunity.slack.com/archives/C02HEMAF2SJ/p1723493267421789

@njthebaud
Copy link
Author

hmm...a little bit of a deal breaker if it has to briefly open and close the raycast window before showing the notification. Hopefully the API can be updated since it sounds like you're just one step away. Thanks for keeping me in the loop...I'll definitely keep using the extension in the mean time though ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: raycast-notification Issues related to the raycast-notification extension extension Issues related to one of the extensions in the Store feature request New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants