summaryrefslogtreecommitdiff
path: root/tests/test_tui.c
AgeCommit message (Collapse)Author
5 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>
6 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>
6 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>
7 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>
27 hourstui: kundutkast, <UTKAST>, explicit Spara och F2-åtgärderAnders 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: 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