Skip to content

Commit 99c01a6

Browse files
committed
fix(web): finish Codex sign-in when the tab becomes visible again
The sign-in composable polled the login status on window focus only. A tab that was hidden and shown again without a focus event (mobile tab switch, some desktop window managers) kept waiting for the interval. Poll on visibilitychange too, when the document is visible, and remove the listener on unmount. Rebuild the shipped web bundle from source.
1 parent 84fc9d7 commit 99c01a6

96 files changed

Lines changed: 321 additions & 279 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Complete a Codex sign-in as soon as the browser tab becomes visible again, not only when the window regains focus.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "ad0be8811299a96afcfa243941b6812309cf4597345759fac292edbcf7dea1e4",
2+
"sourceHash": "c05b9ce73324f5a446966d9f931dc804f0f1e73e78daf14e1479d86e58669c1a",
33
"sourceFileCount": 404
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-C7tgevOd.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-DvVwTcrb.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/DesignSystemView-D7qbe5PI.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-DqkqPAyE.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/Tooltip-DlGXfx2I.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-DBHeeCqj.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-DGcX3vmh.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-Aw-KZNRM.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/arc-Cc63RfT-.js renamed to apps/pythinker-code/dist-web/assets/arc-uQkvEBHU.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-CyYiIyV8.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-D6d_uvof.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)