From acb3d38ad80454466c417b250e5457ddcb05ae69 Mon Sep 17 00:00:00 2001 From: Lyubov Voloshko Date: Fri, 26 Sep 2025 18:32:18 +0300 Subject: [PATCH] Settings page: move Columns to hide settings to the Table view category and minor spacing and alignment fixes --- .../db-table-settings.component.css | 10 ++++++++++ .../db-table-settings.component.html | 20 +++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css index 883c278b6..d267f61af 100644 --- a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css +++ b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.css @@ -5,6 +5,10 @@ padding: 36px 0 0; } +.settings-page .mat-mdc-form-field-bottom-align::before { + margin-left: 0; +} + .settings-form { width: 100%; } @@ -151,6 +155,11 @@ margin-top: -20px; } +.mat-form-field_excludedFields { + margin-top: 16px; + margin-bottom: 20px; +} + .actions { position: fixed; left: 0; @@ -163,6 +172,7 @@ height: 64px; padding: 0 max(calc(50vw - 325px), 10%); width: 100vw; + z-index: 2; } @media (prefers-color-scheme: dark) { diff --git a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.html b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.html index f70523a4d..d4db6bdd5 100644 --- a/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.html +++ b/frontend/src/app/components/dashboard/db-table-view/db-table-settings/db-table-settings.component.html @@ -144,6 +144,16 @@

Table view

Choose which columns allow you to sort their values by pressing the arrow next to the column's name. Columns which aren't selected will not be sortable. + + Columns to hide + + {{field}} + + Choose the columns you want to hide from the "Table" view and the "Edit row" view. This also removes the option to edit them. + +

"Edit row" behavior

You can edit a row by clicking on the "pencil" icon on the right.

@@ -156,16 +166,6 @@

"Edit ro Choose the columns Rocketadmin scans within a related table when using the foreign keys box. - - Columns to hide - - {{field}} - - Choose the columns you want to hide from the "Table" view and the "Edit row" view. This also removes the option to edit them. - - Read-only fields