hasgeek / funnel

Website for hasgeek.com
https://hasgeek.com/
GNU Affero General Public License v3.0
45 stars 52 forks source link

Changes made in the schedule editor not reflected inside proposal #1918

Open anishTP opened 8 months ago

anishTP commented 8 months ago

Context

The project editor has scheduled a proposal using the edit schedule widget. Editor then makes a few edits to include additional information about the the proposer. The widget autosaves the changes made to the proposal by default.

Expected behaviour

The editor opens the proposal from the submissions section to find the edits made in the edit schedule widget are showing inside the submission.

Current behaviour

On returning to the submissions section the editor checks the edited proposal to find the edits unsaved. On editing the proposal once again from the submissions section, the previous edits appear in the submission form.

jace commented 8 months ago

This is intended behaviour as the session and proposal/submission are independent objects with different owners.

To allow the editor to edit a submission, we'll have to reclassify submissions as belonging to the project instead of the submitter. For collaborative edit access, we'll need to maintain an edit history to aid dispute resolution.