Skip to content

Commit 6b15308

Browse files
authored
fix(web): stop the sidebar update icon from rendering clipped (#282)
## Summary - The sidebar update pill is a 32px `inline-grid` with `overflow: hidden`. The hidden `nowrap` label shares the icon's grid cell, so the track grew to the label's width, the icon was centred in that oversized track, and the visible part was a clipped half green circle. The track is now pinned with `grid-template-columns: minmax(0, 1fr)` and both items get `min-width: 0`. - Sidebar logo width reduced from 220px to 200px. - `dist-web` bundle restaged. ## Test plan - [x] `app-shell-contracts.test.ts` updated: new guards for the grid track + `min-width: 0`, logo width pinned to 200px. - [x] `pnpm run build:web` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed the sidebar update notification icon so it remains fully visible without clipping. * Improved update notification layout across different sidebar widths. * **Style** * Reduced the maximum sidebar logo width for a more balanced appearance. * **Chores** * Refreshed web assets and improved reliability of security audit network requests. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent ab5793e commit 6b15308

99 files changed

Lines changed: 129 additions & 113 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+
Show the sidebar update icon fully instead of a clipped half circle, and slightly shrink the sidebar logo.

.github/workflows/security.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
with:
2626
node-version-file: .nvmrc
2727
- run: pnpm audit --json
28+
env:
29+
npm_config_fetch_timeout: 120000
30+
npm_config_fetch_retries: 3
31+
npm_config_fetch_retry_mintimeout: 20000
32+
npm_config_fetch_retry_maxtimeout: 120000
2833

2934
dependency-review:
3035
name: Dependency review
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"sourceHash": "ec0a2f164d8ce7b1beae37abae45b2de37e96de5c4f7b54e460eb1fc77996537",
2+
"sourceHash": "135af31b82e0a89e3644936171b91c29d9880f1112d9b9046c4871da90618387",
33
"sourceFileCount": 422
44
}

apps/pythinker-code/dist-web/assets/CodeBlockNode-BEWBjffx.js renamed to apps/pythinker-code/dist-web/assets/CodeBlockNode-BLRXfA23.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-DpIR-8qH.js renamed to apps/pythinker-code/dist-web/assets/DesignSystemView-Dwl_jD3y.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-BESdymXf.js renamed to apps/pythinker-code/dist-web/assets/Tooltip-BzUUO29Z.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-pY3uSi_B.js renamed to apps/pythinker-code/dist-web/assets/abnfDiagram-VCTEODGH-2EOqIk1O.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-ab4Mfd8H.js renamed to apps/pythinker-code/dist-web/assets/arc-CE2HyL6e.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-x7zK_pWW.js renamed to apps/pythinker-code/dist-web/assets/architectureDiagram-5GKGNRK7-CHbzcUpr.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)