Git Product home page Git Product logo

Comments (7)

abitmore avatar abitmore commented on May 24, 2024

As @litepresence said in Telegram:

its not a calculation issue its just truncated for display

It's a UI issue. I don't think hiding the orders is a good idea. Maybe better show 0.0000> or something alike and if the user moves the mouse over it shows the full numbers. Also the 10M amount is too wide already.

from bitshares-ui.

grctest avatar grctest commented on May 24, 2024

Good point, I have adapted to this issue in the astro ui as such:

image

from bitshares-ui.

abitmore avatar abitmore commented on May 24, 2024

Good point, I have adapted to this issue in the astro ui as such:

Not bad. Just FYI I think in a financial system, numbers are better aligned with decimal points.

from bitshares-ui.

grctest avatar grctest commented on May 24, 2024

OK I've changed the < min string to allow a greater quantity of decimal places as so:
image

from bitshares-ui.

abitmore avatar abitmore commented on May 24, 2024

OK I've changed the < min string to allow a greater quantity of decimal places as so

What if an order's price is 0.000000000000000000000000001, and another order's price is 100000000000000000000000.0, while typical orders' prices in that market are like 123.456789? 😉 In markets with few orders, prices vary widely. In popular markets where the first API call only returns the top X orders, the situation is different.

By the way the BTS amounts are not aligned with decimal points.

To be clear, I'm not being picky, and I know it takes a lot of effort to improve UX, finding a "good enough" solution is already very hard, let alone a "perfect" one. So please just do what you think is okay, and prioritize tasks appropriately.

Thank you anyway.

from bitshares-ui.

grctest avatar grctest commented on May 24, 2024

By the way the BTS amounts are not aligned with decimal points.

What do you mean? Like the decimal point "." should be aligned like this?

image

I've adjusted the UX to show < min and on hover shows the real price with auto-adjusting width:

openOrders

from bitshares-ui.

abitmore avatar abitmore commented on May 24, 2024

By the way the BTS amounts are not aligned with decimal points.

What do you mean? Like the decimal point "." should be aligned like this?

image

Yes.

from bitshares-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.