From ed66de5ba232f8fc100e237629f8c0d9cb0eea36 Mon Sep 17 00:00:00 2001 From: Norton Andreev Date: Fri, 23 Oct 2026 15:26:58 +0300 Subject: [PATCH 1/4] app: Name what already-open agents pick up on the done step Hooks load when an agent starts, so the line says that agents already open start sending sessions to the workspace (or recording on the machine, in local mode) after a restart. It is hidden when setup turned on no recording. --- .../Onboarding/DoneStepViewModel.cs | 6 ++++++ .../Views/Onboarding/DonePaneView.axaml | 4 ++-- .../DoneStepViewModelTests.cs | 20 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/Capacitor.App/ViewModels/Onboarding/DoneStepViewModel.cs b/src/Capacitor.App/ViewModels/Onboarding/DoneStepViewModel.cs index 4ebe7657a..48362e11e 100644 --- a/src/Capacitor.App/ViewModels/Onboarding/DoneStepViewModel.cs +++ b/src/Capacitor.App/ViewModels/Onboarding/DoneStepViewModel.cs @@ -103,6 +103,12 @@ public DoneStepViewModel(Func facts, IUrlOpener? opener = null) { : Import is null ? "kcap import brings your existing history over whenever you want." : null; + /// Hooks load at agent start, so an agent open since before setup records nothing until it restarts. + public string? RestartLine => + !CapturePromised ? null + : _current.Local ? $"New hooks load when an agent starts, so agents you already have open start recording on {_current.MachineName} after a restart." + : "New hooks load when an agent starts, so agents you already have open start sending sessions to your workspace after a restart."; + public IReadOnlyList Capture => [.. _current.Recording.Select(label => new CaptureItem(label, _current.PathHazard))]; public bool CaptureVisible => _current.Recording.Count > 0; diff --git a/src/Capacitor.App/Views/Onboarding/DonePaneView.axaml b/src/Capacitor.App/Views/Onboarding/DonePaneView.axaml index 0e8124f08..f43db997d 100644 --- a/src/Capacitor.App/Views/Onboarding/DonePaneView.axaml +++ b/src/Capacitor.App/Views/Onboarding/DonePaneView.axaml @@ -110,8 +110,8 @@ - + + + + + + + +