fix(webui): shorten route descriptions, setup steps, alerts and panel errors
This commit is contained in:
1 parent
8a1e07f93e
commit
cd983c7877
19 files changed
+78
-79
No files matched your search
@@ -33,19 +33,19 @@ func (s *Server) handleSetup(w http.ResponseWriter, r *http.Request) {
|
||||
operator := view.Chat.Operator
|
||||
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Give Archie an identity",
|
||||
Detail: "The account it commits and comments as.",
|
||||
Title: "Identity",
|
||||
Detail: "Account Archie commits as.",
|
||||
Done: strings.TrimSpace(view.Identity.BotUser) != "",
|
||||
})
|
||||
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Connect a repository",
|
||||
Detail: "Archie polls these for issues assigned to it.",
|
||||
Title: "Repository",
|
||||
Detail: "Polled for assigned issues.",
|
||||
Done: len(view.Repositories) > 0,
|
||||
})
|
||||
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Connect a chat channel",
|
||||
Title: "Chat channel",
|
||||
Detail: "Chat and approvals.",
|
||||
Done: view.Chat.ChannelConfigured,
|
||||
})
|
||||
@@ -57,8 +57,8 @@ func (s *Server) handleSetup(w http.ResponseWriter, r *http.Request) {
|
||||
total += n
|
||||
}
|
||||
steps = append(steps, SetupStep{
|
||||
Title: "Run your first task",
|
||||
Detail: "Assign Archie an issue, or ask it for something in chat.",
|
||||
Title: "First task",
|
||||
Detail: "Assign an issue or ask in chat.",
|
||||
Done: total > 0,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user