Add shared live run graphs, debugging, editor choice and draft cleanup
This commit is contained in:
@@ -194,7 +194,13 @@ func (m Model) editPipeline() (tea.Model, tea.Cmd) {
|
||||
m.appendLine("submission already in progress")
|
||||
return m, nil
|
||||
}
|
||||
return m, editDraftMode(m.detail.Name, pipeline.ExecutionSource(m.detail.Source), true, false, draft.Draft{Server: m.url, BaseVersion: m.detail.LatestVersion})
|
||||
m.editorOpen = true
|
||||
m.editorIndex = 0
|
||||
m.editorInput = newInput()
|
||||
m.editorInput.Placeholder = "Search nvim or OpenCode…"
|
||||
m.editorInput.Focus()
|
||||
m.editorDraft = &editedMsg{name: m.detail.Name, source: pipeline.ExecutionSource(m.detail.Source), baseVersion: m.detail.LatestVersion}
|
||||
return m, m.editorInput.Focus()
|
||||
}
|
||||
|
||||
func (m Model) updatePipeline(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
|
||||
|
||||
Reference in New Issue
Block a user