Fix Order of GitHub Dashboard

Orders entries on the GitHub dashboard page from the newest one to the oldest one on the page load.

Verze ze dne 07. 12. 2024. Zobrazit nejnovější verzi.

Autor
prantlf
Hodnocení
0 0 0
Verze
1.1
Vytvořeno
07. 12. 2024
Aktualizováno
07. 12. 2024
Size
1,8 KB
Licence
MIT
Spustit na

Crude implementation to fix the bug in sorting entries on the GitHub dashboard, which makes them appear from the oldest one at the top to the newest one at the bottom: https://github.com/orgs/community/discussions/146450

* Works only on the page load, only on the just displayed first page entries
* Puts the recommended entries at first than the entries, which contain a time
* Tightly coupled to the current structure of the dashboard page