Skip to content
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

Scaladoc/inkuire #12375

Merged
merged 38 commits into from
Jul 5, 2021
Merged

Scaladoc/inkuire #12375

merged 38 commits into from
Jul 5, 2021

Conversation

KacperFKorban
Copy link
Member

Adds PoC Hoogle-like searches to scaladoc.
e.g.
Peek 2021-05-07 18-02
Peek 2021-05-07 18-03

Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand this is a proof of concept but we shouldn't merge a PR containing a ~50000 lines json file and a ~2000 lines minimized javascript file. Either these files should be generated in the build, or if that can't be done for some reason they should be downloaded from the build.

@KacperFKorban KacperFKorban marked this pull request as draft May 9, 2021 21:22
@KacperFKorban
Copy link
Member Author

@smarter Ok, I meant for it to be a draft. The json will not be present in the final version. I just wanted to make sure that the scaladoc will be deployed for the pr.

@KacperFKorban KacperFKorban force-pushed the scaladoc/inkuire branch 2 times, most recently from 2a8fcb8 to 1163d6a Compare June 25, 2021 15:53
@KacperFKorban
Copy link
Member Author

Deployed scaladoc for this PR is here. Also more up to date demos look like this:
Peek 2021-06-30 13-49
Peek 2021-06-30 13-50

@KacperFKorban KacperFKorban marked this pull request as ready for review June 30, 2021 14:43
@KacperFKorban KacperFKorban requested a review from smarter June 30, 2021 14:46
Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't have time to review this further, could someone working on scaladoc review this pr instead?

scaladoc/resources/dotty_res/scripts/inkuire.js Outdated Show resolved Hide resolved
Copy link
Contributor

@pikinier20 pikinier20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've found few places that need polishing but besides that it's a very good job!

scaladoc-js/src/searchbar/SearchbarComponent.scala Outdated Show resolved Hide resolved
scaladoc/src/dotty/tools/scaladoc/Inkuire.scala Outdated Show resolved Hide resolved
@KacperFKorban KacperFKorban requested a review from smarter July 2, 2021 11:26
@KacperFKorban KacperFKorban assigned smarter and unassigned smarter Jul 5, 2021
@KacperFKorban KacperFKorban requested a review from smarter July 5, 2021 11:26
@KacperFKorban KacperFKorban merged commit 9f088d7 into scala:master Jul 5, 2021
@Kordyjan Kordyjan added this to the 3.0.2 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants