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

Parent/child documents #120

Open
roman-yagodin opened this issue Mar 11, 2021 · 3 comments
Open

Parent/child documents #120

roman-yagodin opened this issue Mar 11, 2021 · 3 comments

Comments

@roman-yagodin
Copy link
Member

roman-yagodin commented Mar 11, 2021

Most documents are just links to single file. But sometimes we need an ability to split file in parts (appendixes) or provide extra links like signatures, etc.

This will replace #30 as having separate entities for document and document file/link is an overkill.

And also leverage the need in #116.

But still, #116 would have sense to implement later, as every part of multipart document would need some kind of digital signature attached. But for now we can attach signature as a child.

@roman-yagodin
Copy link
Member Author

roman-yagodin commented Mar 11, 2021

Operations on parent document should apply (directly or indirectly) to its children.

Deleting parent document should promote its children? This will need FK rule. Also can just disable deleting of documents which have children attached.

Importing parent document from another module should also import all its children.

@roman-yagodin
Copy link
Member Author

roman-yagodin commented Mar 11, 2021

Child documents can be displayed in separate column or on separate lines just below parent document. The column display is most simple one to implement. Some presentation setting could be introduced later.

@roman-yagodin
Copy link
Member Author

To preserve document relationships on export/import, we will probably need to export entity ids as GUID/UUIDs.

@roman-yagodin roman-yagodin changed the title Parent documents Parent/child documents Mar 11, 2021
@roman-yagodin roman-yagodin modified the milestones: v1.13, Next Major Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant