Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration from Dataview to Datacore #5

Open
MMoMM-org opened this issue Feb 9, 2023 · 5 comments
Open

Migration from Dataview to Datacore #5

MMoMM-org opened this issue Feb 9, 2023 · 5 comments

Comments

@MMoMM-org
Copy link

Any plans on how people will migrate from dataview to datacore?

I heavily use dataview in my journaling, manually editing all daily, weekly, monthly, quarterly and yearly notes would be... quite a task.

And that is only one example where an automated / semiautomated way of migration would be helpful.

I know that this will not work for dataviewjs (either in note or in other javascript). But here a good "How-To move from Dataview to Datacore JS / API" could help.

So it would be nice to see what you have planned for this on your roadmap.

@blacksmithgu
Copy link
Owner

All metadata formats are still supported. Dataview blocks can be translated to datacore editable blocks automatically. I haven't decided on DataviewJS yet, since the changes there are more substantial. The easiest route may just be to provide a legacy API layer so existing scripts continue to run, since an automatic rewrite tool is unlikely to be feasible.

@blacksmithgu
Copy link
Owner

The other option I'm considering is simply rewriting dataview to use datacore internally, and you keep dataview installed to support any dataview/dataviewjs blocks.

@MMoMM-org
Copy link
Author

that would be a need option too. I don't have too much dataviewjs code inside my nodes, most of it is externally, so easy to change.

the normal dataview blocks are a lot though, especially in my journaling.
Don't know which road is easier, I will for sure try to transition to datacore if the features are the same for new content.

Looking forward to it.

@twp248
Copy link

twp248 commented Feb 13, 2023

Have a mixture of dataviewjs and dataview, but I am more incline to switching to datacore if it is better and easier to maintain.

@xDovos
Copy link

xDovos commented Feb 19, 2023

hey, on the question of dvjs. will the new js api still be usable by templater and the other plugins that use dvjs as code basis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants