Metaculus / metaculus

https://www.metaculus.com
BSD 2-Clause "Simplified" License
54 stars 12 forks source link

Implement ideal group subquestion ordering #1398

Open ryooan opened 1 week ago

ryooan commented 1 week ago

Current behavior

My understanding is group subquestions are currently ordered as follows:

Expected/desired behavior

Ideal is this:

We could even potentially get custom ordering for free via the close date sort, as mods and admins could increment each by a few minutes, though this is a bit hacky.

ryooan commented 1 week ago

I'm not seeing a ticket for specifying custom colors for binary group subquestions as well, and am unsure if this should be lumped into this or a separate thing.

SylvainChevalier commented 1 week ago

@ryooan I like what you've outlined, but it sounds a bit complicated to me. How about:

  1. It is possible to manually reorder subquestions when editing a group. Probably using arrows like this:

  2. Groups have a new field: subquestion sort order. Options are:

    • Manual: matches the order from the edit form.
    • CP (asc.): ascending Community Prediction.
    • CP (desc.): descending Community Prediction.
  3. Fan graphs are always sorted by the manual sort order.

  4. Timeline graphs, their legends, and the table are sorted by the chosen sort order. Resolved questions are always sorted after non-resolved questions.

Note: notice the sort by close date is missing, since it's easy to do by manual sorting so would be mostly redundant.

ryooan commented 1 week ago

@SylvainChevalier I think that sounds good

ryooan commented 1 week ago

@SylvainChevalier related, but would be great if the order in the timeline down here matched the order in the table, except listing open stuff first. I have no idea what the ordering is currently based on, it's very jumbled. https://www.metaculus.com/questions/14034/us-monthly-u-3-unemployment-rate/#comment-195150 image

SylvainChevalier commented 1 week ago

@ryooan good point, clarified my comment above.

(Btw, the group you linked was slightly broken because the Jan-25 and Feb-25 questions were named "Jan-24" and "Feb-24". This confused the ui because there were two "Jan-24" and two "Feb-24". I renamed the questions and it fixed it.)

ryooan commented 1 week ago

Oh good catch, thank you!