Commit graph

153 commits

Author SHA1 Message Date
Jacobtread
ac2c061304
chore: apply changes to silence obsidian warning 2026-05-16 13:46:28 +12:00
Jacobtread
bc913c8218
feat: status item allow opening in a new tab 2026-05-07 07:39:24 +12:00
Jacobtread
7d6d345f77 feat: status bar option to include the folder path 2026-05-01 08:28:05 +12:00
Jacobtread
20502f16e2 feat: clean up and document styling, fix bad class references and
outdated naming
2026-04-14 20:43:10 +12:00
Jacobtread
7f4c6a4933 fix: row attributes applied to the wrong container 2026-04-14 14:06:41 +12:00
Jacobtread
4e6809c6de fix: timesheet table initial ordering 2026-04-14 10:19:34 +12:00
Jacobtread
29acf5770c chore: fix typescript errors 2026-04-13 09:37:39 +12:00
Jacobtread
31d896a43a feat: registry dynamic loading
Registry can now be enabled or disabled at runtime and it will subscribe
and unsubscribe from events and reload the items
2026-04-12 09:32:23 +12:00
Jacobtread
b304933040 fix: wrong class name for timekeep-start-note 2026-04-12 00:15:09 +12:00
Jacobtread
52b3c31dbd feat: improvements to how name input keyboard keys are handled and don't
focus suggestions by default
2026-04-12 00:04:58 +12:00
Jacobtread
490e9102b8 refactor: generalize saving and view logic for more consistent and easy
to manage logic, extract editor scroll tracking, fix content component
and replaceable component logic
2026-04-11 23:47:15 +12:00
Jacobtread
bcc6eff395 fix: wrong assert imports 2026-04-11 15:56:14 +12:00
Jacobtread
11aee14cf8 refactor: shared logic for getting running registry timekeep entries and
tests
2026-04-11 14:50:15 +12:00
Jacobtread
32470ab4ac tests: add ignore to default branches for entry type switches,
TimekeepStatusBar tests
2026-04-11 14:22:48 +12:00
Jacobtread
b239c9eea1 refactor: move stop and open logic from status bar to status bar item 2026-04-11 14:18:44 +12:00
Jacobtread
c2dce2ed18 tests: TimesheetNameInput remaining tests 2026-04-11 13:40:39 +12:00
Jacobtread
e8afd91512 tests: timesheet row content and content editing tests 2026-04-11 12:26:59 +12:00
Jacobtread
094ed2b30e chore: explicit formatter groupings and run fmt 2026-04-10 09:47:50 +12:00
Jacobtread
3da8d5415c feat: openItemRef helper for opening registry item refs, update locator
modal to use openItemRef

