summaryrefslogtreecommitdiff
path: root/clients/tui.c
AgeCommit message (Collapse)Author
4 hourstui: context menu on → / ^O; no F-keys, ^N or ^EnterAnders Betts
→ (where no caret uses it) and ^O (everywhere, also in table cells) open "Åtgärder": a box at the right edge with every action of the view and its key. Screens declare their actions with tui_set_actions(); choosing one feeds its key to the widget, so the menu and accelerators share one path. Function keys, Ctrl+N (now n), Ctrl+Enter and Ctrl+F are gone and no extended keyboard protocol is enabled, so the TUI works in a browser terminal; save/post/validate/preview/template/attach are menu actions. make check rejects F-keys, ^N and ^Enter in clients/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 hoursuser.set_password: change your own password; TUI "Byt lösenord"v0.1.68Anders Betts
Needs the current password (wrong ones rate limited like logins) and a password session, requires at least 10 characters, closes the user's other sessions and is audited without secrets. The TUI main menu gets "Byt lösenord" with masked prompts; ^R keeps working with the new password. Masked prompt buffers are wiped before they are freed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 hourstui: 'g' + a letter searches list rowsAnders Betts
The goto prompt decides on its first key: digits jump to a row number as before, any other printable key searches the row texts of the list or menu (case-insensitive, also åäö), with up/down stepping through the matches. Keys typed into the prompt no longer reach the screen's key hook, and Enter in the action menu closes an open prompt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 hourstui: aligned voucher detail, up/down between vouchers, list sortingAnders Betts
The detail pads every column by display width, blanks zero amounts and shows row texts and a Summa line. Up/Down step to the previous/next voucher in the list order; 's' cycles the list sort (number or date, ascending or descending, saved in tui.conf). The list fetches all pages of voucher.list instead of stopping at 200. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 hourstui: one shared field editor, in-place form editing, value-only focusAnders Betts
Forms edit fields in place in the value column instead of a bottom prompt, highlight only the focused value and scroll when taller than the screen; long text scrolls horizontally instead of wrapping. Fixes: typing after Backspace/Del no longer wipes the field, 'q' is text in row tables, the caret resets between cells, dialogs decode arrow keys, full buffers never take half a UTF-8 character, an invalid amount stays editable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 hourstui: kundutkast, <UTKAST>, explicit Spara och F2-åtgärderAnders Betts
41 hourssettings: per-feature voucher series and console invoice number; tui: F9 hintsv0.1.60Anders Betts
47 hourstui: level-2 modifyOtherKeys, Kitty keyboard protocol and ^Enter/F9 hintsv0.1.59Anders Betts
3 daystui: pinned report headers, voucher detail headers, clamped pagingv0.1.48Anders Betts
3 daystui: align list rows beyond nine itemsv0.1.47Anders Betts
4 daystui: remember the focused row in forms and the bokslut hubv0.1.44Anders Betts
4 daystui: bokslut hub with year fields, reports and the posting actionv0.1.43Anders Betts
4 daystui: bokslut footer explains the plan/post keysv0.1.42Anders Betts
4 daystui: backspace deletes backwards while editing; esc restores the valuev0.1.41Anders Betts
4 daystui: themes, pager markup, menu sections; merge Bokslut and year infov0.1.40Anders Betts
4 daystui: form fields on the row-table screen; home/end/pgup/pgdn navigationv0.1.39Anders Betts
4 daystui: migrate the remaining screens to the widget layerv0.1.38Anders Betts
4 daystui: row table widget (dynamic rows, trailing blank row) + testsv0.1.37Anders Betts
4 daystui: shared widget layer (fields, prompts, lists, forms, pager) + testsv0.1.36Anders Betts