My earlier code had a field to keep track of which tasks are completed and which are pending but i can simply change that completed field from boolean to string and store the data-time when the task was completed and if the field is empty that means the task is not completed.
I have implemented part of this feature and then found out there are few changes i will have to handle because of this one change. Here are the Tasks :
[x] Simply change completed field of each task as string, so say if there is nothing in that field, that means that task, is pending. As soon as something comes in that field, which will be the data and time (2024-09-21T12:20:330), then it will become or go in the completed part of the tasks.json, this logic you can easily write.
[x] Add a new function in the ScanningVault to detect the tick emoji and then the date-time followed by that.
[x] Show the completed date-time value instead of due date-time in the TaskItems card under Completed Column in Task Board.
Since ill be updating the Completion feature, same time implement the following features for the Completed Column specifically :
[x] Need to implement the functionality to show only N tasks as given by the user in the Board Config Modal for completed column.
[x] The tasks under the Completed Column should be sorted based on completion date as default.
My earlier code had a field to keep track of which tasks are completed and which are pending but i can simply change that completed field from boolean to string and store the data-time when the task was completed and if the field is empty that means the task is not completed. I have implemented part of this feature and then found out there are few changes i will have to handle because of this one change. Here are the Tasks :
completed
field of each task as string, so say if there is nothing in that field, that means that task, is pending. As soon as something comes in that field, which will be the data and time (2024-09-21T12:20:330), then it will become or go in the completed part of the tasks.json, this logic you can easily write.Since ill be updating the Completion feature, same time implement the following features for the Completed Column specifically :