[BUG] Mobile Web Remote (zcode.z.ai): Context Window / Quota Button Unclickable on Touch Devices (CSS onHover event lock)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 22
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
In the ZCode Mobile Web Remote Control UI (zcode.z.ai), tapping the "Context windows / Usage remaining" indicator button (the ring status icon next to the prompt input bar) does not open the usage / context window popover modal on mobile touch browsers (iOS Safari, Mobile Firefox, Android Chrome).
Environment & Platform Details
- UI Component: ZCode Mobile Web Remote Control (
zcode.z.ai) - Devices Tested: Mobile browsers (iOS Safari, Firefox on iOS 27 beta, Android Chrome)
- Original Discord Report: Discord Thread #1539465401522593794
- User Reference: @kinti
- Attention: @PanPan | ZCode
Root Cause Analysis
The desktop Web UI triggers the Context Window / Usage popover modal using an onHover CSS/JS event handler.
On mobile touch devices:
- Hover pointer states (
onHover) are not supported natively during touch interaction. - Because there is no explicit
onClickoronTouchStarttouch event handler bound to the context window ring icon button, tapping the button fails to open the popover on mobile browsers (zcode.z.ai).
Expected Behavior
Tapping the Context Window / Usage indicator ring icon on mobile touch devices should open the context popover modal via onClick / onTouchStart event triggers.
Proposed Fix
Bind an explicit onClick / onTouchStart event handler to the context indicator button component in the zcode.z.ai Web Remote Control frontend build, ensuring touch device taps toggle the popover visibility state.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files, tests, or code entry point; begin by locating the context-window/usage indicator component in the zcode.z.ai frontend. Verify the interaction on iOS Safari, mobile Firefox, and Android Chrome, and consider the issue complete when tapping the indicator opens its context popover on those touch devices without breaking desktop behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100