minor improvements

master
Martin Zwigl 2025-03-22 18:17:17 +01:00
parent bed9b461cb
commit f749ee524a
3 changed files with 14 additions and 3 deletions

View File

@ -31,3 +31,12 @@ Martin Zwigl
- You also need a CoinStats API access key which is good for a fair amount of calls
- I tried with gridy for the axis, but for this data - it is just not readable...
- Let me know when you have good suggestions for improvement.
- "..." button shows current details for current token
- Swipe L-R changes token you supplied via interface
- Not much guard-rails in the app -> you should have at least one token (each) present
- Also the API token
### Settings
- Choose which of the uploaded tokens to display in clock_info
- Choose update-time for clock_info HTTP requests to Binance

View File

@ -55,7 +55,8 @@ var layout = new Layout({
{type:"h", valign:-1,
c: [
{type:"txt", id:"tknName", font:"6x8:2", label:"", halign:-1, fillx:1},
{type:"btn", label:"...", halign:1, cb: d=>showDetails()}
{type:"btn", label:"...", halign:1, cb: d=>showDetails()},
{type:"btn", label:"L/H", halign:1, cb: d=>showDetails()}
]
},
{type:"txt", id:"loadMsg", font:"6x8", label:"", fillx:1 },
@ -146,6 +147,7 @@ function showDetails() {
const msg = `
Price: ${priceFmt}
M-Cap: ${mCapFmt}
1h:${tokenInfo.priceChange1h} 1d:${tokenInfo.priceChange1d} 1w:${tokenInfo.priceChange1w}
`;
E.showAlert(msg, title).then(function() {
// print("Ok pressed");

View File

@ -1,7 +1,7 @@
{ "id": "coin_info",
"name": "Crypto-Coins Info",
"shortName":"Coins Info",
"version": "0.06.66",
"version": "0.06.67",
"description": "Crypto-Coins Infos with the help of the Binance API",
"icon": "app.png",
"tags": "clkinfo",