Some recent actions appear on the second page instead of the first page, even though the first one goes all the way to actions done 3 years ago.

Also, I could swear it used to say which mod made each action before. Now it doesn’t, was this changed intentionally?

  • LunaticHacker@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Some recent actions appear on the second page instead of the first page, even though the first one goes all the way to actions done 3 years ago.

    This is because every type of mod action is a separate list and some actions happen more frequently than others. Page 1 of modlog is actually page 1 of all those separate lists combined and then sorted by time

    Also, I could swear it used to say which mod made each action before. Now it doesn’t, was this changed intentionally?

    It’s hidden in lemmy-ui to avoid harassment.

    • SeerLiteOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago

      This is because every type of mod action is a separate list and some actions happen more frequently than others. Page 1 of modlog is actually page 1 of all those separate lists combined and then sorted by time

      I’m sorry but that doesn’t seem to be the case. All pages have all kinds of mod actions. Unless I’m misunderstanding what you mean by “type of mod action”.

      It’s hidden in lemmy-ui to avoid harassment.

      I guess that makes sense. Though I think it would be better to at least differentiate when an action is taken by a mod or by an admin. EDIT: Nevermind, that’s implied by the action taken.

      • LunaticHacker
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        I’m sorry but that doesn’t seem to be the case. All pages have all kinds of mod actions. Unless I’m misunderstanding what you mean by “type of mod action”.

        What i meant to say is that each type of mod action has it’s on pagination and the main modlog just squishes them together based on page number. check the last items of page 1 they are all admin appointments, there are only a handful of them and they don’t happen anymore. they appear in page 1 because they belong to page 1 of it’s type

        • SeerLiteOP
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          Nah, this ain’t it. Almost every page has one “Removed post” or more. I’d say every page has different mod actions. They’re not organized or anything.

          I don’t understand what you mean with the admin appointments either. I mean, yeah of course there are only a few at the start? Because adding admins is uncommon? I don’t get what this has to do with the modlog having different actions in different pages.

          Besides, if it truly was like you say, there’d be an indication somewhere about what action one is viewing and it wouldn’t be implemented with a basic next/previous layout.

          • LunaticHacker
            link
            fedilink
            arrow-up
            1
            ·
            3 years ago

            modlog having different actions in different pages.

            I think you misunderstood what I meant by separate lists. That’s how they are stored internally.

            Each one of them are fetched and then COMBINED to create the view you’re seeing.

            ie. P1 of Modlog = P1 of Banned Actions + P1 of Post Removal Actions + … + P1 of Admin appointment Action

            • SeerLiteOP
              link
              fedilink
              arrow-up
              1
              ·
              3 years ago

              Ohh, I understand what you mean now. Still, I don’t think that’s it! Just go ahead and try ctrl + F of “Removed post” and cycle through a few pages. Then do the same with “Removed comment”. They’re not at all lumped in chunks together.

              And even if it was as you said, it would still be a bug, no? That’s not at all good UX.

              • LunaticHacker
                link
                fedilink
                arrow-up
                1
                ·
                3 years ago

                They’re not at all lumped in chunks together.

                Yes, because we sort the combined list by time also

  • seahorse
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Hmm, on my instance it still says who did what in the modlog.