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.
Description
Warning
Draft for now, there are still some mayor decisions that have to made about how tasks are going to be handled.
Displays the Activity Viewer component at the top of the editor based on the latest design by @austincondiff. It contains a basic proposal for how to handle the CodeEdit tasks with a
TaskManager
class that will handle the execution and the selection of the active task, and aCETask
model that will represent a specific task. When executing a task, another model called CETaskRun handles the state of the current run. For now there's only oneTestTask
that idles for a few seconds and then finishes. Also, the status of the tasks in the dropdown just display the same result since there's no persistence implemented yet.I had to create a custom DropdownMenu view since the SwiftUI Menu was too limited for the proposed look. The dropdown menu is currently displayed as a popover, similar to how Xcode shows the schemes and devices to save time but it can be easily adjustable.
Related Issues
Checklist
Screenshots