Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Promotion Actions: Implement "edit" action #4

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Promotion Actions: Implement "edit" action #4

merged 1 commit into from
Sep 27, 2023

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Sep 27, 2023

Previously, when changing the promotion calculator type for an action, we would end up with an unrescued 500 error. This implements editing an action.

Previously, when changing the promotion calculator type for an action,
we would end up with an unrescued 500 error. This implements editing an
action.
@davecandlescience
Copy link
Collaborator

Nit: when changing the calculator type it is saved immediately, which is different from all of the other fields on the page.

@mamhoff
Copy link
Contributor Author

mamhoff commented Sep 27, 2023

Yeah, true. However, changing that behavior would require an extensive overhaul of the entire page, and this page is really only for admins. I think it's okay.

Copy link
Collaborator

@davecandlescience davecandlescience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mamhoff mamhoff merged commit f6c3aa6 into main Sep 27, 2023
@mamhoff mamhoff deleted the ui-fix branch September 27, 2023 15:06
mamhoff added a commit that referenced this pull request Jul 1, 2024
Promotion Actions: Implement "edit" action
mamhoff added a commit that referenced this pull request Oct 25, 2024
Promotion Actions: Implement "edit" action
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants