add logseq
12
logseq/config/config.edn
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
;; This global config file is used by all graphs.
|
||||||
|
;; Your graph's logseq/config.edn overrides config keys in this file
|
||||||
|
;; except for maps which are merged.
|
||||||
|
;; As an example of merging, the following global and local configs:
|
||||||
|
;; {:shortcuts {:ui/toggle-theme "t z"}}
|
||||||
|
;; {:shortcuts {:ui/toggle-brackets "t b"}}
|
||||||
|
;;
|
||||||
|
;; would result in the final config:
|
||||||
|
;; {:shortcuts {:ui/toggle-theme "t z"
|
||||||
|
;; :ui/toggle-brackets "t b"}}
|
||||||
|
|
||||||
|
{}
|
5
logseq/config/plugins.edn
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{:logseq-dev-theme {:version "v1.26.15", :repo "pengx17/logseq-dev-theme", :effect false, :theme true}
|
||||||
|
:logseq-bullet-threading {:version "v1.1.1", :repo "pengx17/logseq-plugin-bullet-threading", :effect false, :theme false}
|
||||||
|
:logseq-tabs {:version "v1.18.1", :repo "pengx17/logseq-plugin-tabs", :effect true, :theme false}
|
||||||
|
:logseq-journals-calendar {:version "v0.10.8", :repo "xyhp915/logseq-journals-calendar", :effect false, :theme false}
|
||||||
|
:unfinished-business {:version "0.1.5", :repo "QWxleA/Unfinished-business", :effect false, :theme false}}
|
21
logseq/plugins/logseq-bullet-threading/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2022 Peng Xiao
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
13
logseq/plugins/logseq-bullet-threading/dist/assets/index.12231712.js
vendored
Normal file
14
logseq/plugins/logseq-bullet-threading/dist/index.html
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Logseq Plugin</title>
|
||||||
|
<script type="module" crossorigin src="assets/index.12231712.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
logseq/plugins/logseq-bullet-threading/logo.png
Normal file
After Width: | Height: | Size: 14 KiB |
1
logseq/plugins/logseq-bullet-threading/package.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"name":"logseq-plugin-bullet-threading","version":"v1.1.1","main":"dist/index.html","scripts":{"dev":"vite","build":"tsc && vite build","preinstall":"npx only-allow pnpm"},"license":"MIT","dependencies":{"@logseq/libs":"^0.0.10"},"devDependencies":{"@semantic-release/changelog":"6.0.1","@semantic-release/exec":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/npm":"9.0.1","@types/node":"17.0.29","@typescript-eslint/eslint-plugin":"5.42.1","@typescript-eslint/parser":"5.42.1","conventional-changelog-conventionalcommits":"4.6.3","eslint":"8.14.0","semantic-release":"19.0.2","typescript":"4.6.3","vite":"2.9.6","vite-plugin-logseq":"^1.1.2"},"logseq":{"id":"_pengx17-logseq-bullet-threading","icon":"./logo.png"},"repo":"pengx17/logseq-plugin-bullet-threading","title":"Bullet Threading","author":"pengx17","description":"Add bullet threading to your active blocks in Logseq.","effect":false}
|
17
logseq/plugins/logseq-bullet-threading/readme.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Logseq Plugin Bullet Threading
|
||||||
|
|
||||||
|
Add bullet threading to your active blocks in Logseq.
|
||||||
|
|
||||||
|
![](./logo.png)
|
||||||
|
|
||||||
|
## Settings
|
||||||
|
|
||||||
|
![](./settings.png)
|
||||||
|
## How it works
|
||||||
|
|
||||||
|
This plugin is a simple wrapper of [dev theme](https://github.com/pengx17/logseq-dev-theme).
|
||||||
|
Internally, it will automatically inject `@import url("https://cdn.jsdelivr.net/gh/pengx17/logseq-dev-theme@master/bullet_threading.css");` into the user's document.
|
||||||
|
|
||||||
|
# Issues
|
||||||
|
|
||||||
|
Please report any issue to https://github.com/pengx17/logseq-dev-theme instead
|
BIN
logseq/plugins/logseq-bullet-threading/settings.png
Normal file
After Width: | Height: | Size: 86 KiB |
21
logseq/plugins/logseq-dev-theme/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2021 Peng Xiao
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
142
logseq/plugins/logseq-dev-theme/bullet_threading.css
Normal file
|
@ -0,0 +1,142 @@
|
||||||
|
:root {
|
||||||
|
--ls-block-bullet-active-color: var(
|
||||||
|
--ls-block-bullet-threading-active-color-overwrite,
|
||||||
|
var(--ls-link-text-color)
|
||||||
|
);
|
||||||
|
--ls-block-bullet-threading-width: var(
|
||||||
|
--ls-block-bullet-threading-width-overwrite,
|
||||||
|
1px
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-control {
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-children {
|
||||||
|
border-left-color: var(--ls-guideline-color);
|
||||||
|
border-left-width: var(--ls-block-bullet-threading-width) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-children-container {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-children-left-border {
|
||||||
|
z-index: 1;
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
width: 4px;
|
||||||
|
padding-right: 0px;
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: transparent;
|
||||||
|
left: -1px;
|
||||||
|
transition: background-color 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-children-left-border:hover {
|
||||||
|
background-color: var(--ls-block-bullet-active-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.block-content-wrapper {
|
||||||
|
position: relative;
|
||||||
|
overflow-x: visible !important;
|
||||||
|
/* Fixme: overflow? */
|
||||||
|
}
|
||||||
|
|
||||||
|
.bullet-container {
|
||||||
|
height: 14px !important;
|
||||||
|
width: 14px !important;
|
||||||
|
position: relative;
|
||||||
|
transform: translate(1px, -1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Block bullet path should only show in a nested block */
|
||||||
|
.ls-block {
|
||||||
|
/* Fix for headings like h1, h2 etc */
|
||||||
|
/* Basic "curve" */
|
||||||
|
/* Fix multi-line blocks with children */
|
||||||
|
}
|
||||||
|
.ls-block .bullet {
|
||||||
|
background-color: var(--ls-block-bullet-active-color);
|
||||||
|
box-shadow: 0 0 0 1px var(--ls-block-bullet-active-color);
|
||||||
|
}
|
||||||
|
.ls-block div.items-center {
|
||||||
|
position: relative;
|
||||||
|
height: 26px !important;
|
||||||
|
}
|
||||||
|
.ls-block > .items-baseline {
|
||||||
|
align-items: initial;
|
||||||
|
}
|
||||||
|
.ls-block:not(:focus-within) .bullet {
|
||||||
|
background-color: var(--ls-block-bullet-color);
|
||||||
|
transform: scale(1);
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.ls-block:not(:focus-within) > .items-baseline {
|
||||||
|
align-items: baseline;
|
||||||
|
}
|
||||||
|
.ls-block .ls-block > div > div.items-center::before {
|
||||||
|
pointer-events: none;
|
||||||
|
content: "";
|
||||||
|
left: calc(var(--ls-block-bullet-threading-width) * -1);
|
||||||
|
right: 6px;
|
||||||
|
top: calc(-50% + var(--ls-block-bullet-threading-width) * 0.5 - 1px);
|
||||||
|
bottom: 50%;
|
||||||
|
/* shift left 1px for border */
|
||||||
|
position: absolute;
|
||||||
|
border-left: var(--ls-block-bullet-threading-width) solid transparent;
|
||||||
|
border-bottom: var(--ls-block-bullet-threading-width) solid transparent;
|
||||||
|
border-bottom-left-radius: 10px;
|
||||||
|
}
|
||||||
|
.ls-block .ls-block:focus-within > div > div.items-center::before {
|
||||||
|
border-color: var(--ls-block-bullet-active-color);
|
||||||
|
}
|
||||||
|
.ls-block .block-children > .ls-block::before {
|
||||||
|
pointer-events: none;
|
||||||
|
content: "";
|
||||||
|
top: -1rem;
|
||||||
|
bottom: 0;
|
||||||
|
border-left: var(--ls-block-bullet-threading-width) solid transparent;
|
||||||
|
left: calc(var(--ls-block-bullet-threading-width) * -1);
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.ls-block .block-children:focus-within > .ls-block:not(:focus-within)::before {
|
||||||
|
border-color: var(--ls-block-bullet-active-color);
|
||||||
|
}
|
||||||
|
.ls-block .block-children:focus-within > .ls-block:focus-within ~ .ls-block::before {
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
.ls-block[haschild] > div > .block-content-wrapper::before {
|
||||||
|
pointer-events: none;
|
||||||
|
content: "";
|
||||||
|
top: 12px;
|
||||||
|
bottom: 0;
|
||||||
|
left: -15px;
|
||||||
|
position: absolute;
|
||||||
|
border-left: var(--ls-block-bullet-threading-width) solid transparent;
|
||||||
|
}
|
||||||
|
.ls-block[haschild]:focus-within > div > .block-content-wrapper::before {
|
||||||
|
border-color: var(--ls-block-bullet-active-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
:is(.embed-block > div, .embed-page) > div > div > div > div.ls-block > div > div.items-center::before {
|
||||||
|
border-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.ls-block[haschild] > div > .block-content-wrapper::before {
|
||||||
|
left: -11px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Disable for doc mode */
|
||||||
|
.doc-mode div.items-center::before,
|
||||||
|
.doc-mode div.items-center::after,
|
||||||
|
.doc-mode .ls-block::before,
|
||||||
|
.doc-mode .ls-block::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-mode .block-children {
|
||||||
|
border-left-width: 0px !important;
|
||||||
|
}
|
1274
logseq/plugins/logseq-dev-theme/custom.css
Normal file
BIN
logseq/plugins/logseq-dev-theme/demo.png
Normal file
After Width: | Height: | Size: 452 KiB |
BIN
logseq/plugins/logseq-dev-theme/logo.png
Normal file
After Width: | Height: | Size: 36 KiB |
1127
logseq/plugins/logseq-dev-theme/no_bullet_threading.css
Normal file
1
logseq/plugins/logseq-dev-theme/package.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"name":"logseq-dev-theme","author":"pengx17","version":"v1.26.15","description":"A theme inspired by Dev.to & Figma.","logseq":{"themes":[{"name":"Dev theme","url":"./custom.css"},{"name":"Dev theme - WITHOUT bullet threading","url":"./no_bullet_threading.css","description":"Dev theme without bullet threading"}],"id":"pengx17_dev_theme","icon":"./logo.png"},"scripts":{"build:main":"yarn sass src/main.scss custom.css --no-source-map","build:bt":"yarn sass src/bullet_threading.scss bullet_threading.css --no-source-map","build:no-bt":"yarn sass src/no_bullet_threading.scss no_bullet_threading.css --no-source-map","build":"yarn build:main && yarn build:bt && yarn build:no-bt"},"devDependencies":{"@semantic-release/changelog":"^5.0.1","@semantic-release/git":"^9.0.0","@semantic-release/npm":"^7.1.3","sass":"^1.35.1"},"dependencies":{"@semantic-release/exec":"^6.0.1"},"repo":"pengx17/logseq-dev-theme","title":"Dev theme","effect":false}
|
58
logseq/plugins/logseq-dev-theme/readme.md
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Logseq Dev Theme
|
||||||
|
|
||||||
|
A theme inspired by Dev.to & Figma.
|
||||||
|
|
||||||
|
<img src="./logo.png" width="100" />
|
||||||
|
|
||||||
|
This theme is actively maintained and used on a daily basis by the author. It should have the best UX on macOS.
|
||||||
|
|
||||||
|
Features:
|
||||||
|
- providing bullet threading for editing blocks (also available as [a standalone plugin](https://github.com/pengx17/logseq-plugin-bullet-threading))
|
||||||
|
- elegant font choices
|
||||||
|
- delightful colors for markers
|
||||||
|
|
||||||
|
## Working Demo
|
||||||
|
|
||||||
|
Check out my published knowledge garden at https://pengx17.github.io/knowledge-garden/. Though since the graph is read-only, you cannot test the bullet threading feature with it.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Marketplace
|
||||||
|
This theme and bullet threading is available in the Marketplace.
|
||||||
|
|
||||||
|
![](./marketplace.png)
|
||||||
|
|
||||||
|
### Using custom.css
|
||||||
|
|
||||||
|
Another way to adopt this theme is to use jsDelivr CDN by adding the following line to your `custom.css`. You can also change the `@main` part to use the latest version. This is the ONLY way to stylish your published graph for now.
|
||||||
|
|
||||||
|
```css
|
||||||
|
/* This must be the first line of the custom.css with other import rules */
|
||||||
|
@import url("https://cdn.jsdelivr.net/gh/pengx17/logseq-dev-theme@main/custom.css");
|
||||||
|
|
||||||
|
/* You can also add other styles below to override the default theme values */
|
||||||
|
```
|
||||||
|
|
||||||
|
## Customization
|
||||||
|
|
||||||
|
This theme does not provide official customization options. However, you can still change most of the colors and fonts. Please take a look [this issue for guidance](https://github.com/pengx17/logseq-dev-theme/issues/46).
|
||||||
|
|
||||||
|
## Caveats
|
||||||
|
|
||||||
|
- If your theme defines border colors for the `children-block`, the bullet threading css may not work as expected.
|
||||||
|
- This theme is guaranteed to work with the latest Logseq version WITHOUT backward compability.
|
||||||
|
|
||||||
|
## Demo (might be outdated)
|
||||||
|
|
||||||
|
![demo](./demo.png)
|
||||||
|
|
||||||
|
https://user-images.githubusercontent.com/584378/128587194-bd775264-b3ba-4303-8595-060953fe8030.mp4
|
||||||
|
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
|
||||||
|
You may refer to [Changelog](./CHANGELOG.md), but it might not be well organized.
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
[PiotrSss](https://github.com/PiotrSss) for his [clean-themes](https://github.com/PiotrSss/logseq-clean-themes)
|
11
logseq/plugins/logseq-journals-calendar/README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
## Logseq journals calendar
|
||||||
|
|
||||||
|
A simple journals calendar plugin for Logseq.
|
||||||
|
|
||||||
|
### Demo
|
||||||
|
|
||||||
|
![demo](./demo.gif)
|
||||||
|
|
||||||
|
### Licence
|
||||||
|
|
||||||
|
MIT
|
BIN
logseq/plugins/logseq-journals-calendar/demo.gif
Normal file
After Width: | Height: | Size: 2.7 MiB |
1
logseq/plugins/logseq-journals-calendar/dist/assets/index-1d5be1d8.css
vendored
Normal file
17523
logseq/plugins/logseq-journals-calendar/dist/assets/index-7b85673c.js
vendored
Normal file
14
logseq/plugins/logseq-journals-calendar/dist/index.html
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>App</title>
|
||||||
|
<script type="module" crossorigin src="./assets/index-7b85673c.js"></script>
|
||||||
|
<link rel="stylesheet" href="./assets/index-1d5be1d8.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
logseq/plugins/logseq-journals-calendar/icon.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
1
logseq/plugins/logseq-journals-calendar/package.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"name":"logseq-journals-calendar","description":"A simple journals calendar plugin for Logseq.","version":"v0.10.8","main":"dist/index.html","author":"xyhp915","scripts":{"dev":"vite","build":"vite build"},"dependencies":{"@logseq/libs":"0.0.14","dayjs":"1.11.7","lodash.kebabcase":"^4.1.1","v-calendar":"next","vue":"3.2.45"},"devDependencies":{"@popperjs/core":"2.11.6","@vitejs/plugin-vue":"4.0.0","@vue/compiler-sfc":"3.2.45","vite":"4.0.3"},"logseq":{"id":"_zsmbaoekb-journals-calendar","title":"Journals calendar","icon":"./icon.png"},"repo":"xyhp915/logseq-journals-calendar","title":"Journals calendar","effect":false,"sponsors":["https://opencollective.com/logseq"]}
|
21
logseq/plugins/logseq-tabs/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2021 Peng Xiao
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
59
logseq/plugins/logseq-tabs/dist/assets/index.92b35697.js
vendored
Normal file
1
logseq/plugins/logseq-tabs/dist/assets/index.b68d8495.css
vendored
Normal file
15
logseq/plugins/logseq-tabs/dist/index.html
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Logseq Plugin</title>
|
||||||
|
<script type="module" crossorigin src="./assets/index.92b35697.js"></script>
|
||||||
|
<link rel="stylesheet" href="./assets/index.b68d8495.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
1
logseq/plugins/logseq-tabs/package.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"name":"logseq-plugin-tabs","version":"v1.18.1","schemaVersion":"1.0.0","main":"dist/index.html","scripts":{"dev":"vite","build":"vite build","preinstall":"npx only-allow pnpm"},"license":"MIT","dependencies":{"@logseq/libs":"^0.0.10","fast-deep-equal":"^3.1.3","immer":"^9.0.16","react":"^18.2.0","react-dom":"^18.2.0","react-use":"^17.4.0"},"devDependencies":{"@semantic-release/changelog":"6.0.1","@semantic-release/exec":"^6.0.3","@semantic-release/git":"10.0.1","@semantic-release/npm":"9.0.1","@types/react":"18.0.24","@types/react-dom":"18.0.8","@typescript-eslint/eslint-plugin":"^5.42.0","@typescript-eslint/parser":"^5.42.0","@vitejs/plugin-react":"^2.2.0","conventional-changelog-conventionalcommits":"5.0.0","eslint":"^8.26.0","eslint-plugin-react":"^7.31.10","eslint-plugin-react-hooks":"^4.6.0","semantic-release":"^19.0.5","typescript":"4.8.4","vite":"3.2.2","vite-plugin-logseq":"^1.1.2","vite-plugin-windicss":"1.8.8","windicss":"3.5.6"},"logseq":{"id":"_pengx17-logseq-tabs"},"repo":"pengx17/logseq-plugin-tabs","title":"Tabs","author":"pengx17","description":"Open pages or blocks in tabs like working in the browser","effect":true}
|
27
logseq/plugins/logseq-tabs/readme.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Logseq Plugin Tabs
|
||||||
|
|
||||||
|
[![Github All Releases](https://img.shields.io/github/downloads/pengx17/logseq-plugin-tabs/total.svg)](https://github.com/pengx17/logseq-plugin-tabs/releases)
|
||||||
|
|
||||||
|
A plugin that let's you to manage your working pages with tabs.
|
||||||
|
|
||||||
|
UX is mainly brought from modern browsers:
|
||||||
|
|
||||||
|
- normally, if a new page is visited, the current tab will be replaced by the new page
|
||||||
|
- if you click a page link or a block ref while holding CTRL (or CMD on Mac) key, a new tab will be created, but it is not visited yet
|
||||||
|
- you can click the remove icon or middle click a tab to close tabs
|
||||||
|
- you can double-click a tab to pin it. A pinned tab will not be replaced or be removed.
|
||||||
|
- you can drag & drop to reorder tabs
|
||||||
|
- tabs info will be persisted in your local storage, so that your tabs will recover even if you re-open the app
|
||||||
|
|
||||||
|
![](./demo.gif)
|
||||||
|
|
||||||
|
## Keyboard shortcuts
|
||||||
|
|
||||||
|
- Pin/unpin a tab: <kbd>CTRL</kbd> + <kbd>P</kbd> (macOS: <kbd>CMD</kbd> + <kbd>P</kbd>)
|
||||||
|
- Close a tab: <kbd>SHIFT</kbd> + <kbd>CTRL</kbd> + <kbd>W</kbd> (macOS: <kbd>SHIFT</kbd> + <kbd>CMD</kbd> + <kbd>W</kbd>)
|
||||||
|
- Change to next tab: <kbd>CTRL</kbd> + <kbd>TAB</kbd>
|
||||||
|
- Change to nth tab: <kbd>CTRL</kbd> + <kbd>1</kbd> ~ <kbd>9</kbd> (this is not configurable yet)
|
||||||
|
|
||||||
|
Hint: you can change them in the Settings. After change, you need to restart the app.
|
||||||
|
|
||||||
|
![](./keybinding-settings.png)
|
188
logseq/plugins/unfinished-business/README.md
Normal file
|
@ -0,0 +1,188 @@
|
||||||
|
# Unfinished-business
|
||||||
|
<div id="top"></div>
|
||||||
|
<!--
|
||||||
|
*** Thanks for checking out Unfinished business. If you have a suggestion
|
||||||
|
*** that would make this better, please fork the repo and create a pull request
|
||||||
|
*** or simply open an issue with the tag "enhancement".
|
||||||
|
*** Don't forget to give the project a star!
|
||||||
|
*** Thanks again! Now go create something AMAZING! :D
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- PROJECT SHIELDS -->
|
||||||
|
<!--
|
||||||
|
*** I'm using markdown "reference style" links for readability.
|
||||||
|
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
|
||||||
|
*** See the bottom of this document for the declaration of the reference variables
|
||||||
|
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
|
||||||
|
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
|
||||||
|
-->
|
||||||
|
[![latest release version][release-shield]][release-url]
|
||||||
|
[![Forks][forks-shield]][forks-url]
|
||||||
|
[![Stargazers][stars-shield]][stars-url]
|
||||||
|
[![Issues][issues-shield]][issues-url]
|
||||||
|
[![MIT License][license-shield]][license-url]
|
||||||
|
|
||||||
|
<!-- PROJECT LOGO -->
|
||||||
|
<br />
|
||||||
|
<div align="center">
|
||||||
|
<a href="https://github.com/qwxlea/Unfinished-business">
|
||||||
|
<img src="./img/icon.png" alt="Logo" width="80" height="80">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<h3 align="center">Unfinished Business</h3>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
Because the day may be over, but your business isn't
|
||||||
|
<br />
|
||||||
|
<a href="https://github.com/qwxlea/Unfinished-business">View Demo</a>
|
||||||
|
·
|
||||||
|
<a href="https://github.com/qwxlea/Unfinished-business/issues">Report Bug</a>
|
||||||
|
·
|
||||||
|
<a href="https://github.com/qwxlea/Unfinished-business/issues">Request Feature</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
This plugin migrates yesterdays unfinished tasks to todays journal. It is *meant* to be used in a template, but *can* be run mannually as well. It supports limiting tasks to specific markers or tags.
|
||||||
|
|
||||||
|
> I can't believe it! They keep following me.
|
||||||
|
>
|
||||||
|
>— <cite>Unhappy customer</cite>
|
||||||
|
|
||||||
|
**Notice:** This plugin is in beta, make backups of your graph. It shouldn't, but *can* (theoratically) make tasks disappear in the digital void.
|
||||||
|
|
||||||
|
<!-- TABLE OF CONTENTS -->
|
||||||
|
<details>
|
||||||
|
<summary>Table of Contents</summary>
|
||||||
|
<ol>
|
||||||
|
<li><a href="#installation">Installation</a></li>
|
||||||
|
<li><a href="#Using the plugin">Using the plugin</a></li>
|
||||||
|
<li><a href="#Configuration">Configuration</a></li>
|
||||||
|
<li><a href="#license">License</a></li>
|
||||||
|
<li><a href="#contact">Contact</a></li>
|
||||||
|
<li><a href="#acknowledgments">Acknowledgments</a></li>
|
||||||
|
</ol>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### Preparation
|
||||||
|
|
||||||
|
- Click the 3 dots in the righthand corner and go to **Settings**.
|
||||||
|
- Go to **Advanced** and enable **Plug-in system**.
|
||||||
|
- Restart the application.
|
||||||
|
- Click 3 dots and go to Plugins (or `Esc t p`).
|
||||||
|
|
||||||
|
### Install plugin from the Marketplace (recommended)
|
||||||
|
|
||||||
|
- Click the `Marketplace` button and then click `Plugins`.
|
||||||
|
- Find the plugin and click `Install`.
|
||||||
|
|
||||||
|
### Install plugin manually
|
||||||
|
|
||||||
|
- Download a released version assets from Github.
|
||||||
|
- Unzip it.
|
||||||
|
- Click `Load unpacked plugin`, and select destination directory to the unzipped folder.
|
||||||
|
|
||||||
|
## Using the plugin
|
||||||
|
|
||||||
|
The default way to use the plugin is place a *placeholder* in your `daily` template. Then, when the template is run at midnight, all tasks are moved to the newly created page. Use: `/move unfinished business here`.
|
||||||
|
|
||||||
|
![template.gif](./img/template.gif)
|
||||||
|
|
||||||
|
As an alternative, go to the location you want to gather the unfinished tasks, use `/move unfinished business here`, correct (or remove) the tag, leave the block, and the tasks will be migrated.
|
||||||
|
|
||||||
|
### Testing if it works
|
||||||
|
|
||||||
|
As a test, create two tasks in **yesterdays** journal page:
|
||||||
|
|
||||||
|
``` markdown
|
||||||
|
LATER This is a test [[testme]]
|
||||||
|
LATER This is a second test [[testme]]
|
||||||
|
```
|
||||||
|
|
||||||
|
Then place a placeholder with: `/move unfinished business here` Press escape to leave the block"
|
||||||
|
|
||||||
|
If everything is working, you should see:
|
||||||
|
|
||||||
|
``` markdown
|
||||||
|
**🚀 Moved 2 unfinished tasks from yesterday **
|
||||||
|
LATER This is a test [[testme]]
|
||||||
|
LATER This is a second test [[testme]]
|
||||||
|
```
|
||||||
|
|
||||||
|
**Important:** the placeholder, by default looks like this: `{{renderer :unfinishedBusiness, testme}}` to migrate *all* yesterdays tasks (ignoring all tags) remove *both* the tag **and the comma!** It should look like this: `{{renderer :unfinishedBusiness}}`
|
||||||
|
|
||||||
|
### Imsure — for when you live dangerously
|
||||||
|
|
||||||
|
It is possible to run *unfinished business* on your *whole* graph. This can be dangerous, so has it's own flag:
|
||||||
|
|
||||||
|
`{{renderer :unfinishedBusiness, testme, imsure}}`
|
||||||
|
|
||||||
|
- **testme** would be the tag matched against
|
||||||
|
- **imsure** is to make sure you want it to check *all* your pages
|
||||||
|
|
||||||
|
So, this will move *all* tasks, from *all* pages, with the `[[testme]]` tag.
|
||||||
|
|
||||||
|
Last, it is possible to run *unfinished business* on *all tasks* *all over your graph*, ignoring **all** tags:
|
||||||
|
|
||||||
|
`{{renderer :unfinishedBusiness, imsure, imsure}}`
|
||||||
|
|
||||||
|
This will move **all** tasks (as defined in your config), from **all over your graph**, with **any, or no** tag, to the place you ran the macro from!
|
||||||
|
|
||||||
|
So make sure you're *really* *really* sure 😜.
|
||||||
|
|
||||||
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
- Click the 3 dots in the righthand corner and go to **Settings**.
|
||||||
|
- Go to **Plugin Settings**.
|
||||||
|
- Select correct plugin.
|
||||||
|
|
||||||
|
![settings](./img/settings.png)
|
||||||
|
|
||||||
|
- Change `testme` to the tag you use to migrate tasks, or leave empty, then *all* tasks will be migrated.
|
||||||
|
- Choose your favorite workflow. It will only migrate *these* tasks.
|
||||||
|
|
||||||
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||||
|
|
||||||
|
## Licence
|
||||||
|
|
||||||
|
[MIT](.LICENSE)
|
||||||
|
|
||||||
|
### Image license
|
||||||
|
|
||||||
|
### Font License
|
||||||
|
|
||||||
|
[OFL](./OFL.txt)
|
||||||
|
|
||||||
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||||
|
|
||||||
|
<!-- CONTACT -->
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
Alex Qwxlea - [@twitter_handle](https://twitter.com/QwxleaA)
|
||||||
|
|
||||||
|
Project Link: [https://github.com/QWxleA/Unfinished-business](https://github.com/QWxleA/)
|
||||||
|
|
||||||
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
This plugin is a partially is inspired by [Obsidian rollover daily todo](https://github.com/shichongrui/obsidian-rollover-daily-todos), thanks!
|
||||||
|
|
||||||
|
<!-- MARKDOWN LINKS & IMAGES -->
|
||||||
|
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
|
||||||
|
[release-url]: (https://github.com/QWxleA/Unfinished-business)
|
||||||
|
[release-shield]: https://img.shields.io/github/v/release/qwxlea/unfinished-business?style=for-the-badge
|
||||||
|
[contributors-shield]: https://img.shields.io/github/contributors/QWxleA/Unfinished-business.svg?style=for-the-badge
|
||||||
|
[contributors-url]: https://github.com/QWxleA/Unfinished-business/graphs/contributors
|
||||||
|
[forks-shield]: https://img.shields.io/github/forks/QWxleA/Unfinished-business.svg?style=for-the-badge
|
||||||
|
[forks-url]: https://github.com/QWxleA/Unfinished-business/network/members
|
||||||
|
[stars-shield]: https://img.shields.io/github/stars/QWxleA/Unfinished-business.svg?style=for-the-badge
|
||||||
|
[stars-url]: https://github.com/QWxleA/Unfinished-business/stargazers
|
||||||
|
[issues-shield]: https://img.shields.io/github/issues/QWxleA/Unfinished-business.svg?style=for-the-badge
|
||||||
|
[issues-url]: https://github.com/QWxleA/Unfinished-business/issues
|
||||||
|
[license-shield]: https://img.shields.io/github/license/QWxleA/Unfinished-business.svg?style=for-the-badge
|
||||||
|
[license-url]: https://github.com/QWxleA/Unfinished-business/blob/master/LICENSE.txt
|
||||||
|
[product-screenshot]: images/screenshot.png
|
9548
logseq/plugins/unfinished-business/dist/index.f8a1edcf.js
vendored
Normal file
1
logseq/plugins/unfinished-business/dist/index.html
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>logseq-custom-workflows</title></head><body> <div id="app"></div> <script src="index.f8a1edcf.js" type="module"></script> </body></html>
|
BIN
logseq/plugins/unfinished-business/icon.png
Normal file
After Width: | Height: | Size: 30 KiB |
1
logseq/plugins/unfinished-business/package.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"name":"unfinished-business","version":"0.1.5","description":"Move (yesterdays) unfinished tasks to today","main":"dist/index.html","targets":{"main":false},"scripts":{"build":"parcel build --no-source-maps index.html --public-url ./","preview":"gh-social-preview.py -t \"Unfinished Business\" -e \"Productivity, GTD. But nottoday, maybe tomorrow. If not, then the day after.\" -i \"background.png\" -f \"BebasNeue-Regular.ttf\" -b \"Montserrat-VariableFont_wght.ttf\" -l icon.png -v \"$npm_package_version\""},"keywords":["task management","logseq"],"author":"Alex Qwxlea","license":"MIT","dependencies":{"@logseq/libs":"0.0.1-alpha.35","lodash":"^4.17.21"},"logseq":{"id":"unfinished-business","title":"Unfinished Business","icon":"icon.png"},"devDependencies":{"parcel":"^2.0.0","@types/lodash":"^4.14.177"},"repo":"QWxleA/Unfinished-business","title":"Unfinished Business","effect":false}
|
29
logseq/preferences.json
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"theme": {
|
||||||
|
"name": "Dev theme",
|
||||||
|
"url": "assets:///home/kaan/.logseq/plugins/logseq-dev-theme/custom.css",
|
||||||
|
"pid": "logseq-dev-theme"
|
||||||
|
},
|
||||||
|
"themes": {
|
||||||
|
"mode": "dark",
|
||||||
|
"light": {
|
||||||
|
"name": "Default Light Theme",
|
||||||
|
"url": null,
|
||||||
|
"description": "Logseq default light theme.",
|
||||||
|
"mode": "light",
|
||||||
|
"selected": true,
|
||||||
|
"group-first": true,
|
||||||
|
"group-desc": "light themes"
|
||||||
|
},
|
||||||
|
"dark": {
|
||||||
|
"name": "Dev theme",
|
||||||
|
"url": "assets:///home/kaan/.logseq/plugins/logseq-dev-theme/custom.css",
|
||||||
|
"pid": "logseq-dev-theme",
|
||||||
|
"group-first": true,
|
||||||
|
"group-desc": "light & dark themes",
|
||||||
|
"mode": "dark",
|
||||||
|
"selected": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"externals": []
|
||||||
|
}
|
6
logseq/settings/logseq-bullet-threading.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"width": "2px",
|
||||||
|
"customColor": false,
|
||||||
|
"color": "",
|
||||||
|
"disabled": false
|
||||||
|
}
|
1
logseq/settings/logseq-bullet-threading_layouts.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
1
logseq/settings/logseq-dev-theme.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
9
logseq/settings/logseq-journals-calendar.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"showTodayBtn": true,
|
||||||
|
"firstDayOfWeek": 1,
|
||||||
|
"backgroundColorOfContainerLight": "#ffffff",
|
||||||
|
"backgroundColorOfContainerDark": "#000000",
|
||||||
|
"hotkey": null,
|
||||||
|
"keepOpenOnSelect": false,
|
||||||
|
"disabled": false
|
||||||
|
}
|
1
logseq/settings/logseq-journals-calendar_layouts.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
11
logseq/settings/logseq-tabs.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"tabs:toggle-pin": "",
|
||||||
|
"tabs:close": "mod+shift+w",
|
||||||
|
"tabs:select-next": "ctrl+tab",
|
||||||
|
"tabs:select-prev": "ctrl+shift+tab",
|
||||||
|
"tabs:inherit-custom-css": false,
|
||||||
|
"tabs:show-single-tab": true,
|
||||||
|
"tabs:close-button-left": false,
|
||||||
|
"tabs:hide-close-all-button": false,
|
||||||
|
"disabled": false
|
||||||
|
}
|
1
logseq/settings/logseq-tabs_layouts.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
6
logseq/settings/unfinished-business.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"defaultTag": "",
|
||||||
|
"searchMarkers": "\"TODO\" \"LATER\" \"DOING\" \"NOW\"",
|
||||||
|
"sortOrder": "by Priority then Marker",
|
||||||
|
"disabled": false
|
||||||
|
}
|
1
logseq/settings/unfinished-business_layouts.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|