Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1353

Improve performance of "Mark all topics as read"

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Larks
    • Fix Version/s: 1.6 Larks
    • Labels:
      None
    • Sprint:
      1.6 Larks

      Description

      At the current time we did optimization of "Mark all read" by adding an ability to mark all forum as read. But at the same time we can improve performance of this functionality:

      • When user opens topic that doesn't have changes since all forum has been marked as read, we shouldn't save an information about last read post in database.

      acceptance criteria:
      1) User marks all topic as read on forum. Opnes topic (which has no new topics since the mark all as read). in the database, the table LAST_READ_POST should not be an entry for the user, and the topic
      2) User1 marks all topic as read on forum. User2 creates new post in topic. User1 opnes that topic (which has new posts since the mark all as read). in the database, the table LAST_READ_POST should contain an entry for the user and the topic
      3) User marks all topics as read on forum. User creates new post in topic. In the database, the table LAST_READ_POST should has an entry for the user, and the topic

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  julik Julia Atlygina
                  Reporter:
                  shogun Anuar Nurmakanov
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 1h
                    1h

                      Structure Helper Panel