From cb23d726fe7970eca8cb68f65855ef50cd38781d Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 5 Jul 2026 16:34:35 -0600 Subject: [PATCH] feat(databases): add copy button to User and Database Name fields (#4735) * feat(databases): add copy button to User and Database Name fields Adds an enableCopyButton prop to the Input component and uses it on the User, Database Name, and Internal Host fields across Postgres, MySQL, MariaDB, MongoDB, Redis, and Libsql credential views. Closes #4495 * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- .../show-internal-libsql-credentials.tsx | 4 +- .../show-internal-mariadb-credentials.tsx | 6 +- .../show-internal-mongo-credentials.tsx | 4 +- .../show-internal-mysql-credentials.tsx | 6 +- .../show-internal-postgres-credentials.tsx | 6 +- .../show-internal-redis-credentials.tsx | 4 +- apps/dokploy/components/ui/input.tsx | 99 ++++++++++++------- apps/dokploy/server/api/routers/deployment.ts | 4 +- 8 files changed, 79 insertions(+), 54 deletions(-) diff --git a/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx b/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx index bcdc75a25..dbd344d99 100644 --- a/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx +++ b/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx @@ -28,7 +28,7 @@ export const ShowInternalLibsqlCredentials = ({ libsqlId }: Props) => {