From d1d0f588f40c1c452b88fbd281701bbaf211d20f Mon Sep 17 00:00:00 2001 From: Nick Kosarev Date: Mon, 15 Sep 2025 10:57:39 +0200 Subject: [PATCH 1/2] feat: flow item view --- .../app/components/EpicCard.vue | 4 +- .../app/components/Navigation.vue | 19 +- .../app/components/NavigationButton.vue | 3 +- .../app/components/flow/FeedbackAverage.vue | 4 +- .../app/components/flow/ItemCard.vue | 21 +- .../app/components/flow/KitchensOnline.vue | 2 +- .../components/flow/OrderAmountAverage.vue | 4 +- .../app/components/flow/OrdersOnline.vue | 2 +- .../app/composables/useNavigation.ts | 2 + .../app/pages/epic/[epicId]/index.vue | 4 +- .../app/pages/flow/[itemId]/index.vue | 27 +- .../atrium-telegram/app/pages/tasks/index.vue | 4 +- apps/atrium-telegram/app/stores/flow.ts | 27 + apps/atrium-telegram/app/stores/user.ts | 6 + .../server/api/flow/id/[itemId]/view.post.ts | 39 + apps/atrium-telegram/shared/types/index.ts | 3 +- packages/database/src/repository/flow.ts | 13 +- packages/database/src/tables.ts | 26 + packages/database/src/types.ts | 3 + pnpm-lock.yaml | 1534 ++++------------- pnpm-workspace.yaml | 4 +- 21 files changed, 552 insertions(+), 1199 deletions(-) create mode 100644 apps/atrium-telegram/server/api/flow/id/[itemId]/view.post.ts diff --git a/apps/atrium-telegram/app/components/EpicCard.vue b/apps/atrium-telegram/app/components/EpicCard.vue index 339cfd7d..31eef81d 100644 --- a/apps/atrium-telegram/app/components/EpicCard.vue +++ b/apps/atrium-telegram/app/components/EpicCard.vue @@ -2,11 +2,11 @@ -

+

{{ epic.title }}

-
+
{{ epic.description }}
diff --git a/apps/atrium-telegram/app/components/Navigation.vue b/apps/atrium-telegram/app/components/Navigation.vue index 12518b30..c3d81f5b 100644 --- a/apps/atrium-telegram/app/components/Navigation.vue +++ b/apps/atrium-telegram/app/components/Navigation.vue @@ -1,5 +1,20 @@