Skip to content

Commit b4d478e

Browse files
githajaeclaude
andcommitted
Fix Query Engine pipeline: add Query chip, fix Execute cutoff
- Add Query as first step: Query → Parse → Optimize → Execute - Remove p-opt-group wrapper (was causing Execute to be clipped by making the flex item as wide as the hidden plan-expand content) - Move plan-expand back as sibling of query-pipeline inside arch-card - Add width: fit-content + margin: 0 auto to plan-ops so ops box is centered under pipeline when expanded at step 5 - Reduce chip font-size (0.68→0.63em) and padding to fit 4 chips Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 6f90e8f commit b4d478e

2 files changed

Lines changed: 19 additions & 24 deletions

File tree

_layouts/research-interests.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ <h1 class="ri-title">AI Database Systems</h1>
4949
<div class="arch-card light">
5050
<span class="ac-label">Query Engine</span>
5151
<div class="query-pipeline">
52+
<span class="p-chip">Query</span>
53+
<span class="p-sep"></span>
5254
<span class="p-chip">Parse</span>
5355
<span class="p-sep"></span>
54-
<div class="p-opt-group">
55-
<span class="p-chip p-plan" id="plan-chip">Optimize</span>
56-
<!-- Expands at step 5 to reveal what Optimize breaks down into -->
57-
<div class="plan-expand" id="sem-chip">
58-
<div class="opt-connector"></div>
59-
<div class="plan-ops">
60-
<span class="op-chip sem-op">⚡ Semantic Ops</span>
61-
<span class="op-plus">+</span>
62-
<span class="op-chip trad-op">Traditional Ops</span>
63-
</div>
64-
</div>
65-
</div>
56+
<span class="p-chip p-plan" id="plan-chip">Optimize</span>
6657
<span class="p-sep"></span>
6758
<span class="p-chip">Execute</span>
6859
</div>
60+
<!-- Expands at step 5: breakdown of the Optimize step -->
61+
<div class="plan-expand" id="sem-chip">
62+
<div class="opt-connector"></div>
63+
<div class="plan-ops">
64+
<span class="op-chip sem-op">⚡ Semantic Ops</span>
65+
<span class="op-plus">+</span>
66+
<span class="op-chip trad-op">Traditional Ops</span>
67+
</div>
68+
</div>
6969
</div>
7070
</div>
7171

_sass/custom/_research-interests.scss

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -151,34 +151,27 @@ body.page--research-interests #main {
151151
/* Query engine pipeline */
152152
.query-pipeline {
153153
display: flex;
154-
align-items: flex-start;
154+
align-items: center;
155155
gap: 0.2rem;
156156
flex-wrap: nowrap;
157157
margin-top: 0.4rem;
158158

159159
.p-sep {
160-
font-size: 0.65em;
160+
font-size: 0.6em;
161161
color: rgba(0, 0, 0, 0.25);
162-
margin-top: 0.22rem; // align with chip text center
163162
}
164163

165164
.p-chip {
166-
font-size: 0.68em;
165+
font-size: 0.63em;
167166
font-weight: 600;
168-
padding: 0.18rem 0.45rem;
167+
padding: 0.16rem 0.38rem;
169168
border-radius: 7px;
170169
background: rgba(0, 0, 0, 0.06);
171170
color: #555;
171+
white-space: nowrap;
172172
}
173173
}
174174

175-
/* Optimize chip + its expand block grouped in a column */
176-
.p-opt-group {
177-
display: flex;
178-
flex-direction: column;
179-
align-items: center;
180-
}
181-
182175
/* Plan chip — highlighted at step 5 */
183176
.p-plan {
184177
transition: background-color 0.3s ease, color 0.3s ease;
@@ -218,6 +211,8 @@ body.page--research-interests #main {
218211
background: rgba(0, 113, 227, 0.05);
219212
border: 1px dashed rgba(0, 113, 227, 0.3);
220213
border-radius: 8px;
214+
width: fit-content;
215+
margin: 0 auto;
221216
}
222217

223218
.op-chip {

0 commit comments

Comments
 (0)