Comments (11)
I've thought along similar lines and I did raise an issue on jekyllthemes.org along these lines a while back.
My ideal scenario would be to sort by date added automatically but then allow reordering alphabetically (which looks like it's already there), and by stars on GitHub. That would require some interesting scripting and may end up having to be a build time feature as I'm sure GitHub wouldn't want us making multiple API calls for every page load, however that conflicts with my desire to keep this simple GitHub pages with no build scripts.
Random could also be good as it would allow less popular themes to get to the top of the list.
from jekyllthemes.
Yeah, I like the simplicity of a randomised order.
I don't really like the common practice of pushing the repos with many stars to the top. It's a bit of a "the rich get richer" sort of thing; you're rewarding the repos with good publicity with more publicity.
If I were to suggest a more advanced approach for a later iteration, I'd go with something like:
Randomise order within 4 different groupings (not necessarily with visible headers on the page) based on "freshness" of the code:
- New (theme was updated in the last 2 months)
- Recent (2-6)
- Aging (6-12)
- Old (12+)
This encourages developers to try by every once in a while and check that everything's OK, without really being able to game the system.
from jekyllthemes.
I also prefer not to default to "most popular" and I think a random order would be the most fair by default. @mushishi78 as the maintainer of this repo, what do you think?
from jekyllthemes.
Hmm we could indeed drop the whole list into a minified json file (date, title, author, thumbnail), then order it via javascript. This would also give the possibility to make loading while scrolling (i.e imgur style, also described in #2 (comment)), make a search box using js, and create fast filters using js (i.e select author from drop down etc).
from jekyllthemes.
@gynter yes that's a possibility. It can also be as simple as literally just putting some javascript that on page load looks at all the
from jekyllthemes.
I'd like that more, because since then for people like me, who have javascript disabled by default, can still see the content.
from jekyllthemes.
@daattali All these guys are maintainers now, I've just been doing a lot over the last few days.
@gynter I would put the data straight into the javascript file, as that's one less file to load and we don't have to add an ajax library to request it.
We could also query GitHub for stats to get a feel for how well maintained the repo is.
We could also add tags to the projects to filter by.
I like the 'freshness' idea as default.
from jekyllthemes.
I've added alphabetical, latest and shuffle to the main branch, with shuffle as default and no change for javascript turned off. But we can leave this issue open to discuss improvements.
from jekyllthemes.
Nice! Thanks!
from jekyllthemes.
This is cool!
Just a note on the sort by most stars. I think it is important to allow users to do that as I think they will want it. However I agree that it should not be the default.
from jekyllthemes.
Added sort by stars.
from jekyllthemes.
Related Issues (12)
- Illegally formed thumbnails HOT 5
- Update { Personal } theme HOT 1
- Add Piwik analytics HOT 2
- Rebase on Upstream? HOT 4
- Use kramdown instead of rdiscount HOT 1
- Domain name proposition: themes.jekyllrc.org HOT 10
- Demo pages HOT 5
- Theme Demos
- config-dev.yml still uses rdiscount which causes an error on build
- Images are pixelated HOT 2
- Hi, Is this repo still maintained? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyllthemes.