-
Notifications
You must be signed in to change notification settings - Fork 3
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
📝 Notes and Ideas #1
Comments
From Gershom B in Slack:
|
HaddockOn JSON format: |
Idea : make the suggested searches clickable, such that one can look them up without typing |
What about readmes and chagelogs? |
@dpwiz will add soon. |
A bit of feedback (in the right place I hope): When searching for a function by name/signature, I find it a bit problematic that initial result view doesn't show the package from which it originates. I know I can expand, but that feels a bit tedious and actually gives me too much information. I would love to just see the name of the package next to the each function. Specific case: I was looking for withObject function from Aeson package, and I wrote it into the search bar, but then I wasn't sure which one to pick. But maybe this is a bad use case because I should have gone to Aeson package and tried to find that function there? Still, that would require some digging and searching it like this sounds much nicer. Hope this helps, but certainly take with a grain of salt! |
@Martinsos I plan to add scoped search and fuzzy text filtering in found items in further releases. Hope, it will solve such use cases as this one. Basing on other plans in my backlog, I think it will took about two weeks. |
Consider an idea 💡
Writing all these articles seems like quite a big amount of work. I can prepare a list first, then start with a brief article each day. More experienced folks can review it. Maybe it makes sense to take http://dev.stephendiehl.com/hask/ as a basis if the author doesn't mind. Now it's just an idea. I'm not going to start it tomorrow. |
So, Typeclassopedia?
But with braces and semicolons... Well, but how does that concern Hackage, the Haskell package registry? |
It doesn't. As well, as search using Hoogle or the Community section that I want to implement on the home page. Relevant question: https://twitter.com/qnikst/status/1480529992425558017?s=20 I started the project as UI for the Hackage two-three weeks ago, but since that, I decided to switch direction toward - what features a Haskell website should have to be useful for developers on a daily basis. I'll rename the project at some point in time.
It's a great source of information on some topics, but I see how to make the entrance experience more smooth for Haskell newcomers. Let discuss it when I'll provide example articles for at least several topics. 🙂 |
Does that mean that the goal is not any more to replace the existing Hackage UI? If so, that is a shame really, I was looking forward to that a lot, since it would make it much more approachable. If instead you want to re-do the haskelll website, you should probably get in touch with people behind haskell.org (the haskell.org committee) and sync your efforts, since they are also looking into how to improve it, from what I know. Here is an example of an issue I opened there, the discussion shows which ideas they would like to address: haskell-infra/www.haskell.org#136 . Personal opinion on the articles -> I think the biggest problem is really writing/curating them and then organizing them, while searching through them is a much smaller problem. Once articles/materials are there, it should be easy to organize them into wiki and put a search on top of it. There already exists a Haskell wiki, however it doesn't feel modern / up to date, so it doesn't really distill a lot of confidence as a learning resource (at least to me). It seems to me like you are really fast and capable with creating the modern UI and improving developer experience, and it would be a shame to potentially loose the change you can do due to getting stuck with writing articles, which are not an easy thing to write, especially for topics such as Monad, Applicative and similar -> education is a much bigger, separate problem, then UI and UX/DX of getting started with Haskell, I think. I understand these opinions are highly subjective and I don't presume in any way I have the right to suggest what you should direct your passion and time into, consider it just as an alternative view that might or might not bring some useful information to your efforts. |
@Martinsos don’t worry, I won’t stuck with writing articles. In the my initial idea comment I wrote:
I won’t start it before completing packages and docs UI.
Before starting a discussion on coordinating efforts and involving more people, I’d prefer to have something to show. I established an initial contact with @myShoggoth and @Bodigrim. Both are board members of the https://haskell.foundation/ |
@Martinsos I didn’t read the discussion you linked yet. On the road now. Will do today. 🙂 |
@Martinsos I read the discussion you linked to. Overall I agree with you about the Getting Started stuff on haskell.org. There is no goal to replace or improve existing haskell.org. It's a separate project and if it will be useful and will take a broad adoption, maybe this topic can be raised.
Did I ever mention that the party was canceled? My prioritized tasks now:
Next step I see implementing Haskell playground to have the ability to make live examples in package documentation and education materials. Only after that, I'll start the first experiments with the mini-articles. If you want to help with code or advice on some of the mentioned stuff, you are welcome. 🙂 |
@visortelle sounds good! As I said, don't mind me, you should do whatever you feel you are most excited about, but since you are building this is in public I thought you could benefit from an additional opinion/perspective. Sounds good to me, and I am really excited to see the results! I will keep an eye on the project and if you create issues that could be taken by others I will try to find one that I can help with, if time permits. |
@Martinsos there is one issue that doesn't require any coding: #8 |
Ideas
TODOs
/
operator and others. Now it calls default browser action. Probably we need to create a list of allowed hot keys likeCtrl/CMD + A, Ctrl + n, Ctrl + p, Ctrl + e, etc.
and prevent default for others.TODOs after MVP launch
Need to figure out how many Haskell and estimate server workload. Figure out if haskell.foundation or another organization is ready to provide to compute resources for this feature. Rust playground is supported by a private organization - https://integer32.com/
Search results client-side filtering.
:t servant +:f module
.+:f
is a special characters sequence here. Looks safe, will see.Adapt for mobile devices.
Review SEO stuff.
Styled 4xx and 5xx error pages.
Store package metrics stats. Uploads, downloads, packages count, etc. It can be interesting infographics in long term.
Embed https://pvp.haskell.org/ content
Dark mode
🎩
Package versions page: squash "patch" versions into one.
Example:
given:
3.3.4
,3.3.5
,3.3.6
,3.5.3
,3.5.15
display as:
3.3.6
,3.5.15
Fetch and show reverse dependencies from here: https://packdeps.haskellers.com/reverse/pandoc
Tech debt
@hackage-ui/react-lib
exports mess.npm link
development workflow. Maybe switch to lerna.The text was updated successfully, but these errors were encountered: