Skip to content

Fix demo status labels: legit/fail instead of triggered/clear#4

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/demo-status-labels-5f5b
Jun 22, 2026
Merged

Fix demo status labels: legit/fail instead of triggered/clear#4
cursor[bot] merged 2 commits into
mainfrom
cursor/demo-status-labels-5f5b

Conversation

@okasi

@okasi okasi commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes misleading status labels in the live demo.

Problem

Positive checks like isUserAgentValid, isWebGLSupported, and isModern showed triggered when they passed, because all flags were treated as bot indicators.

Fix

  • legit — check passed (good)
  • fail — check failed (bad)
  • n/a — shader-f16 when not applicable

Behavioral signals use the same legit / fail labels.

Test plan

  • Open demo, run instant checks — UA/WebGL/modern should show legit
  • Simulate webdriver — related flags should show fail
Open in Web Open in Cursor 

Positive checks (UA, WebGL, modern browser) now show legit when passing.
Negative checks show fail when flagged. Behavioral signals use the same labels.

Co-authored-by: okasi <okasi@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Jun 22, 2026
Resolve footer conflict with detect-bot-client URLs. Apply legit/fail
label fixes from PR #4: positive checks show legit when passing, filter
chips use Fail/Legit instead of Triggered/Clear.

Co-authored-by: okasi <okasi@users.noreply.github.com>
Co-authored-by: okasi <okasi@users.noreply.github.com>
@cursor cursor Bot merged commit 7778588 into main Jun 22, 2026
1 check passed
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.

2 participants