From 4a3f9e3cbe0a01d5ef591b639ec01997c6b79f96 Mon Sep 17 00:00:00 2001 From: Craig Osterhout Date: Wed, 14 Jan 2026 11:50:05 -0800 Subject: [PATCH] homepage: update download component (#23978) ## Description This might be a my computer thing (because my computer probably isn't the fastest), but the component often flickers on load. - ~Removed x-collapse and~ added x-cloak to prevent the drop-down from appearing expanded before the js loads. - Changed the button text to static, so it's not waiting for the OS detection to load. ## Related issues or tickets ENGDOCS-3149 ## Reviews - [ ] Editorial review --------- Signed-off-by: Craig Osterhout --- layouts/index.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 3d9e8f37ce..2acc06748c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -60,10 +60,6 @@ 'linux': 'Docker Desktop for Linux' }; return labels[os === 'linux' ? 'linux' : `${os}-${arch}`] || 'Docker Desktop'; - }, - getPrimaryLabel() { - if (this.os === 'unknown') return 'Download Docker Desktop'; - return this.getOsLabel(this.os, this.arch); } }" @click.outside="open = false"> @@ -83,7 +79,7 @@ {{ partial "icon" "download" }} - Download Docker Desktop + Download Docker Desktop -