From 3000190d4f9d43bd33b074cc1c242ff0b87d8235 Mon Sep 17 00:00:00 2001 From: "Begonia, HE" <163421589+BegoniaHe@users.noreply.github.com> Date: Wed, 14 Jan 2026 22:06:55 +0100 Subject: feat: re-integrate Java download UI into new component architecture - Add Java download functionality to settings store - Add JavaDownloadInfo type definition - Add Download Java button and modal to SettingsView - Support JRE/JDK selection with version picker - Maintain integration with Adoptium API backend --- ui/src/components/SettingsView.svelte | 77 +++++++++++++++++++++++++++++++++++ ui/src/stores/settings.svelte.ts | 63 +++++++++++++++++++++++++++- ui/src/types/index.ts | 10 +++++ 3 files changed, 149 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/src/components/SettingsView.svelte b/ui/src/components/SettingsView.svelte index 86bcce1..d409784 100644 --- a/ui/src/components/SettingsView.svelte +++ b/ui/src/components/SettingsView.svelte @@ -183,6 +183,12 @@ > {settingsState.isDetectingJava ? "Detecting..." : "Auto Detect"} + @@ -297,3 +303,74 @@ + + +{#if settingsState.showJavaDownloadModal} +
+ JRE: Runtime only (smaller). JDK: Includes development tools. +
+