Skip to content

Commit

Permalink
关系图谱:支持四种视图
Browse files Browse the repository at this point in the history
  • Loading branch information
MuiseDestiny committed Mar 15, 2023
1 parent ef01c0b commit 2506363
Show file tree
Hide file tree
Showing 9 changed files with 215 additions and 394 deletions.
2 changes: 1 addition & 1 deletion addon/chrome/content/dist/assets/index.js

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions addon/chrome/content/dist/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" style="background-color: #ffffff;">
<html lang="en" style="background-color: #ffffff; overflow: hidden;">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -10,8 +10,7 @@
<link rel="stylesheet" href="./assets/index.css">
</head>
<body>
<div id="app">
</div>
<div id="app"></div>
</body>
<style>
#app{
Expand All @@ -27,8 +26,5 @@
.graph-view-container {
height: 100%;
}
#graph-view {
max-height: 400px;
}
</style>
</html>
1 change: 0 additions & 1 deletion addon/chrome/content/icons/graph-view.svg

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zotero-style",
"version": "2.4.4",
"version": "2.4.5",
"description": "让你的Zotero看起来更有趣",
"config": {
"addonName": "Zotero Style",
Expand Down
4 changes: 2 additions & 2 deletions src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ async function onStartup() {

const views = new Views(storage)
Zotero.ZoteroStyle.data.views = views
await (new GraphView()).init()

const tasks = [
views.initTags(),
// views.createGraphView(),
views.createGraphView(),
views.renderTitleColumn(),
views.createTagsColumn(),
views.createTextTagsColumn(),
Expand Down
Loading

0 comments on commit 2506363

Please sign in to comment.