+ Paste your database connection URI below to automatically fill in all the credentials fields. The string is not stored — only the parsed values are used.
+
I've given access
-
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.css b/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.css
index 9f76e0077..e80bcba87 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.css
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.css
@@ -47,3 +47,35 @@
.checkbox-line {
margin-bottom: 16px;
}
+
+@media (prefers-color-scheme: light) {
+ .autofilled ::ng-deep .mdc-notched-outline__leading,
+ .autofilled ::ng-deep .mdc-notched-outline__notch,
+ .autofilled ::ng-deep .mdc-notched-outline__trailing {
+ border-color: var(--color-successPalette-500) !important;
+ }
+
+ .autofilled ::ng-deep .mat-mdc-floating-label {
+ color: var(--color-successPalette-700);
+ }
+
+ .autofilled ::ng-deep .mat-mdc-text-field-wrapper {
+ background-color: var(--success-background-color);
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ .autofilled ::ng-deep .mdc-notched-outline__leading,
+ .autofilled ::ng-deep .mdc-notched-outline__notch,
+ .autofilled ::ng-deep .mdc-notched-outline__trailing {
+ border-color: var(--color-successDarkPalette-500) !important;
+ }
+
+ .autofilled ::ng-deep .mat-mdc-floating-label {
+ color: var(--color-successDarkPalette-300);
+ }
+
+ .autofilled ::ng-deep .mat-mdc-text-field-wrapper {
+ background-color: color-mix(in hsl, var(--color-successDarkPalette-500), transparent 90%);
+ }
+}
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.ts b/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.ts
index de9dda864..ccb21c467 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.ts
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/base-credentials-form/base-credentials-form.component.ts
@@ -13,13 +13,19 @@ export class BaseCredentialsFormComponent {
@Input() submitting: boolean;
@Input() masterKey: string;
@Input() accessLevel: string;
+ @Input() autoFilledFields: Set = new Set();
@Output() switchToAgent = new EventEmitter();
@Output() masterKeyChange = new EventEmitter();
+ @Output() fieldChange = new EventEmitter();
public tunnelingServiceLink = 'https://docs.rocketadmin.com/Create%20connections/Direct%20connection/create_pinggy';
handleMasterKeyChange(newMasterKey: string): void {
this.masterKeyChange.emit(newMasterKey);
}
+
+ clearAutoFilled(field: string): void {
+ this.fieldChange.emit(field);
+ }
}
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/cassandra-credentials-form/cassandra-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/cassandra-credentials-form/cassandra-credentials-form.component.html
index 11eefefb4..685f4eefd 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/cassandra-credentials-form/cassandra-credentials-form.component.html
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/cassandra-credentials-form/cassandra-credentials-form.component.html
@@ -1,10 +1,11 @@
-
+Hostname
Hostname is invalid.
-
+Port
Port should not be empty.
-
+Username
Username should not be empty.
-
+Password
Password needed due to hostname/port change.
-
+Database name
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Email should not be empty -->
-
+Database Name
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Email should not be empty -->
-
+Database Name
Name should not be empty
-
+Schema
+Hostname
Hostname must start with "https://"
-
+Username
Username should not be empty
-
+Password
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
-
+ UsernameUsername should not be empty
-
+ Database name
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/mongodb-credentials-form/mongodb-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/mongodb-credentials-form/mongodb-credentials-form.component.html
index 9476bdbf6..769f4d381 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/mongodb-credentials-form/mongodb-credentials-form.component.html
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/mongodb-credentials-form/mongodb-credentials-form.component.html
@@ -1,10 +1,11 @@
-
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Password needed due to hostname/port change
-
+Database name
Name should not be empty
-
+Authentication database
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Password needed due to hostname/port change
-
+Database name
Name should not be empty
-
+Schema
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Email should not be empty -->
-
+Database Name
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Password needed due to hostname/port change
-
+Database Name
Name should not be empty
-
+Schema
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/postgres-credentials-form/postgres-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/postgres-credentials-form/postgres-credentials-form.component.html
index 1c843311a..ed2371b1a 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/postgres-credentials-form/postgres-credentials-form.component.html
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/postgres-credentials-form/postgres-credentials-form.component.html
@@ -1,10 +1,11 @@
-
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Username
Username should not be empty
-
+Password
Password needed due to hostname/port change
-
+Database Name
Name should not be empty
-
+Schema
diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html
index 547e5d96c..53a458f60 100644
--- a/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html
+++ b/frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html
@@ -1,10 +1,11 @@
-
+Hostname
Hostname is invalid
-
+Port
Port should not be empty
-
+Password
-
+ UsernameUsername should not be empty
-
+ Database name
diff --git a/frontend/src/app/components/dashboard/dashboard.component.css b/frontend/src/app/components/dashboard/dashboard.component.css
index 17145b767..082580985 100644
--- a/frontend/src/app/components/dashboard/dashboard.component.css
+++ b/frontend/src/app/components/dashboard/dashboard.component.css
@@ -314,3 +314,32 @@
.sidenav-content__toggle-button {
display: none !important;
}
+
+.schema-editor-panel {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 0;
+ background: var(--mat-sidenav-content-background-color);
+ border-top: 1px solid rgba(0, 0, 0, 0.12);
+ box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
+ overflow: hidden;
+ transition: height 0.3s ease;
+ z-index: 100;
+}
+
+.schema-editor-panel--open {
+ height: 380px;
+}
+
+.table-preview-content--panel-open {
+ padding-bottom: 380px;
+}
+
+@media (prefers-color-scheme: dark) {
+ .schema-editor-panel {
+ border-top-color: rgba(255, 255, 255, 0.12);
+ box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
+ }
+}
diff --git a/frontend/src/app/components/dashboard/dashboard.component.html b/frontend/src/app/components/dashboard/dashboard.component.html
index 184bba354..1db0ed844 100644
--- a/frontend/src/app/components/dashboard/dashboard.component.html
+++ b/frontend/src/app/components/dashboard/dashboard.component.html
@@ -1,4 +1,4 @@
-
+
@@ -21,14 +21,12 @@
-
-
Rocketadmin can not find any tables
-
- Rocketadmin don't have access to connection tables or there aren't any.
- Please grant us access to required tables or create new table.
- You can create a table with SQL editor
-