-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewed By Customer #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean, love it
pages/index.html
Outdated
@@ -44,107 +44,93 @@ | |||
</script> | |||
</head> | |||
|
|||
<body id="search" class="CoveoSearchInterface" data-enable-history="true" style="padding: 1em;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the padding gone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't answer...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I gave you a general answer to your question about your file in a previous comment:
This file is only used for testing purposes. I based my template on the one from the JSUI and cleaned it because there was a main-section in another main section + duplicate code and all.
I don't think there's real value to be gained to further modify it because if you need it for development you're bound to customize it further.
Also my previous comment apply + the one of Analytic:
As I said, it's based on the Search page template of the coveo/search-ui.
https://github.com/coveo/search-ui/blob/master/pages/All.html I invite to check it out, you won't find an Analytics.
pages/index.html
Outdated
@@ -44,107 +44,93 @@ | |||
</script> | |||
</head> | |||
|
|||
<body id="search" class="CoveoSearchInterface" data-enable-history="true" style="padding: 1em;"> | |||
<span class="CoveoAnalytics"></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the Analytics gone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said, it's based on the Search page template of the coveo/search-ui.
https://github.com/coveo/search-ui/blob/master/pages/All.html I invite to check it out, you won't find an Analytics.
pages/index.html
Outdated
</div> | ||
</div> | ||
<div class="CoveoHiddenQuery"></div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blank line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vraiment nice, small diff really help to review especially review unit tests 😉 .
We don't use em for font-size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and clean, good job 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Answer the questions and it should be fine to merge.
All changes to the file have been removed to reduce the complexity of the review
Waiting for coveo/search-ui#1170Goal
Implement a result component that indicate when a result have been seen by an user (identified when sending the query).
Allow basic customization:
Out of scopes, improvement for future PRs
Screenshots: