Skip to content

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.

Changes:

  • Creates a layout to support renderwith and adapt the code an all the places to support this
  • Some layout fixes and unification
  • ConfirmVoteModal refactor to support new confirmation function parameters (now return a Record<string, FieldValues>. Is a dictionary of election ids with the field values)

Some considerations

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

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

It also changes strict: false on tsconfig.json to be able to pass the lintern. For some reason this causes lintern issues on wagmi and rainbowkit configuration code, check ed3d28c for more info.

* Implement BlindCSPConnect

* Implement demo landing page

* Implement demo landing page

* Fix route

* Fix undefined

This fixes that if not meta.default defined, an `undefined` is pushed to the array, causing problems on following code

* Fix show connect button for blind csp

* Fix empty wallet

* Delete console log

* Add demo meta as env var
@selankon selankon force-pushed the f/implement-multiprocess branch 3 times, most recently from cd4930e to 10501b2 Compare October 11, 2024 07:51
@selankon selankon requested a review from elboletaire October 14, 2024 11:48
* Bump packages

* Bump VocdoniSDK 0.9.1

* Bump packages

* Unfix Vocdoni SDK version
@selankon selankon force-pushed the f/implement-multiprocess branch from 9931ff1 to 4b32a38 Compare October 17, 2024 10:48
@selankon selankon force-pushed the f/implement-multiprocess branch from 4b32a38 to c4ede87 Compare October 18, 2024 07:52
@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

@selankon selankon force-pushed the f/implement-multiprocess branch from 34d9d90 to 1010e38 Compare October 22, 2024 11:04
@selankon selankon force-pushed the f/implement-multiprocess branch from 302e31f to d1f324e Compare November 11, 2024 13:48
@selankon selankon force-pushed the f/implement-multiprocess branch from 9063a9e to 70cbe70 Compare November 13, 2024 11:18
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.

3 participants