Commit Graph

146 Commits

Author SHA1 Message Date
SebastianMC 1322dbab52 #202 Syntax sugar to satisfy stricter TS compilation rules and improve readability 2025-04-23 00:20:32 +02:00
SebastianMC 22992ad421 Finetuned DOM observer and detector of the fully-fledged File Explorer view to enable smoother auto-application of custom sorting 2025-04-22 23:41:21 +02:00
SebastianMC e0b7c9bd6d Minor finetuning of console log message 2025-04-22 23:41:21 +02:00
SebastianMC b8708f81e9 Finetuning initial application of custom sort order:
- console messages more accurate
- DOM-based watcher for deferred File Explorer view to automatically apply custom sort when File Explorer view is actually displayed
2025-04-22 23:41:20 +02:00
SebastianMC 10e0ae096f A different error message on mobile when the File Explorer view is not available (e.g. is deferred). 2025-01-23 23:17:38 +01:00
SebastianMC 44631bee4f Added support for more formats of dates extraction from titles
- \[dd-mm-yyyy] and \[mm-dd-yyyy]
- main README.md updated accordingly
2025-01-23 23:04:14 +01:00
SebastianMC 6e7b2e1b6a #178 - explicit support for telling if the Www date should be same, earlier than the first day of the week or later than the last day of the week
- syntax W1 W1- W1+
2025-01-14 21:48:52 +01:00
SebastianMC f7c69b18f9 #178 - explicit support for telling if the Www date should be same, earlier than the first day of the week or later than the last day of the week
- syntax W1 W1- W1+
2025-01-14 20:57:51 +01:00
SebastianMC 2204982485 #178, #191 - improved regexps for dates matching - e.g. \d{1,2} changes to [0-3]*[0-9] 2025-01-14 17:57:17 +01:00
SebastianMC 4eb5d7c120 Imports optimized in sorting-spec-processor.ts 2025-01-14 17:41:06 +01:00
SebastianMC b142d1951e #178 - week-number based date extraction patterns for titles
- more unit tests
#191 - added two obvious date formats yyyy-mm-dd and yyyy-dd-mm
2025-01-14 17:37:02 +01:00
SebastianMC 975f6ee26e #178 - week-number based date extraction patterns for titles 2025-01-14 13:51:34 +01:00
SebastianMC ef5926c24f #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer 2025-01-06 13:35:18 +01:00
SebastianMC 92c0e0c431 #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer 2025-01-06 13:12:19 +01:00
SebastianMC 971bea5792 #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer 2025-01-06 12:39:07 +01:00
SebastianMC fc6706d8cf #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer 2025-01-06 12:29:33 +01:00
SebastianMC ae0d2f5280 #188 - Group of changes addressing compatibility issued with Obsidian 1.7.2 and newer 2025-01-06 02:25:41 +01:00
SebastianMC 6a47c51182 Merge branch '171-poc-metadata-value-extractors-idea' into nov-2024-refactoring-regroup-sorting-structures
# Conflicts:
#	manifest.json
#	src/test/unit/sorting-spec-processor.spec.ts
2025-01-03 19:43:40 +01:00
SebastianMC f293dff088 Merge branch 'master' into 171-poc-metadata-value-extractors-idea 2025-01-03 19:33:21 +01:00
SebastianMC 51ea92f0e8 #185 - drop backward compatibility
- removed legacy code to handle backward compatibility with <0.15.0, <1.2.0, <1.4.11 and <1.6.0
2025-01-03 13:24:13 +01:00
SebastianMC c3008946cc #185 - drop backward compatibility
- removed integration with Starred code plugin (which hasn't already been there for months)
2025-01-03 13:24:12 +01:00
SebastianMC 5013b47e26 185 - drop backward compatibility
- upgraded libraries and TS
- fixed compilation issues
- no other code changes yet
2025-01-03 12:22:31 +01:00
SebastianMC 55fbae57da Merge branch 'master' into nov-2024-refactoring-regroup-sorting-structures
# Conflicts:
#	manifest.json
#	src/custom-sort/matchers.ts
#	src/test/unit/sorting-spec-processor.spec.ts
2025-01-02 15:06:57 +01:00
SebastianMC c5e463b44c Merge branch 'master' into 171-poc-metadata-value-extractors-idea
# Conflicts:
#	manifest.json
#	src/custom-sort/matchers.ts
#	src/test/unit/sorting-spec-processor.spec.ts
2025-01-02 14:59:37 +01:00
SebastianMC a0bd47b210 #184 - Sort notes in Mmm-dd-yyyy format 2025-01-02 14:04:38 +01:00
SebastianMC 266bac7af6 Major refactoring of sorting structures.
Unit tests fixes - problems were only on the automatically converted unit tests, no in the refactored logic. A good sign.
2024-11-06 12:13:32 +01:00
SebastianMC c63b83d596 Major refactoring of sorting structures. Unit tests updated, compiling. 2024-11-06 12:03:27 +01:00
SebastianMC eeb581120d Major refactoring of sorting structures. Refactored the code. Unit tests not touched, broken. 2024-11-06 11:23:23 +01:00
SebastianMC 99cea92322 #171 - a PoC of the idea of metadata value extractors. Unit tests. 2024-11-06 10:00:23 +01:00
SebastianMC 9e2e12046d #171 - a PoC of the idea of metadata value extractors. Extended syntax, unit tests, error handling 2024-11-05 20:12:47 +01:00
SebastianMC f210a412d3 #171 - a PoC of the idea of metadata value extractors. Working version, missing errors detection for new scenarios 2024-11-04 14:30:49 +01:00
SebastianMC d82a80c063 #171 - a PoC of the idea of metadata value extractors. Completed the sorting spec parser part. 2024-11-03 23:16:57 +01:00
SebastianMC 42a5f1feb2 #171 - started creation of a PoC of the idea of metadata value extractors. At a glance a low hanging fruit turned out to be far too complex to be worth it. 2024-11-03 22:56:55 +01:00
SebastianMC 1019484935 #160 - compatibility with Obsidian 1.7.2
- the fileExplorer patchability check made smarter and version-dependent
- the plugin-integration-point support required by Obsidian 1.7.2 has been already incorporated in the plugin earlier on, for 1.6.0 Obsidian release
2024-09-20 18:53:50 +02:00
SebastianMC efe8e13267 #156 - improved support for index-note-based folder notes - fresh head review
- typos correction
- comment updates for clarity
2024-09-05 20:01:11 +02:00
SebastianMC 60a60dfb72 #156 - improved support for index-note-based folder notes
- implementation completed, basic tests done
- needs code review with a fresh head
- needs more regression tests of affected sorting methods
2024-09-02 00:11:29 +02:00
SebastianMC 605d5026a6 #156 - improved support for index-note-based folder notes: PUT ON HOLD
- turned out to be not so trivial with one challenging place
- PUT ON HOLD
- added inline annotations with !!! (intentionally breaking the TS syntax)
2024-09-01 17:07:56 +02:00
SebastianMC e66d7be9d3 Extracted setting to a separate settings.ts 2024-09-01 15:23:38 +02:00
SebastianMC 16b50c3c20 #150 - Sort notes in dd-Mmm-yyyy format
- completed, tested.
2024-07-10 12:06:01 +02:00
SebastianMC 92a33215cc #150 - Sort notes in dd-Mmm-yyyy format
- additional unit tests
- fixes detected by unit tests

Next step: manual local testing of real scenarios
2024-07-08 23:49:24 +02:00
SebastianMC a7b807d5f5 #150 - Sort notes in dd-Mmm-yyyy format 2024-07-08 21:36:26 +02:00
SebastianMC 3bc307c121 Bugifx for #147 2024-06-10 22:35:28 +02:00
SebastianMC d59b1af62a #137 - Impose File Explorer refresh with standard sorting when the plugin gets disabled 2024-06-07 23:37:44 +02:00
SebastianMC 3c257bc5d2 #145 - polished code w/o duplication in main.js 2024-05-14 08:47:38 +02:00
SebastianMC 4ab21d6ff5 #145 - refactored the plugin integration point and sorting function invocation and wrapper(s) to work under Obsidian 1.6.0 (which introduced significant refactoring)
Remains to do:
- polish the code to remove duplication in main.js
- full testing under 1.6.0
- regression tests under latest 1.5.x (the code is backward compatible)
2024-05-13 20:14:03 +02:00
SebastianMC f5c64845ba The global `app` object becomes deprecated in Obsidian 1.6.0
- subsequent code adjustments
2024-05-13 14:51:57 +02:00
SebastianMC 2af53aa692 Removed debug console outputs 2024-05-13 14:51:05 +02:00
SebastianMC 107c32e461 The global `app` object becomes deprecated in Obsidian 1.6.0
- switched code to use the DI approach - the handle to `app` is handed over to the Plugin at initializaion. Keep in and supply down the execution chain, as needed
2024-05-13 14:36:13 +02:00
SebastianMC 8d9ccdd516 Version bump before release 2024-02-20 18:27:19 +01:00
SebastianMC 702fe9e027 Extracted and extended a basic integration test 2024-02-19 10:40:38 +01:00