Commit Graph

322 Commits (6de622264501c9cb8410b9bb28ac4d494813df7a)

Author SHA1 Message Date
llcc e93480b664 fix app not working on iOS 13 2022-06-12 20:35:57 +08:00
Gabriel Horner 17d2462343 Move rules into db dep as it's useful for external apps
- rules is already used by logseq-query and will be useful for
  nbb-logseq
- Updated db jobs to run in deps/db by default. Less typing but
  more importantly discourages independent libraries from depending on
  external scripts.
- Moved lint-rules task into db since it is db specific now
- Also remove nbb-logseq from top-level as all nbb compatibility is in
  deps.
2022-06-10 15:39:11 +08:00
Tienson Qin b3b406ba31 chore: bump mldoc 2022-06-05 16:54:39 +08:00
Tienson Qin e36bca4660 fix: disable cache for clj-kondo 2022-06-05 12:54:03 +08:00
Tienson Qin 3c886f4330
Merge pull request #5374 from jonasdiemer/calc-pretty-floats
Calculator: improved output of float numbers
2022-05-30 18:19:26 +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
Tienson Qin d428270178 enhance: keep line breaks for exported markdown
bump mldoc
2022-05-29 16:18:11 +08:00
llcc aa1abfc71e
Merge branch 'master' into gesture-support-on-block 2022-05-24 17:24:38 +08:00
Andelf ce3fef7368 fix(android): use es6 as build target 2022-05-24 17:22:49 +08:00
llcc ee3b578d99
Merge branch 'master' into gesture-support-on-block 2022-05-23 22:07:36 +08:00
Jonas Diemer dcddb9e935 use bignumber.js for calculations 2022-05-21 22:52:44 +02:00
Andelf 013f15dfbe fix(publishing): use release build for publishing js
Fix #5368
2022-05-20 09:50:40 +08:00
Gabriel Horner 6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
Tienson Qin 0e5d1614a0
Merge pull request #5265 from logseq/enhance/graph-parser-part-two
Enhance: Migrate mldoc and text to graph-parser
2022-05-12 20:22:51 +08:00
llcc 60fad0d3ba open PDF with external app on mobile 2022-05-12 20:13:13 +08:00
llcc e119fef6bd
Merge branch 'master' into gesture-support-on-block 2022-05-12 09:58:53 +08:00
Gabriel Horner a9664272db Merge branch 'master' into enhance/graph-parser-part-two 2022-05-11 20:22:31 -04:00
Tienson Qin 3ca8228a74 Only render references when it's visible in the window viewport 2022-05-12 07:39:37 +08:00
Gabriel Horner 112e6e2d97 Test second nbb ns thanks to upstream nbb fix :) 2022-05-11 12:33:17 -04:00
llcc 312f6b968f feat(gesture): add haptics impact on action 2022-05-06 16:20:00 +08:00
Gabriel Horner c0e1e16372 Finish up CI job for requiring nbb-compatible namespaces 2022-05-04 12:02:36 -04:00
Tienson Qin 50f8954886 fix: markdown fenced code parsing 2022-04-24 11:48:30 +08:00
llcc 4207df1b1a fix copy to clipboard failure on iOS 2022-04-15 17:30:59 +08:00
Peng Xiao ec4008d054 chore: upgrade tailwindcss to most compatible version 2022-04-12 10:00:06 -04: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
llcc 21e172feb6
feat(mobile): share intent (#4599)
* feat(mobile): share intent

* feat(ios): share content

* feat(share): fix kUTType* deprecation

* feat(share): fix result of call to 'openURL' is unused

* fix screenshot copy rewrite issue

* fix AndroidManifest.xml

* fix(iOS): app not showing in share list

* address comment
2022-03-28 12:30:32 +08:00
Tienson Qin 8454ec1ee5 fix: sentry
close #4613
2022-03-18 16:44:03 +08:00
Andelf 1b163d7bff chore(deps): upgrade playwright 2022-03-15 11:56:32 +08:00
Tienson Qin 725ca1c6a1
Feature: flashcards random mode (#4535)
* feat: add flashcards shuffle mode
* fix: flashcards navigation
* refactor(build): use @tabler/icons from node_modules

Co-authored-by: Andelf <andelf@gmail.com>
2022-03-11 00:13:37 +08:00
Andelf 46d9cbaa5f fix(dev): sourcemap path in electron while dev 2022-03-09 18:06:08 +08:00
Tienson Qin ba71e8e071 chore: bump react-icon-base 2022-03-02 12:31:45 +08:00
Tienson Qin 433f96b306 fix: inline math parser 2022-03-02 10:32:19 +08:00
Gabriel Horner 2a03753955 Bump to latest shadow-cljs
Bumped glogi and cljs to minimum versions that would not fail with this
version of shadow
2022-02-28 16:27:22 +08:00
Andelf d22df2b922 fix(electron): rewrite electron-context-menu
Fix #4274
2022-02-19 17:39:51 +08:00
xxchan d82697c497 bump mldoc to 1.3.1 2022-02-19 17:27:29 +08:00
leizhe 770eff4ab8 fix(mobile): tweet component loading fails 2022-02-19 10:39:41 +08:00
Andelf 45f852b396 feat(draw): upgrade excalidraw to 0.10.0
- fix draw saving bug
- add grid toogle
- avoid saving while editing
- resize relative to nearest parent block-content
- use serializeAsJSON to save draw(with identation, better diff log)
2022-02-18 17:55:50 +08:00
leizhe 31706b7888 enhance(mobile): editing in large block 2022-02-17 22:26:36 +08:00
Andelf f4f215b3cf fix(deps): missing electron-context-menu in final build 2022-02-17 09:55:51 +08:00
Tienson Qin ad9b5d152d
Merge branch 'master' into enhance/cut-memory-usage 2022-02-08 21:05:38 +08:00
Tienson Qin 982eba9396 refactor: remove i18n tongue context 2022-02-08 17:31:32 +08:00
Tienson Qin faea913a40 enhance: cut memory usage 2022-02-08 15:49:09 +08:00
charlie 7442dbc125 enhance(ui): setup default context menu with right click 2022-02-08 15:03:39 +08:00
Gabriel Horner 54420c9a5d Address review feedback 2022-01-28 10:48:44 -05:00
leizhe 79a1c15ba9 feat(mobile): tap status bar to scroll to top 2022-01-20 10:35:11 +08:00
Junyi Du 226541ff5e enhance: apply normalization on page indexing & diacritics / accents searching compat. 2022-01-20 10:33:50 +08:00
Tienson Qin 6aba8c3241
Improve long page editing performance (#3855)
* Remove expensive parsing when saving files

* Add limit to page blocks query

* Don't collapse block's body to make it compatible with other tools

* Alert if there're unsaved changes when switching graphs

* DB schema migration for :block/collapsed? from it's property

Co-authored-by: Andelf <andelf@gmail.com>
2022-01-18 10:37:31 +08:00
dependabot[bot] d360a11ed8 chore(deps-dev): bump postcss from 8.2.10 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 14:11:21 +08:00
dependabot[bot] 3f5aac8e04 chore(deps): bump is-svg from 4.2.2 to 4.3.0
Bumps [is-svg](https://github.com/sindresorhus/is-svg) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/sindresorhus/is-svg/releases)
- [Commits](https://github.com/sindresorhus/is-svg/compare/v4.2.2...v4.3.0)

---
updated-dependencies:
- dependency-name: is-svg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 14:11:04 +08:00
leizhe bf9c08105f bump react-tweet-embed
The current version 1.2.1 was released 3 years ago. Updating it to the
lastest version may solve some issues, typically unloading issue that
iOS users keep reporting.
2022-01-11 12:08:52 +08:00