Open gabestein opened 1 month ago
@tefkah -- mind estimating when you get online tomorrow?
I put 4 days, as I'm expecting to run into some unexpected issues integrating this into the codebase! Maybe everything is smooth sailing, but as we haven't really tried to do this yet, i'm expecting to run into something weird which may require some back and forth with travis.
Thanks! I've updated priority in the board. I think this is the top one, especially given the risks!
Made some progress here, though I think we'll need to discuss more next week! https://github.com/pubpub/platform/pull/763
Changed this to 1-day as @3mcd pointed out that this ticket doesn't require saving/creating related pubs, just the current pub's values, which I mostly have in https://github.com/pubpub/platform/pull/763. just need a little more time to integrate it properly!
Motivation
Requirements
Acceptance Criteria
updatePub
server action to accept more than just values — e.g. newly created pubs, added fields, etc. Should be stubbed out for now and still only save the directly edited field, but should be capable of handling creation/updating/deletion of fields on the same pub, whole new/old related pubs, and fields on new/old related pubs in the future. In the future, could be a series of other server actions, etc.Open Question
Non-/Stretch Goals