This brings the behavior of scrolling to the line the timesheet is on
like the status bar items have
2026-04-10 00:27:36 +12:00
Jacobtread
b516bdb962 fix: running entry should be above start form 2026-04-09 23:57:46 +12:00
Jacobtread
9707054c64 refactor: consistent naming on modals and views, split modals into their
own folder
2026-04-09 23:45:44 +12:00
Jacobtread
fd65fc96f7 refactor: rename and reorganize components into a easier to manage and
more consistent structur
2026-04-09 23:41:31 +12:00
Jacobtread
11bf445e45 tests: fix domComponent unload tests, move and rename timekeepStatusBar
and add tests file
2026-04-09 22:58:58 +12:00
Jacobtread
dbe4ac4a9e feat: mock component handle loading and unload edge cases, split start
block into form and running container, tests for start form
2026-04-09 22:49:22 +12:00
Jacobtread
a6cade73f6 tests: replace impossible code paths with asserts, tests for
timesheetTable
2026-04-09 21:09:36 +12:00
Jacobtread
51a074fe27 tests: assertion helper and tests, timesheetRowContentEditing tests,
mock modal tracking and cleanup, mock modal button attributes
2026-04-09 20:36:00 +12:00
Jacobtread
9d70a2a3b4 feat: add data-action attributes to start and edit buttons more
timesheetNameInput and timesheetRowContent tests
2026-04-08 08:37:28 +12:00
Jacobtread
8180396961 tests: tests for timesheetApp, timesheet, timesheetRowContainer, and
timesheetTable
2026-04-07 09:39:20 +12:00
Jacobtread
7161ddd92e chore: remove unused timesheetFileEntry component 2026-04-07 09:38:53 +12:00
Jacobtread
02d48265ea refactor: move pdf rendering logic out of src/components/pdf/renderer.ts
and into the pdf export file
2026-04-07 09:38:39 +12:00
Jacobtread
34843bdecf feat: improved autocomplete matching, tweaks, and more
timesheetNameInput tests
2026-04-07 09:15:30 +12:00
Jacobtread
009bbe75fa tests: more timesheetNameInput tests 2026-04-06 19:05:22 +12:00
Jacobtread
2a9f0ae477 fix: onClickOutside checks for timesheetNameInput should be based on the
document rather than wrapper
2026-04-06 19:05:09 +12:00
Jacobtread
e7dc87b76e tests: start adding tests for timesheetNameInput and test plan 2026-04-06 10:09:00 +12:00
Jacobtread
1a6f1f5507 tests: timesheet export actions test, electron stub, fix pdfmake in
tests
2026-04-05 19:14:41 +12:00
Jacobtread
bd66604697 tests: replaceableComponent and contentComponent tests 2026-04-05 18:13:24 +12:00
Jacobtread
057e40ccb5 feat: replaceable component for efficient row swapping, more testing
utils and row content initial test
2026-04-05 10:57:32 +12:00
Jacobtread
99e97506e0 feat: replace obsidian debounce function with a local one for easier
testing, add empty tests to incomplete files
2026-04-04 15:54:14 +13:00
Jacobtread
d6bad2fe2c refactor: helper to stop a timekeep to remove duplicated code 2026-04-04 14:34:09 +13:00
Jacobtread
e8a7eb5cd7 test: tests files for needed tests, timesheetStatusBarItem tests 2026-04-04 14:25:18 +13:00
Jacobtread
8b04d70bd2 test: timesheet counters tests 2026-04-04 13:57:33 +13:00
Jacobtread
bba2850db8 tests: timesheetRowDuration tests 2026-04-04 10:17:34 +13:00
Jacobtread
c29fb598e5 tests: obsidian icon tests 2026-04-04 10:09:24 +13:00
Jacobtread
bfedadc122 feat: content component abstraction
Adds a abstraction component for the components that can have one of
many components as their child content (timekeep row, timekeep start,
and timesheet)
2026-04-03 14:57:55 +13:00
Jacobtread
2b3214317a perf: dom component abstraction
Adds a dom component abstraction which allows for more performant
unmounting of components, this allows only the top most most parent
component to remove itself from the DOM without all the children
removing themselves from their parents

Also provides a consistent abstraction for managing the container and
wrapper elements of components and ensuring they are unmounted

Adds tests for the new component
2026-04-03 14:42:45 +13:00
Jacobtread
72facb905e tests: timesheetSaveError component test 2026-04-03 13:25:25 +13:00
Jacobtread
379a6d9678 tests: timesheetLoadError tests and fix not unloading bug 2026-04-03 13:17:10 +13:00
Jacobtread
bc89c39564 tests: timesheetName tests and remove default link href for internal
linking
2026-04-03 13:13:34 +13:00
Jacobtread
7cd6e7e7d0 tests: happy-dom dom testing, mocks setup helepr, obsidian stub,
timesheetTimer tests
2026-04-03 12:31:33 +13:00
Jacobtread
499ba00868 test: make codeblock generation a reusable utility, tests for
insertTracker and removed duplication of createCodeBlock
2026-04-03 11:16:49 +13:00