tasks: Reorganize task modal (#11752)

![image](https://github.com/zed-industries/zed/assets/24362066/bc7cc3d3-d9fc-4be6-b9b6-e3d8edf5b533)

Release Notes:
- Improved tasks modal by highlighting a distinction between a task
template and concrete task instance and surfacing available keybindings
more prominently. Task templates are now always available in the modal,
even if there's already a history entry with the same label.
- Changed default key binding for "picker::UseSelectedQuery" to `opt-e`.
This commit is contained in:
Piotr Osiewicz 2024-05-14 11:22:09 +02:00 committed by GitHub
parent 0a096bf531
commit 95e0d5ed74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 160 additions and 47 deletions

View file

@ -187,7 +187,6 @@ pub(super) fn python_task_context() -> ContextProviderWithTasks {
label: "execute selection".to_owned(),
command: "python3".to_owned(),
args: vec!["-c".to_owned(), VariableName::SelectedText.template_value()],
ignore_previously_resolved: true,
..TaskTemplate::default()
},
TaskTemplate {