Repository navigation
Animate terminal dock on first open - #20414
Conversation
Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20414Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20414" |
Tests selector13 / 99 PR test projects · 2 PR jobs, from 1 changed file. Selected PR test projects (13 / 99)
Selected PR jobs (2)
How these were chosen — grouped by what changed
🔧 📦 affected project Job reasons
Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused visual-only change correctly handles initial insertion and preserves existing transitions.
Review effort: Balanced
Findings: None
What changed in this PR
Adds the terminal dock’s missing first-open slide-up animation using CSS @starting-style.
Changes:
- Starts the newly mounted visible dock off-screen.
- Reuses the existing transform transition without changing later toggles.
| File | Description |
|---|---|
src/Aspire.Dashboard/Components/Layout/TerminalDock.razor.css |
Adds the initial transform for first-open animation. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
/backport to release/13.6 |
|
Started backporting to |
Backport of #20414 to release/13.6 /cc @JamesNK ## Customer Impact The terminal dock appears immediately instead of sliding into view the first time it is opened after a dashboard refresh. ## Testing `dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restore` passed, and the generated scoped CSS was verified to include the starting style. ## Risk Very low. This is a terminal-dock-only CSS starting style that uses the existing transition. ## Regression? No Co-authored-by: James Newton-King <[email protected]> Co-authored-by: Copilot <[email protected]>
Description
After refreshing the dashboard, the terminal dock currently appears immediately on its first open instead of sliding up. Opening it from the header button or keyboard shortcut now slides it into view on the first open, while subsequent open and close transitions remain unchanged.
User-facing usage
Refresh the dashboard, then open the terminal dock with the terminal button or the backtick shortcut. The dock slides up from the bottom of the viewport on its first appearance.
The dock is mounted only when first opened, already in its visible state. A CSS
@starting-stylesupplies the off-screen transform needed for the existing transition to run on insertion.Validation:
dotnet build src\Aspire.Dashboard\Aspire.Dashboard.csproj --no-restorepassed; the generated scoped CSS includes the starting style.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?