Commit Graph

150 Commits

Author SHA1 Message Date
charlie
cc58ea4888 fix(ui): marker of number list 2023-04-15 10:10:38 +08:00
charlie
ae652b5637 feat(ui): WIP number list block (own-property) 2023-04-13 17:07:06 +08:00
charlie
a98e612a54 Merge branch 'master' into feat/custom-children-list-style 2023-04-13 01:00:40 +08:00
charlie
c8387e9663 fix(ui): breadcrumb fragments overflow in query results container 2023-04-12 23:26:01 +08:00
charlie
d8af0cc35a feat(ui): WIP number list block 2023-04-12 17:43:14 +08:00
charlie
d4950b1898 enhance(ui): add hint class for the blank content block 2023-04-12 00:40:20 +08:00
charlie
9b4fcbba66 fix: lint 2023-04-04 11:49:03 -04:00
charlie
4e631eed0c fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
Tienson Qin
1c3b92d1e3 enhance: use icon for breadcrumb separator 2023-03-29 17:30:46 +08:00
Tienson Qin
d3155f41ff chore: margin tweaks 2023-03-29 17:30:46 +08:00
Tienson Qin
43bb77322f fix: query with breadcrumbs show blocks on wrong hierarchy
close #5859
2023-03-29 17:30:46 +08:00
Tienson Qin
db6fc6b7ee feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
charlie
3411af57fd fix(ui): consistent style for image container 2022-12-29 21:04:32 +08:00
charlie
45420963bc improve(ui): polish block padding on mobile 2022-11-29 12:29:32 +08:00
charlie
0d04e777fc fix(ui): style not refresh when toggling option for the fold button position 2022-11-25 14:49:10 +08:00
charlie
748fa46dda improve(ui): details for block container 2022-11-25 12:41:57 +08:00
charlie
7c0d3cb075 improve(ui): details for block container 2022-11-25 12:29:29 +08:00
charlie
0777a11df4 improve(mobile): WIP polish ui details 2022-11-24 21:26:38 +08:00
charlie
b3a6ed21de improve(ux): WIP support place fold arrow on the right of block container 2022-11-24 15:54:38 +08:00
Sergey Kolesnik
355b1449b1 style fix: add css var --color-level-6 for light theme (#7337) 2022-11-23 14:25:50 +08:00
charlie
3145cba42d enhance(ui): polish indent/outdent swipe icons 2022-11-08 12:02:43 +08:00
Konstantinos Kaloutas
9f4c1e853f fix: blend left block border with different bgs 2022-11-07 00:30:17 +08:00
Charlie
d53ac94bfc Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support 
It also exposes a plugin API for highlight context menu   
    ```ts
    /**
       * Current it's only available for pdf viewer
       * @param label - displayed name of command
       * @param action - callback for the clickable item
       * @param opts - clearSelection: clear highlight selection when callback invoked
       */
      registerHighlightContextMenuItem: (
        label: string,
        action: SimpleCommandCallback,
        opts?: {
          clearSelection: boolean
        }
      ) => unknown
    ```
2022-10-09 20:44:18 +08:00
Konstantinos
6007d6061f Enhance: Color system (#6821)
* refactor: remove redundant utility classes

* chore: expose tailwind colors to css vars

* refactor: introduce error/warning/success colors

* fix: move tailwind utilities import

* fix: extend tailwind font sizes

* fix: exclude color classes from purge

* refactor: admonition component

* fix: admonition warning color

* fix: notification icon color

* fix: capitalize icon title

* chore: remove caution color

* feat: highlighting system

* chore: add color title and remove comment

* chore: add color translations

* chore: add missing bg classes

* refactor: highlight system

* fix: color id

* fix: bg color value

* fix: pdf highlight colors

* fix: resolve conflicts

* fix: class directive typo
2022-10-07 11:54:06 +08:00
charlie
0422f31130 fix(ui): color of block control arrow 2022-09-21 14:49:20 +08:00
Konstantinos Kaloutas
58b8f0ce21 fix: link color on highlighted areas 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
fcbb09f240 feat: open image in browser if external 2022-09-05 23:11:11 +08:00
Konstantinos Kaloutas
b70648feaf enhance: styles of image overlay buttons 2022-09-05 23:11:11 +08:00
Tienson Qin
49acb54178 feat: add properties as linked references 2022-07-07 01:42:16 +08:00
Phoenix Eliot
e92af35954 Reduce flicker when moving between blocks with keyboard 2022-06-28 15:10:37 +08:00
charlie
81904156f8 enhance(ui): force inline layout of block ref elements 2022-06-09 15:25:15 +08:00
llcc
328fda29a9 enhance gestures
1. disable swipe action-bar when editing
2. resolve conflicts between selection and swipe when editing
3. Remove indent/outdent button on mobile toolbar
2022-06-06 15:58:15 +08:00
Tienson Qin
c7698ab77e Merge pull request #5088 from logseq/gesture-support-on-block
Gesture support on mobile
2022-05-30 17:48:47 +08:00
llcc
c8e1af519b tweak audio tag width 2022-05-30 16:19:24 +08:00
llcc
5a528bb335 Merge branch 'master' into gesture-support-on-block 2022-05-24 15:02:32 +08:00
Tienson Qin
6843271591 enhance: pointer cursor when selecting non-consecutive blocks 2022-05-24 00:29:29 +08:00
llcc
ee3b578d99 Merge branch 'master' into gesture-support-on-block 2022-05-23 22:07:36 +08:00
llcc
d95aa14ca5 Merge branch 'master' into disable-webview-resize 2022-05-16 19:39:18 +08:00
sawhney17
705348f370 make overflow visible 2022-05-16 19:08:29 +08:00
llcc
2c5ef73da9 Merge branch 'master' into disable-webview-resize 2022-05-16 11:17:59 +08:00
llcc
3d725f8acb allow sharing office files into Logseq on mobile (#5292)
* allow share office files into logseq on mobile
2022-05-13 16:00:17 +08:00
llcc
909530b2a5 feat(gesture): add transition when swipe 2022-05-06 16:20:00 +08:00
llcc
3865ba51ef feat(gesture): add background gradients and other styles to swipe menu 2022-05-06 16:20:00 +08:00
llcc
93e75b9d4a feat(gesture): tweat block menu style 2022-05-06 16:20:00 +08:00
llcc
1b5aef50aa feat(gesture): add second level swipe to call action bar 2022-05-06 16:20:00 +08:00
llcc
87639854ca feat(gesture): reverse direction to cancel action 2022-05-06 16:20:00 +08:00
llcc
6edb8e09b0 feat(mobile): support gestures on block element 2022-05-06 16:20:00 +08:00
llcc
b042f2f835 remove incorrect css 2022-05-05 12:16:18 +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