Skip to content

fix(ui): drop the duplicate disabled:file:opacity-50 token missed by … - #1300

Merged
BigSimmo merged 2 commits into
mainfrom
claude/fix-file-input-disabled-dup
Jul 28, 2026
Merged

fix(ui): drop the duplicate disabled:file:opacity-50 token missed by …#1300
BigSimmo merged 2 commits into
mainfrom
claude/fix-file-input-disabled-dup

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

…a merge race

PR #1056 replaced disabled:file:opacity-50 with disabled:opacity-50 on the upload , but a concurrent PR edited the same className line in the merge window. GitHub's 3-way squash merge union'd both edits instead of letting one supersede, so main ended up with BOTH tokens: ... disabled:opacity-50 disabled:file:opacity-50.

The surviving disabled:opacity-50 dims the disabled input correctly, but the leftover disabled:file:opacity-50 is exactly the class #1056 removed: Tailwind compiles it to a :disabled pseudo-class after the ::file-selector-button pseudo-element, which is invalid CSS, so Turbopack drops the rule and re-logs the recurring globals.css parse error in dev.

Remove the stray token. Verified with the project's own @tailwindcss/postcss transform: generated invalid ::file-selector-button:disabled selectors 1 -> 0.

Summary

Verification

  • npm run verify:pr-local

During development, use npm run verify:cheap as the faster iteration gate before the final PR-local preflight.

  • npm run verify:ui when UI, routing, styling, browser behavior, reduced-motion, or forced-colors behavior changed
  • npm run verify:release before release or handoff confidence claims

For retrieval, ranking, selection, chunking, source/citation rendering, or answer-contract changes, verify:pr-local runs eval:rag:offline automatically. Run the offline command directly during iteration before spending a live eval.

  • npm run eval:retrieval:quality (must stay 36/36) when retrieval, ranking, selection, chunking, or scoring behavior changed — CI cannot run it (needs live keys), so run it locally and paste the summary. A metadata/governance-weighting change once buried correct docs (recall 1.0→0.76) and only this eval caught it.
  • npm run eval:rag -- --limit 15 + npm run eval:quality -- --rag-only when answer generation, the synthesis prompt, or answer post-processing changed (grounded-supported must not drop; citation-failure 0)
  • npm run check:production-readiness when clinical workflow, privacy, environment, Supabase, source governance, or deployment behavior changed
  • npm run check:deployment-readiness when deployment startup, hosting, or rollout behavior changed

Risk and rollout

Complete this section for clinical, data, API, auth/privacy, workflow, dependency, build, or deployment changes.

  • Risk:
  • Rollback:
  • Provider or production effects: None / describe the explicitly authorized effect

Clinical Governance Preflight

Complete this section when the change touches ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output.

  • Source-backed claims still require linked source verification before clinical use
  • No patient-identifiable document workflow was introduced or expanded without explicit governance approval
  • Supabase target remains Clinical KB Database (sjrfecxgysukkwxsowpy)
  • Service-role keys and private document access remain server-only
  • Demo/synthetic content remains clearly separated from real clinical sources
  • Source metadata, review status, and outdated/unknown-source behavior remain conservative
  • Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed

Notes

…a merge race
PR #1056 replaced `disabled:file:opacity-50` with `disabled:opacity-50` on the upload
<input type="file">, but a concurrent PR edited the same className line in the merge window.
GitHub's 3-way squash merge union'd both edits instead of letting one supersede, so main
ended up with BOTH tokens: `... disabled:opacity-50 disabled:file:opacity-50`.
The surviving `disabled:opacity-50` dims the disabled input correctly, but the leftover
`disabled:file:opacity-50` is exactly the class #1056 removed: Tailwind compiles it to a
`:disabled` pseudo-class after the `::file-selector-button` pseudo-element, which is invalid
CSS, so Turbopack drops the rule and re-logs the recurring globals.css parse error in dev.
Remove the stray token. Verified with the project's own @tailwindcss/postcss transform:
generated invalid `::file-selector-button:disabled` selectors 1 -> 0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@supabase

supabaseBot commented Jul 28, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitaiBot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in:41 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 377c65bd-4f50-4b34-9cec-45b67ed3ff34

📥 Commits

Reviewing files that changed from the base of the PR and between 2381ad5 and 3f43c5f.

📒 Files selected for processing (1)
  • src/components/clinical-dashboard/DocumentManagerPanel.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/fix-file-input-disabled-dup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@BigSimmo
BigSimmo enabled auto-merge (squash) July 28, 2026 02:31
@BigSimmo
BigSimmo merged commit 7d8b1a6 into mainJul 28, 2026
18 checks passed
@BigSimmo
BigSimmo deleted the claude/fix-file-input-disabled-dup branch July 28, 2026 02:34
Sign up for freeto 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.

1 participant

@BigSimmo