Skip to content

Commit 805213e

Browse files
masnwilliamsclaude
andauthored
live view loading: replace logo pulse with slide bar (#248)
Replaces the zoom/pulse animation on the kernel logo shown while the live view client is connecting. The animation triggered on every live view session (not just kiosk mode). Now shows the stacked logo (white variant) above a thin sliding loading bar — matches the loading style used in the mcp-server select-org page. Affects `connect.vue` (initial connection splash) and `about.vue` (about modal loading state). ## Preview https://htmlpreview.github.io/?https://gist.githubusercontent.com/masnwilliams/2f7e13b3327344b4219f293225c35539/raw/preview.html (toggle button in top-right flips between old and new) ## Test plan - [ ] Build client, open live view, verify logo no longer pulses and bar slides smoothly - [ ] Open about modal during load, verify same treatment <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk visual-only change to the loading/connecting UI; no behavioral, auth, or data-flow changes. > > **Overview** > Updates the live-view connection splash (`connect.vue`) and about modal loading state (`about.vue`) to show a stacked logo with a thin animated *sliding* loading bar instead of the prior pulsing/zoom logo animation. > > Also changes the bundled `logo.svg` fill color from green to white to match the new loading treatment. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 8e699ca. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent f99f9ed commit 805213e

3 files changed

Lines changed: 55 additions & 29 deletions

File tree

Lines changed: 5 additions & 5 deletions
Loading

images/chromium-headful/client/src/components/about.vue

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<div class="loading" v-if="loading">
55
<div class="loader">
66
<img src="../assets/images/logo.svg" alt="loading" aria-hidden="true" class="kernel-logo" />
7+
<div class="loading-bar">
8+
<div class="loading-bar-fill"></div>
9+
</div>
710
</div>
811
</div>
912

@@ -73,18 +76,31 @@
7376
}
7477
7578
.loader {
76-
width: 90px;
77-
height: 90px;
7879
position: relative;
7980
margin: 0 auto 20px auto;
8081
display: flex;
82+
flex-direction: column;
8183
justify-content: center;
8284
align-items: center;
85+
gap: 20px;
8386
8487
.kernel-logo {
85-
width: 100%;
88+
width: 90px;
89+
height: 90px;
90+
}
91+
92+
.loading-bar {
93+
width: 128px;
94+
height: 1px;
95+
background: rgba(255, 255, 255, 0.12);
96+
overflow: hidden;
97+
}
98+
99+
.loading-bar-fill {
100+
width: 40%;
86101
height: 100%;
87-
animation: kernel-logo-pulse 1.5s ease-in-out infinite;
102+
background: rgba(255, 255, 255, 0.85);
103+
animation: kernel-bar-slide 1.2s ease-in-out infinite;
88104
}
89105
}
90106
}
@@ -95,15 +111,12 @@
95111
}
96112
}
97113
98-
@keyframes kernel-logo-pulse {
99-
0%,
100-
100% {
101-
transform: scale(0.85);
102-
opacity: 0.7;
114+
@keyframes kernel-bar-slide {
115+
0% {
116+
transform: translateX(-100%);
103117
}
104-
50% {
105-
transform: scale(1);
106-
opacity: 1;
118+
100% {
119+
transform: translateX(350%);
107120
}
108121
}
109122
</style>

images/chromium-headful/client/src/components/connect.vue

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<div class="window">
44
<div class="loader" v-if="connecting">
55
<img src="../assets/images/logo.svg" alt="loading" aria-hidden="true" class="kernel-logo" />
6+
<div class="loading-bar">
7+
<div class="loading-bar-fill"></div>
8+
</div>
69
</div>
710
</div>
811
</div>
@@ -46,32 +49,42 @@
4649
}
4750
4851
.loader {
49-
width: 90px;
50-
height: 90px;
5152
position: relative;
5253
margin: 0 auto;
5354
display: flex;
55+
flex-direction: column;
5456
justify-content: center;
5557
align-items: center;
58+
gap: 20px;
5659
5760
.kernel-logo {
58-
width: 100%;
61+
width: 90px;
62+
height: 90px;
63+
}
64+
65+
.loading-bar {
66+
width: 128px;
67+
height: 1px;
68+
background: rgba(255, 255, 255, 0.12);
69+
overflow: hidden;
70+
}
71+
72+
.loading-bar-fill {
73+
width: 40%;
5974
height: 100%;
60-
animation: kernel-logo-pulse 1.5s ease-in-out infinite;
75+
background: rgba(255, 255, 255, 0.85);
76+
animation: kernel-bar-slide 1.2s ease-in-out infinite;
6177
}
6278
}
6379
}
6480
}
6581
66-
@keyframes kernel-logo-pulse {
67-
0%,
68-
100% {
69-
transform: scale(0.85);
70-
opacity: 0.7;
82+
@keyframes kernel-bar-slide {
83+
0% {
84+
transform: translateX(-100%);
7185
}
72-
50% {
73-
transform: scale(1);
74-
opacity: 1;
86+
100% {
87+
transform: translateX(350%);
7588
}
7689
}
7790
</style>

0 commit comments

Comments
 (0)