You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes there are a bunch of old deadlines that passed long ago, and I have to manually hit "Complete" on each of them. It would be nice if there was a button which would remove all passed deadlines in one click, or at least all sufficiently old ones.
The text was updated successfully, but these errors were encountered:
That's a good suggestion, I've realized that this is very frustrating too. I'm very short on time at the moment and therefore not sure when I would be able to fix this, I'll leave the general steps to fix this here if you'd like to take a look at this
This is a client-side fix since completed deadlines aren't stored on the backend as of now, I think it would be sufficient to add a button that would mark all (or all passed) deadlines as completed either in the workspace view, deadline view, or both.
The files related to this are:
src/components/screens/Subjects/components/DeadlineColumn.tsx (workspace page, right side column), I would suggest taking a look at the function removeDeadline (which is badly named, it should be "completeDeadline") in the same file to understand how this works. Then either extend the function or create a new one that simply marks all deadlines in the state as completed with a specific criteria.
There's also client/src/components/screens/Deadlines/Deadlines.tsx (deadline page)
For documentation on how to set up the environment etc, I would suggest taking a look at the docs page which you can find here. Sadly I don't have the page for the documentation running atm but that should be as easy as running, npm install followed by npm start OR if you don't want to bother about setting up the documentation locally you can just visit the raw .md files here.
The docs might be a bit spare on the setup (one thing that I don't think is mentioned is that you have to have both redisDB and mongoDB installed on your system to start the backend), if you actually do plan on implementing the feature and gets stuck on the environment setup don't hesitate to ask for more directions or help.
Sometimes there are a bunch of old deadlines that passed long ago, and I have to manually hit "Complete" on each of them. It would be nice if there was a button which would remove all passed deadlines in one click, or at least all sufficiently old ones.
The text was updated successfully, but these errors were encountered: