Stephen Morgan
7168f7efc4
imp: ui: Use new DepthSpec in hledger-ui.
...
The regular expression depths are ignored, and only the flat depths are
used.
2024-12-03 08:33:21 -10:00
Simon Michael
df79aa5e35
dev: distinguish oneLineFmt and oneLineNoCostFmt; add fullZeroFmt
2024-01-23 21:35:06 -10:00
Simon Michael
0cb382cf0e
dev: rename AmountDisplayOpts -> AmountFormat, and related constants
...
noColour -> defaultFmt
noCost -> noCostFmt
oneLine -> oneLineFmt
csvDisplay -> machineFmt
2024-01-23 21:35:06 -10:00
Simon Michael
6bd862efbf
imp: ui: round amounts to display precision as before (precisiongeddon)
2023-11-14 13:23:40 -08:00
Simon Michael
0f4413f011
doc: ui: note transaction screen's inability to update; code cleanup
2023-03-24 12:44:53 -10:00
Simon Michael
6cbf354206
imp: ui: show menu screen by default; drop the --menu flag
...
It's a simpler and more natural default; power users can use a flag to
start in the desired screen.
2023-03-24 10:07:53 -10:00
Simon Michael
3705e4c15e
imp: ui: menu: move "All accounts" screen last
2023-03-24 08:03:04 -10:00
Simon Michael
a4b3476e2f
feat: ui: add "Cash accounts" screen
2023-03-24 07:59:16 -10:00
Simon Michael
0b9c01253b
imp: ui: simplify screen names on menu screen
2022-11-08 12:39:20 -10:00
Simon Michael
9a8a8a75a2
imp: ui: start on balance sheet screen: better initial screen stack
2022-11-06 07:59:45 -10:00
Simon Michael
06bc09a36f
dev: comments
2022-11-06 07:59:45 -10:00
Simon Michael
4a35945a8f
imp: ui: start on balance sheet accounts screen
2022-11-04 23:16:40 -10:00
Simon Michael
9a9ebfc0e3
dev: ui: rename hledger-ui debug helpers
2022-10-31 12:42:09 -10:00
Simon Michael
e51d4059db
feat: ui: add income statement accounts screen
2022-09-11 13:51:40 -10:00
Simon Michael
a3c0716133
dev: ui: as, bs: reuse update, draw code
2022-09-08 13:42:29 -10:00
Simon Michael
a3ea054028
dev: ui: bs: reuse AccountsScreenState
2022-09-08 12:46:02 -10:00
Simon Michael
fb0053c15f
imp: ui: fix a probable bug with detecting date change while running
2022-09-08 12:23:59 -10:00
Simon Michael
975522e759
feat: ui: add balance sheet accounts screen
2022-09-08 12:23:59 -10:00
Simon Michael
75a19e8609
feat: ui: add top-level menu screen
2022-09-08 12:23:59 -10:00
Simon Michael
a5f4d2fd6e
dev: ui: refactor: simpler, more debuggable Screen type
...
Follow-on from the brick 1.0 migration work (#1889 , #1919 ).
These new types aim to be more restrictive, allowing fewer invalid
states, and easier to inspect and debug. The screen types store only
state, not behaviour (functions), and there is no longer a circular
dependency between UIState and Screen.
2022-09-07 11:56:13 -10:00