Skip to content
Snippets Groups Projects

Fix rendering of duplicate system notes for weight changes

Merged Alexandru Croitor requested to merge 195871-fix-duplicate-weight-change-notes into master
All threads resolved!

What does this MR do?

Fixes duplicate system notes rendered for weight change events. re #195871 (closed)

This was possible because synthetic weight note did not have a pre-generated discussion_id, so it generated different discussion_ids, thus rendering the note twice.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

re #195871 (closed)

Edited by Alexandru Croitor

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Patrick Derichs
  • Alexandru Croitor added 272 commits

    added 272 commits

    Compare with previous version

  • added 1 commit

    • d8b9948d - Fix rendering of duplicate system notes

    Compare with previous version

  • added 1 commit

    • eab0db6a - Fix rendering of duplicate system notes

    Compare with previous version

  • Patrick Derichs
  • Patrick Derichs
  • Patrick Derichs
  • removed database label

  • Alexandru Croitor added 74 commits

    added 74 commits

    Compare with previous version

  • added 1 commit

    • 08226511 - Fix rendering of duplicate system notes

    Compare with previous version

  • added 1 commit

    • 1e5c65a1 - Fix rendering of duplicate system notes

    Compare with previous version

  • Alexandru Croitor added 19 commits

    added 19 commits

    Compare with previous version

  • added 1 commit

    • 2c8a2c09 - Fix rendering of duplicate system notes

    Compare with previous version

  • Thanks @acroitor! Awesome work! Had a few minor suggestions for your consideration.

    This LGTM :rocket:

  • assigned to @wlsf82

  • Alexandru Croitor resolved all threads

    resolved all threads

  • Alexandru Croitor changed the description

    changed the description

  • Alexandru Croitor changed the description

    changed the description

  • charlie ablett approved this merge request

    approved this merge request

  • Alexandru Croitor added 136 commits

    added 136 commits

    Compare with previous version

  • @jameslopez would you mind running the BE maintainer review please ? Thank you.

  • added 1 commit

    • 3ec17bf1 - Fix rendering of duplicate system notes

    Compare with previous version

  • added 1 commit

    • 9cc81320 - Fix rendering of duplicate system notes

    Compare with previous version

  • Walmyr Lima e Silva Filho approved this merge request

    approved this merge request

  • Alexandru Croitor resolved all threads

    resolved all threads

  • added 1 commit

    • 449f35d4 - Fix rendering of duplicate system notes

    Compare with previous version

  • added 1 commit

    • e6ad3efa - Fix rendering of duplicate system notes

    Compare with previous version

  • added 1 commit

    • 2a13ce5d - Fix rendering of duplicate system notes

    Compare with previous version

  • James Lopez approved this merge request

    approved this merge request

  • James Lopez enabled an automatic merge when the pipeline for 0255143c succeeds

    enabled an automatic merge when the pipeline for 0255143c succeeds

  • @jameslopez last pipeline failed due to changing be_falsey to be false fixed it here !26014 (diffs)

  • Alexandru Croitor aborted the automatic merge because source branch was updated

    aborted the automatic merge because source branch was updated

  • Alexandru Croitor added 38 commits

    added 38 commits

    Compare with previous version

  • Alexandru Croitor added 152 commits

    added 152 commits

    Compare with previous version

  • Reviewer roulette

    Changes that require review have been detected! A merge request is normally reviewed by both a reviewer and a maintainer in its primary category (e.g. frontend or backend), and by a maintainer in all other categories.

    To spread load more evenly across eligible reviewers, Danger has randomly picked a candidate for each review slot. Feel free to override this selection if you think someone else would be better-suited, or the chosen person is unavailable.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines.

    Once you've decided who will review this merge request, mention them as you normally would! Danger does not (yet?) automatically notify them for you.

    Category Reviewer Maintainer
    backend Sean Carroll (@sean_carroll) Jarka Košanová (@jarka)
    test Quality for spec/features/* Walmyr Lima e Silva Filho (@wlsf82) No maintainer available

    Generated by :no_entry_sign: Danger

  • James Lopez enabled an automatic merge when the pipeline for 2e77b2a9 succeeds

    enabled an automatic merge when the pipeline for 2e77b2a9 succeeds

  • merged

  • James Lopez mentioned in commit 1ae9e05f

    mentioned in commit 1ae9e05f

  • added workflowverification label and removed workflowin dev label

  • added workflowcanary label and removed workflowstaging label

  • added workflowproduction label and removed workflowcanary label

  • Please register or sign in to reply
    Loading