zai-org / zai-org/feedback

[BUG] Mobile Web Remote (zcode.z.ai): Context Window / Quota Button Unclickable on Touch Devices (CSS onHover event lock)

Open
#454 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2
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 onClick or onTouchStart touch 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.