redhat-beyond / JobSeeker

https://github.com/redhat-beyond/JobSeeker
MIT License
2 stars 5 forks source link

🚀 Options Button for Post and Comment #125

Closed paOmer closed 2 years ago

paOmer commented 2 years ago

Adding an options dropdown button for each post and each comment. The dropdown will include 'edit' and 'delete' options. The options will only be visible for the author of the specific comment or post. In this PR the only working link is the delete post one, while the other ones doesn't exist yet (There are issues regarding them). The relevant delete-post URL tests can be found here.

The buttons look like the following (top right corner of posts or comments):

Screen Shot 2022-04-19 at 19 35 27

The dropdown menu looks like:

Screen Shot 2022-04-19 at 19 37 05

The links will get updated once issues #107 #115 will resolve. Close #124

paOmer commented 2 years ago

@paOmer Please suggest how to test it, please add a test

Added a link to the relevant tests in the PR description. Adding it here also.

Yarboa commented 2 years ago

@paOmer Please suggest how to test it, please add a test

Thanks