Commit 1c17de7
feat(ifs): add Material Station dashboard card with manual slot editor
Bring the WebUI to parity with the desktop FlashForgeUI: a real IFS
Material Station grid card (4 slots, swatch + material) that refreshes
from the printer's cached station status. Clicking a slot opens a manual
editor — a material dropdown (14 recognized materials) and a grid of the
24 recognized color swatches, pre-seeded from the slot's current state.
When Spoolman is configured, the editor offers a "Set from Spoolman"
shortcut that pre-fills the selections (snapped to the fixed palette) for
review before applying via the slot-config route.
- New `ifs-station` grid component (definition + template + default layout
+ mobile order + Panel Visibility picker checkbox), feature-gated on the
material station so it's user-added/positioned like any other card.
- Replaces the earlier approach (an "Edit IFS Slots" button buried in the
Spoolman Tracker panel + a slot-list modal), which is removed.
- Removes the runtime auto-reveal of the Spoolman and IFS cards; cards now
simply become available in the picker when their feature is present,
matching desktop behaviour.
- Spool picker renders above the slot editor (z-index) and resets on close.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f38db7e commit 1c17de7
9 files changed
Lines changed: 481 additions & 227 deletions
File tree
- src/webui/static
- features
- grid
- ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | 384 | | |
386 | 385 | | |
387 | 386 | | |
| |||
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
437 | 435 | | |
438 | 436 | | |
439 | 437 | | |
| |||
0 commit comments