Skip to content

Releases: xbbkok/dsh-user-profile

v1.0.0 — 可改用户名和头像

Choose a tag to compare

@xbbkok xbbkok released this 20 Oct 03:35

First release: Settings → Profile sets a username and an avatar; both appear immediately in the sidebar account chip.

  • Settings page: username + avatar (center-cropped to 192×192) with live preview, Save and Reset
  • Sidebar: overlays the platform identity on the account trigger; Reset restores it exactly
  • Host: GET/POST /user-profile, atomic persistence (temp file + rename), mount heartbeat
  • Validation: 32 code points, PNG/JPEG/WebP data URLs only (SVG rejected), cross-origin writes refused with 403
  • zh/en dictionaries follow the DSH language setting; dsh.bundle.patch makes dsh plugin add mount it in one command
  • 19 offline checks: HTTP handler, package shape, slot registration, chip overlay and restoration under jsdom

Install: see the README. 中文说明见 README.zh.md.