Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candidate: Fix nb outline recompute + nb stickyscroll OutlineTarget #211741

Merged
merged 3 commits into from
May 1, 2024

Conversation

Yoyokrazy
Copy link
Contributor

Fixes: #211738

@Yoyokrazy Yoyokrazy self-assigned this Apr 30, 2024
@Yoyokrazy Yoyokrazy marked this pull request as ready for review April 30, 2024 23:12
@Yoyokrazy Yoyokrazy enabled auto-merge (squash) April 30, 2024 23:13
entries.push(new OutlineEntry(index++, NotebookOutlineConstants.NonHeaderOutlineLevel, cell, preview, !!exeState, exeState ? exeState.isPaused : false));
}
// push code cell entry that is a parent of cached symbols, always necessary. filtering done elsewhere.
entries.push(new OutlineEntry(index++, NotebookOutlineConstants.NonHeaderOutlineLevel, cell, preview, !!exeState, exeState ? exeState.isPaused : false));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yoyokrazy
Please do ensure we clean this in next iteration,
I understand this is a quick fix for recovery, but the code is weird, as we're passing in the target as an argument into the method.

Copy link
Contributor Author

@Yoyokrazy Yoyokrazy Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this will get addressed in the restructuring that we discussed after the notebook sync. It'll need work after the structure of the notebookOutlineProvider changes to reflect the rawModel vs viewModel ideas we have talked about.

edit: issue created that references this comment

@Yoyokrazy Yoyokrazy merged commit e5eb53a into release/1.89 May 1, 2024
6 checks passed
@Yoyokrazy Yoyokrazy deleted the milively/candidate-outline-fix branch May 1, 2024 00:12
Yoyokrazy added a commit that referenced this pull request May 1, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants