-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jan
authored
Sep 6, 2022
1 parent
de72c25
commit 307ecee
Showing
8 changed files
with
385 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Enhancement: Search improvements | ||
|
||
We've improved the search, it will show now if no results according to term was found or if the results exceeds the | ||
search limit. | ||
We've also navigate to the last page while clicking the x in the search input field. | ||
|
||
https://github.com/owncloud/web/pull/7586 | ||
https://github.com/owncloud/web/issues/5644 | ||
https://github.com/owncloud/web/issues/7587 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 28 additions & 18 deletions
46
packages/web-app-files/tests/unit/components/Search/__snapshots__/List.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`List component when no resource is found should show no-content-message component 1`] = ` | ||
<div class="files-search-result"> | ||
<app-bar-stub breadcrumbs="" breadcrumbscontextactionsitems="" hasbulkactions="true" hassidebartoggle="true" hasviewoptions="true"></app-bar-stub> | ||
<div class="oc-height-1-1 oc-flex oc-flex-column oc-flex-center oc-flex-middle oc-text-center files-empty"> | ||
<div class="oc-icon oc-icon-xxl oc-icon-passive"> | ||
<!----> | ||
<div class="files-search-result oc-flex"> | ||
<div class="files-view-wrapper oc-width-expand"> | ||
<div id="files-view"> | ||
<app-bar-stub breadcrumbs="" breadcrumbscontextactionsitems="" hassidebartoggle="true" hasviewoptions="true"></app-bar-stub> | ||
<div class="oc-height-1-1 oc-flex oc-flex-column oc-flex-center oc-flex-middle oc-text-center files-empty"> | ||
<div class="oc-icon oc-icon-xxl oc-icon-passive"> | ||
<!----> | ||
</div> | ||
<div class="oc-text-muted oc-text-xlarge"> | ||
<p class="oc-text-muted"><span data-msgid="No search term entered" data-current-language="en_US">No search term entered</span></p> | ||
</div> | ||
<div class="oc-text-muted"></div> | ||
</div> | ||
</div> | ||
<div class="oc-text-muted oc-text-xlarge"> | ||
<p class="oc-text-muted"><span data-msgid="No search term entered" data-current-language="en_US">No search term entered</span></p> | ||
</div> | ||
<div class="oc-text-muted"></div> | ||
</div> | ||
<!----> | ||
</div> | ||
`; | ||
|
||
exports[`List component when no search term is entered should show no-content-message component 1`] = ` | ||
<div class="files-search-result"> | ||
<app-bar-stub breadcrumbs="" breadcrumbscontextactionsitems="" hasbulkactions="true" hassidebartoggle="true" hasviewoptions="true"></app-bar-stub> | ||
<div class="oc-height-1-1 oc-flex oc-flex-column oc-flex-center oc-flex-middle oc-text-center files-empty"> | ||
<div class="oc-icon oc-icon-xxl oc-icon-passive"> | ||
<!----> | ||
</div> | ||
<div class="oc-text-muted oc-text-xlarge"> | ||
<p class="oc-text-muted"><span data-msgid="No search term entered" data-current-language="en_US">No search term entered</span></p> | ||
<div class="files-search-result oc-flex"> | ||
<div class="files-view-wrapper oc-width-expand"> | ||
<div id="files-view"> | ||
<app-bar-stub breadcrumbs="" breadcrumbscontextactionsitems="" hassidebartoggle="true" hasviewoptions="true"></app-bar-stub> | ||
<div class="oc-height-1-1 oc-flex oc-flex-column oc-flex-center oc-flex-middle oc-text-center files-empty"> | ||
<div class="oc-icon oc-icon-xxl oc-icon-passive"> | ||
<!----> | ||
</div> | ||
<div class="oc-text-muted oc-text-xlarge"> | ||
<p class="oc-text-muted"><span data-msgid="No search term entered" data-current-language="en_US">No search term entered</span></p> | ||
</div> | ||
<div class="oc-text-muted"></div> | ||
</div> | ||
</div> | ||
<div class="oc-text-muted"></div> | ||
</div> | ||
<!----> | ||
</div> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.