From 109fd7d11ebdbd7a5424665b0028a9d64220314f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 1 Oct 2024 20:36:15 -0700 Subject: [PATCH] Update frontend hint, use textarea for multiline --- src-ui/messages.xlf | 6 +++- src-ui/src/app/app.module.ts | 2 ++ .../storage-path-edit-dialog.component.html | 2 +- .../storage-path-edit-dialog.component.ts | 4 +-- .../input/textarea/textarea.component.html | 23 ++++++++++++++ .../input/textarea/textarea.component.scss | 0 .../input/textarea/textarea.component.spec.ts | 31 +++++++++++++++++++ .../input/textarea/textarea.component.ts | 24 ++++++++++++++ .../storage-path-list.component.ts | 3 +- 9 files changed, 90 insertions(+), 5 deletions(-) create mode 100644 src-ui/src/app/components/common/input/textarea/textarea.component.html create mode 100644 src-ui/src/app/components/common/input/textarea/textarea.component.scss create mode 100644 src-ui/src/app/components/common/input/textarea/textarea.component.spec.ts create mode 100644 src-ui/src/app/components/common/input/textarea/textarea.component.ts diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index f5d270376..47c3b8c0f 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -4698,6 +4698,10 @@ src/app/components/common/input/text/text.component.html 9 + + src/app/components/common/input/textarea/textarea.component.html + 9 + src/app/components/common/input/url/url.component.html 7 @@ -7885,7 +7889,7 @@ Do you really want to delete the storage path ""? src/app/components/manage/storage-path-list/storage-path-list.component.ts - 52 + 53 diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 005de5369..13db08ea9 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -41,6 +41,7 @@ import { DocumentCardSmallComponent } from './components/document-list/document- import { BulkEditorComponent } from './components/document-list/bulk-editor/bulk-editor.component' import { NgxFileDropModule } from 'ngx-file-drop' import { TextComponent } from './components/common/input/text/text.component' +import { TextAreaComponent } from './components/common/input/textarea/textarea.component' import { SelectComponent } from './components/common/input/select/select.component' import { CheckComponent } from './components/common/input/check/check.component' import { UrlComponent } from './components/common/input/url/url.component' @@ -433,6 +434,7 @@ function initializeApp(settings: SettingsService) { DocumentCardSmallComponent, BulkEditorComponent, TextComponent, + TextAreaComponent, SelectComponent, CheckComponent, UrlComponent, diff --git a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html index ecec393c9..32d663db8 100644 --- a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html @@ -10,7 +10,7 @@