Comments (8)
Agreed, this seems like a nice enhancement for the both the community crypto app and the official Stocks as well for cases like BRK.A
. These should both truncate the decimal and use humanize
to add thousands commas.
from community.
Seeing now this can also affect the price delta, right now BTC is down 244.13 and that's wide enough to make it scroll. display_symbol()
is using the same width of 34 as the price below, even though all of the available symbols are only three characters (
from community.
this is a good idea, I will look in to it
from community.
Seeing now this can also affect the price delta, right now BTC is down 244.13 and that's wide enough to make it scroll.
display_symbol()
is using the same width of 34 as the price below, even though all of the available symbols are only three characters (). It would make sense to give more width to that price delta , as it stands about 25% of the line is unused.
@cgrin IIRC I did this to future proof for the option to display the full coin name
from community.
Makes sense. Can the widths be defined dynamically? If so you could do something like ticker_width = min(34, 5*len(ticker_symbol))
and then delta_width = 63 - ticker_width
from community.
@cgrin opened a pr, lmk your thoughts. I don't want to change the widths of the price change marquee render, as my initial goal with this app is to mirror the existing stock app as closely as possible.
from community.
Looks great!
from community.
We're automatically closing this issue because it hasn't had any activity in 30 days. If that seems like a mistake, please feel free to re-open. Thanks!
from community.
Related Issues (20)
- FitbitWeight app gives OAuth error when authenticating HOT 2
- Please review/update clock_by_henry, I cannot figure out how to initiate a pull request. HOT 1
- [NSWFuelCheck] Adding additional fuel types HOT 4
- VatsimApp HOT 1
- [Feature Request] "Game day only" option for Nascar HOT 1
- [Feature Request] "Game day only" option for IndyCar HOT 2
- NJ Transit app gone missing? HOT 3
- Clarify how often PRs will be reviewed in README HOT 8
- NHL Live App Issue HOT 4
- CArenewable clean energy percentage at/above 100% HOT 2
- CA Renewable animation speed too slow HOT 1
- Base64 decoded images look worse today than yesterday HOT 7
- Severe Weather app HOT 9
- Fuzzy Clock: de-DE-alt2 is a good fit for Berlin area, except the 40th minute of the hour HOT 1
- Outlook Calendar - Error AADSTS50011 HOT 1
- chesscomelo fails if the user hasn't played every time control at least once
- Information please ? HOT 9
- Pull request review? HOT 4
- Subgraph endpoint update required HOT 2
- Netatmo App Requires Daily Sign-in HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.