For context, here's some of the code I could remove/simplify:
Remove "completedat" timestamps as it will be same as "createdat"
Remove conditional rendering completed vs pending
Calculating streaks just looks at created_at timestamp
Remove todo checkbox (would still show checkmark, but not interactive)
Remove Telegram integration for showing pending todos
Remove API end point to create a pending todo
Remove API end point to complete a pending todo
Remove sorting of pending todos (completed todos are sorted by completion date)
Remove tracking which team members completed a todo separately from who created the todo
This also gets todos closer to posts and comments in terms of functionality. Longer term I might want to merge these all into the same record type so it's more like Twitter where everything is a tweet. This would greatly simplify the codebase and UX.
Yeah, it feels like the pending functionality would only be useful if people used this site as a TODO list. It's not really the case as I often think "what did I do today/5 mins ago/just now" and then go back and post about it on WIP.
Slightly related: I think I mentioned this before but having a kanban board UI on top of WIP would be nice (that would encourage more people to have pending items I think). Might be able to get away with the Zapier integration today i.e. Notion to WIP sync, or if not I might build this as a free tool at some point using the WIP API
Yes I think there's many opportunities to improve the pending todo system. The challenge is that everybody has their own preferences so whatever solution I'd come up with would appeal to only a percentage of users.
So I think indeed making it easier to integrate with other systems by improving the API and documentation around it, might be the better way forward.
For context, here's some of the code I could remove/simplify:
This also gets todos closer to posts and comments in terms of functionality. Longer term I might want to merge these all into the same record type so it's more like Twitter where everything is a tweet. This would greatly simplify the codebase and UX.
Yeah, it feels like the pending functionality would only be useful if people used this site as a TODO list. It's not really the case as I often think "what did I do today/5 mins ago/just now" and then go back and post about it on WIP.
Slightly related: I think I mentioned this before but having a kanban board UI on top of WIP would be nice (that would encourage more people to have pending items I think). Might be able to get away with the Zapier integration today i.e. Notion to WIP sync, or if not I might build this as a free tool at some point using the WIP API
Yes I think there's many opportunities to improve the pending todo system. The challenge is that everybody has their own preferences so whatever solution I'd come up with would appeal to only a percentage of users.
So I think indeed making it easier to integrate with other systems by improving the API and documentation around it, might be the better way forward.
Yep, makes sense. All for better APIs and let people build whatever