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)
- How to pass config values when using `pixlet serve`? HOT 2
- Remove apps/deathvalleytemp/deathvalleytemp.go HOT 1
- Jacket app doesn't indicate how to get API keys HOT 7
- connection error HOT 2
- Spotify app doesn't update when song changes HOT 1
- Severe Thunderstorm Watch/Warning Display Issues HOT 1
- Production server .webp render not matching development pixlet renders. HOT 1
- Toggle and Dropdown Schema Randomly Change HOT 1
- Creator metrics/dashboard HOT 2
- app: shopify sales trends issue HOT 1
- Production server .webp render not matching development pixlet renders. (mk. II) HOT 2
- Schema.Location is buggy (and confusing) in local development HOT 1
- Baywheels GBFS feed changed HOT 2
- Allow passing a CSS selector to check if site is up HOT 1
- Allow passing a CSS selector to check if site is up
- MLB standings app displaying teams in the wrong order HOT 3
- make romaji text aqua instead of blue HOT 1
- WMATA buses app not reading schema settings correctly
- "Jacket" app doesn't update HOT 2
- Skordle Scores App Removal HOT 1
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.