fix: bad ux
This commit is contained in:
parent
a70ed5a372
commit
5a425b8c60
15 changed files with 791 additions and 463 deletions
|
|
@ -8,7 +8,9 @@ const (
|
|||
PageLogin Page = iota
|
||||
PageMenu
|
||||
PageListDomains
|
||||
PageDNSRetrieve
|
||||
PageDomainDetails
|
||||
PageDomainMenu
|
||||
PageDNSList
|
||||
)
|
||||
|
||||
type SwitchPageMsg struct {
|
||||
|
|
@ -21,8 +23,14 @@ type SessionReadyMsg struct {
|
|||
|
||||
type ListDomainsMsg struct{}
|
||||
|
||||
type DomainSelectedMsg struct {
|
||||
Domain *porkbun.Domain
|
||||
}
|
||||
|
||||
type DNSRetrieveMsg struct {
|
||||
Domain string
|
||||
}
|
||||
|
||||
type RefreshMsg struct{}
|
||||
|
||||
type ErrorMsg error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue