Commit Graph

4 Commits (adf0cd36ca9ffb2de1b60400ef15edec393f4c29)

Author SHA1 Message Date
veypi adf0cd36ca refactor(ui): simplify role management UI and auth flow
- Replace permission selector dialog with inline add form (scope/id/level)
    - Replace per-user role API calls with batch PUT /api/roles/{id}/users
    - Add isLogin() async method with lazy _ensureAuth initialization
    - Clean up login page CSS: replace hardcoded colors with CSS variables
    - Add Chrome autofill style override for dark theme support
    - Use @submit.prevent instead of manual e.preventDefault()
    - Remove redundant inline comments from script sections
3 weeks ago
veypi 7022c2b52f refactor(ui): Replace axios with fetch in all pages and extract auth layout
- Replace all $axios calls with native fetch across 8 page files
    - Add inline send-code button to login page code flow
    - Extract animated bubble background into shared auth layout
    - Restructure langs.json with zh-CN first, add new i18n keys
    - Add scoped langs.json for auth.send_code translation
    - Wire auth layout to login and callback routes
    - Fix mobile sign-up panel transform direction
    - Use onAuthSuccess for login/register code flows
3 weeks ago
veypi da20940c13 feat(ui): Add role detail modal with permission and user management
- Add role detail dialog with tabs for permissions and users
    - Implement permission selector with level badges (create/read/write/admin)
    - Add user management with avatar display and search functionality
    - Add i18n translations for new role management features
    - Update default DB charset from utf8 to utf8mb4
3 months ago
veypi 691f1df75b feat: 添加角色管理模块(API + UI) 4 months ago