Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Add ability to filter by Elm version #109

Open
sdenier opened this issue Feb 4, 2017 · 2 comments
Open

Add ability to filter by Elm version #109

sdenier opened this issue Feb 4, 2017 · 2 comments

Comments

@sdenier
Copy link

sdenier commented Feb 4, 2017

Elm seems to change quite rapidly from version to version (for example 0.17 -> 0.18). It would be great to be able to filter examples by Elm version, then one can lookup how other people uses the latest versions. Especially for beginners, this could be of great help to be able to find quickly recent examples, as the tutorials are not always complete or up to date.

@joelclermont
Copy link
Collaborator

I like this idea, but I wonder if we would end up with out of date metadata. For example, someone adds a project when they first write it, say in 0.18. But will they remember to come back and update this repo when 0.19 comes out months later and they update their project?

@sdenier
Copy link
Author

sdenier commented Feb 6, 2017

Indeed, that would be a problem for people looking for old examples and then stumbling upon updated versions.

But I think the primary use case would be beginners, and they should be mostly interested by examples with the most recent version. Instead of providing a search field, a simple checkbox "Show me examples with the latest Elm version" would suffice?

  • one declares a project with version Elm 0.18
  • the website can filter all projects from the latest version, namely 0.18
  • later, Elm 0.19 is released and the website is updated to mirror that
  • projects declared as 0.18 no longer appear as "recent", unless manually updated.

Sure, we would miss some update but at least, there is less false positive results.

Next step of course would be to retrieve elm-version from the elm-package.json :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants