GeezerVison is showing github.com — fix(gui): clear react-doctor changed-scope warnings, refresh PR scree… · lidge-jun/opencodex@7f2db17
File tree
Expand file treeCollapse file tree
Open diff view settings
gui/src/components/provider-workspace
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard -302 KB
- Display the source diff
- Display the rich diff
Collapse file
Copy file name to clipboard 81.8 KB
- Display the source diff
- Display the rich diff
Collapse file
Copy file name to clipboardExpand all lines: gui/src/components/provider-workspace/ProviderDialogs.tsx +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ export function RemoveConfirmDialog({ |
16 | 16 | }) { |
17 | 17 | const t = useT(); |
18 | 18 | return ( |
19 | | - <div className="dialog-backdrop" onClick={onCancel}> |
| 19 | + <div className="dialog-backdrop" onClick={onCancel} role="presentation"> |
20 | 20 | <div className="dialog" role="alertdialog" aria-label={t("pws.removeConfirmTitle")} onClick={e => e.stopPropagation()}> |
21 | 21 | <h3>{t("pws.removeConfirmTitle")}</h3> |
22 | 22 | <p>{defaultProviderName |
@@ -41,7 +41,7 @@ export function UnsavedLeaveDialog({ |
41 | 41 | }) { |
42 | 42 | const t = useT(); |
43 | 43 | return ( |
44 | | - <div className="dialog-backdrop" onClick={onCancel}> |
| 44 | + <div className="dialog-backdrop" onClick={onCancel} role="presentation"> |
45 | 45 | <div className="dialog" role="alertdialog" aria-label={t("pws.unsavedLeaveTitle")} onClick={e => e.stopPropagation()}> |
46 | 46 | <h3>{t("pws.unsavedLeaveTitle")}</h3> |
47 | 47 | <p>{t("pws.unsavedLeaveBody")}</p> |
@@ -88,7 +88,7 @@ export function RemoveAccountConfirmDialog({ |
88 | 88 | }, [removing]); |
89 | 89 |
|
90 | 90 | return ( |
91 | | - <div className="dialog-backdrop" onClick={onCancel}> |
| 91 | + <div className="dialog-backdrop" onClick={onCancel} role="presentation"> |
92 | 92 | <div className="dialog" role="alertdialog" aria-modal="true" aria-label={t("pws.removeAccountConfirmTitle")} onClick={e => e.stopPropagation()}> |
93 | 93 | <h3>{t("pws.removeAccountConfirmTitle")}</h3> |
94 | 94 | <p> |
|
Collapse file
Copy file name to clipboardExpand all lines: gui/src/components/provider-workspace/account-quota-analysis.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -338,7 +338,7 @@ export function sortAccounts( |
338 | 338 | const isGeminiFilter = activeFilter === "with_limits_gemini" || activeFilter === "gemini_exhausted"; |
339 | 339 | const isClaudeFilter = activeFilter === "with_limits_claude" || activeFilter === "claude_exhausted"; |
340 | 340 |
|
341 | | - return [...items].sort((a, b) => { |
| 341 | + return items.toSorted((a, b) => { |
342 | 342 | switch (sortKey) { |
343 | 343 | case "more_headroom": { |
344 | 344 | if (isGeminiFilter) { |
|