Commit Graph

325 Commits

Author SHA1 Message Date
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
cda756557d Updated react qr scanner 2026-01-06 13:05:54 +01:00
Donkie
b627e151a8 Updated client packages 2026-01-06 01:54:09 +01:00
Donkie
9baf91380a Merge pull request #717 from ajford/spool_edit_weight_iss477
Fix Spool Edit page Empty Weight and Initial Weight bug
2026-01-05 22:58:42 +01:00
JakobGue
185c8b07e0 remove show spool count option from settings 2026-01-04 00:54:19 +01:00
ajford
25f78e90e6 Fixes #477 by defaulting to spool values first 2025-06-27 00:29:23 -05:00
JakobGue
d3181382ae add spool count in locations with a setting to enable / disable the display 2025-06-21 19:26:39 +02:00
Donkie
8bfb263858 Merge branch 'master' into master 2025-05-31 19:52:01 +02:00
Nícolas Pastorello
b6ed0cb6e9 Update index.tsx 2025-05-05 16:37:34 -03:00
Matt Gerega
4e10f1019d Add Measured Weight option to the filament adjustment modal #560 2025-03-20 16:52:14 -04:00
Charalampos Tsachakis
dbdad84120 Merge branch 'master' into adjust-spool-button-on-show 2025-03-19 09:07:08 +02:00
Donkie
dcb21f71cb Added auto focus to adjust spool input field
Resolves #585
2025-03-18 21:36:57 +01: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
3d1bb70913 Fixed not being able to change color picker format
Resolves #610
2025-03-18 21:09:19 +01:00
Donkie
6f01f372d6 Remove debug logging from numberFormatter function 2025-03-18 21:03:19 +01:00
Donkie
a775beb5bf Fixed wonky trailing zero removal
Resolves #623
2025-03-18 20:59:57 +01:00
Donkie
a94163dc1a Fixed empty default values extra field range breaking page
Resolves #652
2025-03-18 20:51:26 +01:00
Donkie
3fc2f712e3 Fixed a deprecation 2025-03-18 20:44:28 +01:00
Donkie
f041207db8 Fixed broken antd elements
Resolves #655
2025-03-18 20:38:48 +01:00
Donkie
dde468ed69 Add Japanese, Brazilian Portuguese, Tamil, and Thai locales to i18n.ts 2025-03-18 20:32:43 +01:00
Donkie
53d5fdf7e3 Remove country code flags in language selector 2025-03-18 20:31:53 +01:00
Pedro Lamas
3963ec6203 Reset multi-color when single color is selected 2025-03-12 18:10:26 +00:00
Donkie
cd274a9968 Updated client dependencies 2025-02-24 21:46:56 +01:00
Donkie
4b08f27614 Merge pull request #624 from bdchik/fix
Bug Fix:  Ensure the QR code favicon.svg honors the base path, when configured.
2025-02-24 21:04:19 +01:00
Donkie
58a6233e7b Merge pull request #582 from ErikMichelson/feat/round-prices-setting
Add setting to toggle rounding of prices
2025-02-24 20:56:44 +01:00
Donkie
03815687ff Merge pull request #526 from Pantastisch/feature/hex-color-code-in-filament-page
Add Color Code Display for Single Color Filaments
2025-02-24 20:48:31 +01:00
Charalampos Tsachakis
53da38e396 Added adjust spool button
Added adjust spool button to spools/show page
2025-02-12 11:31:11 +02:00
Brett Chik
c5878883a8 Link to print label from spool details page missing getBasePath() 2025-02-07 20:24:03 -08:00
Brett Chik
21befc2993 Ensure the QR code icon honors the base path, when configured. 2025-02-07 20:09:29 -08:00
Erik Michelson
e93f89aa51 Add setting to toggle rounding of prices 2024-12-30 01:07:38 +01:00
Panagiotis Doulgeris
6b2dbda354 Add possibility to exclude margin in spool icon for overview sites 2024-12-22 15:38:05 +01:00
Donkie
a3be91b89c Fixed not being able to clear price field
Resolves #525
2024-11-25 20:39:24 +01:00
Donkie
04920e463a Fixed number precision in locations page spool card 2024-11-25 19:07:24 +01:00
Donkie
46a9097491 Final locations updates 2024-11-24 15:04:20 +01:00
Donkie
d142b0eaec Include the custom locations in spool edit page 2024-11-24 14:51:15 +01:00
Donkie
0827cc8a5a Improvements to default location 2024-11-24 14:45:16 +01:00
Donkie
755e06c989 Now goes back to loc page on edit submit 2024-11-24 12:31:38 +01:00
Donkie
1a55855ce9 Some i18n stuff 2024-11-23 23:16:41 +01:00
Donkie
67c5b34bf5 Final touches on locations page 2024-11-23 22:42:47 +01:00
Donkie
bf06408368 Added reading and using of spool orders in locations 2024-11-20 21:57:01 +01:00
Donkie
ce42d687ed Some file rearranging 2024-11-20 21:08:43 +01:00
Donkie
37b6d1fcee Added ability to rename location 2024-11-20 21:00:39 +01:00
Donkie
5861190821 Fixed being able to create multiple locs of same name 2024-11-20 20:15:46 +01:00
Donkie
8d6f2636c5 Locations can now be drag-dropped around 2024-11-20 20:12:08 +01:00
Donkie
3dc0082f0e Added ability to add new location 2024-11-20 19:37:56 +01:00
Donkie
e4175e26ec Added a locations setting so empty locations are still kept around 2024-11-19 22:32:05 +01:00
Donkie
1eca7b2503 Added buttons to view/edit spools on locations page 2024-11-19 22:04:06 +01:00
Donkie
a4355967d0 Added basic locations page to easily move spools between locations 2024-11-19 21:49:29 +01:00
Donkie
502ea1ba8b Added Romanian, Persian and Traditional Chinese to list of select-able languages 2024-11-18 22:41:14 +01:00
Panagiotis Doulgeris
fd256bab95 Show hex color code in filament page and improve styling 2024-11-01 21:36:17 +01:00