GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(gui): clear remaining react-doctor code findings by Wibias · Pull Request #480 · lidge-jun/opencodex

Conversation

@Wibias

@Wibias Wibias commented Jul 26, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • Rewritten from the original combined follow-up: code fixes only (correctness/a11y + mechanical react-doctor findings).
  • Fixes effect cleanup, barrel→shared i18n imports, button types, dialog/menu roles, fetch status checks, loading finally resets, unused exports, toSorted/structuredClone, provider catalog polish, and related GUI issues.
  • Doctor policy/config (gui/doctor.config.json, gui/.react-doctor-ignores.md) moved to chore(gui): document intentional react-doctor policy disables #481 so this lands independently of intentional rule disables.

Note on doctor score

Full npx [email protected] --scope full 100/100 still needs #481 (rule disables for SPA fetch-in-effect, giant components / useReducer, parent sync effects, draft JSON editor derived state, etc.). This PR alone may leave policy-gated diagnostics.

Test plan

  • bun run lint:gui
  • bun x tsc -p gui/tsconfig.app.json --noEmit (same 3 pre-existing errors currently on dev)
  • Spot-check provider workspace filter menu, modals (backdrop dismiss), and Models provider collapse header
  • Confirm chore(gui): document intentional react-doctor policy disables #481 is reviewed for full doctor 100

Split

Companion policy/config: #481

Summary by CodeRabbit

  • Accessibility
    • Improved keyboard and focus behavior for expandable model/usage rows and tooltips (now button-based).
    • Updated multiple modals to use explicit backdrop-dismiss controls; added/adjusted ARIA labels and semantic list markup.
    • Enhanced “edit notes” UX by focusing the notes field when entering edit mode.
  • Provider Management
    • Refreshed provider workspace catalog tiering/sorting/status and reauth overlay behavior; improved provider name branding/display.
  • Bug Fixes
    • More reliable polling cancellation/timeouts and improved locale-aware number formatting performance (cached formatters).
    • Strengthened request/save error handling and state cleanup across configuration and key workflows.
  • Tests
    • Updated tests for models header behavior and provider workspace catalog/preset logic.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Wibias
Wibias requested review from Ingwannu and lidge-jun as code owners July 26, 2026 04:44
@coderabbitai

coderabbitai Bot commented Jul 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

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

Next review available in: 36 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: ASSERTIVE

Plan: Pro Plus

Run ID: 4fbcc9c0-3a02-4426-b97d-ffd6ddfad285

📥 Commits

Reviewing files that changed from the base of the PR and between 9f9bdd0 and a404a45.

📒 Files selected for processing (3)
  • gui/src/pages/use-providers-crud.ts
  • gui/tests/provider-overview-notes-save.test.tsx
  • gui/tests/use-providers-crud-update.test.tsx
📝 Walkthrough

Walkthrough

The GUI now uses shared i18n modules, explicit dialog backdrop controls, semantic interactive markup, safer async cleanup and HTTP handling, immutable sorting, cached number formatting, provider workspace tiering, and stable identifiers for Claude model mappings.

Changes

GUI cleanup and reliability

