Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is kind of a hack but it totally works and gets client-side
code to run again.
http-music and mtui are filled to the brim with this kind of
check and it's one of many reasons they need some serious
reworking before i make a threequel lol
|
|
- several bugs introduced during data restructure fixed
- a few areas where sorting functions were present but completely ineffective
(albeit harmlessly so) fixed
- new composite sorting utils are more deterministic by considering multiple
factors instead of e.g. only name, only date
- component sorting functions can be combined and pay more attention to
determinism and only moving items when it's covered by the scope of the
component (i.e. they can more readily be composited / used together)
- names are normalized in a more particular manner (for alphabetical sorting)
- accents are stripped, "ü" sorts as "u"
- punctuation is stripped, "dave's" sorts as "daves"
- (some) diacritics are expanded, "ff" sorts as "ff"
- any sequential whitespace treated as one typical space
- whitespace is trimmed from start and end
- english prefix "a" / "an" stripped in addition to "the"
- alphabetical sorting uses localeCompare and considers numeric strings more
naturally, "Homestuck Vol. 10" sorts after "Homestuck Vol. 5"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other pages are commented out for now. Also, this doesn't include the
source .txt processing functions yet, 8ut that'll pro8a8ly end up in the
page/ files too.
|
|
still Much Work Yet Ahead but this is good progress!! also the site is
in a working state afaict and thats a kinda nice milestone lmbo
|