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

Deliverables need per-state content #48

Open
ramijames opened this issue Nov 11, 2024 · 1 comment
Open

Deliverables need per-state content #48

ramijames opened this issue Nov 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ramijames
Copy link
Owner

I've been thinking about this for weeks and there is no way around it: deliverables need per-state content.

For workflows, you'll need to divide files, links, and content for each state in a workflow because if not there will be no way to:

  • go back to a previous version
  • reference created content like outlines
  • create comment sets on top of previously created content for reviews

To accomplish this, I'll need to create a new table which will house the state_content, and migrate current deliverables to use this.

Currently each deliverable has a set of columns for file, link, and markdown. I'd like to replace this with a reference to the uuid of the state_content row.

In the state_content row I'll need:

  • uuid (primary key)
  • content (json)
  • last_updated (datetime+tz)

For the content json I'd like to have:

  • state_instance for each state instance in the current workflow
  • content_type for each state_instance
  • content for each state_instance
@ramijames ramijames self-assigned this Nov 11, 2024
@ramijames ramijames added the enhancement New feature or request label Nov 11, 2024
@ramijames ramijames added this to the 1.0.0 milestone Nov 11, 2024
@ramijames
Copy link
Owner Author

When you create a deliverable, it should automatically go and create the associated state_content row, and populate the deliverable with the uuid.

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

No branches or pull requests

1 participant