Layer / File(s) Summary
Shared i18n module migration
gui/src/i18n/*, gui/src/App.tsx, gui/src/components/*, gui/src/pages/*, gui/src/provider-workspace/*
Translation hooks, types, locale utilities, and LanguageProvider now use shared i18n module paths.
Dialog dismissal and interactive semantics
gui/src/components/*Modal*, gui/src/components/*dialogs*, gui/src/pages/dashboard-dialogs.tsx, gui/src/ui.tsx, gui/src/styles.css
Backdrop dismissal uses explicit controls; buttons, tooltips, lists, filters, and expandable rows receive updated semantic markup and keyboard behavior.
Provider workspace and catalog behavior
gui/src/provider-workspace/catalog.ts, gui/src/components/provider-catalog/*, gui/src/components/provider-workspace/*, gui/src/provider-payload.ts
Provider tiers, workspace sections, reauthentication status, display names, defaults, and provider payload cloning are updated.
Async handling and stable rendering
gui/src/components/MemoryObservabilityCard.tsx, gui/src/hooks/*, gui/src/pages/ClaudeCode*, gui/src/pages/Models.tsx, gui/src/pages/Logs.tsx
Request cleanup, response validation, save-state resets, cached formatting, immutable sorting, reset-credit parsing, and stable model-map keys are updated.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

  • lidge-jun/opencodex#467: Refactors the combo dialogs that this PR updates with explicit backdrop-dismiss controls.
  • lidge-jun/opencodex#469: Also changes CodexAuth config loading and overlaps the HTTP response handling.
  • lidge-jun/opencodex#475: Modifies the Codex account modal dismissal behavior updated here.

Suggested labels: chore

Suggested reviewers: ingwannu, lidge-jun

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.65% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the PR’s main goal: fixing remaining GUI react-doctor findings.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
fix(gui): clear remaining react-doctor code findings
3089791
Fix effect cleanup, mechanical a11y/perf warnings, barrel imports, button types, dialog roles, fetch status checks, loading finally resets, unused exports, and related GUI correctness issues. Doctor policy/config changes land in a separate PR.
@Wibias Wibias changed the title Clear remaining GUI react-doctor findings (50 → 100) fix(gui): clear remaining react-doctor code findings Jul 26, 2026
@Wibias Wibias mentioned this pull request Jul 26, 2026
chore(gui): document intentional react-doctor policy disables #481
Merged
3 tasks
@github-actions github-actions Bot added the bug Something isn't working label Jul 26, 2026
chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Wibias added 2 commits July 26, 2026 06:56
@Wibias
fix(test): drop assertions for removed unused GUI exports
7a11a1c
React-doctor cleanup removed isPaidProvider, pickCanonicalForwardProvider, providerBrandColor, and sortPresets. Sync provider-workspace-data tests so bun test no longer fails on missing named exports.
@Wibias
fix(gui): address Codex and CodeRabbit follow-up review
9f9bdd0
Restore insecure-context UUIDs, poll timeouts, modal stacking/a11y, notes save/focus, list semantics, and related GUI test expectations from PR #480 review threads.
coderabbitai[bot]

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
fix(gui): await provider refresh before notes editor closes
a404a45
CodeRabbit on #480: updateProvider now awaits fetchConfig before returning success, and ProviderOverview notes save has regression coverage for rejected and deferred successful updates.
@Wibias

Wibias commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the two CodeRabbit notes-save threads:

  • updateProvider now awaits fetchConfig() before returning { ok: true }, so the notes editor only closes after provider state has refreshed.
  • Added regression coverage in gui/tests/provider-overview-notes-save.test.tsx (rejected save keeps editor/draft/error; success closes only after ack) and gui/tests/use-providers-crud-update.test.tsx (success waits on refresh).

Pushed in a404a45.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
Wibias merged commit 6d8f05f into lidge-jun:dev Jul 26, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Wibias
Wibias deleted the fix/react-doctor-followup branch July 27, 2026 03:54
This was referenced Jul 28, 2026
chore(gui): React Doctor 100, 0.9.2 pin, block findings #589
Merged
feat(providers): add Volcengine Ark provider presets #611
Merged
Add Traditional Chinese (zh-TW) localization for GUI, README, and docs #581
Closed
fix(gui): gate Codex pool writes until hydrated and ignore stale strategy polls #739
Merged
Enable password manager autofill for admin tokens #873
Merged
This was referenced Aug 5, 2026
fix(provider-icons): colorize brand icons and correct the OpenCodeX mark #1037
Merged
feat: add Command Code OAuth provider #1066
Merged
feat(oauth): support importing Google Antigravity accounts from Cockpit Tools JSON (#1076) #1077
Closed
fix(models): keep per-provider context caps independent #1224
Merged
fix(gui): Cursor OAuth accounts stay visible + toast login status #1257
Merged
feat(auth): import Cockpit Tools accounts through safe adapters #1357
Merged
Add Traditional Chinese (zh-TW) localization for GUI, README, and docs (resync) #1440
Merged
fix(gui): prevent accidental Add Provider modal dismissal #1481
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Aug 12, 2026
chore(gui): migrate linting from ESLint to Oxlint #1553
Merged
@Wibias Wibias mentioned this pull request Aug 15, 2026
fix(issue-triage): harden quality and duplicate closure #1764
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Aug 16, 2026
chore(gui): bump react-doctor to 0.9.12 and clear findings #1833
Closed
4 tasks done
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
fix(gui): address Codex and CodeRabbit follow-up review
7740abb
Restore insecure-context UUIDs, poll timeouts, modal stacking/a11y, notes save/focus, list semantics, and related GUI test expectations from PR lidge-jun#480 review threads.
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
fix(gui): await provider refresh before notes editor closes
97594a9
CodeRabbit on lidge-jun#480: updateProvider now awaits fetchConfig before returning success, and ProviderOverview notes save has regression coverage for rejected and deferred successful updates.
agentHits pushed a commit to agentHits/opencodex that referenced this pull request Sep 17, 2026
@Wibias
Merge pull request lidge-jun#480 from Wibias/fix/react-doctor-followup
00b8106
fix(gui): clear remaining react-doctor code findings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@lidge-jun lidge-jun Awaiting requested review from lidge-jun lidge-jun is a code owner
@Ingwannu Ingwannu Awaiting requested review from Ingwannu Ingwannu is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Wibias
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.