Flarum (2.x)
    Preparing search index...

    Discussions started by one member. The column stores the member's id, not their username, and looks up their current slug when it loads, so renaming the member (or changing the forum's slug driver) doesn't break it.

    Hierarchy (View Summary)

    Index
    belongs?: (discussion: Discussion) => boolean

    Whether a discussion still belongs here, for columns that can tell from the store (Unread: whether it's still unread), so one can leave without asking the server.

    key: Date | null = null

    The newest lastPostedAt on screen; checks only ask for activity after it.

    rechecking: Set<string> = ...

    Discussions to ask the server about again, by id; see recheck().

    userId: string
    • Puts a discussion that has started to match where the server lists it, by last activity, then id, as the API breaks ties. Not when it's older than everything held and the server has more (loading more will bring it), nor in any other order, which can't be told from what's held: anywhere else would throw off where the next page starts. Refreshing brings it then.

      Parameters

      Returns boolean

      Whether it went in at the very top.