Skip to content

Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.

Improve narration dropdown visibility; remove redundant HUD header

adilei683f7273aa6a
diff --git a/src/App.css b/src/App.css
index 375f11f..9cf0d75 100644
--- a/src/App.css
+++ b/src/App.css
@@ -308,59 +308,6 @@ button:focus-visible,
height: 100vh;
}
-.hud-head {
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.wordmark {
- display: flex;
- align-items: center;
- gap: 8px;
-}
-
-.mark-lamp {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background: var(--signal);
- box-shadow: 0 0 9px rgba(var(--brand-rgb), 0.5);
-}
-
-.mark-text {
- font-size: 14px;
- font-weight: 600;
-}
-
-.rec-chip {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- font-family: var(--mono);
- font-size: 10px;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: var(--muted);
-}
-
-.rec-chip .lamp {
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: var(--faint);
-}
-
-.rec-chip.rec {
- color: var(--rec);
-}
-
-.rec-chip.rec .lamp {
- background: var(--rec);
- box-shadow: 0 0 8px rgba(var(--rec-rgb), 0.7);
- animation: pulse 1.2s infinite ease-in-out;
-}
-
/* The signature: a physical record transport. */
.transport {
display: flex;
@@ -571,26 +518,71 @@ button:focus-visible,
transform: translateX(14px);
}
+/* Dim the rest of the HUD while the settings are open so the floating panel
+ reads as a deliberate layer instead of colliding with the content beneath it
+ (the recorder window is a fixed size, so the panel has to overlap). */
+.narrate-scrim {
+ position: fixed;
+ inset: 0;
+ z-index: 15;
+ padding: 0;
+ border: none;
+ border-radius: 0;
+ background: rgba(28, 18, 14, 0.18);
+ cursor: default;
+ animation: narrate-scrim-in 0.13s ease-out;
+}
+
+@keyframes narrate-scrim-in {
+ from {
+ opacity: 0;
+ }
+}
+
.narrate-settings {
position: absolute;
z-index: 20;
- top: calc(100% + 6px);
+ top: calc(100% + 8px);
left: 0;
right: 0;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
- gap: 6px 10px;
- padding: 10px 13px;
- border: 1px solid rgba(var(--brand-rgb), 0.3);
+ gap: 9px 11px;
+ padding: 13px;
+ border: 1px solid rgba(var(--brand-rgb), 0.34);
border-radius: 12px;
background: var(--surface);
- box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.45);
+ box-shadow: 0 22px 46px -18px rgba(28, 18, 14, 0.45),
+ 0 6px 16px -10px rgba(28, 18, 14, 0.28);
+ animation: narrate-settings-in 0.14s ease-out;
+}
+
+/* A small caret linking the panel back to the gear button it opened from. */
+.narrate-settings::before {
+ content: "";
+ position: absolute;
+ top: -6px;
+ right: 15px;
+ width: 12px;
+ height: 12px;
+ background: var(--surface);
+ border-left: 1px solid rgba(var(--brand-rgb), 0.34);
+ border-top: 1px solid rgba(var(--brand-rgb), 0.34);
+ border-radius: 3px 0 0 0;
+ transform: rotate(45deg);
+}
+
+@keyframes narrate-settings-in {
+ from {
+ opacity: 0;
+ transform: translateY(-5px);
+ }
}
.narrate-settings label {
- font-size: 10.5px;
- font-weight: 600;
+ font-size: 11px;
+ font-weight: 700;
color: var(--brand-ink);
}
@@ -601,29 +593,36 @@ button:focus-visible,
.narrate-select-wrap select {
width: 100%;
- height: 30px;
- padding: 0 27px 0 9px;
+ height: 34px;
+ padding: 0 30px 0 11px;
appearance: none;
- border: 1px solid rgba(var(--brand-rgb), 0.34);
+ border: 1px solid rgba(var(--brand-rgb), 0.42);
border-radius: 8px;
background: var(--surface);
color: var(--text);
font: inherit;
- font-size: 11px;
+ font-size: 12.5px;
text-overflow: ellipsis;
+ cursor: pointer;
+ transition: border-color 0.15s ease, box-shadow 0.15s ease;
+}
+
+.narrate-select-wrap select:not(:disabled):hover {
+ border-color: rgba(var(--brand-rgb), 0.7);
}
.narrate-select-wrap select:focus-visible {
- outline: 2px solid rgba(var(--brand-rgb), 0.5);
- outline-offset: 1px;
+ outline: none;
+ border-color: var(--brand);
+ box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
}
.narrate-select-chevron {
position: absolute;
top: 50%;
- right: 9px;
- color: var(--muted);
- font-size: 10px;
+ right: 11px;
+ color: var(--brand-ink);
+ font-size: 11px;
pointer-events: none;
transform: translateY(-52%);
}
@@ -2031,7 +2030,8 @@ button:focus-visible,
@media (prefers-reduced-motion: reduce) {
.record.on,
- .rec-chip.rec .lamp {
+ .narrate-scrim,
+ .narrate-settings {
animation: none;
}
}
diff --git a/src/Recorder.tsx b/src/Recorder.tsx
index 88a1945..9c27b83 100644
--- a/src/Recorder.tsx
+++ b/src/Recorder.tsx
@@ -181,17 +181,6 @@ export function Recorder() {
return (
<div className="hud">
- <header className="hud-head">
- <div className="wordmark">
- <span className="mark-lamp" />
- <span className="mark-text">Skill Recorder</span>
- </div>
- <span className={`rec-chip ${recording ? "rec" : "idle"}`}>
- <span className="lamp" />
- {recording ? "REC" : "READY"}
- </span>
- </header>
-
<div className="transport">
<button
className={`record ${recording ? "on" : ""}`}
@@ -297,7 +286,15 @@ export function Recorder() {
</div>
{showNarrationSettings && (
- <div id="narration-settings" className="narrate-settings">
+ <>
+ <button
+ type="button"
+ className="narrate-scrim"
+ aria-hidden
+ tabIndex={-1}
+ onClick={() => setShowNarrationSettings(false)}
+ />
+ <div id="narration-settings" className="narrate-settings">
<label htmlFor="narrate-language">Language</label>
<div className="narrate-select-wrap">
<select
@@ -362,7 +359,8 @@ export function Recorder() {
microphoneSettings?.fallback}
</p>
)}
- </div>
+ </div>
+ </>
)}
</section>