Donkie
3bd93cb0af
Removed React prefix to some use hooks
2024-08-06 14:28:09 +02:00
Donkie
701ed2fae6
Added button to adjust filament
...
Resolves #428
Resolves #30
2024-08-06 11:34:47 +02:00
Donkie
48ef3a23f2
Fixed client showing wrong spool price if overridden to 0
...
Resolves #431
2024-08-05 19:43:05 +02:00
Donkie
f3711f3789
Formatting
2024-08-05 19:26:35 +02:00
Donkie
5afe53e05b
Merge pull request #423 from tzahari/master
...
Optimized list views
2024-08-05 19:16:50 +02:00
Donkie
f8c518e808
Added print page header and back functionality
2024-08-05 18:11:44 +02:00
Donkie
9318ef5c19
Label printing page updates
...
No longer a modal
Use flex divs instead of a table
2024-08-05 15:39:38 +02:00
Thomas Zahari
7e87751caf
Added right alignment for NumberColumns and price
...
Removed seconds from date / times
Removed decimals from spool length and weight
2024-07-12 16:42:26 +02:00
Donkie
f1b27b441d
New spool icon updates
2024-06-11 17:09:54 +02:00
Donkie
e2df888e96
New spool color indication that supports multi colors
2024-06-09 19:23:43 +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
4d65dea1e9
Fixed sorting by filament in spool page
...
Previously it sorted by filament ID which gave wonky results, now it properly sorts by filament combined name instead
Resolves #219
2024-01-30 18:20:53 +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
pdsccode
577ed1e680
Changed to show filament price if no spool price set and added tests
2024-01-06 21:42:09 +01:00
pdsccode
1eb78f01df
Added pricing field for single spool
2023-12-30 07:29:27 +01:00
Donkie
53b0875569
Re-ordered action list to have the show button be first
2023-10-30 22:30:11 +01:00
Donkie
bc55f5e9af
Fixed table layout being fixed by the new sticky headers
...
This caused the columns to not get auto-sized, which broke it especially bad on iOS
2023-10-30 22:30:01 +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
e31aeebe97
Added sticky table headers
...
Resolves #133
2023-10-29 19:00:45 +01: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
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
f722adec22
Client: Fixed incorrect column name keys
2023-09-16 13:47:50 +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
ecabc425c3
Client: Rich URLs in comments
...
Closes #51
2023-08-12 20:59:37 +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
475e64ff48
Client: Added a spool selection dialog
2023-07-30 09:54:33 +02:00
Donkie
3cab6166a3
Client: Created general useSavedState function
2023-07-15 14:38:40 +02:00
Donkie
7971cda7b5
Client: Support spool archiving in frontend
2023-07-14 14:21:47 +02:00
Donkie
346e59151f
Client: Added material column in spool table
2023-07-14 12:07:27 +02:00
Donkie
bfb63cbfdc
Client: Added some missing columns in table
...
Also configured the default columns to show
2023-07-14 12:05:05 +02:00
Donkie
14e758ea23
Client: Added translation for Unknown
2023-07-14 12:04:35 +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
e5ef306aa2
Client: Added show/hide columns feature
2023-07-13 19:12:38 +02:00
Donkie
c8974c505d
Client: Improved layout of new spool icon
2023-07-10 12:40:32 +02:00
Donkie
9561111b90
Client: Added a colored spool icon in the lists
...
To indicate the filament color_hex field
Resolves #23
2023-07-08 23:21:13 +02:00
Donkie
eeac30a963
Client: Fixed up pagination, now also stored
2023-07-06 23:18:39 +02:00
Donkie
58833f2203
Client: Apply some memoization
2023-07-06 23:00:08 +02:00
Donkie
b1af320a54
Client: Stricter typing
2023-07-06 22:36:41 +02:00
Donkie
30934842ff
Client: Save/load state cleanup, sync with rest
2023-07-06 19:49:04 +02:00
Donkie
3c8e414aef
Client: Make table use the refine sorters/filters
...
That way, Refine is in charge of the sorters/filters state, instead of Refine and AntD each having their own state for it.
2023-07-06 19:32:48 +02:00
Donkie
391d38a3a5
Client: Moved defaultSortOrder func to utils
2023-07-06 18:59:26 +02:00
Donkie
2b33f73b28
Client: Typing for spool and vendor useTable
2023-07-06 16:41:25 +02:00
Donkie
096f75ffb5
Client: Sort state is now saved in local storage
2023-07-06 16:18:14 +02:00
Donkie
4c17b8ea30
Client: Perform pagination using AntD instead
...
If we let Refine do the pagination, it will only return a page's worth of items in the dataSource. This makes the sorting useless if the items span multiple pages.
Now we let Ant Design to the pagination instead.
2023-07-06 16:06:04 +02:00