Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add site search #2607

Closed
samajammin opened this issue Apr 17, 2020 · 13 comments
Closed

Add site search #2607

samajammin opened this issue Apr 17, 2020 · 13 comments
Labels

Comments

@samajammin
Copy link
Member

This issue is specific to the web application eips.ethereum.org

I've had multiple conversations on improving the UX of the website & the biggest request I've heard is to add site search to this website.

I think the implementation could look very similar to https://blog.ethereum.org/search/

Algolia provides free DocSearch to public websites:
https://docsearch.algolia.com/

They're also both Jekyll sites. Here's the Jekyll plugin:
https://github.com/algolia/jekyll-algolia

Should be fairly easy to mimic that implementation:
https://github.com/ethereum/blog/pull/328

@samajammin
Copy link
Member Author

If there's interest in this feature, I can try to prioritize this at some point within the next few weeks.

Otherwise, @evertonfraga - I don't want to volunteer you 😅 but perhaps when have some free time... I imagine this would be easy for you implement given your recent experience.

@evertonfraga
Copy link
Member

That's #1 on my golden bucket list. I beg to implement this 😆

@evertonfraga
Copy link
Member

evertonfraga commented Apr 17, 2020

The only caveat is that Jekyll-algolia plugin is not whitelisted by GitHub, so either:

a) the CI installs that gem, and makes the indexes updates during build time
b) we get EIPs website migrated to Netlify (i wouldn't complain), just like we did with the blog

@Souptacular
Copy link
Contributor

@evertonfraga I'm cool migrating this to netlify, but I want to understand more about how it is currently hosted/deployed. Do you have a background on that?

@axic
Copy link
Member

axic commented Apr 22, 2020

Github pages, handled by github.

@Souptacular
Copy link
Contributor

@axic does the CI happen in GitHub?

@Souptacular
Copy link
Contributor

Oh wait I think I see. It uses GitHub pages to publish. If that is the case, how are they using the custom EIP gem: https://github.com/ethereum/eip_validator?

@axic
Copy link
Member

axic commented Apr 22, 2020

That is not part of the Github Pages run, that is part of the pre-merge CI run.

@evertonfraga
Copy link
Member

that's helpful. so I assume the CI job commits the resulting static site to gh-pages branch, and GitHub just published them. If that's the case, we shouldn't need to migrate over to another platform.

By the way, @axic what's your opinion on this issue's search proposal? Please take a look on the EF blog search for reference: https://blog.ethereum.org/search/

@axic
Copy link
Member

axic commented Apr 22, 2020

Just checked again (I don't have access to the "Settings" page here) and I think it works as follows:
master is the github pages branch (and not the usual gh-pages). Since it is a regular github-pages compatible jekyll, github just picks it up without issues. This also means the problem raised by @evertonfraga is likely a problem (#2607 (comment)). Also the CI for merge (see .travis.yml) is only used for PRs.

Please take a look on the EF blog search for reference: https://blog.ethereum.org/search/

Looks nice!

@Souptacular
Copy link
Contributor

Where does the CI happen? I'm not skilled in CI programs so I can't tell.

@github-actions
Copy link

github-actions bot commented Nov 7, 2021

There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review.

@github-actions github-actions bot added the stale label Nov 7, 2021
@github-actions
Copy link

This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants