36 Pods V2 #1656
Replies: 7 comments 6 replies
-
I think "Export" and "Export One" might be a little confusing, maybe "Export Many" or "All" and "Export One"? Or we could entirely combine the commands and allow selection of the scope when the command runs, like the Dendron Doctor command.
I think this is harder to do than it sounds, what if there are both changes in remote and local? For example, someone edits a GDocs document using the google web editor while someone else updates it in Dendron, then the user in Dendron tries to export. You need a three-way merge like what git does, and that's not trivial. Not saying we can't do it, just pointing out that it might be a bit of work.
I think this will greatly improve user-friendliness of the pods, it's a great idea.
Something to add here is that pod plugins would likely be much more complicated than something like a hook, so we might want to build some tooling around this. Could we have something like a template repository for building pod plugins? My main concern is that people might want additional dependencies that we don't already have included in Dendron, like a package that parses a different file format or a wrapper for an API. |
Beta Was this translation helpful? Give feedback.
-
It appears more info is needed around in this RFC to collect feedback For example:
How exactly are they updates are going to be done? Are we going to do something along the lines of GIT where both of the conflicts appear in the note for the user to resolve? Are both of the conflicts going to be 'committed' right away? |
Beta Was this translation helpful? Give feedback.
-
I think handling merge conflicts would be tricky for us when there's change in the note body. It is relatively easy if the conflict is in some frontmatter properties, but when it comes to note body, which is often a large string and to selectively figure out the difference can be a task.
Is import from clipboard similar to creating a new note and paste from clipboard? Also not very pod structure specific but since we are having a discussion on pods,
|
Beta Was this translation helpful? Give feedback.
-
Reposting some offline comments from earlier:
|
Beta Was this translation helpful? Give feedback.
-
thanks everyone for the feedback! to clarify about merge conflicts, i should emphasize that it’s all pods should have the capability to handle merge conflicts. that is to say it should be in the interface. pod authors can choose to implement or not (in some cases that won’t be possible) |
Beta Was this translation helpful? Give feedback.
-
is there a way to write our own export? the current publish to markdown is close but not exactly what i want.
|
Beta Was this translation helpful? Give feedback.
-
A bit late to the party but all prior comments covered my concerns. 👍🏼 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Context
The proposal here covers a lot of ground. We should break it down into phases.
Proposal
Export Pod
->Export
Publish Pod
->Export One
^NWDbwthvJ0xmExport One
toImport
Import Pod
->Import
Import One
From Clipboard
^k2tGQOBXQrOKExport From Clipboard
Import From Clipboard
src/dest
from config, prompt user for thisAlternatives
Details
Example
Discussion
https://github.com/dendronhq/dendron/discussions/new
Beta Was this translation helpful? Give feedback.
All reactions