Commit Graph
59 Commits
Author SHA1 Message Date
Donkie 2c8d3602f0 Open actions menu on click instead of contextClick
context click is a bit hit-and-miss if it works on phones
2023-10-30 22:29:12 +01:00
Donkie 1bc3cfe586 Updated spool select modal with new table style 2023-10-29 20:47:51 +01:00
Donkie 151c3c7f4f Client Table update
* Columns are now specified using the ant design columns property instead of being Table.Column components. This should make this WoW a bit more sense, we're not pretending to be components anymore. column.tsx now only returns objects, not nodes.
* Added filament/spool collapsing as a useTable queryOptions so that the output object is directly the one we want, which will make the types play better together.
* Added a more unified record action system. This enables us to add actions to column rightclick/long press, which is better UX for mobile devices.
* Actions column is now hidden on smaller screens thanks to the above bullet.
2023-10-29 20:37:58 +01:00
Donkie 6324979913 Fixed client websocket URL converter TLS 2023-10-18 19:24:27 +02:00
Donkie f064ea589c Formatted all .ts files 2023-10-18 19:21:57 +02:00
Donkie 37ae1f7de1 Generalized the useLiveify hook 2023-10-15 21:20:56 +02:00
Donkie f7faa6ccdc Auto-update for added/deleted spools in client 2023-10-15 21:05:42 +02:00
Donkie aa28bd1f19 Updated client to support new message format 2023-10-15 21:04:34 +02:00
Donkie 0fab369518 Added live updates to spools in client
Will automatically refresh the list and show pages if any of the shown spools are updated in the backend.
On the edit page, it will warn you if the spool has been updated since you opened the page.
2023-10-15 15:28:08 +02:00
Donkie bec130d038 Minor ko-fi button fixes 2023-10-15 15:15:25 +02:00
Donkie 04a39b8230 Removed ts-expect-error 2023-10-14 12:42:40 +02:00
Donkie c790465857 Added tip button to bottom of page 2023-10-14 12:35:55 +02:00
Donkie f3be2a90d5 Updated client packages 2023-10-14 12:10:41 +02:00
Donkie 43168fc75e Added dropdown of existing locations in spool edit
Resolves #119
2023-10-10 20:21:23 +02:00
Donkie f967aef2cb Client: Fixed UI not handle empty filters properly 2023-09-20 20:56:29 +02:00
Donkie e8d91bc4ce Client: Show commit and build in version element 2023-09-17 11:11:05 +02:00
Donkie 91e4171ff8 Client: Added lazy-loading for filter drop downs 2023-09-16 11:13:30 +02:00
Donkie 58fdbb4d85 Client: Fixed spool select table formatting 2023-09-16 11:13:30 +02:00
Donkie 9c2504d073 Client: Added indeterminate state to spool select 2023-09-16 11:13:30 +02:00
Donkie dc5e3a0fbd Client: Filament name filtering/sorting now works 2023-09-16 11:13:30 +02:00
Donkie f62f9d899b Client: Now uses server side sorting
Still some stuff left to do #98
2023-09-16 11:13:30 +02:00
Donkie 1a031903de Start of serverside client tables 2023-09-16 11:13:30 +02:00
Donkie 99c43e6c5c Client: Fixed print dialog producing empty pages
Resolves #73
2023-08-14 20:14:52 +02:00
Donkie 4f8e0284bb Client: Fixed scanner camera not stopping
Resolves #71
2023-08-13 12:04:39 +02:00
Donkie 26d54d4ca2 Client: Added another error message in scanner 2023-08-13 12:04:17 +02:00
Donkie 8b048d30b2 Client: Added custom paper sizes
Resolves #67
2023-08-13 09:57:53 +02:00
Donkie ecabc425c3 Client: Rich URLs in comments
Closes #51
2023-08-12 20:59:37 +02:00
Donkie 5a8a5b185d Client: Notifications now appear in center instead
Closes #59
2023-08-12 20:38:26 +02:00
Donkie 7bdde571a7 Client: Fixed variable decimals amount in fields 2023-08-12 20:19:47 +02:00
Donkie e81bf8b8e7 Client: Reformatted all files with new line length 2023-08-12 19:54:24 +02:00
Donkie 163aa2badc Client: Added horizontal and vertical spacing 2023-08-12 15:52:43 +02:00
Donkie 153e891d6e Client: Added toggles for all label contents
Can now print spool/filament/vendor comments on the labels.
Translated label contents
2023-08-12 15:36:49 +02:00
Donkie 3662d89575 Client: Cleaned up layout form with collapsibles 2023-08-12 15:03:45 +02:00
Donkie 2b489a3866 Client: Added ability to skip X items 2023-08-10 21:46:38 +02:00
Donkie 3f18c32c8a Client: Replaced block-system with safe-zone 2023-08-10 21:40:30 +02:00
Donkie ec80973f96 Client: Added some info to qr code printing label 2023-08-09 18:50:04 +02:00
Donkie 6ca18b8f94 Client: Improved scanner error if not HTTPS 2023-08-08 21:31:45 +02:00
Donkie f552affa98 Client: Scanner translations update 2023-08-03 22:31:09 +02:00
Donkie b95443228c Client: Removed unsetting lasterror 2023-08-03 22:27:20 +02:00
Donkie edd75e86be Client: Switched to react-qr-scanner 2023-08-03 22:26:17 +02:00
Donkie 3eda3580f6 Client: Added simple qr code scanner 2023-08-03 21:51:49 +02:00
Donkie d7ccd24257 Client: Add ability to block rows/columns in print
Also fixed some issues with drawing the border
2023-08-02 21:55:46 +02:00
Donkie 437213c7d4 Client: QR print updates
* Added grid borders
* Replaced row height with instead choosing number of rows
* Added support for negative margins
* New QR code content format
* Added number inputs to all sliders
2023-08-02 21:00:36 +02:00
Donkie 0043f536ee Client: Translations for qr code stuff
Also added error if no spools were selected
2023-07-30 10:20:46 +02:00
Donkie 475e64ff48 Client: Added a spool selection dialog 2023-07-30 09:54:33 +02:00
Donkie 42373baa03 Client: Moved form units to tooltip 2023-07-30 09:51:49 +02:00
Donkie 78cccfa2aa Client: Abstracted out the printing dialog 2023-07-15 15:24:06 +02:00
Donkie 884b380b8c Client: Moved QR code printing dialog 2023-07-15 14:40:14 +02:00
Donkie 06e53d05dc Client: Created QR code printing dialog component 2023-07-15 14:39:20 +02:00
Donkie a54e28d353 Client: Fixed fallback language 2023-07-15 11:01:25 +02:00