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

Create a layout for preferences of search by monoisotopic mass #552

Open
lpatiny opened this issue Sep 15, 2023 · 1 comment
Open

Create a layout for preferences of search by monoisotopic mass #552

lpatiny opened this issue Sep 15, 2023 · 1 comment

Comments

@lpatiny
Copy link
Contributor

lpatiny commented Sep 15, 2023

We would need a nice looking layout for the following form:

image

For now it is just the layout based on the components: https://github.com/zakodium-oss/react-science/tree/main/src/components/forms

We will see after how to deal with modification of a global or local state (to be defined).

The component: MonoisotopicPrefsForm

should be placed in https://github.com/zakodium-oss/react-science/tree/main/src/app/kinds/mass/ and have a corresponding storybook so that I can test it.

@lpatiny lpatiny changed the title Create a layout for search by monoisotopic mass Create a layout for preferences of search by monoisotopic mass Sep 15, 2023
@stropitek
Copy link
Contributor

@lpatiny it does not belong in react-science IMO, at least not as a published component. It would be extremely specific.

But if you want to see how it could look, maybe @wadjih-bencheikh18 can create an example in the storybook.

There is everything we need in the FormGroup component of blueprintjs, it would just need some work on how the fields are laid out (maybe in a grid)

https://blueprintjs.com/docs/#core/components/form-group

CleanShot 2023-10-18 at 12 14 13

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

No branches or pull requests

3 participants