Zavier
47fb1c4675
perf: reduce frontend login and dashboard friction ( #1447 )
...
Co-authored-by: apple <apple@MacbookPro-zbh.local >
2026-04-04 23:39:05 +08:00
shinchan-zhai
620eca08ec
fix: clean stale auth state on login/setup, unify language switcher
...
- LoginPage/SetupPage: clear localStorage auth tokens on mount
- AuthContext: clear onboarding state on register, invalidate config on logout
- Extract shared LanguageSwitcher component for consistent UI
- Merge duplicate config import in AuthContext
2026-04-04 23:39:05 +08:00
shinchan-zhai
886650cc0e
fix: guard short trader ID, i18n setup page, simplify onboarding UX
...
- main.go: prevent panic when trader ID < 8 chars
- SetupPage: add zh/en i18n labels
- BeginnerOnboardingPage: show private key by default, simplify code
2026-04-04 23:39:05 +08:00
Zavier
b9a33ce809
feat: improve user onboarding and setup UX ( #1436 )
...
* feat: add beginner onboarding and mode switching flow
* chore: ignore local gh auth config
* fix: restore kline fallback and align onboarding language
---------
Co-authored-by: zavier-bin <zhaobbbhhh@gmail.com >
2026-04-04 23:39:05 +08:00
tinkle-community
8e294a5eed
refactor: restructure project directories for better modularity
...
- Delete llm/ dead code (3 files, zero references)
- Split mcp/ into sub-packages: mcp/provider/ (8 providers) and
mcp/payment/ (4 payment clients) with registry pattern
- Export Client internal fields and ClientHooks interface for
sub-package access
- Split api/server.go (3892 lines) into 8 domain-specific handler files
- Split trader/auto_trader.go (2296 lines) into 5 focused files
- Reorganize web/src/components/ flat files into auth/, charts/,
trader/, common/, modals/, backtest/ subdirectories
- Update all consumer imports to use registry-based provider creation
2026-03-11 23:58:13 +08:00