Commit Graph

16126 Commits (3ce8100be7f7a7dc74fd84ee762482228fccee85)

Author SHA1 Message Date
Tienson Qin 3ce8100be7 feat: enable git for sqlite
Use the trick from https://stackoverflow.com/a/21789167.
2024-06-13 13:04:00 +08:00
Tienson Qin 0ce2ee42db Revert "refactor: use files instead of sqlite for electron db storage"
This reverts commit c2c5ab80aa.
2024-06-13 13:04:00 +08:00
Tienson Qin ec25550455 Revert "chore: remove unused fn"
This reverts commit 1ec30bbf1a.
2024-06-13 13:04:00 +08:00
Tienson Qin 596089f161 Revert "fix: add missing fs-extra package"
This reverts commit 032cad0318.
2024-06-13 13:04:00 +08:00
Tienson Qin 6d4f3425cd Revert "fix: nbb compatibility for mv to file db for electron"
This reverts commit 4403b5e52a.
2024-06-13 13:04:00 +08:00
charlie 02663da968 fix(ui): can't close the page class modal 2024-06-13 09:49:04 +08:00
Tienson Qin 4d7ab822ff fix: undo redo tests 2024-06-13 09:32:38 +08:00
Tienson Qin 2545d15a5e fix: write files only if it's a file-based graph 2024-06-13 09:12:52 +08:00
Gabriel Horner 03f797fde3 fix: outliner lint and doc formatting 2024-06-12 15:24:04 -04:00
Gabriel Horner 9f89717a57 refactor: finish splitting file and db page create
db create had file specific assumptions and file create had db specific
assumptions like class?
2024-06-12 14:57:23 -04:00
Gabriel Horner 0b61bdea29 fix: edit an empty page for file and db graphs
To repro, create a block with a page-ref, click into page and
then click on 'Click here to edit'
2024-06-12 13:59:59 -04:00
Gabriel Horner 13f5971d3c chore: mv worker.file.page-rename to appropriate ns
This ns is file graph specific so it should be in a file-graph
specific ns. Its current location was confusing as it was next to
other namespaces in frontend.worker.file.* that are not
file graph specific. Also moved related tests to correct location
2024-06-12 11:38:00 -04:00
Gabriel Horner a9b7cb4274 fix: frontend lint 2024-06-12 10:58:49 -04:00
Gabriel Horner 99939c600f fix: remove dead code caught when updating linter
Also added a db-concepts not in file linter fn
2024-06-12 10:36:22 -04:00
charlie e164d85269 enhance(ui): alignments for the pdf highlight color marker 2024-06-12 17:39:59 +08:00
charlie 3d7ee322db enhance(pdf): support associating the missing pdf file with the browser file picker 2024-06-12 16:43:14 +08:00
rcmerci 9763b01ae4 fix(rtc): filter remote-ops by pending local ops 2024-06-12 16:26:27 +08:00
charlie eb0eff6341 fix(ux): use page uuid instead of the annotations page name 2024-06-12 15:16:54 +08:00
charlie c38679ff45 fix(pdf): support browser to insert pdf highlight into page blocks 2024-06-12 13:45:46 +08:00
Tienson Qin d4f21e4c22 perf: load latest 1 journal instead of 3 journals 2024-06-12 06:39:06 +08:00
Tienson Qin 18907dca30 fix: keep db worker alive 2024-06-12 06:39:06 +08:00
Tienson Qin fbdda658e8 fix: undo route redirects 2024-06-12 06:39:06 +08:00
Tienson Qin 1dc72d79f2 fix: separate page/create impl for db and file graphs
Also, move rtc page create impl to its own fn.
2024-06-12 06:39:06 +08:00
Gabriel Horner 1b51d28682 fix: outliner lint 2024-06-11 16:49:14 -04:00
Gabriel Horner 4403b5e52a fix: nbb compatibility for mv to file db for electron
Followup to c2c5ab80aa
2024-06-11 16:44:19 -04:00
Gabriel Horner 0e1ada2ef6 enhance: bb task for creating graphs from EDN file
Converted inferred graph to an EDN file now that this task exists. Also
merge last of tasks.create-graph to relevant ns so that external users
can also create such tasks
2024-06-11 10:09:37 -04:00
Tienson Qin 2d3f152454 fix: simplify page delete and fix rtc issues 2024-06-11 20:23:57 +08:00
Tienson Qin 032cad0318 fix: add missing fs-extra package 2024-06-11 20:00:32 +08:00
Tienson Qin 1ec30bbf1a chore: remove unused fn 2024-06-11 19:58:54 +08:00
Tienson Qin 4b3920b049 fix: delete page when entity exists 2024-06-11 16:37:53 +08:00
rcmerci 9bad800eff fix(rtc): ensure `mws-create` won't return nil 2024-06-11 15:37:53 +08:00
rcmerci 8cbdd2a881 enhance(rtc): update schema for :block/order 2024-06-11 13:15:02 +08:00
Tienson Qin c2c5ab80aa refactor: use files instead of sqlite for electron db storage 2024-06-11 08:30:49 +08:00
Tienson Qin 20e4ff133c fix: can't delete pages that have refs
Also, redirect to home after deleting the page
2024-06-11 08:30:49 +08:00
Gabriel Horner dbf263ed7c fix: unbound vars caught by lint
also updated property type for previous commit
2024-06-10 17:12:03 -04:00
Gabriel Horner 08c29d8a39 fix: sorting for query table for db graphs
by using property db-idents. Fixes LOG-3075
2024-06-10 16:52:38 -04:00
Gabriel Horner 0ce4e1b65e fix: query table not displaying user property columns
Also fixed rendering property values for all property types
2024-06-10 16:05:33 -04:00
Gabriel Horner e7d7e55b28 fix: query-table toggle not working for file graphs 2024-06-10 14:58:20 -04:00
Gabriel Horner 2d1073fa5b fix: remove outdated clauses for property values
This became outedated with to property values as refs
2024-06-10 13:26:21 -04:00
Gabriel Horner 16cfb76c9b fix: update :query/result-transforms to work with db graphs
since they are the future. Leave example disabled by default as it's
not important to have :sort-by-priority enabled by default and working
for both file and db graphs
2024-06-10 12:38:40 -04:00
rcmerci 575558e169 fix(rtc): wrong order 2024-06-11 00:09:48 +08:00
Gabriel Horner 04b25a9240 chore: add basic tests for sqlite.build
and added a couple db-graph specific for query-dsl. Also
moved fns in pu that should be in db-pu
2024-06-10 11:52:39 -04:00
rcmerci d574cc3b0e enhance(rtc): replace :left by :block/order in query-response 2024-06-10 23:52:00 +08:00
charlie 5e92d6610c enhance(api): support normalize json data for the Entity values 2024-06-09 17:59:33 +08:00
charlie c12880ab3d enhance(ui): alignments for the headings with positioned icons within editing mode 2024-06-09 12:53:47 +08:00
Tienson Qin 03a0e99b65 enhance: add block-order malli schema 2024-06-09 11:39:00 +08:00
Tienson Qin 0a77ba077f fix: reuse :block/order if exists when inserting blocks from remote 2024-06-09 11:02:26 +08:00
charlie d55fe4af50 enhance(api): WIP add property related APIs 2024-06-08 16:55:36 +08:00
charlie 72897acb1e enhance(api): support empty value for the multi pages property value 2024-06-08 12:09:09 +08:00
Gabriel Horner 9636fbe7ab fix: remaining query dsl tests for db graphs
Re-enable CI step for testing query-dsl and db graphs
2024-06-07 18:02:32 -04:00