Add account components 386-405; Reduce setting, PinInput Cmd+V
Twenty account components: SettingsList, OptionCycler, KeyBindings, ControllerMap, ProfileCard, CharacterCreator, LoginForm, PasswordGrid, SessionList, LanguagePicker, PalettePicker, VolumeMixer, DifficultySelect, AccessibilityOptions, AccountSwitcher, PlayerSelect, TwoFactor, About, PatchNotes and FeedbackForm. The components never check credentials, and no secret reaches the log: LoginForm reports Submitted and the caller counts Failures; each new failure clears the password, refocuses it, shakes the form and names no field. TwoFactor builds on input.PinInput and drains an epoch-aligned period bar. PalettePicker draws each tile in its own palette on a pixel.Pad grid. pixel.Settings.Reduce stills motion like the system preference, the micro font gains '?', display.Face draws avatar faces anywhere, and input.PinInput pastes on Cmd+V as native hosts send it.
This commit is contained in:
38 files changed
+2788
-13
No files matched your search
@@ -126,6 +126,14 @@ func TestPinInputTypesBacksAndPastes(t *testing.T) {
|
||||
if pin != "1298" || complete != 1 {
|
||||
t.Fatalf("paste left %q, complete %d times", pin, complete)
|
||||
}
|
||||
// Native hosts paste on Cmd+V, as a key.
|
||||
tt.Key(0, ui.KeyBackspace)
|
||||
tt.Key(0, ui.KeyBackspace)
|
||||
tt.SetClipboard("55")
|
||||
tt.Key(ui.Cmd, ui.KeyV)
|
||||
if pin != "1255" || complete != 2 {
|
||||
t.Fatalf("Cmd+V left %q, complete %d times", pin, complete)
|
||||
}
|
||||
if _, ok := tt.TextCaret(); !ok {
|
||||
t.Fatal("the boxes take no text from input methods")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user