Commit Graph

21 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
fa9318812d feat(times): Add repository column to times table (fix #19) 2024-04-07 14:23:10 -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
1209ca1310 refactor(styles): Add styles.text 2024-03-19 18:30:36 -05:00
d57c150cf3 feat(feed): Add getActivityFeed() function (+ gitea.Client storage modifications) 2024-03-19 18:11:49 -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
dfeef3e271 [times] Don't panic when failing to get time track logs 2024-03-17 17:59:42 -05:00
0ac6ec938f Add time log viewer (With spinners!) 2024-03-16 21:17:40 -05:00