Commit Graph

13166 Commits

Author SHA1 Message Date
rcmerci
fa0efe2872 test(rtc): add testcases for :link 2023-11-11 18:12:43 +08:00
rcmerci
d9d80c8053 fix(rtc): gen update-op doesn't have :link info 2023-11-11 18:07:37 +08:00
Tienson Qin
a5ec0b7579 fix: block uuid changed after page/block embed 2023-11-11 12:21:10 +08:00
rcmerci
60e404902d fix(rtc): upload-graph 2023-11-10 23:48:34 +08:00
rcmerci
c92115bdd5 feat(rtc): sync attr :block/link 2023-11-10 23:48:34 +08:00
Gabriel Horner
7c70f09ebe Merge branch 'master' into feat/db 2023-11-09 11:30:15 -05:00
Gabriel Horner
61eeb96709 fix: 3 bugs with persisting whiteboard data
- :block/uuid was a string
- no timestamps on whiteboard blocks
- no created-at on whiteboard shape blocks

Also added missing page attributes for whiteboard page. Initially I
modeled whiteboards as its own schema type with fewer page attributes
but then I noticed it got format and journal? when referenced so just
added the missing attributes. Fixes LOG-2915
2023-11-09 11:21:18 -05:00
rcmerci
ee36c840b6 chore: fix lint 2023-11-09 23:10:25 +08:00
rcmerci
471d3978ae enhance(rtc): support receive s3-presign-url from ws-conn 2023-11-09 23:10:25 +08:00
cosmo9able
223e1610c5 enhance: Added new translations and tutorials for Brazilian Portuguese. (#10461)
* Added new translations into Brazilian Portuguese.

* Made new adjustments to translations

* Made new adjustments to translations

* Fixed tutorial path

* Translation files passing the test

* Improved dummy translation

* Improved dummy translation

* Improved translation

* Improved translation

* Improved translation
2023-11-09 08:39:16 -05:00
Gabriel Horner
fa8ffc0caf fix: remove unused translation key
translation key no longer needed due to last commit
2023-11-08 16:00:54 -05:00
Gabriel Horner
3bf99e5766 enhance: filter all pages by new page types
Also converted old whiteboard icon filter to use this as it
is a more useful as the only filter. For example, if there are 50 existing pages
and 10 whiteboard pages, when a user selects whiteboard as a filter
they want to see the 10 whiteboard pages, not 60 pages with 10 of them
being whiteboards

Fixes LOG-2912
2023-11-08 14:54:10 -05:00
Gabriel Horner
fc03842150 fix: local config doesn't work if it's not started 2023-11-08 09:11:28 -05:00
Gabriel Horner
1fb9d35e0d fix: when publishing display page properties before class ones
Emphasis should be on the few page properties when reading about a page.
This was the behavior before properties got moved to configure modal
2023-11-08 08:39:11 -05:00
Gabriel Horner
ddc34692ef fix: queries with between filter can collapse 2023-11-08 08:30:44 -05:00
rcmerci
efcf189c95 chore: fix lint 2023-11-08 20:26:22 +08:00
rcmerci
561422143f fix(rtc): fix testcase 2023-11-08 20:22:12 +08:00
rcmerci
fdb0f4e853 fix(rtc): ensure return a promise 2023-11-08 20:16:09 +08:00
rcmerci
a1d3553fce fix(rtc): need encode before persist ops to indexeddb 2023-11-08 20:11:25 +08:00
rcmerci
5494286263 fix(rtc): ensure rtc-db-graph? when persist ops 2023-11-08 20:11:25 +08:00
Tienson Qin
bf41bd539d fix: hide Edit page properties if there're class properties 2023-11-08 13:56:34 +08:00
Tienson Qin
e0cbc963b0 fix: navigating to a page with properties opens add property
Fixes LOG-2902
2023-11-08 13:50:25 +08:00
Tienson Qin
9e894cae25 fix: pick the closest add property button when press enter
Also, display the class properties directly on page instead of
a configure modal.
2023-11-08 13:28:05 +08:00
Gabriel Horner
8f6deb15a7 fix test failure introduced by last commit 2023-11-07 13:50:52 -05:00
Andelf
b5ef701b03 fix(ci): lock python version in release build 2023-11-08 02:08:09 +08:00
Gabriel Horner
309826df89 enhance: place rtc feature behind feature flag
Moved restore-graph to be first action since all user behavior comes from it.
Disabled rtc by default since rtc is currently failing to load graphs
2023-11-07 12:10:44 -05:00
rcmerci
85af692a2e fix(rtc): update schema to fix filter-remote-data-by-local-unpushed-ops 2023-11-08 00:09:34 +08:00
rcmerci
25a8835ad2 chore: remove spy 2023-11-07 21:39:48 +08:00
rcmerci
73a6232c56 chore: fix lint 2023-11-07 21:37:17 +08:00
rcmerci
a7cd7b92bf enhance(rtc): refactor client-op related ns 2023-11-07 21:31:56 +08:00
Gabriel Horner
a29315a7c2 fix: full-text search detection wasn't working
Also changed approach so that it wasn't logging confusing error
messages. Also added title attribute for publishing
2023-11-06 16:30:00 -05:00
Gabriel Horner
fea69f8337 fix: repeated react warnings with multiple choice properties
and with pages that have hierarchy
2023-11-06 15:15:39 -05:00
Gabriel Horner
3162a06c3d fix: page-tags filter shouldn't show :block/link duplicates 2023-11-06 14:22:44 -05:00
Gabriel Horner
e8b26954a0 fix: property completion for db graphs
Also complete page-tags filter with original case so that resulting query is
case sensitive. As much as possible the query builder should result what
users would type in the editor and users would type case sensitive page
refs. Also update scripts to reflect that property values should be
written as page refs for :date and :page properties
2023-11-06 12:48:12 -05:00
Gabriel Horner
05a82a5f26 fix lint to get CI green again 2023-11-06 09:22:32 -05:00
Gabriel Horner
ba5fe52ec1 fix: task and priority filters 2023-11-06 09:07:40 -05:00
eliovir
2851c1b35b Update fr.edn
Add and correct French sentences.
2023-11-06 09:00:18 -05:00
Tienson Qin
19ade78a86 fix: wrong expressions 2023-11-05 21:08:50 +08:00
Gabriel Horner
ca865bb000 fix: between filter in builder for both graph types 2023-11-03 18:45:33 -04:00
Gabriel Horner
030e4f6581 fix: basic query builder selection
Wasn't working for file or db graphs b/c of underlying component
changes. Part of LOG-2808
2023-11-03 16:56:51 -04:00
Gabriel Horner
1280f4e05d fix: disable file sync for db graphs 2023-11-02 14:29:05 -04:00
Andelf
23bb5e8b9b chore(build): update clojure 1.11.1.1413 2023-11-03 01:49:14 +08:00
Gabriel Horner
3ccf80fcba add docs for new linter
also fix outliner lint
2023-11-02 09:32:51 -04:00
rcmerci
0a2858ba73 enhance(rtc): update schema 2023-11-02 19:35:24 +08:00
charlie
9e9ae5c6f4 enhance(pdf): remove invalid highlight selection range rects 2023-11-02 17:47:52 +08:00
e-zz
c55c25d3ca fix: wrong bounding coordinates for highlights
This should fix #10400.

After a multiline text selection in PDF, the first rectangle in sel-range is a incorrect "noise", not relevant to the selection range. The underlying cause is not clear to me. Note that it's a universal problem when doing mutliline highlights, even though most of the time it does not have any effect on user experience.   

This commit is a working hotfix. And very possibly there would be a better solution after looking into the update mechanism of the variable `sel-state` used here. But I have no enough experience to dive into this.
2023-11-02 17:47:52 +08:00
Gabriel Horner
de3d7b7b5f Merge branch 'master' into feat/db 2023-11-01 17:31:17 -04:00
Gabriel Horner
3700cc37e6 fix: disable filename format config for db graphs
How to persist filenames and handle titles isn't relevant for db graphs.
Also updated lint to add related file-specific nss and concepts
2023-11-01 16:26:48 -04:00
Gabriel Horner
7a4f5712ba fix: only delete macro entities when last reference
part of LOG-2904
2023-11-01 15:36:15 -04:00
Gabriel Horner
e847fce255 add additional db namespaces to linter 2023-11-01 14:23:45 -04:00