Commit Graph

38 Commits

Author SHA1 Message Date
671d3bd3d1 feat: Add 3dfilamentprofiles.com integration (Issue #7)
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
- Backend: Added ExternalSource enum, Filament3DFP model, and transform function
- Backend: Updated _sync() to fetch from both SpoolmanDB and 3dfilamentprofiles
- Frontend: Added source tabs to FilamentImportModal (All/SpoolmanDB/3DFP)
- Frontend: Updated ExternalFilament interface with source and temp range fields
- Frontend: Updated filament import handler to use temp range fields

Also includes:
- Dev mode styling (teal theme, DEV badge and banner)
- Translation keys for source filtering

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 21:03:25 -06:00
3451996a8f feat: Add temperature ranges for extruder and bed temps (#5)
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Store extruder and bed temperatures as min/max ranges instead of
single values for more accurate filament specifications.

Backend changes:
- Add 4 new columns: settings_extruder_temp_min/max, settings_bed_temp_min/max
- Keep old columns for backward compatibility (marked deprecated)
- Alembic migration copies existing values to both min and max
- Update Pydantic models and API endpoints

Frontend changes:
- Filament model updated with new fields
- Create form uses min/max input pairs with Space.Compact
- Import from external DB populates both min and max with same value
- Label template updated to show ranges: "ET: 190-220 °C"
- Template help includes new tags

Labels now display temperature ranges like "190-220°C" which is more
useful for printing than a single recommended value.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 20:05:02 -06:00
478806dcc8 feat: Add smart density defaults based on material type (#2)
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Auto-fill density when entering material type in filament forms:
- Add materialDefaults.ts with standard densities for common materials
  (PLA, ABS, PETG, TPU, PC, etc.)
- Material field now uses AutoComplete with suggestions
- Density auto-fills on material select or blur (fuzzy matching)
- New filaments default to 1.75mm diameter and 1.24 g/cm³ (PLA)
- Applied to both full filament create page and quick create modal

Reduces tedious data entry for common materials while still allowing
custom values for specialty filaments.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 19:54:30 -06:00
ea5b06493c feat: Add inline creation modals for filament and vendor (#1)
Some checks failed
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
When creating a spool, users can now create a new filament directly
from the filament dropdown without leaving the page. Similarly, when
creating a filament, users can create a new vendor inline.

New components:
- VendorCreateModal: Simple modal for quick vendor creation
- FilamentCreateModal: Modal with essential fields + nested vendor creation

Changes:
- Added dropdownRender to filament Select in spool create page
- Added dropdownRender to vendor Select in filament create page
- Added translation keys for success messages and placeholders
- Pre-fills sensible defaults (diameter 1.75mm, density 1.24 g/cm³)

Closes #1

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 19:33:25 -06:00
Donkie
aa839b08e5 Handle input number formatting better
Now it doesn't interfer with the user writing until the user leaves the element

Resolves #633
Resolves #632
2025-03-18 21:27:00 +01:00
Donkie
a3be91b89c Fixed not being able to clear price field
Resolves #525
2024-11-25 20:39:24 +01:00
Donkie
eb4e1a950a Fixed importing multi-color in create filament 2024-08-09 16:58:30 +02:00
Donkie
7108b0e7a1 Optimized and organized all clients imports 2024-08-07 12:46:37 +02:00
Donkie
3bd93cb0af Removed React prefix to some use hooks 2024-08-06 14:28:09 +02:00
Donkie
00e35584f4 Fixed item cloning not handling extra fields properly
Resolves #424
2024-08-05 19:56:42 +02:00
Donkie
ac2829ef84 Added create filament page support for multi color 2024-06-08 22:56:13 +02:00
Donkie
ccd4026279 Fixed typing error in filament create form 2024-05-13 22:11:31 +02:00
Donkie
5a8d71fe70 Added import external filament in filament create form 2024-05-13 21:55:18 +02:00
Donkie
c65bc4201b Currency setting is now utilized in filament/spool lists, edit pages etc 2024-02-02 23:06:06 +01:00
Donkie
40d3a3184f Implemented extra fields for spools and vendors as well 2024-01-23 19:27:34 +01:00
Donkie
fb23024ed0 Extra fields now finished for filaments 2024-01-23 18:58:58 +01:00
Donkie
b0fbe7dea7 Formatted some client files 2023-12-17 20:36:13 +01:00
Connor Cleveland
a61c99b93d Add SaveAndAdd footer buttons to keep create consistent 2023-10-26 16:14:24 -05:00
Donkie
3f5902516c Added max values on density and diameter inputs
This is to prevent accidentally putting in a too big value
2023-10-10 20:45:27 +02:00
Donkie
30d4019d7d Number inputs now show error if bad value
Previously it just prevented you from inputting it, which was a bit bad UX
2023-10-10 20:45:01 +02:00
Donkie
bdc47fd0a2 Localized create filament page title 2023-10-08 17:45:00 +02:00
Donkie
d03a9510a5 Client: Sort filament/vendor dropdowns 2023-08-13 12:11:15 +02:00
Donkie
6934748b14 Client: Enabled search in vendor/filament dropdown
Closes #60
2023-08-12 21:10:44 +02:00
Donkie
0631c5f7a1 Client: Made decimals more consistent
Closes #58
2023-08-12 20:20:25 +02:00
Donkie
e81bf8b8e7 Client: Reformatted all files with new line length 2023-08-12 19:54:24 +02:00
Donkie
9fe37b315c Client: Added default exports to all pages 2023-07-13 22:56:54 +02:00
Donkie
f21834ce2d Client: Full localization, dynamic title 2023-07-13 22:20:54 +02:00
Donkie
517cbfc8b6 Client: Clarify weight/spool_weight a bit 2023-07-07 18:16:52 +02:00
Donkie
b1af320a54 Client: Stricter typing 2023-07-06 22:36:41 +02:00
Donkie
5ac96c7166 Client: Some type fixes 2023-07-06 18:16:20 +02:00
Donkie
fe85caa44b Client: Fixed filament clone fail if no vendor 2023-07-06 14:52:41 +02:00
Donkie
43a3e3f1f2 Client: Better locale comma support 2023-06-27 22:51:22 +02:00
Donkie
e24834f161 Client: Added clone button for filaments 2023-06-25 18:08:46 +02:00
Donkie
50abc5c74f Client: Added color edit 2023-06-03 21:33:14 +02:00
Donkie
7c7ee9296c Added extruder/bed temp override settings
Closes #4
2023-05-28 21:52:51 +02:00
Donkie
77a3f65111 Client: Fixed model interfaces exports 2023-05-14 20:09:55 +02:00
Donkie
43919ac90e Client: Filament/Vendor selects now work 2023-05-14 20:06:17 +02:00
Donkie
0269518175 Added a basic web UI 2023-05-10 21:11:10 +02:00