Commit Graph

10785 Commits (3ef7fc01a8e7f822f01ce948e04440b457eeb408)

Author SHA1 Message Date
Konstantinos Kaloutas bee2293741 fix: auto height 2023-01-16 18:40:07 +02:00
Konstantinos Kaloutas 42d3551216 e2e test 2023-01-16 17:31:40 +02:00
Konstantinos Kaloutas 3f771ff06f e2e test 2023-01-16 17:08:31 +02:00
Konstantinos Kaloutas 8966c648f7 Revert "disable tests"
This reverts commit 040becd858.
2023-01-16 16:33:30 +02:00
Konstantinos Kaloutas e2384af7d1 Revert "test e2e"
This reverts commit 897a787013.
2023-01-16 16:33:15 +02:00
Konstantinos Kaloutas fa6aca7a75 Revert "disable blink features"
This reverts commit 5fd10fde64.
2023-01-16 16:32:59 +02:00
Konstantinos Kaloutas 5fd10fde64 disable blink features 2023-01-16 16:19:20 +02:00
Konstantinos Kaloutas 897a787013 test e2e 2023-01-16 15:55:59 +02:00
Konstantinos Kaloutas 040becd858 disable tests 2023-01-16 15:35:14 +02:00
Konstantinos Kaloutas 9dfd769d30 upgrade devtools 2023-01-16 13:17:33 +02:00
Konstantinos Kaloutas f6abc872a6 split tests 2023-01-16 12:47:52 +02:00
Konstantinos Kaloutas 51008bc363 Merge branch 'master' into feat/tweet-shape 2023-01-16 12:14:25 +02:00
Andelf 4916406111 chore(deps): update rsapi, add upload retries 2023-01-16 00:21:02 +08:00
rcmerci 316dc6bc01 enhance: replace sync/sync-events-publication with pubsub/sync-events-pub 2023-01-15 13:54:21 +08:00
Dan Zwell 7cc3645095 Clarify the option to prefer pasting a file rather than text
Fixes #8362
2023-01-15 12:53:50 +08:00
Gabriel Horner 2a56dc133e Add a section for fn instrumentation and make test section less confusing
Follow up to #8265
2023-01-13 14:36:18 -05:00
Gabriel Horner e52df0619b Move malli config gen to dev source path
Followup to #8265
2023-01-13 14:35:59 -05:00
Gabriel Horner 7da514c7cf
Merge pull request #8265 from logseq/dev/malli-schema&kondo-config
dev: add malli-schema & generate kondo config
2023-01-13 14:35:12 -05:00
Konstantinos Kaloutas 9a7e7d5f3f chore: add tweet preview 2023-01-13 20:07:51 +02:00
Konstantinos Kaloutas 5d6c981d48 fix: e2e tests 2023-01-13 19:07:32 +02:00
Gabriel Horner d1157b0181
Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-13 11:51:51 -05:00
Konstantinos Kaloutas 070765cbd7 Merge branch 'master' into feat/tweet-shape 2023-01-13 18:03:54 +02:00
Konstantinos Kaloutas 1300f1e232 fix: editing state 2023-01-13 18:03:43 +02:00
Junyi Du 7790c791fa
chore: update dev-practices for E2E dump 2023-01-13 22:25:10 +08:00
Andelf 3a7d16683c fix(sync): update deps, fix expired token issue 2023-01-13 22:15:36 +08:00
Andelf 73d0c3efa0 fix(mobile): not showing hide keyboard button
Introduced #8201
2023-01-13 22:15:11 +08:00
Konstantinos Kaloutas 7f471e865f Merge branch 'master' into feat/tweet-shape 2023-01-13 10:58:47 +02:00
Tienson Qin e179e1c86e fix: template e2e test 2023-01-13 16:02:35 +08:00
sallto 2e374f7b08
fix: Add error notification if graph can't be opened (#8200)
enhance: add error notification if graph can't be opened
fixes #7573
2023-01-13 15:51:45 +08:00
Tienson Qin ccb5628f3c fix: separate saving current block from other outliner op's tx 2023-01-13 15:12:07 +08:00
situ2001 e7a5119ce5 chore: add issue No to test description 2023-01-13 15:03:59 +08:00
situ2001 ef1febb771 fix(editor): incorrect undo/redo sequence of indent/outdent 2023-01-13 15:03:59 +08:00
Andelf c19787f099
Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-13 14:52:52 +08:00
Gabriel Horner daba5ae1b8 Fix #8334 to at least revert back to previous behavior 2023-01-13 14:19:02 +08:00
Gabriel Horner dded4be84b Improve wording for #8317
Also add missing label to bug report url
2023-01-12 11:05:03 -05:00
rcmerci 6fd8d8d165 feat: export login-callback fn
if users can't redirect from browser back to app,
the workaround is calling
frontend.handler.user.login_callback("<code>") to finish login progress
2023-01-12 23:25:20 +08:00
Andelf b5b1a46215 chore: bump version 0.8.16 2023-01-12 21:05:10 +08:00
charlie e70d76589b enhance(pdf): make the weblink pdf filename to be human-readable for the annotations page 2023-01-12 21:04:12 +08:00
Andelf 418502deed
fix(ui): error calling set-step in bug-report (#8328) 2023-01-12 20:50:04 +08:00
situ2001 7fd2a9a3b6
feat: bug report page & clipboard data inspector (#8317)
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* chore: there is no need to actively read from clipboard, just waiting copy-paste from user
* chore: only parse dataTransfer
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* fix: remove unused `:require`
* ux: finetune clipbard inspector and bug report
* feat: component `report-item-button`
* fix: update text for clarity
* fix: add subtext to button to fix lint error
* fix: add missing argument
* fix: change bg color to logseq css variable
* fix: remove redundant div box in `report-item-button`

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Bad3r <bad3r@protonmail.com>
2023-01-12 20:29:56 +08:00
Junyi Du 414fef6933
Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-12 19:28:24 +08:00
Andelf 193677b46f
perf: Reduce usage of remove-nils since it's too slow (#8323)
* reduce usage of remove-nils since it's too slow

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-01-12 19:00:50 +08:00
Bad3r d8303d055c docs(dev): maintain style 2023-01-12 18:28:53 +08:00
Bad3r 55971f085b docs(dev): update linting to match bb dev:lint
update to match `$ bb dev:lint`
```cljs
(defn lint
  "Run all lint tasks
  - clj-kondo lint
  - carve lint for unused vars
  - lint for vars that are too large
  - lint invalid translation entries"
  []
  (doseq [cmd ["clojure -M:clj-kondo --parallel --lint src --cache false"
               "bb lint:carve"
               "bb lint:large-vars"
               "bb lang:invalid-translations"
               "bb lint:ns-docstrings"]]
    (println cmd)
    (shell cmd)))
```

not sure if we should just add `$ bb dev:lint` since it doesn't seem to be documented anywhere

this update is a pre-req to adding docs for data validation with Malli from https://github.com/logseq/logseq/blob/dev/malli-schema%2526kondo-config/

```sh
bb dev:gen-malli-kondo-config
```

Note that it will also need to be added to `build.yaml`
https://github.com/logseq/logseq/blob/dev/malli-schema%26kondo-config/.github/workflows/build.yml

CC: @RCmerci
2023-01-12 18:28:53 +08:00
Andelf 8431187eb7 chore: fix lint by adding .carve/ignore 2023-01-12 18:11:04 +08:00
Andelf 761d2dee9d fix(electron): return only file from readdir 2023-01-12 18:11:04 +08:00
Andelf 268f0a5442 fix(fs): wrong graph name impl
Fix #8292
2023-01-12 18:11:04 +08:00
rcmerci 08edcb76b4
feat: add frontend.pubsub ns (#8312)
* feat: add frontend.pubsub ns
* update clj-kondo config
2023-01-12 18:07:05 +08:00
Junyi Du cfce689632
chore: upgrade dev-practivce on upgrading electron 2023-01-12 17:26:42 +08:00
Andelf 192459a23c fix(test): e2e fail due to whiteboards zoom test 2023-01-12 11:07:05 +08:00