Commit graph

58 commits

Author SHA1 Message Date
Jacobtread
cd9ba7bbf8 fix: update min app version 2024-04-04 08:33:43 +13:00
Jacobtread
8b36856cdd docs: update command in readme 2024-04-03 20:44:21 +13:00
Jacobtread
48c00602b8 feat: live updating duration for active rows 2024-04-02 13:48:21 +13:00
Jacobtread
9ee4f62044 feat: allow editing while running 2024-04-02 13:38:49 +13:00
Jacobtread
39f21db3c1 chore: bumped version 2024-04-02 09:14:30 +13:00
Jacobtread
33db60aa67 fix: check file is file using instanceof instead of cast 2024-04-01 20:33:56 +13:00
Jacobtread
c1fbc735e9 feat: change command name 2024-04-01 20:33:01 +13:00
Jacobtread
70a1dfb019 chore: bump version 2024-03-31 22:58:51 +13:00
Jacobtread
6c9e69df9e refactor: clean up and fix indent logic 2024-03-31 22:57:17 +13:00
Jacobtread
f498626728 feat: enable react strict mode 2024-03-31 22:55:20 +13:00
Jacobtread
f8bc3e8b74 fix: properly handle unmounting 2024-03-31 22:53:00 +13:00
Jacobtread
cbdb0c2a91 fix: update manifest 2024-03-31 20:41:22 +13:00
Jacobtread
57dd8008f0 chore: bump version 2024-03-31 20:39:40 +13:00
Jacobtread
39a1e2066e chore: bump version 2024-03-31 20:31:07 +13:00
Jacobtread
6a83e22967 docs: added section about editing 2024-03-31 20:30:31 +13:00
Jacobtread
39045e1f3f docs: update readme screenshot 2024-03-31 20:28:55 +13:00
Jacobtread
e7bec00932 fix: remove table display block 2024-03-31 20:27:23 +13:00
Jacobtread
404aba3278 feat: improved editing experience 2024-03-31 20:26:12 +13:00
Jacobtread
b5cc7c0f9c feat: setting to limit table size, improved table styling, new indent style, ignore obsidian vault data
Added setting to limit the table size and make it scrollable

Changed table and indent styling

Remove .obsidian from git
2024-03-31 19:58:11 +13:00
Jacobtread
51a5ee4a5a feat: docs fixes, reduce number of moment creations, ignore stopped entries
Fixed up some documentation

Moved calls to moment() to outer functions rather than children, reducing the side effects

Removed extra calls to moment() around values that are already moments

Don't recreate already stopped entries when stopping running entries
2024-03-31 19:27:30 +13:00
Jacobtread
23f72ac4e3 perf: removed recursion from getRunningEntry and switched pipeline to reduce
Switched the recursive call to isEntryRunning from getRunningEntry to just check the condition directly that way only isEntryRunning  depends on it and not the other way around

Replaced the multiple map and filter iterations when removing entries with a reduce operation
2024-03-31 19:05:22 +13:00
Jacobtread
9566fe99ce perf: stack dfs for running entry check 2024-03-31 18:53:24 +13:00
Jacobtread
e9ebd17675 refactor: separated sub entry creation logic 2024-03-31 18:48:10 +13:00
Jacobtread
75ef939a3a style: moved replace under load 2024-03-31 18:36:50 +13:00
Jacobtread
54864dfe52 refactor: cleaned up code for removing child entries 2024-03-31 18:33:39 +13:00
Jacobtread
52a2b1e385 feat: added tests and increased purity
Added tests with passing full coverage for the non React logic

Moved lots of side effects for loading the current datetime out of the logic
2024-03-31 16:02:32 +13:00
Jacobtread
991f2daffc fix: manifest author 2024-03-31 13:24:56 +13:00
Jacobtread
27c69bcbef fix: remove indent and chevron when editing 2024-03-30 19:59:38 +13:00
Jacobtread
ecc0caa0ad chore: updated lock file 2024-03-29 17:01:26 +13:00
Jacobtread
81965b7928 refactor: cleanup and add documentation 2024-03-26 21:15:36 +13:00
Jacobtread
6da57502f4 chore: bump version 2024-03-25 20:38:45 +13:00
Jacobtread
efab24eae0 fix: remove unmount logic, causes rendering issue
Removing the unmounting logic since it causes an unmount when the content is unloaded from leaving the viewport
2024-03-25 20:38:22 +13:00
Jacobtread
9eca52aedb chore: bump version 2024-03-24 19:53:44 +13:00
Jacobtread
e0221f41be refactor: moved render code out of register processor 2024-03-24 19:52:53 +13:00
Jacobtread
66e1b45a33 feat: update save handling
New save handling uses splicing to update the code block content

Removed save details and moved save handling to main.ts separated replacing the code block
2024-03-24 19:43:20 +13:00
Jacobtread
6463930abb refactor: add import aliases 2024-03-24 18:59:28 +13:00
Jacobtread
b3d3d7567b perf: optimized re-rendering and fixed flickering
Split state and components up, reduced the amount of re-rendering that is done for components that have nothing that's changed

Merged code responsible for rendering child rows
2024-03-24 18:52:49 +13:00
Jacobtread
abea7b98a8 perf: only generate pdf when save as pdf is pressed 2024-03-24 16:39:54 +13:00
Jacobtread
dd54827829 refactor: separated jsx create from main, handle unmount
Properly handle unmount for react component using mutation observer

Use React.createElement to remove .tsx requirement in main.ts
2024-03-24 16:36:15 +13:00
Jacobtread
c3b9251bd8 refactor: moved csv and table generation out of timekeep.ts 2024-03-24 16:00:06 +13:00
Jacobtread
07447bd35e refactor: moved schema and types to its own module 2024-03-24 15:00:12 +13:00
Jacobtread
8130642a0a feat: add total hours timer that shows in fractions of an hour 2024-03-21 09:33:56 +13:00
Jacobtread
843abeb4b3 fix: include non-zipped assets in release 2024-03-19 22:19:28 +13:00
Jacobtread
f3cd8f9553 chore: bump version 2024-03-19 22:18:42 +13:00
Jacobtread
6b29747839 fix: prevent wrap for timesheet pdf table header and footer 2024-03-19 22:14:33 +13:00
Jacobtread
580ea3f815 chore: version bump 2024-03-19 11:22:40 +13:00
Jacobtread
d44acbaae1 fix: correctly update end time 2024-03-19 11:21:54 +13:00
Jacobtread
c54c10a19c docs: added proper readme 2024-03-17 19:44:50 +13:00
Jacobtread
39c640df55 feat: github templates and release action 2024-03-17 19:28:24 +13:00
Jacobtread
5e4c87ca00 chore: linting, removed unused, and formatting 2024-03-17 19:23:59 +13:00