Browse Source
Feature/improve search results of assistant to only display categories with content (#5053)
* Improve search results
* Update changelog
pull/5056/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
33 additions and
34 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/assistant/assistant.html
|
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the search results of the assistant to only display categories with content |
|
|
|
- Renamed `Account` to `account` in the `Order` database schema |
|
|
|
|
|
|
|
## 2.175.0 - 2025-06-28 |
|
|
|
|
|
@ -44,7 +44,7 @@ |
|
|
|
Quick Links |
|
|
|
</div> |
|
|
|
@for ( |
|
|
|
searchResultItem of searchResults?.quickLinks; |
|
|
|
searchResultItem of searchResults.quickLinks; |
|
|
|
track searchResultItem |
|
|
|
) { |
|
|
|
<gf-assistant-list-item |
|
|
@ -64,12 +64,13 @@ |
|
|
|
} |
|
|
|
</div> |
|
|
|
} |
|
|
|
@if (searchResults?.holdings?.length !== 0 || isLoading.holdings) { |
|
|
|
<div> |
|
|
|
<div class="font-weight-bold px-3 text-muted title" i18n> |
|
|
|
Holdings |
|
|
|
</div> |
|
|
|
@for ( |
|
|
|
searchResultItem of searchResults?.holdings; |
|
|
|
searchResultItem of searchResults.holdings; |
|
|
|
track searchResultItem |
|
|
|
) { |
|
|
|
<gf-assistant-list-item |
|
|
@ -77,7 +78,6 @@ |
|
|
|
(clicked)="onCloseAssistant()" |
|
|
|
/> |
|
|
|
} |
|
|
|
@if (searchResults?.holdings?.length === 0) { |
|
|
|
@if (isLoading.holdings) { |
|
|
|
<ngx-skeleton-loader |
|
|
|
animation="pulse" |
|
|
@ -87,18 +87,20 @@ |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
/> |
|
|
|
} @else { |
|
|
|
<div class="px-3 py-1 text-muted" i18n>No entries...</div> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
@if (hasPermissionToAccessAdminControl) { |
|
|
|
} |
|
|
|
@if ( |
|
|
|
hasPermissionToAccessAdminControl && |
|
|
|
(searchResults?.assetProfiles?.length !== 0 || |
|
|
|
isLoading.assetProfiles) |
|
|
|
) { |
|
|
|
<div class="mt-2"> |
|
|
|
<div class="font-weight-bold px-3 text-muted title" i18n> |
|
|
|
Asset Profiles |
|
|
|
</div> |
|
|
|
@for ( |
|
|
|
searchResultItem of searchResults?.assetProfiles; |
|
|
|
searchResultItem of searchResults.assetProfiles; |
|
|
|
track searchResultItem |
|
|
|
) { |
|
|
|
<gf-assistant-list-item |
|
|
@ -106,7 +108,6 @@ |
|
|
|
(clicked)="onCloseAssistant()" |
|
|
|
/> |
|
|
|
} |
|
|
|
@if (searchResults?.assetProfiles?.length === 0) { |
|
|
|
@if (isLoading.assetProfiles) { |
|
|
|
<ngx-skeleton-loader |
|
|
|
animation="pulse" |
|
|
@ -116,9 +117,6 @@ |
|
|
|
width: '100%' |
|
|
|
}" |
|
|
|
/> |
|
|
|
} @else { |
|
|
|
<div class="px-3 py-1 text-muted" i18n>No entries...</div> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
} |
|
|
|