Commit Graph

604 Commits

Author SHA1 Message Date
Tienson Qin
b91fd4e6c8 Remove old cmdk && command palette 2023-11-06 15:25:35 +08:00
Ben Yorke
7a7c3b9c62 Design refresh 2023-10-24 17:35:51 +02:00
Ben Yorke
69e02edaeb Merge branch 'master' into feat/cmdk 2023-10-16 21:02:12 +02:00
Andelf
845355d41b fix(android): back button should close action bar
Fix #10341
2023-10-13 04:04:53 +09:00
Ben Yorke
246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Charlie
10caacd830 fix(ux): make linked references filters reactive when the page properties changed (#9638)
* enhance(ux): reactive page properties for the linked references filters
2023-08-30 14:14:29 +08:00
Charlie
6d6da2046c Enhance/shortcuts (#9803)
* refactor(shortcuts): simplify to build handler category map

* fix(shortcuts): redundant re-mount for the pdf shortcuts

* refactor(shortcuts): simplify names

* refactor(shortcuts): simplify user keynames

* fix(shortcuts): persist inited state for dev mode

* refactor(shortcuts): simplify handlers installation

* refactor(shortcuts): optimize shortcuts mixin

* fix: incorrect function ref

* refactor(shortcuts): shortcuts mixin

* fix(shortcuts): incorrect initialization for the pdf shortcut handler

* refactor(shortcuts): optimize binding keys map

* refactor(shortcuts): optimize shortcuts conflicts detection

* refactor(shortcuts): optimize binding ids map

* refactor(shortcuts): WIP the new keymap page

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP fuzzy search for the shortcuts

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP check shortcut conflicts component

* feat(shortcuts): WIP the new shorcuts record component

* refactor(shortcuts): WIP persist user shortcuts

* fix(shortcuts): detection for the conflicts

* feat(shortcuts): WIP detection for the conflicts

* feat(shortcuts): WIP persist user shortcuts

* refactor(shortcuts): add unit tests

* enhance(ux): search pane for the shortcuts

* feat(shortcuts): remove the existent shortcut item

* feat(shortcuts): fold/unfold categories

* feat(shortcuts): add shortcuts filters

* enhance(shortcuts): resove binding map description

* enhance(shortcuts): reactive category shortcuts

* enhance(shortcuts): register api for plugins

* feat(shortcuts): add keyboard shortcuts filters

* feat(shortcuts): impl keyboard shortcuts filters

* enhance(shortcuts): leader keys for the shortcut conflicts detection

* enhance(tests): leader keys conflicts for the shortucts

* enhance(shortcuts): parse conflicts from current binding list

* enhance(ui): polish the component of the restore shortcut action

* enhance(shortcuts): get conflicts with specific handler id

* enhance(shortcuts): polish the confilts component

* enhance(shortcuts): polish keymap conflicts component

* enhance(shortcuts): ux for handling shorcuts conflicts

* enhance(ui): polish notifications cp

* fix(shortcuts): remove reduplicate shortcuts for category

* enhance(shortcuts): polish ux for handling shorcuts conflicts

* chore(plugin): build libs core

* enhance(plugin): support shortcut command lifecycle hooks

* enhance(plugin): support shortcut command lifecycle hooks

* chore(plugin): build libs core

* enhance(shortcuts): support shortcuts saved to global config

* enhance(shortcuts): support shortcuts be saved to global config

* feat(shortcuts): support keymap manager to global settings

* enhance(shortcuts): shortcut to open keymap settings

* fix(units): tests

* fix: lints

* enhance(shortcuts): unlisten all shortcuts

* fix: lints

* fix: lints

* fix(units): tests

* fix(units): tests

* fix(units): tests

* enhance(shortcuts): unlisten/listen all shortcuts

* enhance(shortcuts): polish conflicts component

* fix(ui): modal size

* fix(ui): modal panel container

* enhance(shortcuts): i18n

* enhance(ui): layout of the shortcuts recorder component

* fix(lint): i18n

* enhance(ui): keyboard icon for the keymap settings tab

* fix(shortcuts): incorrect filters for the collaspsed shortcuts

* enhance(ui): polish details for the keymap settings

* enhance(ui): polish details for the keymap settings

* fix(shortcuts): get shortcut description error when the associated handler-id not exist

* fix(ui): the shortcut disabled label overlaps with section headers.

* refactor(shortcuts): names

* enhance(ui): filter icons
2023-08-29 19:33:48 +08:00
Konstantinos Kaloutas
09476eff27 revert initial sidebar state changes 2023-08-04 11:16:18 +08:00
Konstantinos Kaloutas
6be56c155f dnd fixes and initial state 2023-08-04 11:16:18 +08:00
Konstantinos Kaloutas
79bf300dcb add reordering support 2023-08-04 11:16:18 +08:00
Konstantinos Kaloutas
d47c4d2c28 add more context menu actions 2023-08-04 11:16:18 +08:00
Konstantinos Kaloutas
bf17c700c8 add middle click action and context menu 2023-08-04 11:16:18 +08:00
Konstantinos Kaloutas
3bfba8fb7c fix: always expand block when added to sidebar 2023-08-04 11:16:18 +08:00
Tienson Qin
076d4027cb fix: sort blocks when copy the selection 2023-07-05 18:30:43 +08:00
Mega Yu
730b8e0528 cut blocks remains uuid 2023-07-05 18:30:43 +08:00
Ben Yorke
6f984d45ef cmdk 2023-06-30 20:59:05 +02:00
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
Ben Yorke
1e264c9c76 Update codemirror 2023-06-30 09:35:34 +02:00
Ben Yorke
a7b9c01586 Add native gradient support 2023-06-30 09:35:32 +02:00
Ben Yorke
c6cad4135e second pass at styling 2023-06-30 09:34:31 +02:00
Ben Yorke
641a38afa6 Setting of radix colors 2023-06-30 09:33:35 +02:00
Andelf
79093a8bb7 enhance(sync): add feature switch to diff-merge 2023-06-28 00:45:00 +08:00
Charlie
741edecc57 Enhance(UX): marketplace (#9609)
* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo

* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo
2023-06-19 12:51:40 +08:00
Tienson Qin
2d0f67429a enhance: pub-event! returns a promise (#9671)
enhance: pub-event! returns a promise

fix: typing 1.  sometimes can result in 1. 1.
2023-06-15 23:45:13 +08:00
Ben Yorke
cbb4c0243b Set up initial accounts tab behind feature flag 2023-06-09 10:49:18 -04:00
Ben Yorke
96101b9a6d setting up PR 2023-06-09 10:49:18 -04:00
Gabriel Horner
4c2e61cbd3 Remove deprecated :editor/command-trigger option
This option has been deprecated for a couple months
2023-06-02 11:49:08 -04:00
Konstantinos Kaloutas
2cfa46cecb Merge branch 'master' into feat/integrated-title-bar 2023-05-30 10:14:35 +03:00
Gabriel Horner
df2edd44ac Rename temp :block keys to be explicit about their use
:block is a heavily used namespace. We should at least
be explicit about keys that aren't being transacted
2023-05-26 09:13:38 -04:00
Konstantinos Kaloutas
6756395763 enhance: introduce exit full-screen button 2023-05-26 13:25:41 +03:00
Konstantinos Kaloutas
f90eef2b1a Merge branch 'master' into feat/integrated-title-bar 2023-05-22 18:07:28 +03:00
Tienson Qin
12f3871694 fix: remove ugly timeout 2023-05-22 22:15:11 +08:00
Tienson Qin
3b92fe638a Update src/main/frontend/state.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-05-22 22:15:11 +08:00
Tienson Qin
753d452b50 fix: undo should bring refs back 2023-05-22 22:15:11 +08:00
Tienson Qin
2313a6a912 fix: cursor not jump back when undo a DELETE at the end action
It also remove built-in properties such as id from the editor content
2023-05-22 22:15:11 +08:00
Konstantinos Kaloutas
2dff7336c9 test Xvfb 2023-05-22 14:10:08 +03:00
Konstantinos Kaloutas
d7f8eda846 enhance: window title bar 2023-05-19 18:23:15 +03:00
Aitor Gamarra
425dc801b7 Add support for win32 custom titleBar 2023-05-16 18:43:20 +02:00
MrWillCom
151fc24e81 Update traffic lights to get window state from state (WIP) 2023-05-16 18:43:20 +02:00
Ben Yorke
928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Tienson Qin
01479ef9da enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
Charlie
60fbfdf2f7 Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
 - feat: add a plug-in flag for the plugin slash commands item
 - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
 - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
 - enhance: auto-check updates for the installed plugins from Marketplace
 - feat: expose template-related APIs to SDK
2023-04-12 21:27:40 +08:00
Konstantinos Kaloutas
b613a9a3b7 enhance: page only mode 2023-04-12 20:37:52 +08:00
Tienson Qin
6f1237a8b5 enhance: bottom bar to show undo mode 2023-04-12 20:37:52 +08:00
Tienson Qin
68691467de feat: limit the scope of undo/redo to page only 2023-04-12 20:37:52 +08:00
Tienson Qin
339fb7ceb2 fix: buggy selection hightlights (#9074) 2023-04-12 17:19:06 +08:00
Gabriel Horner
9ac17d485a Wire up frontend to use nbb export and html
- Add tests for export
- Refactor export to be more readable
- Add error notification for export that user can see
- Remove unused :ui/show-recent? state
- Cleanup and move escape fns to proper locations
2023-04-09 23:13:33 +08:00
Tienson Qin
bdc15d04db fix: default value :scheduled/future-days is 7 2023-04-07 14:13:03 +08:00
Tienson Qin
f7f2a26fa6 fix: scheduled and deadlines no long works 2023-04-07 14:13:03 +08:00