feat: add pending signal to status

This commit is contained in:
wancat committed 2023-10-29 17:42:31 +08:00
1 parent aec0cf84ad
commit d724f97403
11 files changed
+90 -30

No files matched your search

+8 -2
View File
@@ -15,6 +15,7 @@ class SessionManager {
})
)
this.pwd = ref('')
this.status = ref('inactive')
}
getSession() {
@@ -26,6 +27,7 @@ class SessionManager {
this.session.value = session
this.graph.value = new FileGraph(session.graph)
this.hints.value = session.hints
this.status.value = session.status
}
handleGraphUpdate(event) {
@@ -37,8 +39,12 @@ class SessionManager {
}
}
handleHintUpdate(event) {
this.hints.value = [...this.hints.value, ...event]
handleHintUpdate(hints) {
this.hints.value = [...this.hints.value, ...hints]
}
handleStatusUpdate(status) {
this.status.value = status
}
setTasks(tasks) {