Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 342
  • 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

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

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

  • Overview 9
  • Commits 2
  • Pipelines 2
  • Changes 1
1/2 threads resolved

Summary

Closes #1658 (closed)

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
Pipeline #106853671 passed with warnings for 9354105c on fix/admin-firehose-1658
              Merge request approved. Approved by
              Mark Harding
              Mark Harding
              Martin Santangelo
              Martin Santangelo
              Olivia Madrid
              Olivia Madrid
              Marcelo Rivera
              Marcelo Rivera
              Juan Manuel Solaro
              Juan Manuel Solaro
              Emiliano Balbuena
              Emiliano Balbuena

              Merged by Xander Miller 16 hours ago

              The changes were merged into master with 1181bc82

              The source branch has been deleted

              Closed #1658 (closed)

              Pipeline #108524383 waiting for manual action for 1181bc82 on master
                            • 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 1 day 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 4 days ago

                              approved this merge request

                            • Mark Harding @markeharding added Status::Ready to Merge scoped label and automatically removed Status::BuddyReview label 4 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 · 1 day 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 1 day ago

                              resolved all threads

                            • Ben Hayward
                              Ben Hayward @benhayward.ben · 1 day ago
                              Developer

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

                            • Emiliano Balbuena
                              Emiliano Balbuena @edgebal · 19 hours 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 · 19 hours ago
                                Developer

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

                              • Collapse replies
                              • Xander Miller
                                Xander Miller @xander-miller · 16 hours ago
                                Developer

                                Thanks for fixing this Brian.

                              • Please register or sign in to reply
                            • Xander Miller @xander-miller mentioned in commit 1181bc82 16 hours ago

                              mentioned in commit 1181bc82

                            • Xander Miller @xander-miller merged 16 hours ago

                              merged

                            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
                            Martin Santangelo
                            user avatar
                            Olivia Madrid
                            user avatar
                            Marcelo Rivera
                            user avatar
                            Juan Manuel Solaro
                            user avatar
                            Emiliano Balbuena
                            user avatar
                            Xander Miller
                            user avatar
                            Rami Albatal
                            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