Skip to content

Toggle app scaling from table view#129

Open
thgh wants to merge 1 commit intocaprover:masterfrom
thgh:feat/scale-from-table
Open

Toggle app scaling from table view#129
thgh wants to merge 1 commit intocaprover:masterfrom
thgh:feat/scale-from-table

Conversation

@thgh
Copy link
Copy Markdown
Contributor

@thgh thgh commented Oct 3, 2023

Still kind of annoying that the table dissappears while it's revalidating. Will send another PR for that.

Copy link
Copy Markdown
Collaborator

@githubsaturn githubsaturn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a few minor comments.

onClick={async () => {
const warning =
'Do you want to turn this app OFF?'
if (instanceCount && !window.confirm(warning))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1- I think we should also have a confirmation for turning on to avoid accidental clicks.

2- Suggest using modal.confirm from ant design to match the existing UI.

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.

2 participants