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 Multiprocesses components #10

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

Conversation

selankon
Copy link
Contributor

@selankon selankon commented Oct 10, 2024

It implements necessary components to render multiple elections on the same page.

It depends on vocdoni/ui-components#204

If the metadata of chained elections contains the RenderWith information, it get the elections to render together.

Some considerations

  • Won't work with anonymous voting
  • Vote overwrite not tested

But should work out of the box with all other chained process and Vocdoni features.

It also implements a parameter to add a custom form validation function, to test anything needed between the choices of the elections.

Comment on lines +325 to 351
export type RenderWith = {
id: string
}
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't be required to do this, since it's already declared in ui-components (use that instead).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@elboletaire elboletaire marked this pull request as draft October 18, 2024 07:55
@elboletaire
Copy link
Member

Set as draft, since the dependency is a draft too

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