Skip to content

Commit

Permalink
2.1.3 bug fix to sort feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TfTHacker committed Jun 5, 2024
1 parent 8136a48 commit 762e41f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.1.3

- Fix: after sorting list of references, they would not respond to being clicked on.
- Dependency updates

# 2.1.2

- New: Added an option to toggle SNW off and on in Source Mode. By default, it is toggled off, since source mode is intended to view the raw markdown. This can be changed in the settings. [#137](https://github.com/TfTHacker/obsidian42-strange-new-worlds/issues/137)
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian42-strange-new-worlds",
"name": "Strange New Worlds",
"version": "2.1.2",
"version": "2.1.3",
"minAppVersion": "1.5.11",
"description": "Help see how your vault is interconnected with visual indicators.",
"author": "TfTHacker",
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian42-strange-new-worlds",
"version": "2.1.2",
"version": "2.1.3",
"description": "Revealing networked thought and the strange new worlds created by your vault",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand All @@ -15,33 +15,33 @@
"author": "TfTHacker",
"license": "MIT",
"devDependencies": {
"@codemirror/commands": "^6.5.0",
"@codemirror/language": "^6.10.1",
"@codemirror/commands": "^6.6.0",
"@codemirror/language": "^6.10.2",
"@codemirror/search": "^6.5.6",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.3",
"@types/node": "^20.12.7",
"builtin-modules": "3.3.0",
"esbuild": "0.20.2",
"@codemirror/view": "^6.27.0",
"@types/node": "^20.14.1",
"builtin-modules": "4.0.0",
"esbuild": "0.21.4",
"eslint": "^8.57.0",
"@html-eslint/eslint-plugin": "^0.24.1",
"@html-eslint/parser": "^0.24.1",
"@types/obsidian-typings": "github:Fevol/obsidian-typings",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"@typescript-eslint/utils": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"@typescript-eslint/utils": "^7.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-css": "^0.9.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.15.1",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-plugin-yml": "^1.14.0",
"prettier": "^3.2.5",
"prettier": "^3.3.0",
"remark-preset-lint-consistent": "^6.0.0",
"remark-preset-lint-markdown-style-guide": "^6.0.0",
"remark-preset-lint-recommended": "^7.0.0",
Expand All @@ -51,7 +51,7 @@
"obsidian": "1.5.7"
},
"dependencies": {
"preact": "^10.20.2",
"preact": "^10.22.0",
"tippy.js": "^6.3.7"
}
}
5 changes: 5 additions & 0 deletions src/ui/components/uic-ref-area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Link } from 'src/types';
import { SortOption } from '../../settings';
import { getUIC_Ref_Item } from './uic-ref-item';
import { getUIC_Ref_Title_Div } from './uic-ref-title';
import { setFileLinkHandlers } from './uic-ref--parent';

let plugin: SNWPlugin;

Expand Down Expand Up @@ -39,6 +40,10 @@ export const getUIC_Ref_Area = async (
refAreaEl.style.visibility = 'visible';
const refAreaItems = await getRefAreaItems(refType, key, filePath);
refAreaEl.prepend(refAreaItems.response);

setTimeout(async () => {
await setFileLinkHandlers(false, refAreaEl);
}, 500);
}
})
);
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"2.0.3": "1.5.11",
"2.1.0": "1.5.11",
"2.1.1": "1.5.11",
"2.1.2": "1.5.11"
"2.1.2": "1.5.11",
"2.1.3": "1.5.11"
}

0 comments on commit 762e41f

Please sign in to comment.