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

Fix decimal err in dedicated filters #1772

Merged
merged 5 commits into from
Dec 26, 2023

Conversation

zaelgohary
Copy link
Contributor

@zaelgohary zaelgohary commented Dec 21, 2023

Description

  • Used Math.floor with values as Grid Proxy doesn't accept float values
  • Refactored NodesQuery
  • Added filter by total resources in nodes page
  • Fixed formatResources
  • Fixed filter by decimal in nodes & dedicated nodes

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

@0oM4R
Copy link
Contributor

0oM4R commented Dec 24, 2023

Screenshot from 2023-12-24 11-13-58

Ram field does not accept decimal number
and i don't think it's a good idea to use floor, I suggest to use ceil

@amiraabouhadid
Copy link
Contributor

amiraabouhadid commented Dec 24, 2023

I tried it with exact RAM value but it failed
image
image

@zaelgohary
Copy link
Contributor Author

I tried it with exact RAM value but it failed image image

The value in the table was rounded. Fixed by showing the value without any rounding.

Copy link
Contributor

@amiraabouhadid amiraabouhadid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding it nodes page too
image

@zaelgohary zaelgohary merged commit 5dd1f0d into development Dec 26, 2023
3 checks passed
@zaelgohary zaelgohary deleted the development_fix_dedicated_decimal_err branch December 26, 2023 09:38
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 this pull request may close these issues.

3 participants