Commit Graph

8144 Commits (51ed2507283f836e7df68406308ea2309bdfdd27)

Author SHA1 Message Date
Peng Xiao 51ed250728 wip draw whiteboard preview 2022-07-20 16:08:20 +08:00
Peng Xiao c97192eafd fix: move files 2022-07-20 15:49:55 +08:00
Peng Xiao 5baac2e82b feat: show linked whiteboard in the linked references 2022-07-20 15:31:59 +08:00
Peng Xiao 7e18938538 fix: use plain js object 2022-07-20 14:33:58 +08:00
Peng Xiao 191497f7a8 fix: title selector 2022-07-20 14:09:49 +08:00
Peng Xiao 05617df62f fix: lint 2022-07-20 14:04:15 +08:00
Peng Xiao 5702dab2d8 fix: review tldraw:build script 2022-07-20 13:54:42 +08:00
Peng Xiao 0539e5cf9e fix: lint 2022-07-20 13:51:21 +08:00
Peng Xiao fd9eec291b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-20 12:01:04 +08:00
Peng Xiao d271b85a51 fix: should only log query when debug is enabled 2022-07-20 11:55:17 +08:00
Peng Xiao 01b1978ac2 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-20 11:12:54 +08:00
Peng Xiao 4e928d880e feat: select title texts on focus 2022-07-20 11:12:51 +08:00
charlie 2b94a95f11 fix(api): return non transferable value for plugin api 2022-07-20 09:34:28 +08:00
Gabriel Horner 981b1ad69e Fix autorun tests doc, close #5967 2022-07-19 21:04:02 -04:00
Peng Xiao 1ce9017c5d feat: first working poc for whiteboard as page 2022-07-20 02:04:18 +08:00
Gabriel Horner b226484683
Merge pull request #6056 from playerofgames/calc_enhance_format
Calculator improvements: new operations, display formats, constants and bases
2022-07-19 10:03:41 -04:00
Martin Scott 1d0fa763a5 Revised format directives and mixed number format
Also changed output of non-decimal numbers to use base prefixes.
2022-07-19 10:25:26 +01:00
Peng Xiao 5c8d6e8c46 feat: list all whiteboard in the simple dashboard 2022-07-19 00:59:50 +08:00
Peng Xiao f4715f59fd rename whiteboard pages 2022-07-19 00:22:19 +08:00
Gabriel Horner 48306d37aa test: temporarily skip intermittently failing test 2022-07-18 10:54:55 -04:00
Peng Xiao 2bb7ef5919 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-07-18 22:50:43 +08:00
8N9KT abedbac922
Fix/boolean in query table (#6063)
* show boolean properties value in query table

* Update query_table.cljs

* Update query_table.cljs
2022-07-18 10:33:04 -04:00
sawhney17 dc380ad64d
fix(references): block references crash (#6061)
* fix  #6057

* clear extra files

* format

* refactor

* use multi arity to simplify
2022-07-18 10:16:24 -04:00
yoyurec 04ea801c12 Plugin settings add data-key 2022-07-18 22:14:32 +08:00
Martin Scott 7c11de885b Add fraction display mode
Support for showing results as fractions (mixed numbers or improper) and entering mixed numbers.
2022-07-18 01:04:48 +01:00
Martin Scott a4b79ffe4f Fix tests
Compare output strings based on input lines.
2022-07-18 00:49:59 +01:00
Martin Scott 70c04e34bf Add operations, display formats, constants and bases
New operations:
- factorial operator `!`;
- modulo operator `mod`.

Constants added:
- `PI`
- `E`

New display format controls:
- `:fix <places>` display format;
- `:sci <places>` display format;
- `:norm <display-precision>` display format;
- `:hex`, `:oct`, `:bin` and`:dec` display formats.

New number formats:
- Enter hexadecimal, octal and binary numbers using `0x`, `0o` and `0b` prefixes respectively.

Bugs fixed:
- Loss of precision when supplying numbers in scientific notation.
2022-07-15 19:46:32 +01:00
Gabriel Horner 903e5c8a3b
Merge pull request #6024 from logseq/fix/remove-built-in-property-pages
Enhance: Property page enhancements
2022-07-15 11:04:27 -04:00
Gabriel Horner 7370716215 Move editable linkable built-in props to var
They were also being referred to elsewhere in block.cljs
Also moved filters to editable as that is existing behavior
Also disabled verbosity of cli tests to allow graph-parser tests to be
more readable
2022-07-15 10:41:35 -04:00
Junyi Du 33318c395b test(e2e): temporarily skip alias testing 2022-07-15 16:35:43 +08:00
llcc 54a7e61b26 Revert: don't parse some special property key values as pages
Produced two many extra pages.
2022-07-15 16:11:11 +08:00
llcc cd6c355e8d fix testings 2022-07-15 15:52:00 +08:00
llcc 1b5627ed4d add :icon :aliases to editable-built-in-properties 2022-07-15 15:52:00 +08:00
llcc 4ea1cbadaf don't parse some special property key values as pages
e.g. numbers, boolean
2022-07-15 15:26:09 +08:00
llcc f371d99034 don't parse value of built-in property keys as pages 2022-07-15 15:26:09 +08:00
Andelf 5f74ba6907 fix: allow edit icon:: property 2022-07-15 15:26:09 +08:00
Gabriel Horner a0087d7792 Add config options to disable property pages and to exclude certain ones 2022-07-15 15:26:09 +08:00
Gabriel Horner de61b28000 Add additionable built-in properties that shouldn't have pages created
Introduced hidden naming as that is a more accurate name for its usage.
There may be a possible bug with existing built-in-properties but not
familiar with all cases here and don't want to introduce more bugs
before release
2022-07-15 15:26:09 +08:00
Gabriel Horner abd7e0becb Add 3 missing built-in-properties
Also fix carve linter and make nbb test invocation easier
2022-07-15 15:26:09 +08:00
Gabriel Horner 50bce350de Don't auto-create pages for built-in properties
Fixes #5963
2022-07-15 15:26:09 +08:00
Peng Xiao aed9527f5a fix: redirecting to whiteboard if page-ref is a whiteboard 2022-07-15 14:30:49 +08:00
Peng Xiao 4a6ba1b9bc wip 2022-07-15 02:29:50 +08:00
Gabriel Horner 538b2aaab2
Merge pull request #5982 from sawhney17/improve-references-filter
enhance(filters): Improve reference filters
2022-07-14 10:57:44 -04:00
Peng Xiao 03e79edaa1 wip save/load whiteboard edn 2022-07-14 15:59:29 +08:00
charlie 288dcf549d fix(assets): missing reg case-insensitive 2022-07-14 11:12:34 +08:00
charlie a80aa2df0f fix(assets): missing asset resource when file name with specific url encoded chars 2022-07-14 11:12:34 +08:00
charlie 390a2469da chore(plugin): build libs core 2022-07-14 11:09:10 +08:00
charlie 6facd22ea0 fix(plugin): occasional memory leak when dynamic slot ui with provide ui 2022-07-14 11:09:10 +08:00
charlie cc04718576 fix(plugin): occasional memory leak when dynamic slot ui with provide ui 2022-07-14 11:09:10 +08:00
sawhney17 a93b47a886 keep constant capitalization 2022-07-14 11:08:04 +08:00