feat: add searchable Active Profile picker

This commit is contained in:
proxyctl coordinator
2026-07-17 22:32:41 +08:00
parent 7c0b4481d7
commit 306b02331f
10 changed files with 483 additions and 22 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ func TestBusyActivationBlocksPageEntryAndEveryNewOperation(t *testing.T) {
t.Fatalf("activation did not start exactly once: command=%v intents=%#v", command != nil, module.intents)
}
for _, key := range []string{"p", "r", " "} {
for _, key := range []string{"a", "p", "r", " "} {
updated, blocked := model.Update(keyMessage(key))
model = updated.(Model)
if blocked != nil || model.page != mainPage || len(module.intents) != 1 {
@@ -192,7 +192,7 @@ func TestBusyRefreshBlocksTogglePageEntryRefreshAndActivation(t *testing.T) {
t.Fatal("refresh did not start")
}
for _, key := range []string{" ", "p", "r"} {
for _, key := range []string{" ", "a", "p", "r"} {
updated, blocked := model.Update(keyMessage(key))
model = updated.(Model)
if blocked != nil || model.page != mainPage || len(module.intents) != 1 {