Commit Graph

24 Commits

Author SHA1 Message Date
Gabriel Horner
01426fd244 fix: editing global config.edn and export.css in desktop app
Only enable export.css for desktop since it doesn't work
for browser and db graphs. Also remove a related and
unused db-graph? flag
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Gabriel Horner
885c06f1fb chore: mv file-handler dependent namespaces
that are now obviously file graph specific

- mv save-tree! as it calls file-handler/alter-files via events
- mv roam import which called file-handler/alter-files
- mv git component which is only enabled for file graphs
- fixed handler.code which allowed db graphs to call file graph code for
  an edge case
2025-02-17 14:02:49 -05:00
Gabriel Horner
8710195440 chore: mv handler ns to file-based
since it's only used by file graphs. Also remove unnecessary
db-based-graph? calls in in ns and make aliasing consistent for this ns
2025-02-17 14:02:49 -05:00
Tienson Qin
a599039e1a fix: arrowRight and arrowDown move to next block when code selected 2024-10-10 22:25:21 +08:00
Gabriel Horner
476e641c1a chore: rename property node/type to node/display-type
node can be a block or page and type is a general enough word that
it could refer to one of those. Use a more specific name so we
don't confuse ourselves or our users
2024-09-26 22:24:26 -04:00
Tienson Qin
54f191c6c6 feat: code/quote/math block (#11545)
Add code, quote and math block
2024-09-26 14:14:20 +08:00
Tienson Qin
e8d7d20921 fix: Text duplication in blocks with a page link and a codeblock
fixes https://github.com/logseq/db-test/issues/87
2024-09-19 22:02:44 +08:00
Tienson Qin
d847023dc1 Refactor: rename :block/content to :block/title 2024-07-10 22:33:44 +08:00
Tienson Qin
1249b26b4c Edit block earlier to not slow down editing when deleting a block 2024-01-16 13:24:55 +08:00
Tienson Qin
029ed109b9 fix: page rename undo/redo 2024-01-14 16:33:50 +08:00
Tienson Qin
7e44ff09a8 refactor: move editor impl to db-based and file-based 2023-06-26 19:07:25 +08:00
Tienson Qin
1bb93d3560 fix: can't read and write custom files 2023-06-26 17:31:49 +08:00
charlie
3e7bdda4bf fix(editor): incorrect behavior for the code editor of file page 2023-06-14 21:09:07 +08:00
Gabriel Horner
89ba13d5ac Fix multiple issues with global config
- global config saved outside the app errored and had no effect on config
- global config saved in app, saved invalid state and invalid file
- removed outdated global error handling on alter-file
- Also fix validations for repo config
2023-03-28 09:14:42 +08:00
Andelf
97b534301b fix(fs): file editing in nfs 2023-03-28 09:14:42 +08:00
Andelf
3338263088 fix(editor): wrong file editing save condition 2023-03-28 09:14:42 +08:00
Andelf
a051ded28e refactor(fs): handle global config as state, not in db 2023-03-28 09:14:42 +08:00
Andelf
98f4236309 fix(fs): global file writing in code editor 2023-03-28 09:14:42 +08:00
Andelf
3c0973013b refactor(fs): mv fs2 logic to logseq.common pkg 2023-03-28 09:14:42 +08:00
Andelf
1cd7f89cd9 refactor(fs): handle global file write 2023-03-28 09:14:42 +08:00
Tienson Qin
53ee57acab fix: ns doc warning 2022-12-14 11:34:45 +08:00
Tienson Qin
4a93d27f40 feat(plugin): add save_focused_code_editor 2022-12-14 11:34:45 +08:00