Phase 2: command screens
- /help: a short introduction with the user's default format, how to be asked every time and the limits on one line, plus buttons Commands, Account, Groups, Open app and Upgrade that switch the same message to a section. Group commands are hidden in private chats; "Add me to a group" takes their place. - /quality: Ask every time, Best that fits my limit, Best, 1080p, 720p, 480p and Audio only, with the active one checked. Free users see which qualities may go over their limit. - /history: pages of five compact buttons (site, title, format, when), a view per download with Send again, Thumbnail, Remove from history, and Clear history with a confirmation. Thumbnails are grouped under their video. Migration 00007 stores extractor, title, uploader and profile on deliveries and adds a hidden flag. - docs/SCREENS.md shows every screen in en, es and nl, generated by the language test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6843053582
commit
123cede7f3
@@ -457,9 +457,9 @@ func TestUserDefaultQualityAndLanguageAndStaticPages(t *testing.T) {
|
||||
h := startMoney(t, nil, nil)
|
||||
seq := h.srv.Seq()
|
||||
h.srv.PushMessage(alice, alice, "/quality")
|
||||
menu := h.wait(seq, "sendMessage", textHas("Pick your default format"))
|
||||
menu := h.wait(seq, "sendMessage", textHas("Your default format"))
|
||||
// Somebody who never chose gets "best that fits my limit".
|
||||
if labels(menu) != "Ask every time | ✓ Best that fits my limit | Best | 1080p | 720p | 480p | Audio only (MP3)" {
|
||||
if labels(menu) != "Ask every time | ✓ Best that fits my limit | Best ⚠ | 1080p ⚠ | 720p ⚠ | 480p ⚠ | Audio only (MP3)" {
|
||||
t.Fatalf("quality buttons = %q", labels(menu))
|
||||
}
|
||||
seq = h.press(alice, alice, menu, "ql:720")
|
||||
|
||||
Reference in New Issue
Block a user