Decouple presentation of note_awards_list
What does this MR do?
note_awards_list component by pulling out the presentational part into a
The Snippets Vue app needs a similar award component. By decoupling the presentation from the Vuex binding and note-specific behavior, we can now reuse
We still need the ability to always show
To run the pinning tests locally, checkout this MR's branch and first revert the commit which removes the pinning test:
git revert --no-commit $(git log -1 --grep="Remove note_awards_list pinning test" --pretty=format:"%H")
Then run the test
yarn run jest spec/frontend/notes/components/note_awards_list_pin_spec.js
Ready to merge?
Feel free to remove the
WIP label and
git rebase -i origin/master --autosquash
- Related to #55650 (closed)