From c9bf46e309b49d7b360d5a602b893ea973840a94 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 8 Jan 2026 13:07:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=20UI.=20=D1=81=D0=B5=D0=B9=D1=87=D0=B0=D1=81=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=B1=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gemini/settings.json | 10 + TODO.md | 7 + app/components/HabitCard.vue | 36 ++- app/components/OnboardingFunnel.vue | 470 ++++++++++++++++++++-------- app/components/VillageGrid.vue | 154 +++++++-- app/layouts/default.vue | 3 +- app/pages/habits.vue | 101 +++--- app/pages/index.vue | 351 +++++++++++++++++++-- app/pages/leaderboard.vue | 6 +- app/pages/login.vue | 4 +- app/pages/village.vue | 259 ++++++++++----- assets/bugs/onboarding_mobile.jpg | Bin 0 -> 57490 bytes assets/bugs/village_bug.jpg | Bin 0 -> 120652 bytes assets/css/main.css | 98 +++--- server/utils/economy.ts | 14 +- 15 files changed, 1136 insertions(+), 377 deletions(-) create mode 100644 .gemini/settings.json create mode 100644 TODO.md create mode 100644 assets/bugs/onboarding_mobile.jpg create mode 100644 assets/bugs/village_bug.jpg diff --git a/.gemini/settings.json b/.gemini/settings.json new file mode 100644 index 0000000..4cda8c1 --- /dev/null +++ b/.gemini/settings.json @@ -0,0 +1,10 @@ +{ + "mcpServers": { + "chrome-devtools": { + "command": "npx", + "args": [ + "chrome-devtools-mcp@latest" + ] + } + } +} \ No newline at end of file diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..5b82d43 --- /dev/null +++ b/TODO.md @@ -0,0 +1,7 @@ +Начисление бонусов происходит про посещении страницы /village . А надо на уровне роута сделать, у залогиненного пользователя, что бы при посещении любой страницы происходила расчистка, и если расчистка закончена, выбирался новый тайл для расчистки. + +У нас в БД lastExpAt и CleaningStartAt это UTC дата Стрингом. А выполнение привычки идёт как Date. И стрик тоже Date считается. Сделать так же UTC, однотипно. + +Так как дата UTC, не учитывается часовой пояс. как то это надо пофиксить + +На лидербордах не показывать пользователей анонимусов (они без имени) \ No newline at end of file diff --git a/app/components/HabitCard.vue b/app/components/HabitCard.vue index 30ab9cc..a7d16f9 100644 --- a/app/components/HabitCard.vue +++ b/app/components/HabitCard.vue @@ -1,18 +1,10 @@