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

feat: svelte #31

Merged
merged 34 commits into from
Mar 3, 2024
Merged

feat: svelte #31

merged 34 commits into from
Mar 3, 2024

Conversation

storopoli
Copy link
Collaborator

@storopoli storopoli commented Feb 29, 2024

We are moving to Svelte as the main UI/Fullstack Framework:

The idea is to not touch pa (the power/ crate).
It will be still an emscripten WASM blob.
We need very little frontend in JS. Just to send the JSON to pa and get back some JSON,
e.g. {"test": "oneSampleTTest", "tail": "1", "analysis": "n", "n": 50, "alpha": 0.05,"power": 0.95,"es": 0.5} and then get back {"n": 45}.
This will enable us to get the reactive conditional rendering on the analysis using Svelte components.
(Some tests have different greek letter for the Noncentrality parameter and also different UI fields for the user to input, these are easy to handle with Svelte)

Additionally, we can do better sanitization of the user inputs before passing internally to pa's WASM (related #19),
and better error handling possibilities (related #18).

Superseds #29.

TODO

  • Replicate Current UI

@storopoli storopoli marked this pull request as ready for review March 3, 2024 11:23
@storopoli storopoli merged commit 38cb358 into main Mar 3, 2024
2 checks passed
@storopoli storopoli deleted the js/svelte branch March 3, 2024 11:26
@storopoli storopoli self-assigned this Mar 3, 2024
@storopoli storopoli added enhancement New feature or request svelte labels Mar 3, 2024
@storopoli storopoli mentioned this pull request Mar 3, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request svelte
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant