freeStuffDev icon indicating copy to clipboard operation
freeStuffDev copied to clipboard

Can we have the items alphabetically ordered? Does this make sense?

Open shrn01 opened this issue 3 years ago • 1 comments

shrn01 avatar Oct 02 '22 17:10 shrn01

Thansk @shrn01 for you idea. I don't think alphabetic order bring any value. But I have a plan to add "two sections"

  1. sort from newest (like we have right now)
  2. sort by random

The aim for the second is so 'old tools' can get a second chance to be viewed by visitors

hilmanski avatar Oct 02 '22 21:10 hilmanski

@hilmanski can i work on this?

Tushar-TW avatar Oct 08 '22 20:10 Tushar-TW

@Tushar-TW yes you can. Here's the rough spec.

  1. We can add text here: Order: 'random' or 'new' . The two is clickable text. Screen Shot 2022-10-09 at 05 19 33

2 (Option A) Random as default. Hugo is a static site generator, so the 'random' here means -> random on every build. I already have a running script that run the generator at least once a day. While 'new' is what we have now.

  1. (Option B) We can also play by the javascript logic. has nothing to do with Hugo.

Feel free to pick what you want

hilmanski avatar Oct 08 '22 21:10 hilmanski

I feel it's better to go with Option A, as the user might have seen some resource he wants to use and he mistakenly did a refresh, the order is most probably retained so he can go ahead and use that

shrn01 avatar Oct 09 '22 05:10 shrn01

Thanks for your input @shrn01 . @Tushar-TW will let you work on it. feel free to confirm / cancel.

hilmanski avatar Oct 09 '22 21:10 hilmanski

I’m currently working on it @hilmanski

Tushar-TW avatar Oct 09 '22 21:10 Tushar-TW

please assign me this sir.

arpanbiki avatar Oct 17 '22 20:10 arpanbiki

@Tushar-TW can you verify are you still working on this?

hilmanski avatar Oct 17 '22 21:10 hilmanski

@hilmanski you can assign this to anyone else

Tushar-TW avatar Oct 18 '22 07:10 Tushar-TW

@arpanbiki assigned this to you as you requested

hilmanski avatar Oct 20 '22 22:10 hilmanski

Hey @hilmanski how do I run the site locally?

shrn01 avatar Oct 29 '22 16:10 shrn01

This project built on Hugo. So you need to learn Hugo first https://gohugo.io/

hilmanski avatar Oct 29 '22 22:10 hilmanski

@arpanbiki in 2 days if no update, I assume you're not working on it, so I'll remove your acc from assignees (LMK otherwise). thanks

hilmanski avatar Oct 29 '22 22:10 hilmanski

Now we have the ability to sort list on two different formats: by newest (default) and random

https://github.com/hilmanski/freeStuffDev/commit/5e53447f9f2d7840e04b2be55377819b578e19ba

hilmanski avatar Dec 02 '22 02:12 hilmanski