You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zettat123
7f790c70b9
Remove delete button for review comment (#23036)
Fix #23031.
Currently, only comments with type `CommentTypeComment` or
`CommentTypeCode` can be deleted. If user create a review comment, the
type of the comment will be `CommentTypeReview` so the comment cannot be
deleted.
e7be610d57/routers/web/repo/issue.go (L2860-L2868)
And in Github, user also cannot delete a review comment. There isn't a
delete button in the menu.
<img
src="https://user-images.githubusercontent.com/15528715/220275166-5ae2dc10-4003-4857-b14e-d7b02644345f.png"
width="640px" />
So we should remove the delete button from the menu when the comment's
type is `CommentTypeReview`.
|
2 years ago |
.. |
fields
|
Support Issue forms and PR forms (#20987)
|
2 years ago |
labels
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
view_content
|
Remove delete button for review comment (#23036)
|
2 years ago |
branch_selector_field.tmpl
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
choose.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
comment_tab.tmpl
|
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986)
|
2 years ago |
label_precolors.tmpl
|
Fix purple color in suggested label colors (#18241)
|
3 years ago |
labels.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
list.tmpl
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
milestone_issues.tmpl
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
milestone_new.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
milestones.tmpl
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
navbar.tmpl
|
Add some headings to repo views (#22869)
|
2 years ago |
new.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
new_form.tmpl
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
openclose.tmpl
|
Move helpers to be prefixed with `gt-` (#22879)
|
2 years ago |
search.tmpl
|
Issues: add Project filter to issues list and search (#22544)
|
2 years ago |
view.tmpl
|
Add main landmark to templates and adjust titles (#22670)
|
2 years ago |
view_content.tmpl
|
Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950)
|
2 years ago |
view_title.tmpl
|
Fix pull request branch selector visible without clicking Edit (#23012)
|
2 years ago |