Commit Graph

103 Commits

Author SHA1 Message Date
llcc
6edb8e09b0 feat(mobile): support gestures on block element 2022-05-06 16:20:00 +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
llcc
f4985fd8ef Feat: record audio on mobile (#4766)
* feat(audio): render audio link as component

* refactor frontend/component/block/inline

* fix audio component on mobile

* Fix(iOS): allow clock to replay audio

* feat(mobile): audio record

* add permission request code on record

* rename `editor/recording?` to `editor/record-status`

* move `get-asset-path` into handler/editor.cljs

* add android settings

* support sharing audio file from some apps

* enhance(record): insert audio link in a new block if non-editing

* feat(audio): allow cancelling record

* fix lints

* feat(iOS): add a tab bar

* tweak some css on mobile

* fix lints

* fix https://github.com/logseq/logseq/issues/4798

* enable tab bar on Android

* fix landscape height of tab bar

* add :reuse-last-block? option

* dont't show tab bar when editing mirror code

* tweak code-editor css

* increase width for more functional buttons

* fix card preview css on iPad

* add document-mode to tab bar

* remove tabbar when editing code and tweak textarea resize cursor behavior

* reduce SplashScreen launch screen duration

* don't show tabbar when editing page title

* enhance: float timer

* fix lint

* fix tabbar height on iPhone without notch

* remove .embed-page width

* fix lint

Co-authored-by: Andelf <andelf@gmail.com>
2022-04-12 20:17:54 +08:00
Yue Yang
6ef013c06e fix: cloze selector
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-03-15 11:18:30 +08:00
sawhney17
b63d570a09 fix #3663 2022-02-07 09:36:55 +08:00
Peng Xiao
35b7f71254 fix: some style enhancements to block-control (#3742)
Co-authored-by: Andelf <andelf@gmail.com>
2022-01-08 20:22:59 +08:00
Tienson Qin
1cff06f347 enhance: block expand/collapse toggle
1. Display `Expand all` where there're already collapsed blocks. This applies to `Collapse all` too.
2. Make the guideline bold when hovering on it.
3. Simplify some logic
2021-12-27 18:56:02 +08:00
Peng Xiao
3924f5ced9 fix: remove incorrect tailwind apply decl 2021-12-27 10:54:49 +08:00
shidenggui
6b5d5f7df3 fix: add an explicit border for the border children to solve the overlay click problem 2021-12-26 11:20:33 +08:00
leizhe
7c1076673b fix(mobile): remove block-control hover left-margin 2021-12-21 10:55:10 +08:00
leizhe
fd7bb2c64a enhance(mobile): tweak body style 2021-12-21 10:55:10 +08:00
leizhe
969fec3c99 enhance(mobile): enhance References margin and padding 2021-12-21 10:55:10 +08:00
Tienson Qin
1539e0e806 fix: block ref style 2021-12-05 22:25:57 +08:00
Tienson Qin
0d13f9f081 Merge branch 'master' into mobile 2021-12-05 11:39:58 +08:00
leizhe
ab0e5fec0a enhance(logbook): more polishment 2021-12-02 18:18:05 +08:00
leizhe
00bc4961af enhance(logbook): show clocking data in table 2021-12-02 15:41:35 +08:00
Junyi Du
8bee44c313 refactor: remove duplicated class-name
enhance: remove change of style for multiline headings in editing

enhance: to make heading css more responsive, bind editor's heading class to editor content

adapt textarea to changable font-size
2021-11-26 21:47:07 +08:00
Tienson Qin
340818483f enhance: polish cards 2021-11-09 12:36:37 +08:00
charlie
565b3b9b9c enhance(editor): style of fallback ui 2021-11-09 10:20:35 +08:00
charlie
df40dbd4f8 enhance(editor): fallback ui of block content renderer 2021-11-09 10:20:35 +08:00
Tienson Qin
29a96a7f3e enhance: delete move-node 2021-11-04 20:30:54 +08:00
Tienson Qin
be6256d9e3 enhance: remove cards title background color 2021-10-11 20:16:43 +08:00
Tienson Qin
bd9b1afd12 fix: srs cards numbers 2021-10-11 18:51:25 +08:00
Tienson Qin
c9d7fb0624 enhance: increase block control spaces 2021-10-11 15:37:20 +08:00
Tienson Qin
53e99d53a6 fix: block reference with a deadline has a redundant new line
close #2863
2021-09-23 19:54:22 +08:00
Tienson Qin
b63b972461 enhance: remove marker colors for now 2021-09-23 19:37:30 +08:00
leizhe
25d0c892f1 feat(marker): The color can be customized now. 2021-09-23 19:24:13 +08:00
leizhe
a993979ee0 Set margin-bottom to 0 for list
The value should be set to a smaller one.
0em makes the visibility more comfortable and consistent with the text itself.
2021-09-11 21:22:28 +08:00
Tienson Qin
dd9a90b4ad enhance: hide logbook by default 2021-08-31 12:48:51 +08:00
Tienson Qin
cdb0eb2456 fix: block being referenced has no indication of it being a block ref 2021-08-24 22:30:18 +08:00
Peng Xiao
64968d6598 fix: several UI issues 2021-08-12 17:53:26 +08:00
charlie
08bd253bb1 Merge branch 'master' into feat/pdf
# Conflicts:
#	src/main/frontend/components/block.cljs
2021-08-06 18:12:36 +08:00
Tienson Qin
12cfde84a1 fix: block ref style issue 2021-08-06 15:05:49 +08:00
charlie
8b101f0a53 improve(pdf): default inline of pdf reference link 2021-07-30 11:52:31 +08:00
Junyu Zhan
289718e027 feat: change page property key style 2021-07-29 14:51:03 +08:00
Tienson Qin
ff9cb0b735 fix: card css 2021-07-22 21:25:57 +08:00
Tienson Qin
53531862cb fix: answers are not hidden when switching to next card 2021-07-22 12:07:04 +08:00
Tienson Qin
5158003fdb fix: collapsed blocks can't be displayed as answers 2021-07-22 12:07:04 +08:00
Tienson Qin
96a45323ff feat(srs): hide cloze by default 2021-07-22 12:07:04 +08:00
Tienson Qin
bc6f8c5526 feat(srs): ux enhancement 2021-07-22 12:07:04 +08:00
Peng Xiao
c31c9b398d fix: h1/h2 underline should not render inside of block-ref 2021-07-22 10:12:41 +08:00
Tienson Qin
d05c39b534 feat: add /function command for queries 2021-07-19 19:10:37 +08:00
Tienson Qin
fa17476d13 feat: query tables support both sort and custom properties 2021-07-19 14:39:16 +08:00
Devon Zuegel
92ae2e5928 WYSIWYG headers + CSS cleanup (#2393)
* Run formatter on CSS file

* Add content-aware classes to editor textarea

* Update yarn.lock

* Handle styles when editing multiline blocks
2021-07-11 17:46:59 +08:00
Weihua Lu
d7718088f3 fix: reduce document mode block margin 2021-07-09 14:59:43 +08:00
Peng Xiao
f0236b0503 fix: move cursor pointer changes to page to make it easier to track 2021-07-06 22:14:45 +08:00
Peng Xiao
2402d9946c feat(cursor): allow cursor change to another style based on context 2021-07-06 22:14:45 +08:00
Tienson Qin
859c7afca0 fix: li marker display 2021-07-01 11:27:41 +08:00
Tienson Qin
1ae53fda42 enhance: document mode 2021-07-01 00:05:07 +08:00
Tienson Qin
0ffbfa01c7 enhance: headings can be customized using css 2021-06-30 22:57:59 +08:00