Repository navigation
Fix timeline command to handle file input and timing issues - #341538
Merged
Logan Ramos (lramos15) merged 3 commits intoOct 14, 2026
Merged
Conversation
Federico Brancasi (federicobrancasi)
previously approved these changes
Oct 14, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Keyboard invocation on a focused folder can pin unsupported folder input, and the reported command path lacks regression coverage.
2 open findings
What changed in this PR
Fixes Timeline keyboard invocation by resolving the current resource and waiting for the view to open before updating it.
Changes:
- Resolves focused Explorer or active editor resources.
- Makes
setUriawait Timeline view creation. - Adds ordering coverage for URI notifications.
| File | Description |
|---|---|
timeline.contribution.ts |
Resolves command resources and opens Timeline. |
timelineService.ts |
Waits for view creation before emitting URI changes. |
timeline.ts |
Updates the asynchronous service contract. |
timelineService.test.ts |
Tests view-open and URI-event ordering. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…nding When files.openTimeline is invoked without a resource, a folder focused in the Explorer is now ignored in favor of the active editor, since folders have no timeline of their own. Adds a regression test that runs the command without an argument and checks which resource reaches the timeline service. Refs #100611 Co-authored-by: Copilot <[email protected]>
Henning Dieterichs (hediet)
previously approved these changes
Oct 14, 2026
Giuseppe Cianci (Giuspepe)
previously approved these changes
Oct 14, 2026
Contributor
|
Base:
|
Folders resolved from Explorer focus now flow through like explicit folder arguments already do, keeping getResourceForCommand unchanged. Simplifies the command regression test to cover the argument, active editor and no-resource cases. Refs #100611 Co-authored-by: Copilot <[email protected]>
Logan Ramos (lramos15)
dismissed stale reviews from Giuseppe Cianci (Giuspepe) and Henning Dieterichs (hediet)
via
October 14, 2026 13:13
9fe3b25
Henning Dieterichs (hediet)
approved these changes
Oct 14, 2026
Logan Ramos (lramos15)
deleted the
lramos15/agents/fix-vscode-issue-100611
branch
October 14, 2026 13:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fix #100611