Commit Graph

375 Commits

Author SHA1 Message Date
Charlie
675811ccde Enhance/plugins (#8202)
* improve(plugins): install hooks with user options

* improve(plugin): remove todos

* improve(plugin): hook for a specific plugin

* e2e tests

* improve(ui): global search bar for the results from the custom search service
2023-01-05 19:30:41 +08:00
Konstantinos Kaloutas
7e54812756 fix: e2e tests 2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
c006ac3588 fix: e2e tests 2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
1bcf8db3b7 enhance: test stability 2023-01-05 19:27:59 +08:00
situ2001
2657f5a2f1 fix(e2e): should not wait for selector when there is no onboarding button 2023-01-05 11:53:10 +08:00
Andelf
fdfac2b506 fix(test): use fill instead of select-all shortcut 2022-12-30 16:26:16 +08:00
sallto
e96c3403bf fix: Datepicker behaves oddly if there are 2 datepickers visible at the same time (#7498)
fixes #7341

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-14 17:41:08 -05:00
Konstantinos
109b491042 Feat: Use tooltips instead of titles on whiteboard buttons (#7643)
Move select and pan to main toolbar
 Create tooltip component
 Add tooltip support to button, toggle, toggle groups, select and color input
 Style shortcuts on primary tools
2022-12-12 18:11:03 +08:00
Junyi
db11f48ed6 test(e2e): fix dump 2022-12-06 23:01:16 +08:00
Peng Xiao
0172d937ba e2e: reenable whiteboard e2e 2022-12-05 10:48:25 +08:00
Junyi Du
a84a8028bd test(e2e): alias test robustness 2 2022-12-01 15:41:37 +08:00
Junyi Du
1702993f06 test(e2e): alias test robustness 2022-12-01 15:41:37 +08:00
Junyi Du
7944f2db9c feat: content index contains title, close #7510 2022-12-01 15:41:37 +08:00
Andelf
fe5d9b92d9 test(e2e): refine test cases (#7542) 2022-12-01 10:47:41 +08:00
Junyi Du
3f685cf591 feat: content index contains title, close #7510 2022-11-30 21:59:36 +08:00
Junyi Du
ad92fd6435 test(e2e): cjk search 2022-11-30 21:59:36 +08:00
Andelf
166f2b2432 fix(test): code testing fail 2022-11-30 11:22:55 +08:00
Andelf
c1bec2fc44 fix(test): refine e2e test 2022-11-30 11:22:55 +08:00
Andelf
7b7c766260 fix(test): do not prompt filename change 2022-11-30 11:22:55 +08:00
Junyi
32b63b9611 test: fix search e2e 2022-11-25 21:26:07 +08:00
Junyi
b8bb5c9dc6 test: update cases for page content search 2022-11-25 21:26:07 +08:00
Andelf
84ac0d89ab fix(test): e2e fail due to opened new-page dialog (#7430) 2022-11-23 16:27:08 +08:00
Andelf
8148bf4fc8 fix(test): rm wrong e2e tests 2022-11-23 14:31:31 +08:00
Andelf
40366f6dbf fix(test): use e2e to test hashtag 2022-11-23 12:21:36 +08:00
Gabriel Horner
f045875460 Temporarily disable another test that is intermittently failing
E.g. see
https://github.com/logseq/logseq/actions/runs/3527181103/jobs/5915950917
2022-11-22 16:33:01 -05:00
Gabriel Horner
85e5da06b9 Temporarily disable failing test to allow work to proceed on a clean CI 2022-11-22 15:42:32 -05:00
Charlie
dda1f9bd9f Enhance / Plugin APIs (#6945)
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR

Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
2022-11-22 22:00:29 +08:00
charlie
93e52a7a77 fix: lint 2022-11-22 21:43:47 +08:00
charlie
3086fec490 improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
Peng Xiao
e6fa986083 fix: skip whiteboard tests for now 2022-11-22 11:12:34 +08:00
Gabriel Horner
6f5a6dcbf7 Merge pull request #7358 from logseq/feat/color-panel
Feat (Whiteboards): Add main color panel and rearrange tools
2022-11-18 10:53:07 -05:00
Konstantinos Kaloutas
4f93f92eb0 fix: allowed attributes an add a test 2022-11-18 10:34:34 -05:00
Konstantinos Kaloutas
f90cee54b1 fix: e2e test 2022-11-17 17:15:53 +02:00
Konstantinos Kaloutas
f92e609af9 fix: e2e tests 2022-11-17 17:02:25 +02:00
sallto
e882b7cabd fix: Scheduled date picker always points to today, regardless of a previous date (#7329)
* fix: Scheduled date picker always points to today, regardless if a previous date was already set
fixes #6985

* fix: e2e-test flakyness for datepicker
2022-11-15 10:36:01 +08:00
Peng Xiao
d35c6d2b06 fix: e2e fix 2022-11-14 22:39:53 +08:00
Phoenix Eliot
a4e581b4b9 Add test for cmd-down deleting typed text 2022-11-14 17:37:24 +08:00
sallto
354d379874 fix: flaky e2e tests 2022-11-09 11:09:21 +08:00
sallto
6dd2e69b23 fix: Renaming the homepage makes it no longer the homepage 2022-11-09 11:09:21 +08:00
Peng Xiao
cff3f155ad test: add a test case for whiteboard context menu 2022-11-07 16:52:43 +08:00
Peng Xiao
d45e5507b5 fix: e2e issue 2022-11-04 23:03:43 +08:00
Peng Xiao
c03b8503b0 test(whiteboard): new e2e cases 2022-11-04 23:03:43 +08:00
Peng Xiao
0903af6ab3 test(e2e): add a test case for whiteboard quick add 2022-10-10 17:12:23 +08:00
Konstantinos Kaloutas
30ffaf9b2e fix: e2e tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
23f44a5e50 fix: e2e tests 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
f9644ab37b chore: add hiccup test 2022-10-10 13:42:22 +08:00
Konstantinos Kaloutas
a36f56c8df chore: add tests 2022-10-10 13:42:22 +08:00
Peng Xiao
e8e80ed2aa fix: e2e 2022-10-02 13:19:49 +08:00
Konstantinos Kaloutas
01eb87d27c fix: e2e tests 2022-09-29 14:11:47 +03:00
Peng Xiao
ca7a78b7d5 fix: e2e failure 2022-09-24 10:47:08 +08:00