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

    A column backed by its own DiscussionListState, so any filter the API understands (including other extensions' filters) works without the client having to decide what belongs in the column.

    Hierarchy (View Summary)

    Implements

    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().

    • Whether the column's request has a filter. An unfiltered list leaves out ignored discussions and hidden tags only while no filter is active, so it can't be narrowed to ids; and locking or stickying doesn't change it.

      Returns boolean

    • 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.