Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new feature to display the tasks based on user preference . #28

Closed
SaraswatGit opened this issue Feb 6, 2022 · 2 comments · Fixed by #54
Closed

Add a new feature to display the tasks based on user preference . #28

SaraswatGit opened this issue Feb 6, 2022 · 2 comments · Fixed by #54
Assignees
Labels
enhancement New feature or request Hard JWOC

Comments

@SaraswatGit
Copy link
Owner

SaraswatGit commented Feb 6, 2022

A button should come up beside the Add New Task clicking on which a pop showing all tasks will appear. Now there should be an option to arrange the tasks in the following manner :

1)Based on deadline (a task with the earliest deadline should come at the top)

2)Based on % of work left (a task with most work left will come at the top)

3)Based on both (here you should or can use the fractional knapsack concept, you will arrange elements by the
following formula: (% work left / No. of days left )* (3/2/1 for highest/medium/lowest priority) , the one with the highest value of the given formula will come at top)

You can refer to the following article : https://stackoverflow.com/questions/5002848/how-to-define-custom-sort-function-in-javascript

@SaraswatGit SaraswatGit added Hard JWOC enhancement New feature or request labels Feb 6, 2022
@DarkFalc0n
Copy link
Contributor

I would like to work on this issue under JWOC

@SaraswatGit
Copy link
Owner Author

@DarkFalc0n I have assigned the issue to you, Best Wishes, for any problems reach out to me on discord.

This was referenced Feb 12, 2022
@SaraswatGit SaraswatGit linked a pull request Feb 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hard JWOC
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants