-
Notifications
You must be signed in to change notification settings - Fork 2
Feat/127 get push node config node details #231
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/127 get push node config node details #231
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I bumped material ui version and fixed an issue with the page scrolling not being disabled when a modal opens |
| <div className={styles.buttons}> | ||
| <Button contentBefore={<DownloadIcon />} variant="outlined"> | ||
| Get node config | ||
| <Modal isOpen={isEditConfigDialogOpen} onClose={handleCloseModal} title="Edit node config"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would extract the config modal to its own component
|
|
||
| .modalButton { | ||
| margin-top: auto; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of these seem unused, maybe they are leftovers from before we extracted the withdraw/gas fee modals to separate components
| Get node config | ||
| <Modal isOpen={isEditConfigDialogOpen} onClose={handleCloseModal} title="Edit node config"> | ||
| <div className={styles.modalContent}> | ||
| {fetchingConfig && (!config || Object.keys(config).length === 0) ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a brief flash before displaying "Fetching config".
Maybe this condition works better:
fetchingConfig || !config || Object.keys(config).length === 0
Fixes # .
Changes proposed in this PR: