소스 검색

Add additional currency options for cost tracking (#329)

Added HKD, INR, KRW, SEK, NOK, DKK, PLN, BRL, TWD, SGD, NZD, MXN,
CZK, THB, and ZAR to the currency dropdown in settings.
maziggy 7 달 전
부모
커밋
8e09e4fb65
4개의 변경된 파일19개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      CHANGELOG.md
  2. 15 0
      frontend/src/pages/SettingsPage.tsx
  3. 0 0
      static/assets/index-Co9UeRtt.js
  4. 1 1
      static/index.html

+ 3 - 0
CHANGELOG.md

@@ -8,6 +8,9 @@ All notable changes to Bambuddy will be documented in this file.
 - **External Camera Not Used for Snapshot + Stream Dropping** ([#325](https://github.com/maziggy/bambuddy/issues/325)) — The snapshot endpoint (`/camera/snapshot`) always used the internal printer camera even when an external camera was configured. Now checks for external camera first, matching the existing stream endpoint behavior. Also fixed external MJPEG and RTSP streams silently dropping every ~60 seconds due to missing reconnect logic — the underlying stream generators exit on read timeout, and the caller now retries up to 3 times with a 2-second delay instead of ending the stream.
 - **H2C Nozzle Rack Text Unreadable on Light Filament Colors** ([#300](https://github.com/maziggy/bambuddy/issues/300)) — Nozzle rack slots use the loaded filament color as background, but white/light filaments made the white "0.4" text nearly invisible. Now uses a luminance check to switch to dark text on light backgrounds.
 
+### Improved
+- **Additional Currency Options** ([#329](https://github.com/maziggy/bambuddy/issues/329)) — Added 16 additional currencies to the cost tracking dropdown: HKD, INR, KRW, SEK, NOK, DKK, PLN, BRL, TWD, SGD, NZD, MXN, CZK, THB, ZAR.
+
 ## [0.1.9] - 2026-02-10
 
 ### New Features

+ 15 - 0
frontend/src/pages/SettingsPage.tsx

@@ -1587,6 +1587,21 @@ export function SettingsPage() {
                   <option value="CNY">CNY (¥)</option>
                   <option value="CAD">CAD ($)</option>
                   <option value="AUD">AUD ($)</option>
+                  <option value="HKD">HKD ($)</option>
+                  <option value="INR">INR (₹)</option>
+                  <option value="KRW">KRW (₩)</option>
+                  <option value="SEK">SEK (kr)</option>
+                  <option value="NOK">NOK (kr)</option>
+                  <option value="DKK">DKK (kr)</option>
+                  <option value="PLN">PLN (zł)</option>
+                  <option value="BRL">BRL (R$)</option>
+                  <option value="TWD">TWD ($)</option>
+                  <option value="SGD">SGD ($)</option>
+                  <option value="NZD">NZD ($)</option>
+                  <option value="MXN">MXN ($)</option>
+                  <option value="CZK">CZK (Kč)</option>
+                  <option value="THB">THB (฿)</option>
+                  <option value="ZAR">ZAR (R)</option>
                 </select>
               </div>
               <div>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
static/assets/index-Co9UeRtt.js


+ 1 - 1
static/index.html

@@ -23,7 +23,7 @@
 
     <!-- Splash screens for iOS -->
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
-    <script type="module" crossorigin src="/assets/index-GkrFU7v8.js"></script>
+    <script type="module" crossorigin src="/assets/index-Co9UeRtt.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-DLgJjh2G.css">
   </head>
   <body>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.