Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/serverTaskPresenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async function getPresenterTaskExecution(): Promise<TaskExecution> {
echo: false,
focus: false
};
presenterTask.isBackground = true;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

When was this introduced in the API? Asking to know if this'll work in theia

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think isBackground has been around for a while, and supported by Theia ( https://che-incubator.github.io/vscode-theia-comparator/status.html ). However, I'm guessing the terminal only recently started using the property to determine whether to have a spinning icon beside the terminal label ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

isBackground was introduced four years ago, since this task is long-running, I believe it's correct to mark it as isBackground.

I'm guessing the terminal only recently started using the property to determine whether to have a spinning icon beside the terminal label ?

Yes, I tried some previous version e.g. 1.50 as below, there's no visualization of the state at that time, and terminals are in dropdown menu... It has been visualized since vscode refine the terminal UX to present all terminals together.
image


return presenterTaskExecution = await tasks.executeTask(presenterTask);
}
Expand Down