瀏覽代碼

Post work PR #3393

maziggy 1 天之前
父節點
當前提交
75dd1e14ff
共有 35 個文件被更改,包括 5 次插入 和 3 次删除
  1. 1 0
      CHANGELOG.md
  2. 0 0
      static/assets/ArchivesPage-xRiQ_TjW.js
  3. 0 0
      static/assets/CamWallPage-kvP4iy_M.js
  4. 0 0
      static/assets/CameraPage-DvGF9B55.js
  5. 0 0
      static/assets/FileManagerPage-JX07m4Wg.js
  6. 0 0
      static/assets/InventoryPage-BLiPTJHQ.js
  7. 0 0
      static/assets/Layout-DrYuO86O.js
  8. 0 0
      static/assets/ModelSourcesPage-C6gPZvTL.js
  9. 0 0
      static/assets/PhotoGalleryModal-BqQ04Uf-.js
  10. 0 0
      static/assets/PrintersPage-huvVhR76.js
  11. 0 0
      static/assets/SettingsPage-5RJdQlPz.js
  12. 0 0
      static/assets/SettingsPage-BO7aOiCQ.js
  13. 0 0
      static/assets/SliceModal-BJ17-eK9.js
  14. 0 0
      static/assets/SliceModal-CQSekPPn.js
  15. 0 0
      static/assets/SpoolBuddyInventoryPage-2vJy2swf.js
  16. 1 1
      static/assets/SpoolBuddySettingsPage-sabwHbxY.js
  17. 0 0
      static/assets/de-CkWtaO_K.js
  18. 0 0
      static/assets/es-BjYoCL6b.js
  19. 0 0
      static/assets/fr-8h712JuF.js
  20. 0 0
      static/assets/index-DqrM3QsY.js
  21. 0 0
      static/assets/it-DS8-WpFb.js
  22. 0 0
      static/assets/ja-C2wYtnNs.js
  23. 0 0
      static/assets/ko-D3jUJSC1.js
  24. 0 0
      static/assets/locationSensorDefaults-C-3hofBX.js
  25. 0 0
      static/assets/nl-SJk3IPjL.js
  26. 0 0
      static/assets/pt-BR-DInP_RiA.js
  27. 0 0
      static/assets/ru-Bl9WHwgB.js
  28. 1 0
      static/assets/slicePresetPicker-Co9COtU8.js
  29. 0 0
      static/assets/spoolCost-WOyAIrOV.js
  30. 0 0
      static/assets/sv-DmMBi90T.js
  31. 0 0
      static/assets/tr-DjyaJxtE.js
  32. 0 0
      static/assets/uk-DCVYl2Ma.js
  33. 0 0
      static/assets/zh-CN-7goq5QxD.js
  34. 0 0
      static/assets/zh-TW-BSKDtRbu.js
  35. 2 2
      static/index.html

+ 1 - 0
CHANGELOG.md

@@ -5,6 +5,7 @@ All notable changes to Bambuddy will be documented in this file.
 ## [1.3.1b1] - Unreleased
 
 ### Added
+- **Slice dialog: sorted presets, search, stock presets listed once** - Preset groups are sorted (decimals by value), every preset dropdown has a search, and a Bambu stock preset that Bambu Cloud and the bundled Standard profiles both list appears once, as the Bambu Cloud copy. Pipelines and saved AMS slot presets that name the hidden Standard copy use the cloud one. Requested in #3386, built by @pleasantone in #3393.
 - **SpoolBuddy: add a scanned Bambu spool in one tap** - When an unknown Bambu Lab spool is placed on the SpoolBuddy reader, the card now shows the material, colour and weight decoded from its RFID tag, and Quick Add creates the spool with them (tray UUID and tare included) instead of a blank PLA spool. A failed re-read of the same tag keeps the data from the good read. Requested by @BenBBSLA in #2685, built by @hibikipr in #3390.
 - **`DB_POOL_PRE_PING` to turn off the PostgreSQL connection check (#3396, requested and contributed by @oh-forf in #3413)** — Every pooled PostgreSQL session first checks its connection, and SQLAlchemy wraps that check in an empty `BEGIN; ROLLBACK;`. On a small install that made `pg_stat_database` show around 80% rolled-back transactions and set off rollback-ratio alerts in monitoring. `DB_POOL_PRE_PING=false` skips the check and roughly halves the rollback count. The default stays on: with it off, a connection the server dropped fails the first request that uses it, so turn it off only for a database on the same host or LAN.
 - **Move a folder in the File Manager (#3305, requested and contributed by @rojosinalma in #3306)** — A folder could not be moved once created, only rebuilt elsewhere by hand. It can now go to the root or into another folder.

文件差異過大導致無法顯示
+ 0 - 0
static/assets/ArchivesPage-xRiQ_TjW.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/CamWallPage-kvP4iy_M.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/CameraPage-DvGF9B55.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/FileManagerPage-JX07m4Wg.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/InventoryPage-BLiPTJHQ.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/Layout-DrYuO86O.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/ModelSourcesPage-C6gPZvTL.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/PhotoGalleryModal-BqQ04Uf-.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/PrintersPage-huvVhR76.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/SettingsPage-5RJdQlPz.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/SettingsPage-BO7aOiCQ.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/SliceModal-BJ17-eK9.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/SliceModal-CQSekPPn.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/SpoolBuddyInventoryPage-2vJy2swf.js


文件差異過大導致無法顯示
+ 1 - 1
static/assets/SpoolBuddySettingsPage-sabwHbxY.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/de-CkWtaO_K.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/es-BjYoCL6b.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/fr-8h712JuF.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/index-DqrM3QsY.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/it-DS8-WpFb.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/ja-C2wYtnNs.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/ko-D3jUJSC1.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/locationSensorDefaults-C-3hofBX.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/nl-SJk3IPjL.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/pt-BR-DInP_RiA.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/ru-Bl9WHwgB.js


+ 1 - 0
static/assets/slicePresetPicker-Co9COtU8.js

@@ -0,0 +1 @@
+import{T as e,o as t}from"./amsHelpers-DDsrDUnz.js";import{a as n}from"./slicerPrinterMatch-CUdoNag2.js";var r=[`local`,`orca_cloud`,`cloud`,`standard`],i={local:1.75,orca_cloud:1.5,cloud:1,standard:.5};function a(e){return`${e.source}:${e.id}`}function o(e,t){return e.stock_aliases?.[a(t)]??t}function s(e,t){for(let n of r){let r=e[n][t];if(r.length>0)return{source:r[0].source,id:r[0].id}}return null}function c(e,t,n){return t?e[t.source][n].find(e=>e.id===t.id)??null:null}function l(e,t,n){if(!n)return null;for(let i of r){let r=e[i][t].find(e=>e.name===n);if(r)return{source:r.source,id:r.id}}return null}function u(e,t,i,a){let o=l(e,`process`,a);if(o){let r=c(e,o,`process`);if(r&&n(r,`process`,t,i)!==`mismatch`)return o}for(let a of[`match`,`unknown`])for(let o of r){let r=p(e[o].process.filter(e=>n(e,`process`,t,i)===a));if(r)return{source:r.source,id:r.id}}return s(e,`process`)}var d=.2,f=/^\s*([\d.]+)\s*mm\b/i;function p(e){let t=null,n=1/0,r=-1/0;for(let i of e){let e=f.exec(i.name),a=e?Number.parseFloat(e[1]):NaN,o=Number.isFinite(a)&&a>0,s=o?Math.abs(a-d):1/0;(t==null||s<n||s===n&&o&&a>r)&&(t=i,n=s,r=o?a:-1/0)}return t}function m(e,t){let n=t.trim().toUpperCase(),r=(e.filament_type??``).trim().toUpperCase();return!!n&&!!r&&n!==r}function h(a,o,c,l){let u=o.type.trim().toUpperCase(),d=e(o.color),f=null,p=null,h=null,g=null;for(let s of r)for(let r of a[s].filament){let a=0,_=(r.filament_type??``).trim().toUpperCase(),v=e(r.filament_colour??``);u&&_&&u===_&&(a+=10),d&&v&&(v===d?a+=5:t(r.filament_colour??``,o.color)&&(a+=2)),a+=i[s];let y={source:r.source,id:r.id};m(r,u)?n(r,`filament`,c,l)===`mismatch`?(g==null||a>g.score)&&(g={ref:y,score:a}):(h==null||a>h.score)&&(h={ref:y,score:a}):n(r,`filament`,c,l)===`mismatch`?(p==null||a>p.score)&&(p={ref:y,score:a}):(f==null||a>f.score)&&(f={ref:y,score:a})}return f==null?p==null?h==null?g==null?s(a,`filament`):g.ref:h.ref:p.ref:f.ref}export{s as a,a as c,o as i,m as l,c as n,h as o,l as r,u as s,r as t};

文件差異過大導致無法顯示
+ 0 - 0
static/assets/spoolCost-WOyAIrOV.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/sv-DmMBi90T.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/tr-DjyaJxtE.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/uk-DCVYl2Ma.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/zh-CN-7goq5QxD.js


文件差異過大導致無法顯示
+ 0 - 0
static/assets/zh-TW-BSKDtRbu.js


+ 2 - 2
static/index.html

@@ -26,7 +26,7 @@
 
     <!-- Splash screens for iOS -->
     <link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
-    <script type="module" crossorigin src="/assets/index-BZdwDBMx.js"></script>
+    <script type="module" crossorigin src="/assets/index-DqrM3QsY.js"></script>
     <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-aKtaBQYM.js">
     <link rel="modulepreload" crossorigin href="/assets/client-8XqSBxc-.js">
     <link rel="modulepreload" crossorigin href="/assets/react-dom-DqnGEPFR.js">
@@ -122,7 +122,7 @@
     <link rel="modulepreload" crossorigin href="/assets/useColorCatalogVersion-kwE5kmQs.js">
     <link rel="modulepreload" crossorigin href="/assets/circle-minus-BPSMaNFL.js">
     <link rel="modulepreload" crossorigin href="/assets/ConnectionDiagnostic-CirSjZ36.js">
-    <link rel="modulepreload" crossorigin href="/assets/Layout-CRaRY68q.js">
+    <link rel="modulepreload" crossorigin href="/assets/Layout-DrYuO86O.js">
     <link rel="stylesheet" crossorigin href="/assets/index-Bm33gdbH.css">
   </head>
   <body>

部分文件因文件數量過多而無法顯示