ux(ui): beginner-friendly guidance across trainee/admin flows + fix AdminUsers to username

- Chat: add 'How to practice' guide card; render revealed persona as readable
  label:value grid instead of JSON.
- AdminUsers: switch create form to username (matches username login), add step guide,
  role explanation (user=ฝึก, admin=ดูแลระบบ).
- Analytics (admin overview) + MyBoard (personal): add plain-Thai explainer subtitle.
- Rebuild dist. Verified user create with username -> 201.
This commit is contained in:
Macky
2026-08-08 10:34:24 +07:00
parent 39d1aa04e4
commit 22d3e51980
29 changed files with 103 additions and 38 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div>
<h2>📊 {{ i18n.t('myDashboard') }}</h2>
<div>
<h2 style="margin:0">📈 {{ i18n.t('myDashboard') }}</h2>
<div class="muted" style="margin-top:4px;margin-bottom:16px">สรปผลการฝกของตวคณเอง าปดการขายไดคร งฝกกบใครบาง</div>
</div>
<!-- Win/Lose summary -->
<div class="row stat-row" v-if="!loading">