Commit Graph

188 Commits

Author SHA1 Message Date
seb
8d50d083f5 stable 2026-08-06 07:39:30 +02:00
seb
27fd5d3e94 Add Kunde CRUD with addresses/contacts, delivery edit, and Auftrag sub-nav.
Wire customergroup/entity APIs, Lieferungen detail editing, and Angebot/Bestellung/Ausliefern/Retoure placeholders.
2026-08-06 07:38:23 +02:00
seb
1ee29399ff Add Lieferungen section with supplier CRUD and delivery create/list.
Wire /lieferung sub-nav (list, neu, lieferanten) to supplier and delivery APIs.
2026-08-06 05:32:59 +02:00
seb
1e0fedca3d u 2026-08-06 00:40:27 +02:00
seb
d8b48d96e1 u 2026-08-06 00:32:22 +02:00
seb
855710a198 u 2026-08-06 00:19:21 +02:00
seb
80ca59ab11 u 2026-08-05 23:54:20 +02:00
seb
caf08a3262 u 2026-08-05 20:15:39 +02:00
seb
ff79d5b92c u 2026-08-05 19:25:43 +02:00
seb
bbec785d7c i 2026-08-05 19:11:12 +02:00
seb
9fcee1f851 u 2026-08-05 19:05:36 +02:00
seb
4ccc92c01f Replace panel tileKey with a direct color prop.
Drop theme panelTiles keys and the ArticleView update callback wiring.
2026-08-05 18:38:21 +02:00
seb
1fda43b20d u 2026-08-05 18:17:48 +02:00
seb
0c12d99987 Drop tile titles and tileKey from article detail boxes. 2026-08-05 17:36:18 +02:00
seb
4352a02d4e Gate article detail on a store-backed cache so the view paints once.
Sku page loads/caches the article before mounting ArticleView; the view reads sync from StorageManager instead of fetching again.
2026-08-05 17:31:12 +02:00
seb
198e800fd3 sotre 2026-08-05 17:01:42 +02:00
seb
7cecb3dd1f Skip success toast and saving flag on editable panel save. 2026-08-05 10:58:14 +02:00
seb
c1545b6114 Have historyWatch report errors via notifyError instead of an onError callback. 2026-08-05 09:54:33 +02:00
seb
44d69e541c Watch article history over SSE so the tab stays current while open. 2026-08-05 09:48:30 +02:00
seb
60e6858fd5 Show article history in a table via GET /article/{sku}/history. 2026-08-05 09:35:47 +02:00
seb
debd246012 u 2026-08-05 08:48:12 +02:00
seb
a88a11224f u 2026-08-05 08:42:29 +02:00
seb
66f88e395b u 2026-08-05 08:40:12 +02:00
seb
a9e942df7a u 2026-08-05 08:19:13 +02:00
seb
3000d7d45c u 2026-08-05 07:29:36 +02:00
seb
89f8804a69 u 2026-08-05 07:25:40 +02:00
seb
d87047bfe3 u 2026-08-05 07:15:18 +02:00
seb
b720c6ee25 u 2026-08-05 07:07:18 +02:00
seb
406684f4a2 slug fix 2026-08-04 01:35:48 +02:00
seb
dc956c4e60 export 2026-08-04 01:24:34 +02:00
seb
aa543f8631 Refactor section title toggles into reusable ElevatedPill components 2026-08-04 00:01:51 +02:00
seb
8f371749c6 u 2026-08-03 23:43:57 +02:00
seb
d47f0ffa0d autocompl 2026-08-03 22:14:34 +02:00
seb
686a192b1a fix: properly sync category lists when article categories change
- Update patchArticleInLists reducer to add/remove articles from category lists
- Articles are now correctly added to rootArticles and current category's articles
- Articles are correctly removed when no longer in a category
- Remove unnecessary loadCategoryTree dispatch (reducer handles sync now)
2026-08-03 09:17:50 +02:00
seb
78be835388 Add category picker to article view with draft-based editing
- Add setCategories API method for PUT /api/article/:sku/categories
- Create CategoryPickerDialog component for selecting categories
- Add CategoryPills component with add/remove functionality
- Category changes are now draft-based (like name editing)
- Save button commits both name and category changes together
- Delete icons hidden when only one category remains
- Plus button only visible in edit mode

Implements category assignment flow similar to name editing pattern.
2026-08-03 08:57:32 +02:00
seb
26d7c4a021 Keep category pills visible in article name edit mode 2026-08-03 08:41:14 +02:00
seb
7ed6802070 Show category pills in article name view, delay new article button until loaded
- Display category breadcrumb chips below article name in ArticleViewName
- Only show NewArticleTile when articles are successfully loaded
2026-08-03 08:39:22 +02:00
seb
eb1b171d2e Remove unused imports and mapped props
- Remove selectAuthUser import and user prop from CompanySettingsDialog
- Remove toggleCategoryPos from kategorien imports and mapDispatchToProps
2026-08-03 08:09:39 +02:00
seb
f8c7d078a7 Remove unreachable 'Terminalname ist erforderlich.' guard in CompanySettingsDialog 2026-08-03 08:07:35 +02:00
seb
30ccda010f Remove unnecessary notistacks and dead terminal enable/disable code
- Remove 'Artikel angelegt.' snackbar from NewArticleTile
- Remove 'Kategorie angelegt.' snackbar from NewCategoryTile
- Remove dead handleEnableAllCategories method and binding from CompanySettingsDialog
2026-08-03 08:06:28 +02:00
seb
404a7f4fce Add category image upload with thumbnail backdrop in category tiles
- Add category image API methods (upload/delete) to src/api/index.js
- Add uploadCategoryImage/deleteCategoryImage thunks and extraReducers in categorySlice
- Add CategoryBackdrop component showing ThumbHash placeholder with full thumb overlay
- Add photo upload/delete tab to CategoryEditTile settings cycle
- Category tile label band uses semi-transparent black overlay with white text
- Pass thumbHash/fullHash to both CategoryTile and CategoryEditTile
2026-08-03 07:57:44 +02:00
seb
4bbe9caf55 Directly patch posterminalIds in Redux instead of reloading the category tree
After toggling a POS category, update the category's posterminalIds array
in-place rather than re-fetching the entire tree. This keeps the settings
cycle open on the same terminal. Also fix off-by-one in terminal cycling
and ensure posterminals load on category page mount.
2026-08-03 07:22:08 +02:00
seb
f302eb9e67 u 2026-08-03 07:13:42 +02:00
seb
4db4948090 u 2026-08-03 05:11:50 +02:00
seb
5b5c77f870 u 2026-08-03 03:57:12 +02:00
seb
add436aba0 u 2026-08-03 03:07:36 +02:00
seb
6d01f1f0a0 u 2026-08-03 02:53:46 +02:00
seb
8577a63b06 u 2026-08-03 00:22:46 +02:00
seb
52e4d3d9c9 u 2026-08-02 22:53:35 +02:00
seb
2dd14bac91 Add category rename and drag-and-drop reordering in edit mode
- Edit toggle behind the "Kategorien" title enables an edit mode.
- In edit mode all category tiles become inline rename fields (no outline,
  distinct background, small margins); articles and "new article" are hidden.
- Rename via PATCH /api/category/:id; reorder via PUT /api/category/order
  (parentId + categoryIds) with SortableJS.
- Only call backend when order actually changed; revert DOM order on error
  so further dragging keeps working.
- Redux: renameCategory + reorderCategories thunks, renameMode state.
2026-08-02 19:43:38 +02:00