Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 344
  • Merge Requests 56
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !703

Open
Opened 3 weeks ago by Ben Hayward@benhayward.ben
Report abuse

[Sprint/VacantViper](fix) Live refresh of comments thread on entity change. #1658

  • Overview 8
  • Commits 2
  • Pipelines 2
  • Changes 1
1/1 thread resolved

Summary

Closes #1658

Comment threads currently do not live refresh, so if the original input entity changes, the thread does not update. This is not problematic for most usecases as the entity is usually fixed, but in situations like the firehose, it changes on approval / rejection.

This meant that when approving and rejecting, the old comments stayed in place on the wrong entity.

Steps to test

  1. Log in as admin
  2. Make 5x posts with the content: adult 1, adult 2, adult 3, adult 4, adult 5
  3. Comment on each of these posts (maybe multiple times but not essential) comment 1, comment 2 etc
  4. In admin panel, go to firehose
  5. First entry should be your new post (adult is a keyword watched by the firehose)
  6. Open the comments - be sure the comment is there.
  7. Click approve, it should load the next post's comments automatically.
  8. Try reject, it should do the same.

Estimated Regression Scope

This affects all comment threads on the side, though only in the way of their change detection. Regressions relating to the updating of threads are possible There was an issue I had during development where it was triggering on the initial input, rather than changes, thus duplicating comments and XHR requests.

Request to merge fix/admin-firehose-1658 into master
The source branch is 23 commits behind the target branch
Open in Web IDE
Pipeline #106853671 passed with warnings for 9354105c on fix/admin-firehose-1658
              Merge request approved. Approved by
              Mark Harding
              Mark Harding
              Juan Manuel Solaro
              Juan Manuel Solaro
              Emiliano Balbuena
              Emiliano Balbuena
              Brian Hatchet
              Brian Hatchet
              Rami Albatal
              Rami Albatal
              Xander Miller
              Xander Miller
              Ready to be merged automatically. Ask someone with write access to this repository to merge this request

              Closes #1658

              Deletes source branch

              • Ben Hayward @benhayward.ben added Squad::Yellow scoped label 3 weeks ago

                added scoped label

              • Ben Hayward @benhayward.ben added Status::Awaiting Review scoped label 3 weeks ago

                added scoped label

              • Ben Hayward @benhayward.ben added Status::BuddyReview scoped label and automatically removed Status::Awaiting Review label 3 weeks ago

                added scoped label and automatically removed label

              • Xander Miller
                Xander Miller @xander-miller · 3 weeks ago
                Developer

                seen at buddy review

              • Ben Hayward @benhayward.ben assigned to @benhayward.ben 3 weeks ago

                assigned to @benhayward.ben

              • Ben Hayward @benhayward.ben assigned to @edgebal 3 weeks ago

                assigned to @edgebal

              • Emiliano Balbuena
                Emiliano Balbuena @edgebal · 3 weeks ago
                Developer

                Seems like the indexing runner is not working correctly on the sandbox.

              • Emiliano Balbuena
                Emiliano Balbuena @edgebal · 2 weeks ago
                Developer

                Looks like this sandbox's indexer is still having issues

              • Emiliano Balbuena
                Emiliano Balbuena @edgebal started a thread on an old version of the diff 2 weeks ago
                Resolved by Ben Hayward 6 hours ago
              • Emiliano Balbuena @edgebal added Status::Requires Changes scoped label and automatically removed Status::BuddyReview label 2 weeks ago

                added scoped label and automatically removed label

              • Emiliano Balbuena @edgebal unassigned @edgebal 2 weeks ago

                unassigned @edgebal

              • Ben Hayward @benhayward.ben added 1 commit 1 week ago

                added 1 commit

                • 9354105c - Added in guid check for repeating post

                Compare with previous version

              • Ben Hayward @benhayward.ben added Status::BuddyReview scoped label and automatically removed Status::Requires Changes label 1 week ago

                added scoped label and automatically removed label

              • Mark Harding @markeharding approved this merge request 3 days ago

                approved this merge request

              • Mark Harding @markeharding added Status::Ready to Merge scoped label and automatically removed Status::BuddyReview label 3 days ago

                added scoped label and automatically removed label

              • Ben Hayward @benhayward.ben assigned to @xander-miller 2 days ago

                assigned to @xander-miller

              • Ben Hayward @benhayward.ben assigned to @edgebal and unassigned @benhayward.ben 2 days ago

                assigned to @edgebal and unassigned @benhayward.ben

              • Ben Hayward @benhayward.ben assigned to @benhayward.ben 2 days ago

                assigned to @benhayward.ben

              • Xander Miller
                Xander Miller @xander-miller · 23 hours ago
                Developer

                Why I create posts with the word "adult" they do not appear in the fire hose feed. I tried doing it with the admin account and a different account.

              • Ben Hayward @benhayward.ben resolved all threads 6 hours ago

                resolved all threads

              • Ben Hayward
                Ben Hayward @benhayward.ben · 6 hours ago
                Developer

                That would be because posts aren't saving on the sandbox by the looks of it. :thinking:

              • Emiliano Balbuena
                Emiliano Balbuena @edgebal · 30 minutes ago
                Developer

                I'm having the same issue as Xander. THe posts with the word adult don't appear in any feed. Tried on my admin account.

                cc/ @benhayward.ben

              • Xander Miller
                Xander Miller @xander-miller · 11 minutes ago
                Developer

                Can we fix the sandbox saving issue using some dev ops magic? @brianhatchet @markeharding

              Please register or sign in to reply
              3 Assignees
              Emiliano Balbuena's avatar
              Xander Miller's avatar
              Ben Hayward's avatar
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              Squad::Yellow Status::Ready to Merge
              Lock merge request
              Unlocked
              11
              11 participants
              user avatar
              Juan Manuel Solaro
              user avatar
              Emiliano Balbuena
              user avatar
              Brian Hatchet
              user avatar
              Rami Albatal
              user avatar
              Xander Miller
              user avatar
              Martin Santangelo
              user avatar
              Guy Thouret
              Reference: minds/front!703

              Now you can access the merge request navigation tabs at the top, where they’re easier to find.

              More information and share feedback