Repository navigation
Improve Things Extension - #418
Conversation
- add tags from project and area - add actions for project and area - display tags in list subtitle - add complete action
|
@mattisssa @pernielsentikaer Hi guys, the PR is now ready for review! Thanks |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi @loris 👋
Thanks for the update, it's going to add so much value!
Tested it and only found a single comment, maybe I'm just wrong 😄
- I'm not sure that I can see the todo count in section subtitle, maybe I'm not doing it the right way? Does it require more than one list
Request a new review when you are ready, feel free to contact me here or at Slack if you have any questions.
|
Hi @pernielsentikaer Thanks a lot for the review! |
|
Hi @loris 👋 I'm actually not sure what would be the best output, it doesn't add much value to add “No Project” since a lot also uses it without a project — Guess it's better to keep as is — thanks for the clarification 🙏 Comments:
If anything above is unclear, feel free to catch me in Slack 😄 |
|
@pernielsentikaer as discussed on Slack, I ensured the form values are cleared on form submission and added a secondary form action to allow the user to go to the todo list: |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi @loris 👋
Thanks for the correction, it seems like its a lot better - first time I ran the "Add New To-Do" command it gave me this error:
2021-12-02 09:37:00.783 F Raycast[85192:182593] [com.raycast.extensions.things:add-new-todo] The above error occurred in the <AddNewTodo> component:
at null.AddNewTodo (/Users/pernielsentikaer/Desktop/rc2/extensions/things/src/add-new-todo.tsx:68:18)
at ray-navigation-stack
at nm (/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:24:10558)
at al (/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:24:10663)
at Is (/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:24:9779)
at QO (/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:24:8740)
at ray-root
at Ef (/Applications/Raycast.app/Contents/Resources/RaycastCommands_RaycastCommands.bundle/Contents/Resources/api/node_modules/@raycast/api/index.js:24:10083)
React will try to recreate this component tree from scratch using the error boundary you provided, InternalErrorBoundary.
2021-12-02 09:37:00.800 F Raycast[85192:182593] [com.raycast.extensions.things:add-new-todo]
TypeError: Cannot read properties of undefined (reading 'map')
AddNewTodo:add-new-todo.tsx:68:18
---
65:
66: export default function AddNewTodo(props: { title?: string; listName?: string }) {
67: const defaultValues: FormValues = {
68: title: props.title || '',
69: notes: '',
70: tags: [],
71: list: props.listName?.toLowerCase(),
---
at ray-navigation-stack
nm:index.js:24:10558
al:index.js:24:10663
Is:index.js:24:9779
QO:index.js:24:8740
at ray-root
Ef:index.js:24:10083
After this crash it seems like it was working as expected - can you look into above? 😄
|
@pernielsentikaer Thanks! it happens if Things is not running, I just pushed a better error hander to replace the stacktrace error with a Markdown Detail View (in addition to the Toast, which is not very visible): |
|
Hi @loris 👋 There is now a flicker for every command showing the right data before showing that Things is not installed, can we look into this? For me it was only a problem when Things was not open when I added - I'm not sure if its the same for you? Can we do something about this? |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi again @loris 🔥
Thanks for the conversation, and as we spoke about we have the “flicker” issue on the list to find a better solution when it's possible for now people have things open anyway.
I have accepted it, and we await final review before merging 🚀
Thanks for your update!
|
Published to the Raycast Store: |





Description
Type of change
Screencast
Checklist
512x512