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

Approval and publish cannot be done after updates. #158

Open
douglm opened this issue Nov 6, 2022 · 4 comments
Open

Approval and publish cannot be done after updates. #158

douglm opened this issue Nov 6, 2022 · 4 comments
Assignees

Comments

@douglm
Copy link
Member

douglm commented Nov 6, 2022

Currently we have an approve or publish button which also allows for updates to be made at the same time. Due to the way indexing and some other functions work this is no longer reliably possible.

Update and indexing of the changes needs to be carried out before approval/publish. That last stage is essentially a move into another calendar.

I;m going to look at using the onChange event for the form to make the button disappear when a change is made. Approve and publish will only be allowed when there are no changes to the form.

@douglm douglm self-assigned this Nov 6, 2022
@kyletcook
Copy link

Going forward. We will make any changes to event during a review, save those changes with one button (save/update)

Then, we would return to the form and (approve/publish)?

This is a little slower for approval. Most events we approve do not require editing, so it should work fine, in our case.

@douglm
Copy link
Member Author

douglm commented Nov 7, 2022 via email

@kyletcook
Copy link

Right - it is preferable to make these actions all discrete since there are so many combinations of calendars, users, and updates.

@douglm
Copy link
Member Author

douglm commented Nov 8, 2022

So I looked at the possibility of disabling/removing the "Approve Event" button if a change is made. In theory it can be done but it's not easy - if indeed it works.

Instead I propose changing the update form to be only that - it will be used to modify master or instances as now but without the approve option. Instead I'll add an approve button/link to the main approve tab list. This will take us to a page which simply displays the event and offers the option of approve/delete or cancel.

I think it's clearer and avoids all sorts of trickery

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

2 participants