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

Wrong Urgency and Importance values #70

Closed
tochanenko opened this issue Oct 18, 2021 · 2 comments · Fixed by #73
Closed

Wrong Urgency and Importance values #70

tochanenko opened this issue Oct 18, 2021 · 2 comments · Fixed by #73
Assignees

Comments

@tochanenko
Copy link

Describe the bug
Urgency and Importance fields have incorrect values assigned to them while creating and editing tasks. It is less than it should be.

To Reproduce
Steps to reproduce the behavior:

  1. Create new Task and fill in "Title", "Description" and "Category" fields.
  2. Set "Urgency" and "Importance" to 5.
  3. Save Task.
  4. Go to Task edit mode.
  5. Set "Urgency" and "Importance" to 0.

Expected behavior
Urgency and Importance to be equal to 5 before editing; equal to 0 after editing.

Screenshots

 

Smartphone Details

  • Device: Samsung Galaxy S8
  • OS: Android 9
  • App: v1.0.0-alpha01(1)

Additional context
All Urgency and Importance values are less then should be:

Expected value Real value
0 0.0 or 1.528324E-9/5
1 0.8
2 1.6
3 2.4
4 3.2
5 4.0
@Spikeysanju
Copy link
Owner

@tochanenko Hey mate, Thanks for bringing this up 🙌 . It seems like there was an issue with the rounding the Float. Also I've started working on fixing this issue.

Spikeysanju added a commit that referenced this issue Oct 18, 2021
Signed-off-by: Sanju S <spikeysanju98@gmail.com>
@Spikeysanju Spikeysanju linked a pull request Oct 18, 2021 that will close this issue
Spikeysanju added a commit that referenced this issue Oct 18, 2021
@Spikeysanju
Copy link
Owner

@tochanenko This issue has been fixed with latest PR #73. Have a great day buddy 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants