Commit Graph

343 Commits

Author SHA1 Message Date
SebastianMC b4d55c8b70 #111 - changed the sorting behavior for items with undefined attributes
- sorting by bookmarks, item w/o bookmark pushed to the bottom in both: asc and desc orders
- sorting by metadata, item w/o metadata pushed to the bottom in both, asc and desc orders
- sorting by creation or modification date, advanced mode: empty folders (or folders having only folder children) are pushed to the bottom, regardless of asc or desc order
2023-11-13 15:48:27 +01:00
SebastianMC b97209771f Minor rewording in REAMDE.md 2023-11-09 11:22:47 +01:00
SebastianMC 66867d274b Changes the gif demo video to a simpler one with bright colors 2023-10-23 23:10:22 +02:00
SebastianMC 755a740f93 Version bump for refreshed release 2023-10-23 11:53:29 +02:00
SebastianMC 037624412d Adjusted minimal required Obsidian API version in manifest.json, for consistency 2023-10-23 11:52:22 +02:00
SebastianMC b227a3b8d6 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- versions bump for release 2.0.1
2023-10-23 11:39:49 +02:00
SebastianMC 1fd3d137a3 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- README.md finetuning
2023-10-23 11:38:35 +02:00
SebastianMC 85d973e700 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- ready for release!
- finetuned context-menus for desktop and mobile
- more unit tests
2023-10-23 11:36:50 +02:00
SebastianMC b3326e2af0 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- gif movie and link to wiki added to main README.md
2023-10-23 11:35:58 +02:00
SebastianMC 39d7591ac1 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- restructured the context menu to a single submenu of `Custom sort:` configurable in settings
2023-10-22 18:52:36 +02:00
SebastianMC 8e6c8ded98 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- minor bugfix - incorrect detection if an item is already bookmarked
2023-10-22 02:07:13 +02:00
SebastianMC 6e589b5a6e Merge branch 'master' into 74-integration-with-bookmarks-core-plugin 2023-10-22 01:16:46 +02:00
SebastianMC e632808a2b Minor text adjustment in settings 2023-10-22 01:16:20 +02:00
SebastianMC 13d738925d Merge branch 'master' into 74-integration-with-bookmarks-core-plugin 2023-10-22 00:37:13 +02:00
SebastianMC 167f6db952 Fix of broken internal links in *.md -> relative links made absolute 2023-10-22 00:16:12 +02:00
SebastianMC 36f124f44f Fix of broken internal links in advanced-README.md -> relative links made absolute 2023-10-22 00:10:41 +02:00
SebastianMC 0e20e586ea Fix of broken internal links in README.md -> relative links made absolute 2023-10-22 00:05:38 +02:00
SebastianMC 50ec4e30a8 Fix of broken internal links in README.md -> relative links made absolute 2023-10-21 23:53:55 +02:00
SebastianMC 5b499536c0 Fix of broken internal links in README.md -> relative links made absolute 2023-10-21 23:53:02 +02:00
SebastianMC ea6ae911c2 Fix of broken internal links in advanced-README.md 2023-10-21 23:44:42 +02:00
SebastianMC 61958721cb Fix of broken internal links in README.md 2023-10-21 23:43:42 +02:00
SebastianMC c3c8453561 Fix of broken internal links in README.md 2023-10-21 23:36:04 +02:00
SebastianMC a16f8cc06f Fix of broken internal links in README.md 2023-10-21 23:33:45 +02:00
SebastianMC fe4f28b46b
74 integration with bookmarks core plugin (#84)
* #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement

- added new plugin setting to enable auto-integration with bookmarks
- full integration with standard sorting at folder level and at sorting group level
- refined support for implicit sorting for bookmarks plugin integration
- documentation update (partial, sketchy)
- context menu for 'bookmark this' and 'bookmark+siblings' for sorting
- order of bookmarked siblings reflects the current sorting in File Explorer, whatever it is (!!!)
- handler for 'changed' event of the vault to reflect files/folders locations change in the bookmarks automatically, whenever applicable
- adjusted behavior of by-bookmark-comparator to adhere to the multi-level sorting support implemented in #89 and merged recently to this branch. Basically, each comparator is responsible only for its own comparison and should no fallback into other default comparisons - instead it should return 0, which indicates item which are equal from the perspective of the comparator
- adjusted bookmarks integration to the merged from master multi-level sorting support and its implications
- fix suggested by github code check
- advanced performance optimizations: bookmarks cache finetuning, switching to Obsidian sort code if the implicit bookmark-integration sorting spec is in effect for a folder and there are no bookmarked items in the folder
- update of treatment of whitespace in parent path extraction: spaces allowed as leading/trailing in path elements
- increased coverage of the new functionality with unit tests
- basic manual tests done
- next step: real-life usage tests
2023-10-21 23:16:30 +02:00
SebastianMC b854ce14ce #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- functionality completed!!!
- increased coverage of the new functionality with unit tests
- more unit tests possible
- basic manual tests done
- next step: real-life usage tests
2023-10-21 00:40:38 +02:00
SebastianMC cd933cb4f0 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- update of treatment of whitespace in parent path extraction: spaces allowed as leading/trailing in path elements
- unit tests
2023-10-19 14:48:48 +02:00
SebastianMC daf657721c #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- advanced performance optimizations: bookmarks cache finetuning, switching to Obsidian sort code if the implicit bookmark-integration sorting spec is in effect for a folder and there are no bookmarked items in the folder
- unit tests for some of newly introduced functions
2023-10-04 13:19:19 +02:00
SebastianMC a4a6c93412 Merge branch 'master' into 74-integration-with-bookmarks-core-plugin
# Conflicts:
#	src/main.ts
2023-09-29 23:52:49 +02:00
SebastianMC 23b50da6cf Bugfix for integration with other plugins.
Version bump for 1.9.2 release
2023-09-29 22:12:49 +02:00
SebastianMC d662c0225b Version bump for 1.9.0 release 2023-09-28 17:04:22 +02:00
SebastianMC a07f55a037 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- completed!
- need to see if additional unit tests can be created
2023-09-28 16:08:24 +02:00
SebastianMC bb2b510ae8 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- fix suggested by github code check
2023-09-26 19:58:00 +02:00
SebastianMC 0031ee3a83 Merge branch 'master' into 74-integration-with-bookmarks-core-plugin 2023-09-26 19:49:38 +02:00
SebastianMC 1811878249 Merge remote-tracking branch 'upstream/HEAD'
# Conflicts:
#	README.md
#	main.ts
#	manifest.json
2023-09-26 19:48:59 +02:00
SebastianMC 8197fca0f7 #89 - Support for multi-level sorting
- minor fix
2023-09-26 19:37:03 +02:00
SebastianMC e866023bbf #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- adjusted bookmarks integration to the merged from master multi-level sorting support and its implications
2023-09-26 19:33:19 +02:00
SebastianMC d8874629ba Merge branch 'master' into 74-integration-with-bookmarks-core-plugin
# Conflicts:
#	src/custom-sort/custom-sort.ts
#	src/custom-sort/sorting-spec-processor.ts
2023-09-26 19:26:00 +02:00
SebastianMC f6ca4b7c4e Merge remote-tracking branch 'origin/master' 2023-09-26 18:57:20 +02:00
SebastianMC 1f0baebc41 #89 - Support for multi-level sorting
- full runtime processor extension plus necessary syntax adjustments
- backward compatibility with semi-two-levels
- extended meaning of sorting: lexeme
- extended and more fine-grained error messages for sorting order specifications
2023-09-26 18:56:44 +02:00
SebastianMC 95cd70360d
Update README.md
Updated link to wiki
2023-09-19 19:05:44 +02:00
SebastianMC 634d798b06
Update README.md
Link to wiki page updated
2023-09-19 19:03:55 +02:00
SebastianMC 085f5cc459
Update README.md
A typo
2023-09-19 18:58:33 +02:00
SebastianMC 2407520923
Update README.md
According to suggestions by [TheOneLight](https://github.com/TheOneLight) in [this discussion](https://github.com/SebastianMC/obsidian-custom-sort/discussions/95#discussioncomment-7048584)
- an example of Basic Scenario 2
- link to videos on editing multi-line properties
2023-09-19 18:57:36 +02:00
SebastianMC 3c0cc70b03 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- adjusted behavior of by-bookmark-comparator to adhere to the multi-level sorting support implemented in #89 and merged recently to this branch. Basically, each comparator is responsible only for its own comparison and should no fallback into other default comparisons - instead it should return 0, which indicates item which are equal from the perspective of the comparator
2023-09-19 15:50:42 +02:00
SebastianMC 527a03b050 Merge branch 'master' into 74-integration-with-bookmarks-core-plugin
# Conflicts:
#	src/custom-sort/custom-sort.spec.ts
#	src/custom-sort/custom-sort.ts
2023-09-19 15:43:09 +02:00
SebastianMC c5cd18f498 #89 - Support for multi-level sorting
- full runtime handling (application) of multi-level sorting
- full unit tests coverage of new functions
- metadata-based sorting extended to be applicable at each of sorting level, possibly with different metadata + full unit tests coverage
- having the run-time part ready, the missing part is the extending the sorting-spec-processor.ts
2023-09-19 15:34:39 +02:00
SebastianMC 9f537f34c7 Merge branch 'master' into 74-integration-with-bookmarks-core-plugin 2023-09-18 14:17:19 +02:00
SebastianMC 24af493734 Support for implicit sorting specs - refined priorities of implicit vs explicit rules
- new unit tests cover the changes
2023-09-18 14:04:33 +02:00
SebastianMC a3190cff62 Merge branch 'master' into 74-integration-with-bookmarks-core-plugin
# Conflicts:
#	src/custom-sort/custom-sort.ts
2023-08-29 00:21:47 +02:00
SebastianMC 76ee3dfa62 #89 - Support for multi-level sorting
- fix in comparator by metadata to support multi-level sorting
- update of relevant existing unit tests
2023-08-29 00:17:58 +02:00