[PR #1995] [MERGED] Fix "Dashboard shows deleted comments" #16168

Closed
opened 2025-11-02 12:03:50 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1995
Author: @jonasfranz
Created: 6/17/2017
Status: Merged
Merged: 6/25/2017
Merged by: @bkcsoft

Base: masterHead: master


📝 Commits (10+)

  • 74774a4 Added comment's hashtag to url for mail notifications.
  • f385727 Added comment's hashtag to url for mail notifications.
  • e05eb96 Added comment's hashtag to url for mail notifications.
  • 5cb36ca Added comment's hashtag to url for mail notifications.
  • 2dd674e Replacing in-line link generation with HTMLURL. (+gofmt)
  • 716bf81 Replaced action-based model with nil-based model. (+gofmt)
  • edaa576 Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants.
  • b0e22ab Updating comment for mailIssueCommentToParticipants
  • fd70385 Merge branch 'master' of github.com:JonasFranzDEV/gitea
  • 3c6d4fc Merge branch 'master' of https://github.com/JonasFranzDEV/gitea

📊 Changes

8 files changed (+78 additions, -4 deletions)

View changed files

📝 models/action.go (+40 -0)
📝 models/action_test.go (+3 -0)
📝 models/issue_comment.go (+3 -0)
📝 models/migrations/migrations.go (+2 -0)
models/migrations/v35.go (+25 -0)
📝 routers/user/home.go (+3 -2)
📝 routers/user/profile.go (+1 -1)
📝 templates/user/dashboard/feeds.tmpl (+1 -1)

📄 Description

Fixes #1956
Adds a "CommentID" column to the action model (+migration). This is useful for deleting associated actions when a comment should be deleted.
Adds a link to the comment in the associated feed entry.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1995 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 6/17/2017 **Status:** ✅ Merged **Merged:** 6/25/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`74774a4`](https://github.com/go-gitea/gitea/commit/74774a41c322db8c78cc0dc9ce92402e673bda13) Added comment's hashtag to url for mail notifications. - [`f385727`](https://github.com/go-gitea/gitea/commit/f385727aef6f0a777d7fedba56d701ff8b2a0b9e) Added comment's hashtag to url for mail notifications. - [`e05eb96`](https://github.com/go-gitea/gitea/commit/e05eb960a89631c6986c3f4a5096ff6a35b45c38) Added comment's hashtag to url for mail notifications. - [`5cb36ca`](https://github.com/go-gitea/gitea/commit/5cb36ca7bd650fda84a361febf3c26c77ef7f753) Added comment's hashtag to url for mail notifications. - [`2dd674e`](https://github.com/go-gitea/gitea/commit/2dd674e51dc120c70ca04f3153d246af35d5080b) Replacing in-line link generation with HTMLURL. (+gofmt) - [`716bf81`](https://github.com/go-gitea/gitea/commit/716bf811b4249215a49ac151f66d626cc32c4e44) Replaced action-based model with nil-based model. (+gofmt) - [`edaa576`](https://github.com/go-gitea/gitea/commit/edaa5761a6811eedde033d97f62c06aa96d591b1) Replaced mailIssueActionToParticipants with mailIssueCommentToParticipants. - [`b0e22ab`](https://github.com/go-gitea/gitea/commit/b0e22aba71e4988c42d6598c5da18d3110e64cd3) Updating comment for mailIssueCommentToParticipants - [`fd70385`](https://github.com/go-gitea/gitea/commit/fd7038577963b1c607c7388e769a4f833c53e01c) Merge branch 'master' of github.com:JonasFranzDEV/gitea - [`3c6d4fc`](https://github.com/go-gitea/gitea/commit/3c6d4fcb12688f7c7bcca58cd7f86f21a9b75cbd) Merge branch 'master' of https://github.com/JonasFranzDEV/gitea ### 📊 Changes **8 files changed** (+78 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+40 -0) 📝 `models/action_test.go` (+3 -0) 📝 `models/issue_comment.go` (+3 -0) 📝 `models/migrations/migrations.go` (+2 -0) ➕ `models/migrations/v35.go` (+25 -0) 📝 `routers/user/home.go` (+3 -2) 📝 `routers/user/profile.go` (+1 -1) 📝 `templates/user/dashboard/feeds.tmpl` (+1 -1) </details> ### 📄 Description Fixes #1956 Adds a "CommentID" column to the action model (+migration). This is useful for deleting associated actions when a comment should be deleted. Adds a link to the comment in the associated feed entry. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:03:50 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16168