Commit Graph

149320 Commits

Author SHA1 Message Date
Isidor 60ca350d8f fix tests 2026-03-25 18:35:11 +01:00
Isidor Nikolic 7b375fbd70 Merge branch 'main' into isidorn/xenial-bee 2026-03-25 15:33:39 +01:00
Benjamin Pasero 2ec87aeb2f sessions - restore file icons in modal editor titles (#304714)
style - remove file icon from modal editor titles
2026-03-25 14:33:36 +00:00
Benjamin Pasero 224a1e164c Can't read archived sessions in light mode (fix #304294) (#304720) 2026-03-25 15:29:28 +01:00
Isidor e57e11ce33 fixes https://github.com/microsoft/vscode/issues/304034 2026-03-25 15:20:34 +01:00
Benjamin Pasero 7b9578c951 Include metadata in agent sessions trace logging (#304725)
* Can't read archived sessions in light mode (fix #304294)

* feat - add metadata logging for agent sessions

* Update src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 15:08:48 +01:00
Benjamin Pasero c92f8a4672 Skip confirmation dialog when unarchiving a single session (#304718)
* fix - update confirmation dialog for archiving sessions

* fix - update confirmation dialog for archiving sessions

* fix - update detail message for archiving sessions

* fix - update confirmation dialogs for archiving sessions

* Update src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 15:08:31 +01:00
Benjamin Pasero d82ec93ee6 sessions - fix title for cloud sessions (#304733)
* sessions - fix title for cloud sessions

* Update src/vs/sessions/contrib/sessions/browser/sessionsTitleBarWidget.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 15:01:14 +01:00
Shehab Sherif c4257609ad Fix operator precedence in fuzzyScore2 test assertion (#304449)
Co-authored-by: Shehab Sherif <shehabsherif0@users.noreply.github.com>
2026-03-25 13:57:25 +00:00
Tyler James Leonhardt 5c6981107e Fix Claude forking (#304662)
untitled uri strikes again... we should try getting the real session first before resolving to an untitled uri.
2026-03-25 14:56:11 +01:00
Benjamin Pasero 54b102d976 sessions - hide diff stats from changes view button (#304738) 2026-03-25 14:36:19 +01:00
xingsy97 5096904790 mergeEditor: optimize removeDiffs from O(K*N) to O(N) with single-pass algorithm 2026-03-25 14:03:03 +01:00
Benjamin Christopher Simmonds 1db31f8fa0 Merge pull request #304699 from microsoft/benibenj/thoughtless-porpoise
Update sessions tasks
2026-03-25 12:52:27 +01:00
Henning Dieterichs cfa545cf95 Fixes https://github.com/microsoft/vscode/issues/303784 2026-03-25 12:51:59 +01:00
Lee Murray 8ce5b55118 Merge pull request #304526 from microsoft/mrleemurray/effective-plum-heron
Sessions: Add subtle appear transitions for sidebar and auxiliary parts
2026-03-25 11:11:33 +00:00
mrleemurray 928b737919 Remove box-shadows
Co-authored-by: Copilot <copilot@github.com>
2026-03-25 10:35:57 +00:00
Benjamin Pasero ed2356f066 sessions - focus app when launching from protocol link (#304682) 2026-03-25 10:12:27 +00:00
BeniBenj a042e5793d remove old test 2026-03-25 10:56:44 +01:00
BeniBenj 687dc1c8f0 Update sessions tasks 2026-03-25 10:22:25 +01:00
Lee Murray 0b84fd1b4b Add 'Mark as Done' button for session archiving (#304473)
* Add "Mark as Done" button to sessions title bar for archiving sessions

Co-authored-by: Copilot <copilot@github.com>

* Enhance "Mark as Done" button functionality with focus styles and session state checks

Co-authored-by: Copilot <copilot@github.com>

* style: adjust padding for agent sessions titlebar container and add Mark Session As Done action

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-03-25 08:25:31 +01:00
Osvaldo Ortega 99ab288b45 Merge pull request #304637 from microsoft/copilot/foreign-takin
sessions: Redesign session list with hover-reveal show-more, PR status icons, and compact layout
2026-03-24 21:34:52 -07:00
Kyle Cutler 16ea249743 Fix "BrowserEditor: Failed to start console session" noise (#304595) 2026-03-25 03:34:12 +00:00
Osvaldo Ortega b8fc726c2b fix: remove empty sessionsViewer.css that was causing CI hygiene failure
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 20:31:25 -07:00
Osvaldo Ortega 2a7d6f4cef fix: address PR review feedback for sessions list redesign
- Remove unused sessionToSection map (only sectionToShowMore is needed)
- Cancel pending animation frames on dispose to prevent use-after-free
- Guard updateElementHeight with try/finally around isUpdatingHeight flag
- Respect prefers-reduced-motion via IAccessibilityService.isMotionReduced()
- Track current animated height to avoid visual jump on mid-animation collapse
- Remove stale data-section-label attribute when template is reused
- Gate compact show-more label behind compactLabel option (core keeps original text)
- Use COLLAPSED_HEIGHT constant instead of magic number 1 in getHeight
- Use targetWindow.requestAnimationFrame for multi-window support

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 20:26:05 -07:00
Tyler James Leonhardt 7ca0a20112 fix(copilot): handle case sensitivity for PATH environment variable on Windows (#304573)
otherwise pwsh.exe can't be found.
2026-03-25 03:08:58 +00:00
Osvaldo Ortega fade5c65bb fix: prevent re-entrancy during tree model updates in AgentSessionsControl 2026-03-24 19:57:38 -07:00
Osvaldo Ortega 23694a80db fix: improve handling of expanded elements on tree model changes to maintain valid references 2026-03-24 19:53:50 -07:00
Osvaldo Ortega 29f9bf28fe fix: reset expanded elements on tree model changes to prevent invalid references 2026-03-24 19:52:07 -07:00
Osvaldo Ortega 3f5842af46 fix: remove unnecessary data-section-label removal logic in AgentSessionRenderer 2026-03-24 19:48:21 -07:00
Osvaldo Ortega 31880b9258 fix: ensure data-section-label is removed when repository name is not present 2026-03-24 19:45:51 -07:00
Osvaldo Ortega d006b5fc78 refactor: simplify collapse behavior in agent sessions control by removing timeout logic 2026-03-24 19:42:51 -07:00
Osvaldo Ortega 8953494b80 Improve hover behavior in agent sessions control to delay collapse on mouse leave 2026-03-24 19:42:14 -07:00
Osvaldo Ortega fda9afb4db refactor: consolidate agent session styles and improve PR status icon handling 2026-03-24 19:40:11 -07:00
Osvaldo Ortega 274a1ac142 refactor: remove unused log files and optimize agent sessions rendering
- Deleted multiple log files generated during Playwright tests to clean up the repository.
- Removed unnecessary instances of `AgentSessionShowMoreRenderer` and `AgentSessionShowLessRenderer` in `AgentSessionsControl`.
- Streamlined the rendering process in `AgentSessionShowMoreRenderer` and `AgentSessionShowLessRenderer` by eliminating redundant code and event handling.
- Updated the handling of section labels in the agent sessions to improve performance and maintainability.
2026-03-24 19:34:57 -07:00
Osvaldo Ortega bdfe93b45e Enhance PR status icon detection by checking badge text for indicators 2026-03-24 19:27:16 -07:00
Osvaldo Ortega bc23ca36dc Remove unused time label styles and transitions in agent session items 2026-03-24 19:20:28 -07:00
Osvaldo Ortega 390041d85b Improve hover behavior in agent sessions control to prevent unintended collapse 2026-03-24 19:13:50 -07:00
Osvaldo Ortega c7ab91e5f7 Implement height animation for show-more/collapse functionality in agent sessions 2026-03-24 19:10:19 -07:00
Peng Lyu 226c26a32f Enhance image carousel to support video playback (#304582)
* Enhance image carousel to support video playback

* 💄

* 💄 2
2026-03-24 19:08:25 -07:00
Osvaldo Ortega 06875997a9 Add transition effect for agent session show-more rows 2026-03-24 19:05:28 -07:00
Osvaldo Ortega 9191c699ac Refactor show-more section comments and structure for clarity and improved visibility control 2026-03-24 19:03:00 -07:00
Osvaldo Ortega 25d01d94cb Refactor show-more section styles for improved visibility control and hover behavior 2026-03-24 18:59:31 -07:00
Osvaldo Ortega 53ffddc848 Refactor show-more and show-less renderers to remove compact mode handling and update CSS for visibility control 2026-03-24 18:56:59 -07:00
Osvaldo Ortega adfcb01bc9 Add foreground colors for open and merged pull request indicators in agent sessions 2026-03-24 18:04:15 -07:00
Osvaldo Ortega 0fe94be799 Add pull request status icons to agent session renderer 2026-03-24 18:02:29 -07:00
Osvaldo Ortega 0d3b89685b Refactor show-more section handling to improve label mapping and expand/collapse logic 2026-03-24 17:56:35 -07:00
Osvaldo Ortega 10c0065ec8 Enhance compact mode for show-more items by updating class states on expand/collapse 2026-03-24 17:51:57 -07:00
Osvaldo Ortega f78e576ae3 Refactor show-more section retrieval to traverse root node children for improved accuracy 2026-03-24 17:49:51 -07:00
Osvaldo Ortega aad823e5eb Improve show-more/show-less section retrieval by traversing tree nodes 2026-03-24 17:48:21 -07:00
Osvaldo Ortega 8a841f4a84 Add debug logging for show-more interactions in agent sessions control 2026-03-24 17:46:57 -07:00