Skip to content

Commit

Permalink
Prep 0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Jun 19, 2021
1 parent f2e0313 commit 0840b01
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
16 changes: 8 additions & 8 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "breadcrumbs",
"name": "Breadcrumbs",
"version": "0.0.7",
"minAppVersion": "0.12.5",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"author": "SkepticMystic",
"authorUrl": "https://github.com/SkepticMystic/breadcrumbs",
"isDesktopOnly": false
"id": "breadcrumbs",
"name": "Breadcrumbs",
"version": "0.0.8",
"minAppVersion": "0.12.5",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"author": "SkepticMystic",
"authorUrl": "https://github.com/SkepticMystic/breadcrumbs",
"isDesktopOnly": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "breadcrumbs-plugin",
"version": "0.0.7",
"version": "0.0.8",
"description": "Visualise the hierarchy of your vault using a breadcrumb trail",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class BreadcrumbsView extends ItemView {
// General use
const splitLinksRegex = new RegExp(/\[\[(.+?)\]\]/g);
const dropHeaderOrAlias = new RegExp(/\[\[([^#|]+)\]\]/);

function splitAndDrop(str: string | undefined): string[] | [] {
if (str === undefined || str === "") {
return [];
Expand Down Expand Up @@ -145,6 +145,8 @@ class BreadcrumbsView extends ItemView {
const childLinks: string | undefined =
arr.content.match(getChildLinksRegex)?.[1];

console.log({workingOn: arr.fileName})

const [splitParentLinks, splitSiblingLinks, splitChildLinks] = [
splitAndDrop(parentLinks),
splitAndDrop(siblingLinks),
Expand Down
15 changes: 8 additions & 7 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"0.0.7": "0.12.5",
"0.0.6": "0.12.5",
"0.0.5": "0.12.5",
"0.0.4": "0.12.5",
"0.0.3": "0.12.5",
"0.0.2": "0.12.5",
"0.0.1": "0.12.5"
"0.0.8": "0.12.5",
"0.0.7": "0.12.5",
"0.0.6": "0.12.5",
"0.0.5": "0.12.5",
"0.0.4": "0.12.5",
"0.0.3": "0.12.5",
"0.0.2": "0.12.5",
"0.0.1": "0.12.5"
}

0 comments on commit 0840b01

Please sign in to comment.