gnolang / blog

https://gno.land/r/gnoland/blog
9 stars 8 forks source link

feat: sort articles #20

Closed moul closed 7 months ago

moul commented 1 year ago

Currently, the display order of the blogposts appears random as it relies on the avl.Tree without any sorting mechanism.

To resolve this, we can either switch to a new format or, alternatively, maintain the avl.Tree for articles while introducing diverse methods to sort articles based on filters. The latter option could be more compelling.

Related code: https://github.com/gnolang/gno/tree/master/examples/gno.land/p/demo/blog

leohhhn commented 7 months ago

Closed by #64 & https://github.com/gnolang/gno/pull/1541