Skip to content

feat: add qwen frontend UI#202

Merged
vakovalskii merged 1 commit into
vakovalskii:mainfrom
dorogao5:feat/qwen-frontend
Apr 21, 2026
Merged

feat: add qwen frontend UI#202
vakovalskii merged 1 commit into
vakovalskii:mainfrom
dorogao5:feat/qwen-frontend

Conversation

@dorogao5
Copy link
Copy Markdown
Contributor

Adds Qwen Code UI support across the dashboard frontend.

What changed

  • Filters & badges: qwen chip, sidebar item, calendar view, active-session badges
  • Session list & detail: tool labels, colors, resume/copy commands via getResumeCommand
  • Analytics: per-agent cost bars with getToolLabel, unavailable-pricing indicator
  • Heatmap: per-tool breakdown including qwen + cursor + claude-ext colors
  • Leaderboard: qwen agent label
  • Install command reference for Qwen Code

Depends on

This is PR 2 of 3.

Copy link
Copy Markdown
Collaborator

@NovakPAai NovakPAai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

⚠️ Cross-file function dependencies rely on script load ordergetToolLabel(), getResumeCommand(), and getConvertTargets() are defined in app.js but called from analytics.js, detail.js, and heatmap.js. This works only if app.js is always loaded first. If the HTML script order ever changes, or if any of these files are loaded independently in tests, you'll get ReferenceError.

Suggestion: either export these as a shared module, or add a comment near the definitions noting the load-order dependency so future contributors don't accidentally break it.

⚠️ TOOL_META is incompletekilo, droid, kimi, and copilot are not in the map. They'll fall back to raw tool name via || { label: tool || 'unknown', ... }, which is fine as a fallback, but the heatmap and card badges will show unstyled labels for these tools.

ℹ️ getEstimatedSessionCost returns 0 for Qwen — this is correct (Qwen doesn't store cost data locally). Just make sure this is also applied consistently once other no-cost agents (Kimi, Droid, Copilot) are merged in.

Copy link
Copy Markdown
Owner

@vakovalskii vakovalskii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — nice centralization via TOOL_META + getToolLabel/getResumeCommand/getConvertTargets helpers (mirrors backend refactor in #201). All scattered label maps and switches collapsed into one source of truth.

@vakovalskii vakovalskii merged commit 7551330 into vakovalskii:main Apr 21, 2026
@vakovalskii vakovalskii mentioned this pull request May 25, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants