feat(ui): start tasks from the dashboard and slim it to activity and setup
This commit is contained in:
23 files changed
+297
-487
No files matched your search
@@ -38,12 +38,6 @@ func (s *Server) handleSetup(w http.ResponseWriter, r *http.Request) {
|
||||
Done: strings.TrimSpace(view.Identity.BotUser) != "",
|
||||
})
|
||||
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Repository",
|
||||
Detail: "Polled for assigned issues.",
|
||||
Done: len(view.Repositories) > 0,
|
||||
})
|
||||
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Chat channel",
|
||||
Detail: "Chat and approvals.",
|
||||
@@ -58,7 +52,7 @@ func (s *Server) handleSetup(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "First task",
|
||||
Detail: "Assign an issue or ask in chat.",
|
||||
Detail: "Describe one above.",
|
||||
Done: total > 0,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user