Visual Studio Code, rebuilt in Rust
Rust
fix(views): badge moved Extensions and Testing tabs and key their search box in a panel
rokarture22f22187a66
diff --git a/native/crates/app/src/workbench/comments_view.rs b/native/crates/app/src/workbench/comments_view.rsindex 032d59f3efe..0a85d6a3258 100644--- a/native/crates/app/src/workbench/comments_view.rs+++ b/native/crates/app/src/workbench/comments_view.rs@@ -156,7 +156,7 @@ impl Workbench {badge: |workbench| {let threads = workbench.comments.controllers.iter().flat_map(|controller| &controller.threads);let number = threads.filter(|thread| thread.state == Some(0) && !thread.comments.is_empty()).count();- Some(super::panel::NumberBadge { number, description: |unresolved| format!("{unresolved} Unresolved Comments") })+ Some(super::panel::NumberBadge { number, description: format!("{number} Unresolved Comments") })},});self.register_commenting_commands();diff --git a/native/crates/app/src/workbench/extensions_view.rs b/native/crates/app/src/workbench/extensions_view.rsindex 05e19aa3651..886772e7099 100644--- a/native/crates/app/src/workbench/extensions_view.rs+++ b/native/crates/app/src/workbench/extensions_view.rs@@ -607,14 +607,16 @@ impl Workbench {});}- /// The view's context keys: `activeViewlet`, `extensionsSearchValue`, the list's `listFocus`, the box's `inputFocus`.- pub(super) fn extensions_context(&self, window: &Window, context: &mut HashMap<String, Value>) {+ /// The view's context keys: `activeViewlet` and `sideBarFocus` in the side bar, `extensionsSearchValue`, the list's `listFocus`, the box's `inputFocus`.+ pub(super) fn extensions_context(&self, in_side_bar: bool, window: &Window, context: &mut HashMap<String, Value>) {let viewlet = &self.extensions_viewlet;let input = viewlet.search_focus.is_focused(window);let list = viewlet.list_focus.is_focused(window);- context.insert("activeViewlet".into(), json!(VIEWLET_ID));+ if in_side_bar {+ context.insert("activeViewlet".into(), json!(VIEWLET_ID));+ context.insert("sideBarFocus".into(), json!(input || list));+ }context.insert("extensionsSearchValue".into(), json!(viewlet.search.value));- context.insert("sideBarFocus".into(), json!(input || list));context.insert("hasInstalledExtensions".into(), json!(viewlet.has_installed()));if input {context.insert("inputFocus".into(), json!(true));diff --git a/native/crates/app/src/workbench/keyboard.rs b/native/crates/app/src/workbench/keyboard.rsindex bd903cb4d6b..76581806762 100644--- a/native/crates/app/src/workbench/keyboard.rs+++ b/native/crates/app/src/workbench/keyboard.rs@@ -602,9 +602,12 @@ impl Workbench {SideBarView::Explorer => self.explorer_context(window, &mut context),SideBarView::Search => self.search_context(window, &mut context),SideBarView::Scm => {}- SideBarView::Extensions => self.extensions_context(window, &mut context),+ SideBarView::Extensions => self.extensions_context(true, window, &mut context),SideBarView::Debug | SideBarView::Testing | SideBarView::Contributed(_) | SideBarView::Generated(_) => {}}+ if self.container_location(super::extensions_view::VIEWLET_ID) != super::layout::Part::SideBar {+ self.extensions_context(false, window, &mut context);+ }self.open_editors_context(window, &mut context);self.outline_context(window, &mut context);// After the side bar's keys, whose list is not focused: the notebook's cell list (notebookCellList.ts) and the breadcrumbs picker are lists.diff --git a/native/crates/app/src/workbench/panel.rs b/native/crates/app/src/workbench/panel.rsindex cd2e6c65e10..2b8f1f16ac8 100644--- a/native/crates/app/src/workbench/panel.rs+++ b/native/crates/app/src/workbench/panel.rs@@ -51,7 +51,7 @@ pub struct PanelView {/// activity.ts `NumberBadge`: a count with the description its tab's hover appends.pub struct NumberBadge {pub number: usize,- pub description: fn(usize) -> String,+ pub description: String,}/// A pane composite part's tab strip, title actions and content as last painted.@@ -619,7 +619,7 @@ impl Workbench {(None, None) => HoverContent::Text(tab.title.to_string()),(command, Some(badge)) => {let title = command.map_or(tab.title.to_string(), |command| self.keybindings.resolver.append_keybinding(tab.title, command, &self.key_context(window)));- HoverContent::Text(format!("{title} - {}", (badge.description)(badge.number)))+ HoverContent::Text(format!("{title} - {}", badge.description))}};self.hover_target(SharedString::from(format!("composite-tab-hover-{}", tab.id)), content, HoverOptions::composite_bar(position))@@ -760,8 +760,18 @@ pub(super) struct CompositeTab {impl Workbench {/// The activity count of the tab's view (`IActivity.badge`).fn tab_badge(&self, tab: &CompositeTab) -> Option<NumberBadge> {- let view = self.panel.views.iter().find(|view| view.view_id == tab.view)?;- (view.badge)(self).filter(|badge| badge.number > 0)+ if let Some(view) = self.panel.views.iter().find(|view| view.view_id == tab.view) {+ return (view.badge)(self).filter(|badge| badge.number > 0);+ }+ // The side bar's Extensions and Testing moved here keep their number badges.+ match tab.id {+ super::extensions_view::VIEWLET_ID => self.extensions_badge().map(|(number, description)| NumberBadge { number, description }),+ super::view_locations::TESTING_CONTAINER => match self.testing_badge() {+ Some(super::activity::Badge::Number(number)) => Some(NumberBadge { number: number as usize, description: self.testing_badge_description(number) }),+ _ => None,+ },+ _ => None,+ }}}@@ -878,6 +888,34 @@ mod tests {assert_eq!(fitting_tabs(&TABS, Some("terminal"), 300., 44.), ["problems", "terminal"]);}+ /// extensionsViewlet.ts and testingExplorerView.ts badge their container wherever it is: moved to the panel, the+ /// Extensions and Testing tabs show the counts the activity bar items showed.+ #[gpui::test]+ fn moved_extensions_and_testing_tabs_keep_their_badges(cx: &mut gpui::TestAppContext) {+ use crate::testing::{ResultState, TestResult};+ let (workbench, cx, ..) = crate::workbench::goto_symbol::tests::open(cx, "panel-moved-badges", "");+ workbench.update_in(cx, |workbench, window, cx| {+ let location = std::path::PathBuf::from("/pub.a");+ workbench.extensions_viewlet.installed = vec![exthost::scan::ScannedExtension { id: "pub.a".into(), location, description: json!({ "name": "a", "isBuiltin": false }) }];+ let mut result = TestResult::new("r1".into(), json!({}));+ result.add_task(&json!({ "id": "t", "name": "task", "ctrlId": "c" }));+ for id in ["a", "b"] {+ result.add_chain(&[json!({ "extId": id, "label": id })]);+ result.update_state(id, "t", ResultState::Failed, None);+ }+ result.mark_complete(1);+ workbench.testing.results.insert(0, result);+ workbench.testing.controllers.insert("port".into(), crate::workbench::testing_service::Controller { label: "Port".into(), capabilities: 0 });+ workbench.move_view_container(crate::workbench::extensions_view::VIEWLET_ID, Part::Panel, window, cx);+ workbench.move_view_container(crate::workbench::view_locations::TESTING_CONTAINER, Part::Panel, window, cx);+ });+ cx.run_until_parked();+ let labels = workbench.read_with(cx, |workbench, _| workbench.part_tabs(Part::Panel).iter().map(|tab| panel_tab_label(tab, workbench)).collect::<Vec<_>>());+ assert!(labels.contains(&"Extensions (1)".to_owned()) && labels.contains(&"Testing (2)".to_owned()), "{labels:?}");+ let descriptions = workbench.read_with(cx, |workbench, _| workbench.part_tabs(Part::Panel).iter().filter_map(|tab| workbench.tab_badge(tab)).map(|badge| badge.description).collect::<Vec<_>>());+ assert!(descriptions.contains(&"2 failed tests".to_owned()), "{descriptions:?}");+ }+/// connectedPaneTabs.css `.title:first-child { border-top-left-radius: inherit }`: the title rounds its top corners/// at the part's 8px; square, it filled the card's corners outside the border (port/results/corners.md panel-tl).#[gpui::test]diff --git a/native/crates/app/src/workbench/part_grid/tests.rs b/native/crates/app/src/workbench/part_grid/tests.rsindex 69ef1b4e3a7..61de2d6ee20 100644--- a/native/crates/app/src/workbench/part_grid/tests.rs+++ b/native/crates/app/src/workbench/part_grid/tests.rs@@ -337,6 +337,22 @@ fn a_panel_view_dropped_on_the_secondary_side_bar_opens_there_and_stays_there(cxassert_eq!(stored(&stores), serde_json::json!({ "viewContainerLocations": {}, "viewLocations": {}, "viewContainerBadgeEnablementStates": {} }));}+/// extensionsViewlet.ts: the Extensions search box's `inputBoxFocus` is the widget's own context key, set wherever its+/// container is; `activeViewlet` and `sideBarFocus` stay the side bar's.+#[gpui::test]+fn the_extensions_search_box_keys_apply_in_the_panel(cx: &mut TestAppContext) {+ use super::super::extensions_view::VIEWLET_ID;+ let stores = stores();+ let (workbench, window_cx) = open(None, &stores, cx);+ workbench.update_in(window_cx, |workbench, window, cx| workbench.move_view_container(VIEWLET_ID, Part::Panel, window, cx));+ window_cx.run_until_parked();+ workbench.update_in(window_cx, |workbench, window, cx| window.focus(&workbench.extensions_viewlet.search_focus.clone(), cx));+ window_cx.run_until_parked();+ let context = workbench.update_in(window_cx, |workbench, window, _| workbench.key_context(window));+ assert_eq!(context.get("inputBoxFocus"), Some(&serde_json::json!(true)));+ assert_eq!(context.get("activeViewlet"), None);+}+/// progressService.ts `showOnActivityBar`: the badge after the 300 ms delay, kept 300 ms once shown.#[gpui::test]fn progress_at_a_view_container_badges_its_activity_bar_item(cx: &mut TestAppContext) {diff --git a/native/crates/app/src/workbench/problems_view.rs b/native/crates/app/src/workbench/problems_view.rsindex 45f28318631..26b4b6a3d3e 100644--- a/native/crates/app/src/workbench/problems_view.rs+++ b/native/crates/app/src/workbench/problems_view.rs@@ -307,7 +307,10 @@ impl Workbench {},visible: |_| true,// markersView.ts: the tab counts every marker the view shows.- badge: |workbench| Some(super::panel::NumberBadge { number: workbench.diagnostics.service.read(ReadOptions::default()).len(), description: |total| format!("Total {total} Problems") }),+ badge: |workbench| {+ let total = workbench.diagnostics.service.read(ReadOptions::default()).len();+ Some(super::panel::NumberBadge { number: total, description: format!("Total {total} Problems") })+ },});// viewsService.ts `registerOpenViewAction`: a focused view's command hides its part, else it opens focused.self.commands.register("workbench.actions.view.problems", |workbench, _, window, cx| {diff --git a/native/crates/app/src/workbench/testing_view.rs b/native/crates/app/src/workbench/testing_view.rsindex 6cc32419685..214ea481bcc 100644--- a/native/crates/app/src/workbench/testing_view.rs+++ b/native/crates/app/src/workbench/testing_view.rs@@ -80,6 +80,15 @@ impl Workbench {self.testing.is_continuous().then_some(super::activity::Badge::Icon("eye"))}+ /// testingExplorerView.ts `getLocalizedBadgeString`.+ pub(super) fn testing_badge_description(&self, count: u64) -> String {+ match self.setting("testing.countBadge").as_str() {+ Some("passed") => format!("{count} passed tests"),+ Some("skipped") => format!("{count} skipped tests"),+ _ => format!("{count} failed tests"),+ }+ }+pub(super) fn register_testing_commands(&mut self) {self.commands.register("workbench.view.testing", |workbench, _, _, cx| {workbench.show_view_container(super::view_locations::TESTING_CONTAINER, cx);diff --git a/port/ledger.md b/port/ledger.mdindex 389b8c1f67f..6558adaf926 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -456,7 +456,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston| workbench/services/userDataProfile | workbench service | M10 | verified | | one app-wide `UserDataProfilesService` (a gpui Global in app/src/user_data_profile.rs) for every window of the process: profile windows open in this process, a transient profile lives while a window runs it (userDataProfilesHandler.ts cleanup on close), and `onDidChangeProfiles` reaches every window (cargo test -p app workbench::user_data_profile: profile_windows_open_in_this_process, every_window_sees_a_profile_another_window_creates_and_removes); userDataProfileManagement.ts `switchProfile`, `removeProfile` and `changeCurrentProfile` (configuration, keybindings, global state and user extensions move to the profile's files, the extension host restarts, workbench/extension_host_restart.rs) in workbench/user_data_profile.rs; the configuration layers of a profile (`ApplicationConfiguration`, PROFILE_SCOPES, `workbench.settings.applyToAllProfiles`) with configurationService.test.ts's Profiles suite (cargo test -p config profile_tests); the settings, keybindings, tasks, snippets, globalState and extensions resources and the `.code-profile` template of userDataProfileImportExportService.ts as app/src/profile_template.rs (cargo test -p app profile_template); a template's extensions install the way extensionsResource.ts `apply` does, one publisher trust dialog for all of them and an error naming the ones that failed (cargo test -p app template_extensions_ask_for_publisher_trust_once); per-profile extensions.json (cargo test -p exthost extension_management); `createTroubleshootProfile` is removed with contrib/issue, its only caller (issueTroubleshoot.ts); profile templates from `profileTemplatesUrl` have no source, the product.json has none || workbench/services/userDataSync | workbench service | | removed | | no sign-in/AI by decision (port/notes.md); not ported || workbench/services/utilityProcess | workbench service | | verified | | no utility process workers: the file watcher worker, the one kept client, is files/src/watcher.rs on an FSEvents thread (platform/files; api-tests `vscode API - workspace-watcher` passes in the milestone 20 whole-suite run); localTranscription is AI, removed (port/notes.md milestone 20) |-| workbench/services/views | workbench service | M11 | ported | [3 S] activity_bar_menu.rs:113: an activity item's or tab's context menu lacks Configure Keybinding, Hide/Keep '{name}' and Show/Hide Badge above Move To (compositeBarActions.ts `showContextMenu`; ui-pair contributed-panes.json "item-menu"), and a panel or secondary side bar tab's menu lacks its bar's own actions (panelPart.ts `fillExtraContextMenuActions`); [3 S] panel.rs:189: a composite dropped on another bar goes to that bar's end, not the drop index (compositeBar.ts `getTargetIndex`), one dropped on its own bar does not reorder (`moveComposite`), and the moved container opens without focus (`openComposite(id, true)`; ui-pair contributed-panes.json "moved": the reference puts Port Panes before Terminal and focuses its first pane); [3 S] activity_bar_menu.rs:153: an activity item drags as its title, the reference as its icon; [3 S] side_bar.rs:62: the compact activity bar's tabs have no item menu and no drag; [3 S] view_panes.rs:535: a collapsed pane of a container in the panel draws expanded, the reference as a narrow strip (ui-pair contributed-panes.json "moved", Third); [3 S] panel.rs:553: after a composite drop the tab under the pointer shows its hover, the reference none (contributed-panes.json "moved"); [3 S] keyboard.rs:597: the Extensions views' key context (`inputBoxFocus`, `listFocus`) applies only while they are in the side bar, not in a panel; [3 S] panel.rs:780: a panel or secondary side bar tab of a moved Extensions or Testing container draws no badge (the extensions count, the test results) | view containers of `viewsContainers.activitybar` and `viewsContainers.panel` and the tree views of every container (workbench/view_containers.rs): activity bar items while a view's `when` holds, `workbench.view.extension.<id>` with its "View: Show <title>" Command Palette item while `viewContainer.<id>.enabled` (cargo test -p app an_extension_container_is_shown), a panel container's tab after the built-in ones, its views as side-by-side panes under its "..." and "View: Toggle <title>" (cargo test -p app an_extension_panel_container_is_a_panel_tab), each contributed view's "<container>: Focus on <view> View" palette item (ui-pair port/fixtures/ui-pair/contributed-panes.json "palette" and "panel" match the reference but its Ports tab, removed by decision), `<view id>.focus`, `<view id>.active`, merged single views, view_panes.rs panes for the views of an extension container and of Testing (`PaneContainer::Contributed`: cargo test -p app view_containers::; ui-pair port/fixtures/ui-pair/contributed-panes.json with port/fixtures/extensions/contributed-panes, the Port Panes and Testing side bars as the reference), treeView.ts `noDataProviderMessage` (cargo test -p app tree_view::), contributed views of scm and debug as panes of those containers; the Explorer's ViewDescriptorsState (view_panes.rs); ui-pair port/results/references-view.md; `visibility` (`hidden` views stay out until the Views submenu of the Explorer's "..." shows them, `collapsed`; workbench/view_visibility.rs: cargo test -p app view_visibility); the Explorer container's ViewDescriptorsState (view_panes.rs); moving views (workbench/view_locations.rs, verified): `views.customizations` viewLocations and generated containers `workbench.views.service.<location>.<uuid>` with their activity bar items and panel tabs, View: Move View, Move Focused View, Reset Focused View Location, a view header dropped on another container's pane (at its position), on the activity bar or on a panel's title (a new entry), `focusedView`; the folder view, Open Editors, Outline, Timeline, Source Control's Changes, Search, the debug views and the panel's views move into any built-in container or a new entry and back, the moved view opens focused, the picker lists only visible views, a moved view's hidden state is in its current container's state (cargo test -p app a_moved_view_is_hidden); an activity item's and a tab's context menu with Move To (the other locations) and Reset Location away from the default location or for a lone view at home (paneCompositeBar.ts `getContextMenuActionsForComposite`: cargo test -p app the_explorer_item_menu), an activity item dragged onto the panel or secondary side bar and a tab dropped on the activity bar (compositeBar.ts `CompositeDragAndDrop.drop`: cargo test -p app the_explorer_item_drags; ui-pair contributed-panes.json "moved": Port Panes moves into the panel and opens in both), the Extensions and Testing containers move to the panel and the secondary side bar and back with their views and open commands (cargo test -p app the_extensions_and_testing_containers; ui-pair contributed-panes.json "extensions-moved" and "testing-moved": both items dragged onto the panel open there as in the reference); cargo test -p app (2594 passed); ui-pair port/fixtures/ui-pair/m11/move-view.json, port/results/move-view.md (8 steps match, Ports removed by decision); verified: ui-pair port/results/references-view.md (milestone 11 verification) |+| workbench/services/views | workbench service | M11 | ported | [3 S] activity_bar_menu.rs:113: an activity item's or tab's context menu lacks Configure Keybinding, Hide/Keep '{name}' and Show/Hide Badge above Move To (compositeBarActions.ts `showContextMenu`; ui-pair contributed-panes.json "item-menu"), and a panel or secondary side bar tab's menu lacks its bar's own actions (panelPart.ts `fillExtraContextMenuActions`); [3 S] panel.rs:189: a composite dropped on another bar goes to that bar's end, not the drop index (compositeBar.ts `getTargetIndex`), one dropped on its own bar does not reorder (`moveComposite`), and the moved container opens without focus (`openComposite(id, true)`; ui-pair contributed-panes.json "moved": the reference puts Port Panes before Terminal and focuses its first pane); [3 S] activity_bar_menu.rs:153: an activity item drags as its title, the reference as its icon; [3 S] side_bar.rs:62: the compact activity bar's tabs have no item menu and no drag; [3 S] view_panes.rs:535: a collapsed pane of a container in the panel draws expanded, the reference as a narrow strip (ui-pair contributed-panes.json "moved", Third); [3 S] panel.rs:553: after a composite drop the tab under the pointer shows its hover, the reference none (contributed-panes.json "moved"); [3 S] panel.rs:762 `tab_badge`: a panel or secondary side bar tab draws number badges only, no `IconBadge` or `ProgressBadge` (compositeBarActions.ts `updateActivity`: a moved Testing container's spinner during a run and eye while watching, a container's progress) | view containers of `viewsContainers.activitybar` and `viewsContainers.panel` and the tree views of every container (workbench/view_containers.rs): activity bar items while a view's `when` holds, `workbench.view.extension.<id>` with its "View: Show <title>" Command Palette item while `viewContainer.<id>.enabled` (cargo test -p app an_extension_container_is_shown), a panel container's tab after the built-in ones, its views as side-by-side panes under its "..." and "View: Toggle <title>" (cargo test -p app an_extension_panel_container_is_a_panel_tab), each contributed view's "<container>: Focus on <view> View" palette item (ui-pair port/fixtures/ui-pair/contributed-panes.json "palette" and "panel" match the reference but its Ports tab, removed by decision), `<view id>.focus`, `<view id>.active`, merged single views, view_panes.rs panes for the views of an extension container and of Testing (`PaneContainer::Contributed`: cargo test -p app view_containers::; ui-pair port/fixtures/ui-pair/contributed-panes.json with port/fixtures/extensions/contributed-panes, the Port Panes and Testing side bars as the reference), treeView.ts `noDataProviderMessage` (cargo test -p app tree_view::), contributed views of scm and debug as panes of those containers; the Explorer's ViewDescriptorsState (view_panes.rs); ui-pair port/results/references-view.md; `visibility` (`hidden` views stay out until the Views submenu of the Explorer's "..." shows them, `collapsed`; workbench/view_visibility.rs: cargo test -p app view_visibility); the Explorer container's ViewDescriptorsState (view_panes.rs); moving views (workbench/view_locations.rs, verified): `views.customizations` viewLocations and generated containers `workbench.views.service.<location>.<uuid>` with their activity bar items and panel tabs, View: Move View, Move Focused View, Reset Focused View Location, a view header dropped on another container's pane (at its position), on the activity bar or on a panel's title (a new entry), `focusedView`; the folder view, Open Editors, Outline, Timeline, Source Control's Changes, Search, the debug views and the panel's views move into any built-in container or a new entry and back, the moved view opens focused, the picker lists only visible views, a moved view's hidden state is in its current container's state (cargo test -p app a_moved_view_is_hidden); an activity item's and a tab's context menu with Move To (the other locations) and Reset Location away from the default location or for a lone view at home (paneCompositeBar.ts `getContextMenuActionsForComposite`: cargo test -p app the_explorer_item_menu), an activity item dragged onto the panel or secondary side bar and a tab dropped on the activity bar (compositeBar.ts `CompositeDragAndDrop.drop`: cargo test -p app the_explorer_item_drags; ui-pair contributed-panes.json "moved": Port Panes moves into the panel and opens in both), the Extensions and Testing containers move to the panel and the secondary side bar and back with their views and open commands (cargo test -p app the_extensions_and_testing_containers; ui-pair contributed-panes.json "extensions-moved" and "testing-moved": both items dragged onto the panel open there as in the reference); cargo test -p app (2594 passed); ui-pair port/fixtures/ui-pair/m11/move-view.json, port/results/move-view.md (8 steps match, Ports removed by decision); verified: ui-pair port/results/references-view.md (milestone 11 verification) || workbench/services/workingCopy | workbench service | M8 | verified | | the text file and untitled working copies are the editor models (dirty state, save, revert, the window's edited dot of `onDidChangeDirty`): cargo test -p app untitled (30), lifecycle (3); WorkingCopyFileService create, move, copy, delete with participants: cargo test -p files operations (12); WorkingCopyHistoryService and its tracker for saves into User/History, entries following renames and folder moves (`moveEntries`): cargo test -p app local_history (10); WorkingCopyBackupService and the backup tracker with hot exit (backups.rs, workbench/backup_tracker.rs), a backup of a deleted file restoring as an orphaned model (`doResolveFromBackup`), modified scratchpads backing up: cargo test -p app backup (19); the working copies of editable custom documents (MainThreadCustomEditorModel, workbench/custom_documents.rs: `$onDidEdit` edits for undo and redo with `$disposeEdits`, `$onContentChange`, dirty tabs, `$onSave`, Save As with `$onSaveAs` and the editor moved to the target, `$revert`, `$backup` into a `vscode-custom-editor` backup restored with its backup id): cargo test -p app custom_documents (3), and port/fixtures/extensions/custom-document-tests (FIXTURE=custom-document-tests port/tools/webview-check: 4/4 in the reference and 4/4 in the port). Notebook working copies are the contrib/notebook row's; their backups are typed (`hashIdentifier` with a type id, backups.rs: cargo test -p app backups::, the upstream typed hashes) and the shutdown joins backups still being written || workbench/services/workspaces | workbench service | M12 | verified | | workspace_trust.rs: WorkspaceTrustManagementService (uriTrustInfo in shared storage, longest trusted parent, empty window memento, parent folder trust) and WorkspaceTrustRequestService: cargo test -p app workspace_trust; workbench/workspace_editing.rs: abstractWorkspaceEditingService.ts addFolders, removeFolders, updateFolders, saveAndEnterWorkspace, enterWorkspace in the same window (stopped and started host, settings, backups, storage, Explorer, title), duplicate workspace: cargo test -p app folders_added_and_removed_in_a_workspace_reach_its_file_the_explorer_settings_and_host adding_a_folder_enters_an_untitled_workspace_in_the_same_window workspace_editing (the Remove Folder picker's ROOT_FOLDER icons, `setProfileForWorkspace`: a_new_workspace_keeps_the_window_profile); ui-pair port/fixtures/ui-pair/m12/workspace-folders.json, verified at port-m12b-verify || workbench/contrib/accessibility | workbench contribution | M19 | verified | | workbench/accessible_view.rs and workbench/accessibility.rs: accessible view and accessibility help (Alt+F2, Alt+F1 with the editor, hover, view help providers, the hover's and a workbench hover's accessible view, Escape from the latter focusing the hover again, a focused contributed tree or webview view's `accessibilityHelpContent`, a webview view the `focusedView` while its webview has the keyboard; Alt+F6, Alt+H, Alt+K, Alt+A, Alt+]/[), notification aria labels with the verbosity hint, unfocused editor dimming, Toggle Screen Reader Accessibility Mode, status entry; cargo test -p app accessib (alt_f1_shows_the_editor_help..., alt_f1_in_a_contributed_view..., alt_f1_in_a_webview_view..., dimming), cargo test -p app content_hover (the hover's accessible view), port/tools/a11y-check reads the help text area (port/notes.md milestone 19) |