3ddab495cli: Fix loading from non-existent path
That env var is a space separated list of paths.
Shota FUJI
authored at
Shota FUJI
comitted at
2762bc05cli: 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
5e4bac21gtk: Move the directory under apps/
Tried to add `tui` app at root, but felt unorganized.
Shota FUJI
authored at
Shota FUJI
comitted at
8ba72d01Use "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
56257cdcSetup 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
a062860cMove gtk app into gtk/ directory
To introduce FlatBuffer scheme files and web app.
Shota FUJI
authored at
Shota FUJI
comitted at
bfc041e1Move 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
dc83b206Add edit dialog to stopped timers
For now, only the title field can be updated.
Shota FUJI
authored at
Shota FUJI
comitted at
a700127aFix directory/file creation log appears when target already exists
Shota FUJI
authored at
Shota FUJI
comitted at
62807afbExplictly 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
14e93648Log 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
798ace2dFix 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
4efbb676Reverse 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
2fc05f9eSave 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
d71205b6Remove 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
98a3162cUse add/remove_css_class method from Gtk.Widget
This is safer and easier to maintain.
Shota FUJI
authored at
Shota FUJI
comitted at
cfda7d2fUtilize class initializer for widgets
This is much easier to read than multiple assignment statements.
Shota FUJI
authored at
Shota FUJI
comitted at
8804b923Change start button's color when there is no running timer
Shota FUJI
authored at
Shota FUJI
comitted at
7a6fb9bcEmpty 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