dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Add copy button to User and Database Name in database credentials

Open caio-pellegrini opened this issue 6 months ago • 1 comments

What problem will this feature address?

When setting up a connection to a database, I frequently need to copy the User and Database Name fields. Currently, these fields don't have a copy button, unlike the Password and Internal Host fields which already have one. This forces me to manually select the text each time.

Describe the solution you'd like

Add a copy-to-clipboard button to the User and Database Name fields, consistent with the existing copy buttons already present on the Password and Internal Host fields.

Describe alternatives you've considered

Manually selecting and copying the text from the input field, which is the current workaround.

Additional context

The copy button already exists on the Password and Internal Host fields, so the pattern and component are already established in the codebase. This is a small, consistent change.

Will you send a PR to implement it?

Yes

caio-pellegrini avatar May 27 '26 11:05 caio-pellegrini

Image

Here's a screenshot showing the inconsistency — User and Database Name fields are missing the copy button that Password and Internal Host already have.

caio-pellegrini avatar May 27 '26 11:05 caio-pellegrini