feat: rename a page will rename corresponding namespace pages and files (#2283)

* feat: rename a page will rename corresponding namespace pages

and files.

* enhance: jump to namespace page instead of the [[page]] itself

* namespace: create prefix ns pages instead of pages themselve

* fix: only rename files when namespace prefix matches
This commit is contained in:
Tienson Qin
2021-06-28 22:15:01 +08:00
committed by GitHub
parent b5f63d0d4b
commit e43cf125f6
11 changed files with 97 additions and 22 deletions

View File

@@ -50,7 +50,7 @@
get-pages get-pages-relation get-pages-that-mentioned-page get-public-pages get-tag-pages
journal-page? local-native-fs? mark-repo-as-cloned! page-alias-set page-blocks-transform pull-block
set-file-last-modified-at! transact-files-db! with-block-refs-count get-modified-pages page-empty? page-empty-or-dummy? get-alias-source-page
set-file-content! has-children?]
set-file-content! has-children? get-namespace-files]
[frontend.db.react
get-current-marker get-current-page get-current-priority set-key-value