-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce lenses for ReportOpts, ReportSpec, CliOpts, etc. #1545
Commits on Jul 13, 2021
-
lib,cli,ui,web: Rename fields of ReportSpec to be consistent with Rep…
…ortOpts, CliOpts, etc. rsOpts -> reportopts_ rsToday -> reportday_ rsQuery -> query_ rsQueryOpts -> queryopts_
Configuration menu - View commit details
-
Copy full SHA for 471d4d5 - Browse repository at this point
Copy the full SHA 471d4d5View commit details -
lib,cli: Rename some fields of ReportOpts and InputOpts to avoid name…
… clashes. ReportOpts: color_ -> showcolor_ drop_ -> droplevels_ empty_ -> showempty_ transpose_ -> transposetable_ InputOpts: anon_ -> anonymise_
Configuration menu - View commit details
-
Copy full SHA for 22071c7 - Browse repository at this point
Copy the full SHA 22071c7View commit details -
lib,cli,web: Create a Template Haskell helper for removing trailing u…
…nderscores to make lenses. Then make classy lenses for BalancingOpts. Also rename balancingOpts -> defbalancingopts.
Configuration menu - View commit details
-
Copy full SHA for 7da4e8f - Browse repository at this point
Copy the full SHA 7da4e8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 372a3d8 - Browse repository at this point
Copy the full SHA 372a3d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2f1ab - Browse repository at this point
Copy the full SHA cb2f1abView commit details -
cli,web: Add classy lenses for CliOpts.
Also hide some imports in hledger-web to avoid name clashes.
Configuration menu - View commit details
-
Copy full SHA for 34e6e0a - Browse repository at this point
Copy the full SHA 34e6e0aView commit details -
lib,cli,web: Refactor to use BalancingOpts, InputOpts, ReportSpec, an…
…d CliOpts lenses.
Configuration menu - View commit details
-
Copy full SHA for 1c608f8 - Browse repository at this point
Copy the full SHA 1c608f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa734bc - Browse repository at this point
Copy the full SHA aa734bcView commit details -
ui: Add classy lenses for UIOpts, and lenses for UIState.
Implement a few code simplifications to reduce boilerplate and take advantage of the new lenses.
Configuration menu - View commit details
-
Copy full SHA for 11fede0 - Browse repository at this point
Copy the full SHA 11fede0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1032b2b - Browse repository at this point
Copy the full SHA 1032b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b90ae1 - Browse repository at this point
Copy the full SHA 3b90ae1View commit details -
lib: Write out ReportSpec lenses and classes by hand, rather than usi…
…ng TemplateHaskell.
Configuration menu - View commit details
-
Copy full SHA for 80a618f - Browse repository at this point
Copy the full SHA 80a618fView commit details