-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search: loading indicator, no result screen, extended search on enter
- open extended search on enter, solves #560 - show searching indicator, requested in https://community.zammad.org/t/delay-after-querying-a-search/405 - show no result screen, solves #788 - fix bug: when on ‘#search’, ‘show search results’ in the search sidebar was highlighted as active too because it links to #search - clear search when entering a search result
- Loading branch information
Showing
6 changed files
with
149 additions
and
46 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
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
4 changes: 4 additions & 0 deletions
4
app/assets/javascripts/app/views/navigation/no_result.jst.eco
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,4 @@ | ||
<li class="global-search-detail-no-result alert alert--warning horizontal" role="alert"> | ||
<%- @Icon('mood-sad') %> | ||
<span><%= @T('There is no match for your search.') %></span> | ||
</li> |
24 changes: 24 additions & 0 deletions
24
app/assets/javascripts/app/views/navigation/search_placeholder.jst.eco
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,24 @@ | ||
<li class="global-search-detail-placeholder"> | ||
<a class="nav-tab nav-tab--search"> | ||
<div class="nav-tab-icon"> | ||
<%- @Icon('task-state') %> | ||
</div> | ||
<span class="nav-tab-name"></span> | ||
</a> | ||
</li> | ||
<li class="global-search-detail-placeholder"> | ||
<a class="nav-tab nav-tab--search"> | ||
<div class="nav-tab-icon"> | ||
<%- @Icon('task-state') %> | ||
</div> | ||
<span class="nav-tab-name"></span> | ||
</a> | ||
</li> | ||
<li class="global-search-detail-placeholder"> | ||
<a class="nav-tab nav-tab--search"> | ||
<div class="nav-tab-icon"> | ||
<%- @Icon('task-state') %> | ||
</div> | ||
<span class="nav-tab-name"></span> | ||
</a> | ||
</li> |
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