[ 
https://issues.apache.org/jira/browse/CAMEL-15335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167956#comment-17167956
 ] 

Aemie commented on CAMEL-15335:
-------------------------------

[~zregvart] I am strictly making use of the results that come from algolia 
only. In the JS file shown, it was only to showcase the snippet of the code to 
achieve pagination. Yes, we have categorized however the point is we have 10 
results and it takes up 80% of the height ( I wanted to prevent that 'cause I 
find it untidy to have a huge height to search results ).

If we observe in the Bootstrap website, the size of the search result is 
minimal and I wanted to achieve that but the difference between bootstrap and 
camel website, the camel website is highly documented and I find it necessary 
to show the top 10 results at least. So in the Algolia UI (the link which you 
first sent me of), they make use of pagination within the search results and to 
me, I wanted to combine less vertical space of search result (no scrollbar) and 
pagination for the search result layout.

Thus, I came up with a logic to segregate the data from Algolia into pages with 
3 search results in each.

> Search Result Layout
> --------------------
>
>                 Key: CAMEL-15335
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15335
>             Project: Camel
>          Issue Type: Improvement
>          Components: website
>            Reporter: Aemie
>            Priority: Major
>         Attachments: distributeData.js, search-result#1.png, 
> search-result#3.png, search-result-design#2.png
>
>
> The current search result design doesn't fit entirely with the website 
> design. Thus, I wanted to introduce a few changes to how we present it. Also, 
> in addition to I would like to suggest that we include only the top 5 or top 
> 6 results and not 10 as the pages are ranked by weight based on the search 
> query and presented so a good practice would show fewer results which are 
> precise.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to