diff --git a/frontend/src/app/app.component.css b/frontend/src/app/app.component.css index 5c8680e58..0aced99f4 100644 --- a/frontend/src/app/app.component.css +++ b/frontend/src/app/app.component.css @@ -38,7 +38,7 @@ position: sticky; top: 0; - z-index: 2; + z-index: 3; } .nav-bar_exterior { @@ -54,7 +54,7 @@ .nav-bar_connection { display: grid; grid-template-columns: repeat(3, 1fr); - z-index: 2; + z-index: 3; } @media (width <= 600px) { diff --git a/frontend/src/app/components/connect-db/db-credentials-forms/db2-credentials-form/db2-credentials-form.component.html b/frontend/src/app/components/connect-db/db-credentials-forms/db2-credentials-form/db2-credentials-form.component.html index e7052df2a..f5016f42c 100644 --- a/frontend/src/app/components/connect-db/db-credentials-forms/db2-credentials-form/db2-credentials-form.component.html +++ b/frontend/src/app/components/connect-db/db-credentials-forms/db2-credentials-form/db2-credentials-form.component.html @@ -113,9 +113,10 @@ Use SSH tunnel - + Private SSH key + Sensitive — write only field. Private SSH key should not be empty. @@ -150,9 +152,10 @@ SSH port should not be empty. - + SSH username + + +
+
+ + +
+ + +
+ +
+ +
+ + + + +
+ + Back + + + +
+
+ + +
+ +

+ Customize how fields look in forms and tables + Nothing will be changed in your data types, just better reflecting the nature of the data. +

+ + + +
+
+ + + arrow_downward + + +
+ +
+ + + arrow_downward + + +
+ +
+ + + arrow_downward + + +
+ +
+ + + arrow_downward + + +
+
+ +
+ + + +
+
+
+
\ No newline at end of file diff --git a/frontend/src/app/components/foreign-key-row/foreign-key-row.component.ts b/frontend/src/app/components/foreign-key-row/foreign-key-row.component.ts new file mode 100644 index 000000000..be4443e01 --- /dev/null +++ b/frontend/src/app/components/foreign-key-row/foreign-key-row.component.ts @@ -0,0 +1,23 @@ +import { Component, Input, OnInit } from '@angular/core'; + +import { FormGroup } from '@angular/forms'; + +@Component({ + selector: 'app-foreign-key-row', + templateUrl: './foreign-key-row.component.html', + styleUrls: ['./foreign-key-row.component.scss'] +}) +export class ForeignKeyRowComponent implements OnInit { + @Input() form: FormGroup; + @Input() field: any; + @Input() options: any[]; + + constructor() { } + + ngOnInit(): void { + } + + trackByFn(index: number, item: any): any { + return item.id || index; // Adjust based on unique identifier + } +} \ No newline at end of file diff --git a/frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.html b/frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.html index fc77bf91a..cb1b60249 100644 --- a/frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.html +++ b/frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.html @@ -10,11 +10,13 @@ [matAutocomplete]="auto" (ngModelChange)="autocmpleteUpdate.next($event)"> - - {{suggestion.displayString}} - + @for (suggestion of suggestions; track suggestion.fieldValue) { + + {{suggestion.displayString}} + + } Improve search performance by configuring Foreign key search fields  here.