Commit Graph

34 Commits

Author SHA1 Message Date
15ba984d76 feat(config): Allow a server to be set as the "default" server (fix #17) 2024-04-07 15:11:10 -05:00
be2c17662d docs(config): Fix incorrect function name in comment. 2024-04-07 14:25:53 -05:00
fa9318812d feat(times): Add repository column to times table (fix #19) 2024-04-07 14:23:10 -05:00
2528fbe9eb feat(summary): Quit out of program when user interrupts loading indicator (fix #21) 2024-04-07 14:18:21 -05:00
d434ff273b fix(times): Don't start bubbletea table if time log slice is empty (fix #15) 2024-04-07 14:15:16 -05:00
df48225954 refactor(times): Handle 'since' option before starting bubble tea indicator 2024-04-07 13:54:46 -05:00
c5b82d5dbe feat(times): Add since option (fix #4) 2024-04-07 13:50:23 -05:00
e5b3edb460 Re-structure command / option / flag handling (fix #14) 2024-04-07 13:11:48 -05:00
2a8f2e46d3 feat(times): Allow user to quit out of an Indicator
Let user press "CTRL+C" or "q" to quit out of the program while fetching time logs (fix #12)
2024-03-21 18:51:28 -05:00
3a0ff257f7 refactor(times): Move times() to the top of times.go
I've seen a lot of examples / test code for Bubble Tea have the main function at the top of their code, and the Update / View / Init / Model functions and structs defined later.

This way, I can edit easily edit the more important times() function.
2024-03-21 18:40:46 -05:00
d63adde44b fix(times): Fix time logs being sorted incorrectly 2024-03-21 18:38:06 -05:00
6c914738a2 feat(times): Display server name in times table (fix #11) 2024-03-21 18:28:19 -05:00
98788aeede feat(times): Sort time log items by date (fix #10) 2024-03-21 17:58:42 -05:00
0a503a8a0c feat(feed): Create feed command (WIP) (#9) 2024-03-19 20:35:37 -05:00
1209ca1310 refactor(styles): Add styles.text 2024-03-19 18:30:36 -05:00
62982c63d8 feat(feed): Increase number of activities fetched from the server 2024-03-19 18:30:08 -05:00
d57c150cf3 feat(feed): Add getActivityFeed() function (+ gitea.Client storage modifications) 2024-03-19 18:11:49 -05:00
cf2fbd8414 refactor(styles): Rename colors.go -> styles.go 2024-03-17 23:50:18 -05:00
42679ee63b feat(indicator): Make initialIndicator() take a job description 2024-03-17 23:03:45 -05:00
174dcb9706 refactor(colors): Add colors structure with all the needed colors (fix #7) 2024-03-17 22:27:11 -05:00
ee4d23765d refactor([times]): Move Indicator to its own file (fix #6) 2024-03-17 22:17:19 -05:00
6b5ad657b6 refactor(times): Move Gitea time log API code into getTimeLogs() 2024-03-17 22:06:31 -05:00
f8d6d8f5b2 feat(times): Show Total tracked time (fix #2) 2024-03-17 21:42:40 -05:00
677047a7c5 feat(times): Add information text to the loading indicator
Show some information about the repositories we're getting the time logs from while the user waits.
2024-03-17 19:09:13 -05:00
5b445eb29a Format main.go 2024-03-17 17:59:56 -05:00
dfeef3e271 [times] Don't panic when failing to get time track logs 2024-03-17 17:59:42 -05:00
651e6ac7dc Remove config.lua 2024-03-17 17:55:21 -05:00
9de5aa002c Add config.lua to .gitignore 2024-03-17 17:20:15 -05:00
0ac6ec938f Add time log viewer (With spinners!) 2024-03-16 21:17:40 -05:00
0d212a558c Add --server flag to specify a specific server for activity stats 2024-03-16 17:44:01 -05:00
70597d4b1f Add optional --config option 2024-03-16 17:25:18 -05:00
3f88f3aac5 Lua configuration! 2024-03-16 17:05:19 -05:00
9c6f2730f2 Gitea init 2024-03-16 14:08:19 -05:00
ac71e829ad Init commit 2024-03-16 13:53:51 -05:00