timetracker

Commits at 3ddab495601ef32a8941aaadf945b416fef1a585

  1. 3ddab495 cli: Fix loading from non-existent path That env var is a space separated list of paths. Shota FUJI authored at Shota FUJI comitted at
  2. 2762bc05 cli: Add CLI There is zero TUI libraries for Zig that is usable. Majority of ones I found online are vibecoded non-working fakers. CLI should be okay for my usage, as I don't record micro tasks nowadays. The reason I choose Zig is simplicity. As there is virtually no hidden stuffs, I can "feel" the raw speed of event processing everytime interacting with the CLI. If this minimal implementation got slowed down, future implementations in different platform such as GC-ed one would be much slower thus I know the fundamental data / file design needs redesign. Shota FUJI authored at Shota FUJI comitted at
  3. 5e4bac21 gtk: Move the directory under apps/ Tried to add `tui` app at root, but felt unorganized. Shota FUJI authored at Shota FUJI comitted at
  4. a53b55f3 Upgrade to Zig v0.16 Shota FUJI authored at Shota FUJI comitted at
  5. abfd123e nix: Update Flake input (nixpkgs) Shota FUJI authored at Shota FUJI comitted at
  6. fdb971c8 gtk: Add desktop entry Shota FUJI authored at Shota FUJI comitted at
  7. 8ba72d01 Use "nix fmt" as formatter command To get rid of "nix development .#fhs-fish". It's also simple and easier to migrate to other formatter frontend. Shota FUJI authored at Shota FUJI comitted at
  8. 54722fde Simple calendar view Shota FUJI authored at Shota FUJI comitted at
  9. 56257cdc Setup FHS fish devshell for NixOS dprint-plugin-exec cannot work non-FHS environment. https://github.com/dprint/dprint-plugin-exec/issues/38 https://github.com/dprint/dprint-plugin-exec/issues/42 Shota FUJI authored at Shota FUJI comitted at
  10. a062860c Move gtk app into gtk/ directory To introduce FlatBuffer scheme files and web app. Shota FUJI authored at Shota FUJI comitted at
  11. 0c05856f Add edit dialog to active timers Shota FUJI authored at Shota FUJI comitted at
  12. bfc041e1 Move to active timer tab after starting stopped timer Without this, it's difficult to know what happened. Consequence of pressing "Start" button was unclear. Shota FUJI authored at Shota FUJI comitted at
  13. dc83b206 Add edit dialog to stopped timers For now, only the title field can be updated. Shota FUJI authored at Shota FUJI comitted at
  14. a700127a Fix directory/file creation log appears when target already exists Shota FUJI authored at Shota FUJI comitted at
  15. 62807afb Explictly call "log()" function instead of shortcuts These shortcut functions ("debug", "info", "warn", "critical") are simply bad. They can't be filtered and looks ugly due to the log source (identifier?) missing from output. I used those because many samples and real world code use those simple functions. I don't get it. Shota FUJI authored at Shota FUJI comitted at
  16. 14e93648 Log restoration time at debug level As this GTK4 app is benchmark/PoC, these two information is the most important. Shota FUJI authored at Shota FUJI comitted at
  17. 798ace2d Fix active timers do not show up Why is GObject binding this garbage? "SYNC_CREATE" flag is useless and there are no warnings or documentations. Shota FUJI authored at Shota FUJI comitted at
  18. 4efbb676 Reverse sort order of history items I'm not sure this is the right place to change. But none of `GtkListView`, `GListModel`, `GListStore`, `GtkSelectionModel` and `GtkSingleSelection` provides sorting / ordering methods. Shota FUJI authored at Shota FUJI comitted at
  19. 625adf1e Display history nicely Shota FUJI authored at Shota FUJI comitted at
  20. 8facf3d9 Display placeholder text on timer title input Shota FUJI authored at Shota FUJI comitted at
  21. 0bbc2552 Fix long timer name overflows Shota FUJI authored at Shota FUJI comitted at
  22. 2fc05f9e Save and Restore application data to / from file system To test how storing events in event sourcing system, as a linked list in file system. Although hashing is absent, testing this in real world environment with actual data would be useful. Shota FUJI authored at Shota FUJI comitted at
  23. b7fa8473 Make timer list scrollable (active & history) Shota FUJI authored at Shota FUJI comitted at
  24. a98bdd8d nix: Fix building default package fails Shota FUJI authored at Shota FUJI comitted at
  25. d71205b6 Remove unnecessary widget update method call I don't know why this works and why ActiveTimersView.vala#L34 does not work. Shota FUJI authored at Shota FUJI comitted at
  26. 98a3162c Use add/remove_css_class method from Gtk.Widget This is safer and easier to maintain. Shota FUJI authored at Shota FUJI comitted at
  27. cfda7d2f Utilize class initializer for widgets This is much easier to read than multiple assignment statements. Shota FUJI authored at Shota FUJI comitted at
  28. 8804b923 Change start button's color when there is no running timer Shota FUJI authored at Shota FUJI comitted at
  29. 7a6fb9bc Empty UI for timer list It does not make sense at History page, but I have to create a new widget for that page anyway, so this is okay for now. Shota FUJI authored at Shota FUJI comitted at
  30. 43fd4ea7 Calendar page It displays nothing meaningful, though. Shota FUJI authored at Shota FUJI comitted at