Commit Graph

415 Commits

Author SHA1 Message Date
SebastianMC a2a808e78b Two experimental features + version bump before release
- `aaa-z` and `a-zzz` sort orders (uppercase first, alphanumeric order and lowercase  first, alphanumeric)
- `vsc-unicode` sort order, which is equivalent to what VS Code refers to as 'unicode' sorting (which name is arbitrary and confusing, yet familar to VS Code users)
2024-01-27 23:25:59 +01:00
SebastianMC fe98a27f5d Version bump before release 2024-01-26 10:50:32 +01:00
SebastianMC 8d5ca13acb #127 - folder and file with the same (base) name advanced sorting support:
- bugfix for `files-first` or `folders-first` sorting methods
2024-01-26 00:34:24 +01:00
SebastianMC ac8cbc0efd
Merge pull request #129 from SebastianMC/127-folder-and-file-with-the-same-basename-sorting
#127 - folder and file with the same (base) name advanced sorting support
2024-01-25 23:11:44 +01:00
SebastianMC 9cf01e9591 Merge branch 'master' into 127-folder-and-file-with-the-same-basename-sorting
# Conflicts:
#	src/custom-sort/sorting-spec-processor.spec.ts
2024-01-25 21:23:54 +01:00
SebastianMC 6743796d2e
Merge pull request #128 from SebastianMC/126-naive-version-allow-escaping-the-dot-character
#126 Allow to eliminate ambiguity of `....`
2024-01-25 21:14:33 +01:00
SebastianMC e0208e2793 #126 - Allow escaping the . (dot) character to remove ambiguity with the ... wildcard
- simplistic implementation - use `./...` syntax to remove ambiguity of `....`
2024-01-25 20:54:15 +01:00
SebastianMC 958a9b017c #127 - folder and file with the same (base) name advanced sorting support:
- the last-resort default fallback sorting method (which was alphabetical) is extended to give preference to files. In other words, if all the specified sorting levels don't sort two items, the file goes first (if the other item is a folder)
- added explicit syntax to specify `files-first` or `folders-first`
2024-01-25 18:10:36 +01:00
SebastianMC f5fafc184f #126 - Allow escaping the . (dot) character to remove ambiguity with the ... wildcard
- naive implementation, the escape lexeme is \\DOT (problematic long term because of overlaps)
- naive implementation, the escape is transformed to simple-regexp (technically this is not needed at all)
2024-01-25 17:09:30 +01:00
SebastianMC c12ecb5c8c Version bump before release 2024-01-25 10:59:00 +01:00
SebastianMC 11d6623191 #123 - sorting by file basename by default (instead of fullname with ext)
- new syntax `a-z.` and `true a-z.` introduced to allow explicitly sorting by filename with ext
2024-01-25 10:47:05 +01:00
SebastianMC 45e5f3c3c7 Merge remote-tracking branch 'upstream/HEAD' into merge-upstream-1
# Conflicts:
#	manifest.json
2024-01-24 20:18:29 +01:00
SebastianMC 3000da4edc Removed the unfinished partial implementation of overrideTitle functionality 2024-01-22 19:54:15 +01:00
iulianOnofrei (U-lee-aan) de770934b2
Fix incorrect TypeScript spelling 2024-01-21 15:20:39 +02:00
iulianOnofrei (U-lee-aan) f4debcda6b
Fix inconsistent indentation 2024-01-19 21:14:58 +02:00
SebastianMC 124c851989 #119 - Non-string value of sorting-spec: prevents the custom sorting from working w/o error message
- added a bit of defensive programming to fix the problem. The sorting spec with broken syntax is ignored (error is swallowed)
2023-12-14 17:28:22 +01:00
SebastianMC b5a9684f56 Removed console.log statements which slipped in 2.1.1
Version bump before release
2023-11-24 18:59:15 +01:00
SebastianMC cc1429d43f Version bump before release 2023-11-24 18:52:40 +01:00
SebastianMC 88327f6314 #115 - Add inline regex support to match capital letters and lowercase letters explicitly 2023-11-24 18:52:26 +01:00
Aleksey Rowan 7330e7499a
build: minify prod build
closes #70
2023-11-15 14:10:43 -05:00
Aleksey Rowan e60294b950
Update manifest description (#77) 2023-11-15 12:17:04 -05:00
SebastianMC 39cddc301a Version bump before release 2023-11-13 15:49:43 +01:00
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