Commit Graph
68 Commits
Author SHA1 Message Date
spacelord 9ab12118a0 Replaced console.log calls with custom logger ones 2023-06-27 19:03:38 +02:00
spacelord 578b21d4b5 Add parsing infrastructure for prisma schema 2023-06-27 18:51:15 +02:00
spacelord 24a9deae62 Fixed some Bugs in configHandler 2023-06-27 16:35:24 +02:00
spacelord f249a4552c Frontend update 2023-06-06 23:49:16 +02:00
spacelord 3b1e4a7cde Unified error messages/structure / Added item api route.
- Introduce new error output structure to api routes.
- It is now possible to create new items via api.
2023-06-06 23:48:59 +02:00
spacelord ce31beb1a8 manufacturer is now optional in DB schema 2023-06-06 23:02:43 +02:00
spacelord e11bea21ea Fixed default route 2023-06-06 23:02:19 +02:00
spacelord 2dd52a0c1d Centered modal 2023-05-23 22:45:00 +02:00
spacelord 1f85dd5710 Added status dropdown to item-create/edit modal 2023-05-23 22:43:51 +02:00
spacelord 50d98c0894 Added shadow to navbar 2023-05-23 22:42:22 +02:00
spacelord 74db923058 Removed unnecessary comment / Fixed formatting 2023-05-23 22:18:42 +02:00
spacelord d5fcf94455 Added branding / Fixed navbar 2023-05-23 22:04:56 +02:00
spacelord 584b00c878 Fiexed layout in dbError 2023-05-23 21:58:46 +02:00
spacelord 2b5831fccb Renamed importedBy to createdBy 2023-05-23 21:57:32 +02:00
spacelord ce04e4ff1c Renamed inportedBy to createdBy in DB Schema 2023-05-23 21:56:12 +02:00
spacelord 7562f7005b Update prisma to the latest version 2023-05-23 21:55:47 +02:00
spacelord cfc28c5959 Current (non-working-frontend) state 2023-05-22 18:39:47 +02:00
spacelord b29550f429 Added contactInfo to item in DB Schema 2023-05-21 01:53:52 +02:00
spacelord 37649ec98e Fixed formatting in toastHandler 2023-05-21 01:45:27 +02:00
spacelord a8b0374d5e Fix variable declaration in toastHandler 2023-05-21 01:42:16 +02:00
spacelord 90dbadac24 Fixed the redirection loop in the pagination of /items
A redirection loop occurred when there were no items in the database.
2023-05-21 01:31:35 +02:00
spacelord 4145dafb7d Fixed toastHandler script-tag in frontend 2023-05-21 00:59:37 +02:00
spacelord 037d03cc50 Fixed triangles 2023-05-21 00:42:37 +02:00
spacelord b6ebda8fb5 Renamed normalizeToast to toastHandler 2023-05-21 00:42:05 +02:00
spacelord 1076c03f2c Removed unnecessary import 2023-05-21 00:03:39 +02:00
spacelord 713cadcba1 Fixed theme switcher 2023-05-20 22:04:46 +02:00
spacelord 9411f1ad72 Renamed items to contents 2023-05-20 22:03:39 +02:00
spacelord 259ec997c8 Removed sass 2023-05-20 22:02:49 +02:00
spacelord bd9f629690 The BIG frontend update 2023-05-16 22:58:08 +02:00
spacelord 04b5bd60f2 Implement storageLocation api 2023-05-16 22:19:36 +02:00
spacelord 90fc8068a0 Returning StorageLocations in storageUnit api. 2023-05-16 21:15:17 +02:00
spacelord 533bc1744d Add created id to response of category api 2023-05-16 18:01:10 +02:00
spacelord 64c14db183 Add created id to response of storageUnit api 2023-05-16 17:58:53 +02:00
spacelord e4295493f2 Implemented storageUnit api / Added error handling
- AFLOW-13
- Added check if an category entry already exists.
- Update precheck if all IDs are existing
2023-05-16 17:47:32 +02:00
spacelord b514e81764 Added some error handling to categories api
- AFLOW-13
- Added check if an category entry already exists.
- Update prechek if all IDs are existing
2023-05-16 17:41:55 +02:00
spacelord e82d16af3e Added vsls config. 2023-05-16 17:17:26 +02:00
spacelord 2285b3dd33 Fix formatting 2023-05-16 15:29:54 +02:00
spacelord 532b7b9fe2 Add current state 2023-05-16 00:05:39 +02:00
spacelord 3819d007a5 Removed sentry error handler 2023-05-16 00:03:54 +02:00
spacelord d7abadf6a6 Added stroageUnit to contactType enum in db Schema
- contactInfo in StorageUnit is not optional anymore.
2023-05-16 00:03:05 +02:00
spacelord d51b063918 Added Sentry prisma integration 2023-05-15 22:57:00 +02:00
spacelord 0c7c294823 Unified Category modal 2023-05-15 22:10:32 +02:00
spacelord 4bfd71f09f Added Sentry / Added comment 2023-05-15 21:58:01 +02:00
spacelord 6afdb4fcdd Added validation for category api route. 2023-05-15 19:07:13 +02:00
spacelord 3b9813a680 current state 2023-05-15 18:49:02 +02:00
spacelord b5314cb552 itemStatus is now optional in Prisma Schema 2023-05-15 18:48:37 +02:00
spacelord 9a05743cb3 Renamed pages 2023-05-15 15:34:28 +02:00
spacelord 38cd29943f Migrated route / Fixed import
- Migrate categoryManager to new route schema.
- Fiex csv Import description.
2023-05-15 15:27:55 +02:00
spacelord b1a73ebd4a Default route(404) is now Content-Type aware(json)
- Cleanup
2023-05-15 02:08:43 +02:00
spacelord 9c4eb3200e Removed unnecessary debug message. 2023-05-15 01:39:10 +02:00
spacelord ee61e94853 Fixed routing and publicInfoPage. 2023-05-15 01:37:51 +02:00
spacelord 1f2eb78333 Current state 2023-05-15 00:21:53 +02:00
spacelord 6344134a9e Added some prisma schema changes. (untested)
- Not fully implemented yet.
- Renamed ToDo -> TODO
2023-05-14 13:33:15 +02:00
spacelord 75a5580366 Renamed "All items" to "Items". 2023-05-14 13:11:01 +02:00
spacelord 55ae8d4c8f Moved nav items to right place.
- Applied conventions.
2023-05-13 01:02:11 +02:00
spacelord d7794da74b Added TODO -> Center table content. 2023-05-13 01:01:03 +02:00
spacelord 739ab7b9ee Changed printWidth to 225 in prettierrc. 2023-05-13 01:00:29 +02:00
spacelord 5ade4891b5 Added tooltips to SKU on Dashboard+Items
- Globally enabled all bootstrap tooltips.
2023-05-13 00:42:15 +02:00
spacelord 7a26537903 Cleanup
- Renamed All Items nav element to Items.
- Removed unnecessary comment.
- Disabled placeholder nav elements.
2023-05-13 00:06:50 +02:00
spacelord 3569c9ed4b Updated styles and Added storageManager.
- Dark/White-mode support
- Collapsible navs
- Renamed items template.
- StorageBuilding's are now StorageUnit's
- Formatting, general cleanup, some bug fixing.
2023-05-13 00:06:35 +02:00
spacelord 96853debe2 Moved to new route structure. 2023-05-10 23:05:55 +02:00
spacelord 7cfca9abac Add (partially-) working categoryManager.
- Added Body-Parser.
2023-05-08 23:30:19 +02:00
spacelord 27a0235a06 Added Prisma (DBML) Documentation Generator. 2023-05-06 20:48:58 +02:00
spacelord 884af9e487 Added Prisma Documentation Generator. 2023-05-06 20:30:32 +02:00
spacelord 95ec75b8d7 current state 2023-05-04 20:21:10 +02:00
spacelord e869615ec7 Add basic bootstrap dashboard with sample data. 2023-05-01 22:15:35 +02:00
spacelord 6f35764a21 Move sku route to right place. 2023-05-01 00:14:16 +02:00
spacelord 30c2cd4732 Fix routing. 2023-05-01 00:08:44 +02:00