Skip to content

allow admin to add stages and change their order#85

Open
alexrandaccio wants to merge 1 commit into
developmentfrom
add-stages
Open

allow admin to add stages and change their order#85
alexrandaccio wants to merge 1 commit into
developmentfrom
add-stages

Conversation

@alexrandaccio

Copy link
Copy Markdown
Member

No description provided.

@alexrandaccio alexrandaccio self-assigned this Jan 3, 2022
@alexrandaccio alexrandaccio added the enhancement New feature or request label Jan 3, 2022
@whatSocks

Copy link
Copy Markdown
Contributor

@alexrandaccio whats a stage / how to test this feature?

@alexrandaccio

Copy link
Copy Markdown
Member Author

@whatSocks Stage is a polymorphic model with 3 subclasses: Delegation, Conversation, and Election (will add a fourth later, called "Custom").

The default "Process" or "Event" has a Delegation, then a Conversation, then an Election.

The point of this PR is to make it possible to create an custom Event.

Some examples:

  • Delegation, Conversation, Election
  • Delegation, Conversation, Conversation, Election
  • Delegation, Election

And so on. Every event is required to begin with a Delegation and end with an Election, however.

@alexrandaccio

Copy link
Copy Markdown
Member Author

The only way to test it is deploy locally, click "create event", create different kinds of Events and run through them to make sure they are getting set up correctly.

I'm trying to start a test suite, but as always I'm strapped for time. Will get it done though

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

Successfully merging this pull request may close these issues.

2 participants