Commit Graph

6753 Commits

Author SHA1 Message Date
Peng Xiao
623893bf9c fix: make backlinks display nicer on small shapes 2022-11-20 11:52:07 +08:00
Peng Xiao
def081679f fix: recalculate whiteboard references on change 2022-11-19 23:55:50 +08:00
Peng Xiao
7d78258cfe fix: some whiteboard styles 2022-11-19 17:52:02 +08:00
Peng Xiao
be5a4abc86 fix: make the reference count reactive 2022-11-19 16:42:36 +08:00
Peng Xiao
f322160ca6 feat(whiteboard): show shape references 2022-11-19 16:21:55 +08:00
Gabriel Horner
51fe26ff5a Merge branch 'master' into fix/wb-fixes 2022-11-18 12:35:41 -05:00
Konstantinos Kaloutas
4f93f92eb0 fix: allowed attributes an add a test 2022-11-18 10:34:34 -05:00
Darwis
7a508dde0a fix issue #7366 render custom html element as hiccup no longger working. dompurify remove is attribute from hiccup 2022-11-18 10:34:34 -05:00
Andelf
1caba0359f fix: error while backup global config under windows 2022-11-17 17:10:49 -05:00
queeup
db39c4b0d9 i18n: update Turkish translation 2022-11-17 16:58:29 -05:00
Sergey Kolesnik
04fecb0aa8 legacy style fix: remove search-field css and --ls-search-background-color var (#7318) 2022-11-17 13:40:54 -05:00
Charlie
dd2ef163ba Enhance/PDF viewer (#7369)
* fix(pdf): WIP potential memory leaks
* enhance(pdf): sync page number in highlights metafile
* enhance(pdf): support preview highlight area image in a lightbox
* fix: clojurescript unit tests
* fix(pdf): page number overflow when more digits
2022-11-17 20:31:08 +08:00
Yue Yang
a6f6b0abae fix: ci 2022-11-17 17:50:56 +08:00
Yue Yang
a842818ab6 fix: use name to detect default theme 2022-11-17 17:50:56 +08:00
Manu [tennox]
4217057a44 Add option to insert block without focusing it afterwards 2022-11-17 15:48:43 +08:00
Peng Xiao
dd0509fdd4 fix: rename generate preview functions 2022-11-17 10:39:44 +08:00
Gabriel Horner
037ec33b40 Address review feedback
- eval-result's additional sci options should not impact other features
- remove custom-js binding to allow for more general purpose solutions
2022-11-16 15:13:53 -05:00
Darwis
d57df063a4 - expose goog.string, goog.dom, goog.obj for helper to interact with javascript
- revert evel-string arguments into single arguments, current block are not passed into `eval-string`
- use metadata to detect if returned eval-result are hiccup.
2022-11-16 15:13:53 -05:00
Darwis
c4604c9254 use meta to detect returned result from eval-result are hiccup vector 2022-11-16 15:13:53 -05:00
Darwis
66f7656fd8 add and expose current block into sci namespace (editor/block)
add logseq-api and logseq-graph-parser into sci classes to make it avaliable in sci eval-string
add bindings custom-js to window object that can be defined in custom.js file as `customJs` object (for custom javascript function to be called from sci)
2022-11-16 15:13:53 -05:00
Peng Xiao
24dc494f2a Merge branch 'master' into fix/wb-fixes 2022-11-16 14:29:04 +08:00
Peng Xiao
065e2e2ca8 fix: show whiteboard outliner in sidebar 2022-11-16 14:25:52 +08:00
Peng Xiao
d86f3d9314 fix: some dev warnings 2022-11-16 14:25:35 +08:00
Peng Xiao
84ecc4c897 fix: cleanup whiteboard page checks 2022-11-16 09:33:14 +08:00
Peng Xiao
01f25fdcb5 fix: remove show blocks in outliner popup 2022-11-16 09:24:23 +08:00
charlie
3940db3107 fix: disable plugins system 2022-11-15 16:01:06 +08:00
Peng Xiao
7cb215dd44 fix: revert back a change 2022-11-15 14:53:57 +08:00
Peng Xiao
62c07ec8f5 fix: lint issue 2022-11-15 14:39:17 +08:00
Peng Xiao
e9f7b53928 Merge branch 'master' into fix/wb-fixes 2022-11-15 14:38:32 +08:00
Peng Xiao
d5d2d3d71d fix(whiteboard): makes sure full screen pages displaying without scrollbar 2022-11-15 14:08:28 +08:00
Peng Xiao
306fe621bb chore: add a hidden button to show the blocks created in the whiteboard 2022-11-15 13:36:39 +08:00
Peng Xiao
8a1518d83a fix: reveal whiteboard file in directory 2022-11-15 10:58:53 +08:00
Peng Xiao
378e5732d4 fix: missing key issues 2022-11-15 10:54:21 +08:00
Peng Xiao
b3ecf86ec5 fix(whiteboard): should not show presentation mode for whiteboard 2022-11-15 10:54:09 +08:00
Peng Xiao
35360a970d fix(whiteboard): url handling for whiteboard 2022-11-15 10:41:33 +08: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
Loïc Gerbaud
3de6f3de96 Update french translation (#7327)
* updating French translation

* Update French translations
2022-11-14 16:08:51 -05:00
Peng Xiao
ecf5495edc fix(whiteboard): disable user select on whiteboard pages on iOS 2022-11-14 22:39:53 +08:00
Peng Xiao
2eb094ecea fix(whiteboard): do not show the default mobile footer for whiteboard 2022-11-14 22:39:53 +08:00
Konstantinos Kaloutas
a06594a79d feat: add create whiteboard button 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas
933c87de55 fix: type icon sizes 2022-11-14 21:53:37 +08:00
Sergey Kolesnik
0d589196f4 style fix: adapt layout for search __page__ results like in search palette results 2022-11-14 20:45:59 +08:00
Sergey Kolesnik
452d611214 Style fix: added .page-title class to sidebar item for :page-presentation command (just like :page command) 2022-11-14 20:45:59 +08:00
Peng Xiao
dbdf645adb fix: show page menu for untitled whiteboard 2022-11-14 18:01:46 +08:00
Phoenix Eliot
990a21ff66 Fix cmd-down erasing just-typed text
Fixes #3891
Saves a transaction of the recently typed text before attempting to expand the block.
Removes set-editing! call that was no longer doing anything.
2022-11-14 17:37:24 +08:00
Tienson Qin
bce90001a5 enhance: remove the first empty line for whiteboards edn 2022-11-14 17:26:02 +08:00
Timothy Pratley
a46f483911 fix lint warnings 2022-11-14 17:23:42 +08:00
Timothy Pratley
55bcf11a5a start maps on a newline to avoid } { on one line 2022-11-14 17:23:42 +08:00
Timothy Pratley
3b6a89c975 replace whiteboard printing with ugly print
Prints fast with newlines

clojure -M:test:bench

Testing frontend.benchmark-test-runner
[], (with-out-str (pprint/pprint onboarding)), 10 runs, 2950 msecs
[], (with-out-str (fipp/pprint onboarding)), 10 runs, 2447 msecs
[], (up/ugly-pr-str onboarding), 10 runs, 94 msecs
[], (pr-str onboarding), 10 runs, 82 msecs
2022-11-14 17:23:42 +08:00
Tienson Qin
db7bc72a3c fix: don't clear selection in blocks 2022-11-14 14:32:21 +08:00