Commit Graph

9973 Commits (f0458754607959409a2865b307442f5cbae268ae)

Author SHA1 Message Date
Gabriel Horner f045875460 Temporarily disable another test that is intermittently failing
E.g. see
https://github.com/logseq/logseq/actions/runs/3527181103/jobs/5915950917
2022-11-22 16:33:01 -05:00
j-ramos 080a276b25 file-rn spanish translations 2022-11-22 16:21:05 -05:00
Gabriel Horner 85e5da06b9 Temporarily disable failing test to allow work to proceed on a clean CI 2022-11-22 15:42:32 -05:00
charlie 2cfe1f0b6f fix(ui): unexcept full widen container of demo home page 2022-11-22 23:36:34 +08:00
Jon 12f1517fdf
#7349 Autopair parenthesis (#7379)
* Activate auto complete only if there's whitespace (\s) preceding the opening paranthesis, except when opening parenthesis is preceded by closing square bracket (]). In cases such as URLs

* #7349 Activate auto complete alson when there's a left parenthesis preceding the opening paranthesis.
2022-11-22 22:36:42 +08:00
Tienson Qin a8eb1a3264 enhance: remove search auto-complete padding on PC 2022-11-22 22:11:37 +08:00
Charlie dda1f9bd9f
Enhance / Plugin APIs (#6945)
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR

Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
2022-11-22 22:00:29 +08:00
hkgnp 0e84052310 [fix] If user is not editing the page, insert content to the cursor; Otherwise insert to the target page and set it as editing? 2022-11-22 21:45:03 +08:00
hkgnp b80a0abc1a creating new branch for PR 2022-11-22 21:45:03 +08:00
charlie 9df181d26f fix: lint 2022-11-22 21:43:47 +08:00
charlie 93e52a7a77 fix: lint 2022-11-22 21:43:47 +08:00
charlie a5dfd85c9a improve(mobile): polish left sidebar from android 2022-11-22 21:43:47 +08:00
charlie 81e962175c improve(mobile): remove swipe gesture vendor lib 2022-11-22 21:43:47 +08:00
Tienson Qin 34e5d84292 ignore sidebar-nav for large vars check 2022-11-22 21:43:47 +08:00
Tienson Qin d486e38c86 chore: remove unused code 2022-11-22 21:43:47 +08:00
charlie 2ce7dffe36 improve(mobile): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie 185a306452 improve(mobile): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie 73fc9a73aa improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie d04a0ac66b enhance(pdf): sync page number in highlights metafile 2022-11-22 21:43:47 +08:00
charlie 3086fec490 improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie 23134a5375 improve(desktop): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
charlie 5de939a445 improve(mobile): WIP refactor left sidebar 2022-11-22 21:43:47 +08:00
rcmerci 326de827c3
Merge pull request #7415 from andelf/fix/ios-file-sync-path-normalize
fix(ios): apply path normalize for file-sync
2022-11-22 18:04:59 +08:00
Andelf 5d711c957d ci(ios): try build ios when package.json changed 2022-11-22 17:23:49 +08:00
Andelf 7bce61ae6c fix(ios): apply path normalize for file-sync 2022-11-22 17:14:22 +08:00
Zhizhen He 4b5704c758 fix: change some punctuations from halfwidth to fullwidth for Chinese 2022-11-22 16:12:48 +08:00
charlie 1532dd4aee ci: optimize bundled source map size of webapp 2022-11-22 15:25:04 +08:00
charlie 1119c54d7c ci: remove js source maps files for cloudflare pages because of that has a max file size limit < 29.2M 2022-11-22 15:25:04 +08:00
charlie 3d5872c334 ci: add publish webapp to cloudflare pages 2022-11-22 15:25:04 +08:00
Tienson Qin 271164dfe2 fix: lint warnings 2022-11-22 14:43:10 +08:00
Tienson Qin 0a796d11da fix: ``` surroundings in code block disappear
close #7015
close #7378
close #5735
2022-11-22 14:43:10 +08:00
Peng Xiao e6fa986083 fix: skip whiteboard tests for now 2022-11-22 11:12:34 +08:00
Zhizhen He 7fdb9aaffb fix: typo 2022-11-21 17:58:13 -05:00
Gabriel Horner 584f3b068a Api fns can be called in prod builds with `call-api`
Follow up to
https://github.com/logseq/logseq/pull/7287#issuecomment-1321139222:
- Replace :classes approach with approach that works in dev and prod
  builds
- Remove graph-parser as it is unused
- Make api calling available for all contexts
2022-11-21 14:34:30 -05:00
Tienson Qin 23ec02f5a3 Make it clear that a UUID string is needed. 2022-11-21 23:38:13 +08:00
Tienson Qin d1f39f52ea enhance: api should throw error if invalid block-uuid string
Also, make sure UUIDs are converted already when passing to cljs.

Related to #7375.
2022-11-21 23:38:13 +08:00
Tienson Qin 0d64d1ab3d fix: CI 2022-11-21 21:03:32 +08:00
Tienson Qin 2610d393cf fix: lint 2022-11-21 21:03:32 +08:00
Tienson Qin f87100dd10 fix: use capacitor's api to get app's active state 2022-11-21 21:03:32 +08:00
rcmerci 81f90cd34d fix(sync): unify path-normalize and filter out un-normalized files 2022-11-21 21:03:32 +08:00
Tienson Qin 6c8f6741f7 fix(iOS): don't pause if it's already resumed from background mode 2022-11-21 21:03:32 +08:00
Tienson Qin 7911efec1c fix: restore back to the previous impl on pause and add instruments 2022-11-21 21:03:32 +08:00
Tienson Qin 7ffa3e9aa4 fix: lint warning 2022-11-21 21:03:32 +08:00
Tienson Qin 936a53437f fix: sync shouldn't stop when its state is idle 2022-11-21 21:03:32 +08:00
Tienson Qin 3210d17881 enhance: subscribe to id-token for reactive change 2022-11-21 21:03:32 +08:00
rcmerci 1093fe272e fix(sync): fix normalize path in <get-remote-all-files-meta 2022-11-21 21:03:32 +08:00
Tienson Qin 3312bfc3b6 fix: sync icon is missing 2022-11-21 21:03:32 +08:00
Tienson Qin 98c8ad304c Load refresh token synchronously 2022-11-21 21:03:32 +08:00
Tienson Qin 268a7830bb Instrument all the sync unknown errors 2022-11-21 21:03:32 +08:00
Tienson Qin a28fed8b25 Pause sync if there's 404 not found 2022-11-21 21:03:32 +08:00