Jacky Zhao
aa24a62ae7
fix(breadcrumbs): calculate trailing slash for tag hierarchies ( closes #873 )
2024-02-17 11:12:35 -08:00
Aaron Pham
21c6bbf302
chore(types): add additional hint for LSP support ( #864 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-13 23:53:44 -05:00
Jacky Zhao
4a6a44950f
fix(breadcrumbs): folder index by full path rather than folder name ( closes #676 )
2024-02-11 11:26:24 -08:00
Neel Shah
b5295e0f26
fix: breadcrumbs displayName issue for file names ending with index ( #839 )
2024-02-11 11:08:12 -08:00
Aaron Pham
37c6231e79
fix(div): update class name to remove weird space afterwards ( #763 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-01-29 21:51:13 -08:00
Jacky Zhao
273931d25c
fix: breadcrumbs on non-folder pages
2024-01-21 21:14:16 -08:00
ikorihn
0a8c38dc21
fix: small typos ( #686 )
2024-01-13 09:09:41 -08:00
Jacky Zhao
b33f13ccaf
fix: dont show last page if folder
2024-01-01 14:20:34 -08:00
Jacky Zhao
504b447162
fix: use slugs instead of title as basis for explorer ( #652 )
...
* use slugs instead of title as basis for explorer
* fix folder persist state, better default behaviour
* use relative path instead of full path as full path is affected by -d
* dont use title in breadcrumb if it's just index lol
2023-12-27 16:44:14 -08:00
Rune Antonsen
9a599aebea
feat(breadcrumbs): add option to hide current page ( #601 )
...
* feat(breadcrumbs): add option to hide current page
* Remove debug lines
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Co-authored-by: ruant <ruant@ruant.net>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-11-20 08:28:16 -08:00
Jacky Zhao
43d638a6de
perf: compute mapping of folder name to file data for faster breadcrumbs
2023-11-11 21:06:37 -08:00
Jacky Zhao
275bea3051
style + cfg: resolve breadcrumb titles by default and change arrow character
2023-11-11 20:46:29 -08:00
Ben Schlegel
cec4877adb
fix(breadcrumbs): problem with folder whitespace ( #522 )
...
* fix(breadcrumbs): problem with folder whitespace
use slugs for folder hrefs so folder paths get resolved properly
* feat: only use `slug` for constructing crumbs
* fix: remove capitalization
2023-10-05 09:19:56 -07:00
Luca Salvarani
c8f5dbbad3
fix: Fix Backlinks
not applying the display class ( #519 )
...
* fix: Fix `Backlinks` not applying the display class
Fix #518
* fix: Apply `displayClass` to all layout components
* refactor: Use same style
* fix: Remove `undefined` class using coalescing operator
2023-10-01 17:20:55 -07:00
Ben Schlegel
0b61f6fbfd
feat: implement breadcrumb component ( #508 )
...
* feat: implement breadcrumbs
* style: fix styling, move breadcrumbs to top
* refactor: move `capitalize to `lang.ts``
* refactor: clean breadcrumb generation
* feat: add options to breadcrumbs
* feat: implement `resolveFrontmatterTitle`
* feat: add `hideOnRoot` option
* feat(consistency): capitalize every crumb
* style: add `flex-wrap` to parent container
* refactor: clean `Breadcrumbs.tsx`
* feat(accessibility): use `nav`, add aria label
* style: improve look in popovers by adding margin
* docs: write docs for breadcrumb component
* refactor: collapse `if` condition for hideOnRoot
* chore: add todo for perf optimization
* docs: update introduction
2023-09-29 10:26:15 +02:00