extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Todoist] Today's Frog

Open aromeronavia opened this issue 2 years ago • 2 comments

Description

Added a Menu Bar Command to display Today's Frog, which means the most important task you need to finish Today. How I implemented it:

  1. Added a Preferences Variable to set the label that will filter Today's Frog (Defaulted to frog)
  2. Added a Menu Bar Command to Package.json
  3. Added a today-frog.tsx file with the logic to filter today|overdue tasks to identify if there's a frog, and if not, it will just display the first task in the list of Today's tasks

Screencast

https://user-images.githubusercontent.com/13922607/188230644-f70b54df-cd42-4482-993e-71fc54c935bf.mov

Checklist

aromeronavia avatar Sep 02 '22 20:09 aromeronavia

Thank you for your first contribution! :tada:

🔔 @thomaslombart you might want to have a look.

raycastbot avatar Sep 02 '22 20:09 raycastbot

Hey @aromeronavia, thanks for the contribution! 🎉

It looks good to me except for the "frog" part which feels too opinionated to be part of the Todoist extension since the latter is designed to manage Todoist tasks in a generic way.

thomaslombart avatar Sep 05 '22 08:09 thomaslombart

Hey @thomaslombart! Appreciate you taking a look at this.

I wonder if we can swap Frog with "Focus"? Today's Focus would be the Command name, and we could replace the Frog tag with Focus one. I will do this change and will let you know when it's done

aromeronavia avatar Sep 05 '22 20:09 aromeronavia

@thomaslombart PR ready to review again 👍

aromeronavia avatar Sep 06 '22 16:09 aromeronavia

Hey @thomaslombart!

Sorry again for taking so long to respond. Regarding your comment, there is already a Today Tasks command in the extension, so I think it will be more confusing if we add Today's Tasks. Some proposals for naming:

  • Focus Task
  • Menu Bar Task
  • Show Tasks in Menu Bar

aromeronavia avatar Oct 11 '22 16:10 aromeronavia

Not sure if it's that confusing since Raycast clearly indicates it's a menu bar command:

Here's an example with Google Workspace: Raycast 2022-10-13 at 16 23 33

What do you think?

thomaslombart avatar Oct 13 '22 14:10 thomaslombart

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊

stale[bot] avatar Nov 17 '22 13:11 stale[bot]

It shouldn't be stale. @aromeronavia should I take back this PR?

thomaslombart avatar Nov 17 '22 13:11 thomaslombart

@aromeronavia There's another PR for the menu bar command that is packed with more features: https://github.com/raycast/extensions/pull/3597.

thomaslombart avatar Nov 23 '22 08:11 thomaslombart

I agree with closing this one in favor of the other PR, I actually like it more. I'm closing by now 👍

aromeronavia avatar Nov 30 '22 23:11 aromeronavia