Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 886
    • Issues 886
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 49
    • Merge Requests 49
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !550

Closed
Opened 1 month ago by Ben Hayward@benhayward.ben
  • Report abuse
Report abuse

[Sprint/NuancedNumbat](fix): Do not show post if deleted.

Closes #1732 (closed)

I believe this to be the correct way to take care of it, as the remaining line after deletion caused by border offers an indicator of where the post was. Can be taken care of if anybody disagree's - easy enough to add conditional css but I left it in because it felt better to me.

It appears that the _deleted event emitter is not implemented properly, but I don't feel deferring 'deletion' to the parent is the correct solution anyway.

Note in the HTML file, all I have done is wrapped it in an ng-container conditionally tied to whether the post is in a deleted or not. The large amount of changes come from adjusting the indentation.

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "fix/activity-deletion-detection-1732" "origin/fix/activity-deletion-detection-1732"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "fix/activity-deletion-detection-1732"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge fix/activity-deletion-detection-1732 into master
  • Email patches
  • Plain diff
Pipeline #82438264 passed with warnings for c39e93ae on fix/activity-deletion-detection-1732
              Requires 2 more approvals from Devs and Deployers.
              Mark Harding
              Mark Harding
              Brian Hatchet
              Brian Hatchet
              Emiliano Balbuena
              Emiliano Balbuena

              Closed by Ben Hayward 2 hours ago

              The changes were not merged into master

              Did not close #1732 (closed)

              Deletes source branch

              • Discussion 4
              • Commits 1
              • Pipelines 2
              • Changes 4
              • Loading...
              • Ben Hayward @benhayward.ben added MR::Awaiting Review Squad::Yellow scoped labels 1 month ago

                added MR::Awaiting Review Squad::Yellow scoped labels

              • Mark Harding @markeharding added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label 4 weeks ago

                added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label

              • Mark Harding
                Mark Harding @markeharding · 4 weeks ago
                Owner

                Failing at build step here

              • Ben Hayward
                Ben Hayward @benhayward.ben · 4 weeks ago
                Developer

                Thanks for pointing this out. I'd thought it was the CI as it doesn't run for me running the standand npm run build-dev, running with the aot flag however returns the error.

              • Ben Hayward @benhayward.ben added 17 commits 4 weeks ago

                added 17 commits

                • a3316300...d202f657 - 16 commits from branch master
                • c39e93ae - Added deleted to reminds and previews as they share the same template

                Compare with previous version

              • Ben Hayward
                Ben Hayward @benhayward.ben · 4 weeks ago
                Developer

                Ah I see, the template activity.html is shared by a few controllers.

              • Ben Hayward @benhayward.ben added MR::Awaiting Review scoped label and automatically removed MR::Requires Changes label 4 weeks ago

                added MR::Awaiting Review scoped label and automatically removed MR::Requires Changes label

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

                Issue is now resolved.

              • Ben Hayward @benhayward.ben closed 2 hours ago

                closed

              • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
              Please register or sign in to reply
              0 Assignees
              None
              Assign to
              None
              Milestone
              None
              Assign milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              MR::Awaiting Review Squad::Yellow
              Assign labels
              • View project labels
              Lock merge request
              Unlocked
              9
              9 participants
              user avatar
              Guy Thouret
              user avatar
              Olivia Madrid
              user avatar
              Mark Harding
              user avatar
              Juan Manuel Solaro
              user avatar
              Brian Hatchet
              user avatar
              Emiliano Balbuena
              user avatar
              Marcelo Rivera
              Reference: minds/front!550