Renames Note to Comment
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Hereby I propose to rename the Note model to Comment, with all references to notes in the code base, starting with the API. So POST projects/:id/issues/:issue_id/notes => POST projects/:id/issues/:issue_id/comment.
Couple of reasons:
- Its called comments everywhere else. We're the only one to stand out here. Not a problem an sich, but this is harder for the community/new users
- Note is just weird in sentences, apart from: 'Ill leave a note there.' in which case comment would work too
- In the code too, there're weird thing happening because of it:
note = Note.last
=> Note<blabla>
note.note
=> 'Some random content'
@JobV What do you think, could we do this at 9.0?
cc @axil @MrChrisW @brodock @lbennett @regisF @connorshea (everyone agreeing on Slack)
Edited by 🤖 GitLab Bot 🤖