diff --git a/webapp/src/app/modules/keywords-search/keywords-search.component.html b/webapp/src/app/modules/keywords-search/keywords-search.component.html index b136c30d..26a29eea 100644 --- a/webapp/src/app/modules/keywords-search/keywords-search.component.html +++ b/webapp/src/app/modules/keywords-search/keywords-search.component.html @@ -1,26 +1,50 @@
-
- - -
- - Füge eine URL ein, um Keywords zu extrahieren - - + + +
+ + Füge eine URL ein, um Keywords zu extrahieren + + + +
+
+ + +
+ + Schreibe einen Text, um Keywords zu extrahieren + + +
- +
+
+
+ + + + +
+ @if (topicLegendGroups.length > 0) { + + + } - -
- - Schreibe einen Text, um Keywords zu extrahieren - - -
- + +
+
+
+ @if (areAllSelected()) { + + } @else { + + } +
+
+ + + + text_fields + Extrahierte Keywords + + + account_tree + Topic Mapping + + +
+ +
+ +
+
+ +
+
- - - @if (isExtracting() || keywordsExist()) { - -
- - @if (keywordsExist()) { - - -
- @if (topicLegendGroups.length > 0) { - - - } +
- -
-
-
- @if (areAllSelected()) { - - } @else { - - } -
-
- - - - text_fields - Extrahierte Keywords - - - account_tree - Topic Mapping - - -
- -
- -
-
- -
- -
-
-
- - - - @if (keywords.length > 0) { -
- @for ( - keyword of keywords; - track keyword.llm_keyword.keyword - ) { - - - } -
- } @else { -

{{ emptyText }}

- } -
- - -
- @if (manualKeywords().length > 0) { - @for ( - keyword of manualKeywords(); - track keyword.llm_keyword.keyword - ) { -
- - - -
- } - } @else { -

Nichts hinzugefügt

- } - @if (loadingNewKeyword()) { -
- - - -
- } -
-
- - - @if (!isMobile()) { -
-
-
- Breite Keywords -
-
- Coarse Keywords -
-
- Fine Keywords -
-
- Eigene Keywords -
-
- -
-
- -
- -
- -
- -
- -
- -
- -
-
-
- } @else { - - - - - Breit - {{ - broadKeywords().length - }} - -
- -
-
- - - - Coarse - {{ - coarseKeywords().length - }} - -
- -
-
- - - - Fine - {{ fineKeywords().length }} - -
- -
-
- - - - Eigene - {{ - manualKeywords().length - }} - -
- -
-
-
- } - - - @if (sourceContent().length > 0) { - - - - Quellentext: {{ sourceUrl() }} - -
{{ sourceContent() }}
-
- } - - } @else { - @if (isExtracting()) { - + + + @if (keywords.length > 0) { +
+ @for (keyword of keywords; track keyword.llm_keyword.keyword) { + + } - } - - - @if (isExtracting() && keywordsExist()) { -
{{ statusMessage() }}
+
+ } @else { +

{{ emptyText }}

} -
+ + + +
+ @if (manualKeywords().length > 0) { + @for ( + keyword of manualKeywords(); + track keyword.llm_keyword.keyword + ) { +
+ + + +
+ } + } @else { +

Nichts hinzugefügt

+ } + @if (loadingNewKeyword()) { +
+ + + +
+ } +
+
+ + + @if (!isMobile()) { +
+
+
Breite Keywords
+
Coarse Keywords
+
+ Fine Keywords +
+
Eigene Keywords
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ } @else { + + + + + Breit + {{ broadKeywords().length }} + +
+ +
+
+ + + + Coarse + {{ coarseKeywords().length }} + +
+ +
+
+ + + + Fine + {{ fineKeywords().length }} + +
+ +
+
+ + + + Eigene + {{ manualKeywords().length }} + +
+ +
+
+
+ } + + + @if (sourceContent().length > 0) { + + + + Quellentext: {{ sourceUrl() }} + +
{{ sourceContent() }}
+
+ } + + @if (isExtracting() && !keywordsExist()) { + } - @if (keywordsExist()) { - -
- - -
- } -
- - @if (showVisualization() && selectedKeywords().length > 0) { -
- -
+ + + @if (isExtracting() && keywordsExist()) { +
{{ statusMessage() }}
}
+ +@if (keywordsExist()) { + +
+ + +
+} + + +@if (showVisualization() && selectedKeywords().length > 0) { +
+ +
+} diff --git a/webapp/src/app/modules/keywords-search/keywords-search.component.scss b/webapp/src/app/modules/keywords-search/keywords-search.component.scss index 8d102102..014638f3 100644 --- a/webapp/src/app/modules/keywords-search/keywords-search.component.scss +++ b/webapp/src/app/modules/keywords-search/keywords-search.component.scss @@ -11,7 +11,6 @@ $touch-target: 44px; .content { container-type: inline-size; container-name: keyword-tool; - display: flex; flex-direction: column; gap: clamp(0.5rem, 1.5vw, 0.75rem); @@ -83,7 +82,7 @@ $touch-target: 44px; @container keyword-tool (max-width: #{$tablet}) { .toolbar-wrapper { grid-template-columns: 1fr; - border-left: none; + border: none; } .toolbar-controls--placeholder { @@ -186,13 +185,11 @@ mat-button-toggle-group { display: grid; grid-template-columns: 1fr; gap: 1rem; - border: 0; } .keyword-card { background-color: var(--sg-background); padding: 0.5rem; - border: 0; .mat-card-header { padding: 0 0 0.5rem 0; @@ -444,7 +441,6 @@ mat-button-toggle-group { width: 100%; } } - /* ============================================================ TABS (URL / Text) — stretch on smaller containers ============================================================ */ @@ -558,7 +554,7 @@ mat-button-toggle-group { PROGRESS BAR ============================================================ */ .progress-container { - min-height: 500px; + min-height: 300px; margin-top: 0.5rem; position: relative; padding: 1rem;