Tienson Qin
f51d60cdc2
fix: new graph creates accidental page from last graph's page
2023-07-07 14:49:22 +08:00
Gabriel Horner
62c550e26d
Updated timestamp column types to match actual usage
2023-07-06 14:11:58 -04:00
Tienson Qin
956c896e0b
chore: remove temporal ignores
2023-07-05 16:57:16 +08:00
Tienson Qin
920c5f6839
fix: can't create children blocks for property blocks
2023-07-05 16:55:33 +08:00
Tienson Qin
98087e250c
enhance(property): create new block when search not matched
2023-07-05 16:53:03 +08:00
Tienson Qin
716b8df9c5
enhance: display block container instead of reference for property value
2023-07-05 14:45:02 +08:00
Tienson Qin
289804da86
enhance(property): create new page when search not matched
2023-07-05 14:26:41 +08:00
Tienson Qin
880ac87451
enhance: property value auto-complete
2023-07-05 13:17:20 +08:00
Tienson Qin
59ebedb6c5
enhance: disable user selection for properties if selected blocks
2023-07-05 12:00:28 +08:00
Tienson Qin
4069761420
fix: replace special id with original name instead of name
2023-07-05 11:57:02 +08:00
Tienson Qin
4fa4afa156
fix: can't delete graph with the same name twice fails
2023-07-05 08:24:05 +08:00
Tienson Qin
5dab2228a0
fix: switch to the next graph after unlinking the current one
2023-07-05 08:15:46 +08:00
Tienson Qin
969a677341
fix: re-render root UI once db loaded
2023-07-05 07:47:07 +08:00
Gabriel Horner
fa01aefa24
Add an explicit new-db! for new db graphs to simplify other fns
...
Previously open-db! and upsert-blocks! had graph creation
and connection responsibilities. These shouldn't be needed if
new and existing databases have clear entry points
2023-07-04 13:06:21 -04:00
Gabriel Horner
a98ea631c5
Fix: Disallow creating same db graph twice
...
Allowing this was leading to data loss cases
2023-07-04 12:38:46 -04:00
Gabriel Horner
9d58c8dcf8
Add command for creating db graph
2023-07-04 11:30:56 -04:00
Tienson Qin
db94f4e638
css tweaks for select
2023-07-04 19:19:09 +08:00
Tienson Qin
a37bb6664f
feat: support both page and block types
2023-07-04 18:58:56 +08:00
Tienson Qin
6f8500cbe7
Add page/block types
2023-07-04 15:32:15 +08:00
Tienson Qin
ab40fd0076
fix: property update
2023-07-04 14:54:43 +08:00
Tienson Qin
36914279f0
fix: multiple values ux
2023-07-04 14:53:14 +08:00
Tienson Qin
e9a3be9127
enhance: add context menu for properties
2023-07-04 14:41:06 +08:00
Tienson Qin
49a7026d90
enhance: don't show delete button when there're no values
2023-07-04 14:22:05 +08:00
Tienson Qin
0c4c0322ff
enhance: enter to trigger date picker and checkbox
2023-07-04 14:05:55 +08:00
Tienson Qin
a6d96ffb0b
fix: property key input
2023-07-04 13:39:10 +08:00
Tienson Qin
e336db74eb
fix: add-property should replace existing property if it exists
2023-07-04 10:07:26 +08:00
Gabriel Horner
016f7848ce
Add some basic constraints to blocks
...
Without the uuid and type constraints we wouldn't be able to use the
data. Without unique names, it'd be easy for the app to create long running
bugs with duplicate pages
2023-07-03 16:21:23 -04:00
Gabriel Horner
ceb9a1d726
Load more latest journals to reduce the likelihood of an initially buggy journals view
...
Reduces the likelihood of
https://linear.app/logseq/issue/LOG-2650/journals-view-shows-outdated-and-uneditable-journal-pages
occurring but it can still happen for more than 3 journal pages
2023-07-03 14:53:42 -04:00
Gabriel Horner
d82e388ea3
Fix: file pages should save their name
2023-07-03 10:54:30 -04:00
Tienson Qin
982cea2f64
fix: can't add multiple value
2023-07-03 20:02:25 +08:00
Tienson Qin
9d73baa425
fix: editor value should be from properties-text-values if possible
2023-07-03 19:27:30 +08:00
Tienson Qin
f23c00a33c
fix: default type ux
2023-07-03 19:23:07 +08:00
Tienson Qin
b8b1221778
chore: remove debug
2023-07-03 17:54:24 +08:00
Tienson Qin
cc769225f9
fix: property date type UX
2023-07-03 17:53:23 +08:00
Tienson Qin
b9a4031bb5
fix: edit property value
2023-07-03 16:20:14 +08:00
Tienson Qin
2b5f07445f
fix: checkbox type UX
2023-07-03 16:15:25 +08:00
Tienson Qin
9f758a6f47
fix: URL type schema validation
2023-07-03 15:30:59 +08:00
Tienson Qin
2ea5adf1ad
fix: property value not reactive
2023-07-03 15:13:16 +08:00
Tienson Qin
d62d89d427
fix: existing page may not have block/type value
2023-07-03 15:05:34 +08:00
Tienson Qin
43e3270f10
fix: pre-check content exists
2023-07-03 15:01:01 +08:00
Tienson Qin
58162cc09d
fix: editing block should be property instead of its parent block
2023-07-03 14:55:42 +08:00
Tienson Qin
ccf35df699
fix: don't add property value if it's multiple values and blank value
2023-07-03 12:31:26 +08:00
Tienson Qin
ccb92d12a1
fix: use property' original name
2023-07-03 12:26:32 +08:00
Tienson Qin
72913c7e62
fix: remove existing properties when auto-complete property key
2023-07-03 12:19:46 +08:00
Tienson Qin
e0028a39fa
wip: property UX
2023-07-03 12:02:31 +08:00
Gabriel Horner
045c51cded
Use sqlite.db ns in electron.db
...
- Add more tests for sqlite.db
- Update readme and CI for db's tests
2023-06-30 17:36:01 -04:00
Gabriel Horner
2ab6370dda
Add tests for core sqlite db fns
...
These core db fns have been split out to be platform agnostic
so they can be run on CLI or non electron platforms
2023-06-30 11:45:39 -04:00
Tienson Qin
0c0bad073a
wip: property UX
2023-06-30 12:32:43 +08:00
Gabriel Horner
271b074673
Merge branch 'master' into feat/db
2023-06-28 16:16:29 -04:00
Gabriel Horner
0967514aa0
Fix: Update auto-heading test
...
Looks like a bug is fixed on this branch
2023-06-28 16:02:06 -04:00