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

Refactor ROIToolbar using react-science PanelHeader #58

Merged
merged 5 commits into from
Aug 23, 2023

Conversation

wadjih-bencheikh18
Copy link
Contributor

closes : #53

@wadjih-bencheikh18 wadjih-bencheikh18 linked an issue Aug 20, 2023 that may be closed by this pull request
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 21, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 21fb759
Status: ✅  Deploy successful!
Preview URL: https://147a9be2.pixelium.pages.dev
Branch Preview URL: https://53-use-panelheader.pixelium.pages.dev

View logs

@stropitek stropitek requested a review from lpatiny August 22, 2023 08:08
@lpatiny
Copy link
Contributor

lpatiny commented Aug 23, 2023

The header should not scroll and disappear

image

image

The header should also be smaller

image

The cancel / validate should be on the right and closer to each other

image

If this is not the default preferences in react-science it should be checked why because it is like that in nmrium (but not sure it is coming from react-science).

@wadjih-bencheikh18
Copy link
Contributor Author

If this is not the default preferences in react-science it should be checked why because it is like that in nmrium (but not sure it is coming from react-science)

No, we're not using them yet in nmruim.

@wadjih-bencheikh18
Copy link
Contributor Author

Also in this PR I didn't use PanelPreferencesToolbar of react-science
but I did and fixed the PanelHeader style in the last commits

@lpatiny lpatiny merged commit babd5ef into main Aug 23, 2023
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.

Use PanelHeader
3 participants