Skip to content

Added confirmation dialog to database delete action and changed layout#40

Open
VladPxC wants to merge 1 commit into
PHOENIXCONTACT:devfrom
VladPxC:dev
Open

Added confirmation dialog to database delete action and changed layout#40
VladPxC wants to merge 1 commit into
PHOENIXCONTACT:devfrom
VladPxC:dev

Conversation

@VladPxC

@VladPxC VladPxC commented Dec 23, 2022

Copy link
Copy Markdown

When using the maintanance, we have noticed that the delete button for deleting the entire database is located above the tab for executing the setup scripts. Since the delete button also has a prominent colour, people tend to click on it quickly and delete the database by mistake. This happened repeatedly to several team members during the development phase and would be fatal on a production system.

Therefore, an additional confirmation prompt was added and the buttons were moved to the right in the layout to gain a little distance.

To avoid accidentally pressing the button, I have moved the button group to the right.
@CLAassistant

CLAassistant commented Dec 23, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@VladPxC

VladPxC commented Dec 23, 2022

Copy link
Copy Markdown
Author

Just an additional note: I could not build after checking out the repository until I had "@types/react-router-dom": "^5.3.3" downgraded to "@types/react-router-dom": "^5.1.5" .

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