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

chore: introduce update snapshot settings #572

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

pavelfeldman
Copy link
Member

No description provided.

@@ -144,16 +146,14 @@ export class SettingsView extends DisposableBase implements vscodeTypes.WebviewV
svg: `<div class="action-indent"></div>`,
text: this._vscode.l10n.t('Run global setup'),
location: 'rareActions',
disabled: !this._models.selectedModel() || !this._models.selectedModel()!.canRunGlobalHooks('setup'),
hidden: this._settingsModel.runGlobalSetupOnEachRun.get(),
disabled: this._settingsModel.runGlobalSetupOnEachRun.get() || !this._models.selectedModel() || !this._models.selectedModel()!.canRunGlobalHooks('setup'),
Copy link
Member

Choose a reason for hiding this comment

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

Why was this hidden condition removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted UI to stop jumpin on update

@@ -105,8 +102,6 @@ export class TestServerConnection implements TestServerInterface, TestServerInte
this._onReportEmitter.fire(params);
else if (method === 'stdio')
this._onStdioEmitter.fire(params);
else if (method === 'listChanged')
Copy link
Member

Choose a reason for hiding this comment

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

Was this unused I guess?

Copy link
Member Author

Choose a reason for hiding this comment

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

This was removed in one of Simon's refactorings, it is not used in vscode or UI mode anymore

@@ -147,6 +147,8 @@ export class ReusedBrowser implements vscodeTypes.Disposable {
this._pageCountChanged(params.pageCount);
});
this._backend.on('sourceChanged', async params => {
if (!this._cancelRecording)
Copy link
Member

Choose a reason for hiding this comment

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

Is this related?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a fix of a nasty issue, it is unrelated, but running tests ends up editing sources otherwise :)

@pavelfeldman pavelfeldman merged commit 0e60bf2 into microsoft:main Dec 16, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants