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

Implement FSM for flows #30

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Implement FSM for flows #30

wants to merge 21 commits into from

Conversation

henhuy
Copy link
Contributor

@henhuy henhuy commented Nov 5, 2024

Implemented flows having multiple states and transition between the states.
Visit http://0.0.0.0:8000/roof/ to start flow and see simple transitions when changing roof type.

For orientation look at the example flow RoofFlow
and related template roof.html.
Note that you have to add div placeholders for each state and that you have to add rendering of the partials using safe within the placeholders (this is in case the whole page gets rendered, not only next state HTML via HTMX).

@henhuy henhuy requested a review from josihoppe November 5, 2024 14:18
@henhuy henhuy self-assigned this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants