Commit Graph

48 Commits

Author SHA1 Message Date
charlie
da4d507bcc enhance(ux): test url for proxy settings 2022-05-12 08:26:22 +08:00
charlie
8fcf5b5d60 enhance(ui): show network proxy hints on plugins page if it's settled 2022-05-12 08:26:22 +08:00
Charlie
79bc33e1e3 Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00
Tienson Qin
bcffcd7661 Add large vars hint 2022-04-02 20:05:58 +08:00
charlie
8b8967e85a enhance(ux): filter of marketplace plugins list 2022-04-02 20:05:58 +08:00
Charlie
24b0236b7d Enhance/Settings UI of plugins (#4035)
more settings types & polish releated ui
2022-02-17 10:00:53 +08:00
Gabriel Horner
c6d03b67ab Merge branch 'master' into dev/var-sizes-linter 2022-02-08 12:02:39 -05:00
Tienson Qin
982eba9396 refactor: remove i18n tongue context 2022-02-08 17:31:32 +08:00
Gabriel Horner
e81678fc69 Mark most vars as cleanup-todo
Fixed a few that I knew how to QA and were low risk
2022-02-04 16:57:49 -05:00
Gabriel Horner
b7b3375f62 Lint extensions/ and wrap up hanging frontend dirs
fs/, format/ and logseq/ also added to linting by adding todos for later
inspection
2022-01-12 16:38:17 -05:00
Gabriel Horner
89bef5b26e Merge remote-tracking branch 'origin/master' into test/add-clj-kondo-part-two 2022-01-12 15:38:57 -05:00
Gabriel Horner
f1d15b0e05 Lint components and address comments in review
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
charlie
53a8c8b96f fix(marketplace): download updates state when network issues 2022-01-12 23:31:22 +08:00
charlie
4bcc4f4b86 improve(marketplace): change sort-by to filter behavior from installed plugins 2022-01-12 23:31:22 +08:00
charlie
de1ea231e3 feat(marketplace): download updates with one click 2022-01-12 23:31:22 +08:00
charlie
9a7698c966 improve(marketplace): add indicator for sorter 2022-01-12 23:31:22 +08:00
charlie
f95ba84204 fix(marketplace): sort by title 2022-01-12 23:31:22 +08:00
charlie
1eecc3b3b6 improve(marketplace): more filter for installed plugins 2022-01-12 23:31:22 +08:00
Charlie
3ea7635daa Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +08:00
charlie
e63d939c77 improve(plugin): force market flag for plugin card item 2021-12-16 19:23:43 +08:00
Peng Xiao
6fa50fd454 fix: custom macro click issue 2021-11-23 17:19:10 +08:00
charlie
82a522fb05 fix(marketplace): exclude themes for plugins tab 2021-11-22 13:56:36 +08:00
charlie
0f73f5ff2e fix(ui): scrolling not work of main container from some plugins theme 2021-11-22 13:56:36 +08:00
charlie
5a3e93f930 improve(plugin): reset option for slot container 2021-11-16 12:02:18 +08:00
Tienson Qin
179a8de37e enhance: reload commands when toggle any plugin 2021-11-04 17:55:41 +08:00
charlie
1df76c4595 enhance: support custom js for web nfs 2021-10-18 13:11:10 +08:00
Charlie
e47ad9909d Enhance/pdf (#2855)
* feat(pdf): add go to annations page to pdf viewer toolbar

* improve(pdf): try to fix highlight selection blink

* improve(pdf): remove annations layer

* fix(pdf): try to fix selection blink

* Squashed commit of the following:

commit 995fba8623
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Sep 16 13:59:08 2021 +0800

    fix: disable plugins on the Web

commit d6a011fd35
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Sep 16 12:31:01 2021 +0800

    enhance(perf): add :ref/linked-references-collapsed-threshold option

    Related to #2792

commit f59f59b9ae
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 21:47:05 2021 +0800

    enhance: don't overwrite logseq's file if changes from journal file

    is empty or the default template content.

    To prevent overwritten when using iCloud/OneDrive/GDrive.

commit f5cdfaa2f1
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 20:59:10 2021 +0800

    fix: add command-palette/toggle

commit ae25bb387f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 20:57:57 2021 +0800

    fix: add both Cmd+! and Cmd+Shift+p to configurable shortcuts

commit b20d29f813
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 17:12:20 2021 +0800

    fix: don't count as failed writes if content from the disk

    is not matched to the content in logseq

commit ac89a36ab0
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 14:31:48 2021 +0800

    chore: bump mldoc

commit c7128dfc87
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 12:31:11 2021 +0800

    enhance: text update

commit d965394be2
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 11:28:39 2021 +0800

    feat: add namespace query support

commit 4f1402ea42
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 09:52:56 2021 +0800

    enhance: remove the plus icon for switching graphs

commit 3550e4bbf0
Author: Gustavo Santos <gustavofsantos@outlook.com>
Date:   Tue Sep 14 13:43:57 2021 -0300

    fix: set aria-checked to "true" if toggle is on

commit 640d447b3b
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 09:48:47 2021 +0800

    debug: disable cache node modules temporally

commit 6ab7f44f5f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Wed Sep 15 00:01:14 2021 +0800

    enhance: marketplace polish

commit 07063f1592
Author: charlie <xyhp915@qq.com>
Date:   Tue Sep 14 18:27:06 2021 +0800

    fix(plugin): restart app not work

commit 7b909704ab
Author: charlie <xyhp915@qq.com>
Date:   Tue Sep 14 15:43:30 2021 +0800

    fix(ui): broken width for plugins page when toggling widen mode

commit d456ed7823
Author: charlie <xyhp915@qq.com>
Date:   Tue Sep 14 15:36:32 2021 +0800

    enhance(plugin): polish marketplace ui

* fix(pdf): try to fix horizontal scroller when viewer overflow

* fix(pdf): make text selectable for embed highlight range

* feat(pdf): pager of viewer on toolbar

* fix: conflicts

* improve(pdf): register shortcuts for pager

* improve(pdf): try to fix area image blurry for high dpi screen

* improve(pdf): support dashed style for area highlight

* fix(pdf): change shortcuts for win32
2021-09-22 12:14:39 +08:00
charlie
6391cdd709 fix(ui): spare icons 2021-09-17 11:02:21 +08:00
charlie
67fd60d636 improve(plugin): hide reload button of plugin that from marketplace 2021-09-17 11:02:21 +08:00
Tienson Qin
6ab7f44f5f enhance: marketplace polish 2021-09-15 00:01:14 +08:00
charlie
d456ed7823 enhance(plugin): polish marketplace ui 2021-09-14 22:09:27 +08:00
Charlie
18b7a7864b Feat/plugin marketplace (#2766)
* Squashed commit of the following:

commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:23:24 2021 +0800

    feat: type c to git commit

    also, fixed an issue that backspace can delete selected blocks
    when there's a dialog.

commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:01:21 2021 +0800

    fix: add patch parser worker to yarn watch

commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:57:46 2021 +0800

    fix: add several shortcuts to the Others category

commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:55:40 2021 +0800

    fix: git username and email configuration

* Squashed commit of the following:

commit 401d85be5f
Author: Peng Xiao <pengxiao@outlook.com>
Date:   Fri Aug 27 11:10:32 2021 +0800

    feat: add protobuf mode

commit dc1e9fdfc9
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 13:33:47 2021 +0800

    chore: replace : with comma for git path

    ':' is a reserved character on Windows

commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:23:24 2021 +0800

    feat: type c to git commit

    also, fixed an issue that backspace can delete selected blocks
    when there's a dialog.

commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Fri Aug 27 00:01:21 2021 +0800

    fix: add patch parser worker to yarn watch

commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:57:46 2021 +0800

    fix: add several shortcuts to the Others category

commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Thu Aug 26 23:55:40 2021 +0800

    fix: git username and email configuration

* feat(plugin): ui of marketplace plugins list

* improve(plugin): support reload

* improve(plugin): installation from marketplace

* fix conflicts

* improve(plugin): installation from github public repo

* chore: remove unwanted dependency

* chore: remove console

* improve(plugin): add shortcuts

* ui(plugin): polish LOADING indicator

* improve(plugin): support up-to-date of marketplace plugin

* fix: remove debug option

* improve(plugin): better interaction of themes picker

* improve(plugin): better experience when installing theme from marketplace

* fix(plugin): downloads label of marketplace plugin

* improve(plugin): update package name field

* improve(plugin): change marketplace packages repo to `logseq/marketplace`

* fix(plugin): plugin title when updating notification

* fix: conflicts

* enhance(plugin): i18n related marketplace & lifecycle of plugin installation

* improve(plugin): handle offline situation

* ui(plugin): header plugin icons container

* fix(ui): add class identity for journal page with date page name

* improve(plugin): remote readme for marketplace plugin

* enhance(plugin): polish plugin card

* chore(plugin): build libs core

* Squashed commit of the following:

commit 751db4828c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:58:25 2021 +0800

    enhance: log git errors

commit c2dbbc77bf
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:27:00 2021 +0800

    enhance: display refresh status

commit f734b6db37
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 16:03:57 2021 +0800

    fix: .git doesn't work well with third-party cloud services

commit 7e44d81f1d
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Tue Sep 7 13:52:38 2021 +0800

    fix: git init into the current graph folder

    instead of a separate git directory because .gitdir might has
    different paths on multiple devices, another reason is that the graph
    might have different histories considering the .git directory is not
    synced.

commit b86a801514
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 23:23:27 2021 +0800

    enhance: don't show diff if there's only blank changes

commit 0b55d119aa
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 22:39:06 2021 +0800

    fix: save the previous content in Logseq first and commit it

    to avoid overwritten when syncing with iCloud/Dropbox/syncthing.

commit e0baf4b05c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 22:18:45 2021 +0800

    fix: close file watcher when exit the app

commit 10e7a9fbd6
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 21:05:38 2021 +0800

    fix: disable cut selections in the query result block

commit 90c2bd7cc2
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 18:42:17 2021 +0800

    fix: terminate parser and persist dbs when reloading the app (electron)

commit 571c81af30
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 17:57:33 2021 +0800

    enhance: add sync from local files (the old refresh way)

commit a16e5c98ba
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 17:23:57 2021 +0800

    fix: Dragging blocks to update notes does not synchronize updates to
    the notes file in real time.

    close #2744

commit 6897a22a3f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 16:43:30 2021 +0800

    fix: disable page/block auto-complete once the cursor went outside

commit feb4404874
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 13:28:47 2021 +0800

    fix: wrong page metadata saved for another graph

commit b96332122f
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 13:08:28 2021 +0800

    enhance: catch errors when app quits

commit 1ee0c240c3
Author: Jiang Hailong <gombiuda@gmail.com>
Date:   Wed Sep 1 20:54:13 2021 +0800

    FIX: Linked reference is not refresh after file altering #2694

commit 0550c8a876
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:25:39 2021 +0800

    fix: display logbook for scheduled tasks

commit 2a5f0cee7c
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:21:19 2021 +0800

    fix: spent hours for logbook

commit 1f2c9e4d3f
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 12:59:09 2021 +0900

    fix(timestamp): remove old SCHEDULED/DEADLINE timestamp

    When using `date-picker` to update the SCHEDULED/DEADLINE timestamp by
    clicking an existing one, logseq will add a new timestamp instead of
    updating the old one. This patch fixs this issue.

commit cb23b967e4
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 11:36:34 2021 +0900

    fix(repeat): more consistent with orgmode style

    Ref: https://orgmode.org/manual/Tracking-your-habits.html

commit 229c7f2594
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 15:11:07 2021 +0900

    enhance(property): remove empty properties drawer

commit a76df9ce97
Author: leizhe <lzhes43@gmail.com>
Date:   Sat Sep 4 10:27:30 2021 +0900

    fix(clock): duplicate clock-in log twice

    1. `set-marker` will not log time anymore. The time logging is moved
    to `with-timetracking`
    2. Concat `logbook` only if `new-clocks` is nil, which fixs the
    duplication of clock-in log.

commit c79e9f9e3e
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 12:04:16 2021 +0800

    code: cleanup

commit 9ec85db09a
Author: DarshanSudhakar <$K3Ug1i&>
Date:   Mon Sep 6 08:32:07 2021 +0530

    Fixing typo  for the tooltip 'Block reference'

commit eec677873b
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 11:49:58 2021 +0800

    enhance: page history support reverting back

commit 7273112a00
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 11:23:31 2021 +0800

    git: revert back

commit cd853b5864
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:39:08 2021 +0800

    git: should compare ignored-files with disk content

commit a84dfb5eff
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:31:16 2021 +0800

    git: add ignore-files to avoid repeated notifications

commit 86577e7ebf
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 10:07:39 2021 +0800

    fix: ignore permission denied error when git add all

commit 8dc0ca9ff5
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 09:54:03 2021 +0800

    fix: run git config core.safecrlf false on windows

commit 9edaae559d
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 09:20:06 2021 +0800

    refactor: extract file ops

commit f12f58d3fa
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 23:25:07 2021 +0100

    fix typos

commit 9e82f0117c
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 21:32:03 2021 +0100

    Translate shortcuts to Portuguese (pt-PT)

commit 9a2c17bb05
Author: tiagodevezas <tiagodevezas@gmail.com>
Date:   Fri Sep 3 20:58:33 2021 +0100

    Translate new settings to pt-PT

commit c05034cc34
Author: Sebastian Bensusan <sbensu@gmail.com>
Date:   Sat Sep 4 07:57:07 2021 -0700

    feat(calc): Understand percentages

commit bfe6a5d6cb
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 6 08:46:30 2021 +0800

    enhance: commit the content in logseq when detecting any disk changes

* improve(plugin): add install plugin api

* fix(plugin): protected plugin installation api

* improve(plugin): tweak readme display for local

* fix: conflicts

* fix(plugin): get block option with include children

* improve(plugin): copy more marketplace manifest fields to plugin

* fix: conflicts

* improve(plugin): shortcut for copying plugin id

* Squashed commit of the following:

commit e51ea54a75
Author: Tienson Qin <tiensonqin@gmail.com>
Date:   Mon Sep 13 10:40:25 2021 +0800

    fix: change ack timeout

* fix(plugin): non blank icon string

* fix: conflicts

* fix: e name

* fix: remove debug from state

* chore(plugin): bump libs minor version

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-09-13 19:49:51 +08:00
llcc
fef5bbf068 enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block

* cleanup: unused namespaces

* cleanup: missing-else-branch if --> when

* enhance: wider search results window for mobile browser

* fix: namespace requirement
2021-09-08 10:23:16 +08:00
charlie
6afa07ae48 fix(plugin): description modal 2021-08-16 16:21:45 +08:00
charlie
7b39494aa8 improve(plugin): support register ui on page bar 2021-06-30 16:42:45 +08:00
charlie
e947acf7bd feat(plugin): support configurable UI api for toolbar action items 2021-06-29 17:55:06 +08:00
Tienson Qin
effae4b9d6 enhance: put warning above the plugins 2021-06-17 21:05:03 +08:00
Tienson Qin
777437a999 enhance: add random plugins warning/disclaimer 2021-06-17 20:43:06 +08:00
charlie
a623b31d42 improve(ui): details of plugin item 2021-06-07 21:12:46 +08:00
charlie
819cfadf59 fix: typos 2021-05-21 17:48:13 +08:00
charlie
bd95878b68 improve(plugin): add default theme option 2021-05-18 15:07:25 +08:00
charlie
158c7645e3 fix(plugin): exported api namespace 2021-05-17 12:36:23 +08:00
charlie
6bd8f4847f feat(plguin): integration 2021-05-08 20:32:53 +08:00
charlie
f3edb9b77f feat(plugin): merge implementation 2021-05-08 20:32:20 +08:00
Tienson Qin
f1f9800d96 Revert "feat(plugin): merge implementation"
This reverts commit 7f867236d7.
2021-05-08 19:02:34 +08:00
Tienson Qin
a14a6a5346 Revert "feat(plguin): integration"
This reverts commit ba6b6429a9.
2021-05-08 19:01:15 +08:00
charlie
ba6b6429a9 feat(plguin): integration 2021-05-08 14:14:19 +08:00
charlie
7f867236d7 feat(plugin): merge implementation 2021-05-07 16:54:14 +08:00