signalco-io / signalco

https://www.signalco.io
GNU Affero General Public License v3.0
10 stars 2 forks source link

[Widget] Stocks: Set min and max decimal digits when displaying change #1490

Closed AleksandarDev closed 1 year ago

AleksandarDev commented 1 year ago

Duplicates

Latest version

Current behavior 😯

Displays "+1%"

image

Expected behavior 🤔

Should display "+1.00%" - 2 decimals min and 4 decimals max.

Steps to reproduce ▶️

Steps:

  1. Add Finance Stocks widget to dashboard
  2. Configure
  3. When stock is round number, display is strange

Context 🔦

Improve widget UX

Your environment 🌎

Production signalco app, all devices

AleksandarDev commented 1 year ago

:tada: This issue has been resolved in version 1.24.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: