[PR #4261] [MERGED] Implemented hover text showing user FullName #17305

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4261
Author: @gdiepen
Created: 6/16/2018
Status: Merged
Merged: 7/5/2018
Merged by: @jonasfranz

Base: masterHead: master


📝 Commits (3)

  • fea220a Implemented hover text showing user FullName
  • 67b36de Merge branch 'master' into master
  • e760653 Merge branch 'master' into master

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 models/action.go (+6 -0)
📝 templates/user/dashboard/feeds.tmpl (+1 -1)

📄 Description

At my work, we have gitea linked to an Active Directory for user management.

Our usernames follow a numbering scheme which does not give you any information about the actual user (e.g. something like ID029001). Especially in the dashboard overview page this leads to a lot of actions for which it is not directly clear who of my colleagues performed the action (e.g. push notifications in the dashboard):
image

In order to get at least some additional information on demand, I implemented a hover text displaying the FullName of the user corresponding to the action by adding a title attribute to the link ( ID029001 ) in the example. In order to get this FullName I added an additional get method in the action.go that retreives the actual FullName of the user corresponding to the action.

The final result is as follows when hovering over a user:
image


🔄 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/4261 **Author:** [@gdiepen](https://github.com/gdiepen) **Created:** 6/16/2018 **Status:** ✅ Merged **Merged:** 7/5/2018 **Merged by:** [@jonasfranz](https://github.com/jonasfranz) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`fea220a`](https://github.com/go-gitea/gitea/commit/fea220a2701b15651e35eb365bb25f18314a5695) Implemented hover text showing user FullName - [`67b36de`](https://github.com/go-gitea/gitea/commit/67b36deaec87a96e7b742e837e8c7add403b5db1) Merge branch 'master' into master - [`e760653`](https://github.com/go-gitea/gitea/commit/e76065331575773e64c0ed2d3c0c8d7af1144552) Merge branch 'master' into master ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+6 -0) 📝 `templates/user/dashboard/feeds.tmpl` (+1 -1) </details> ### 📄 Description At my work, we have gitea linked to an Active Directory for user management. Our usernames follow a numbering scheme which does not give you any information about the actual user (e.g. something like ID029001). Especially in the dashboard overview page this leads to a lot of actions for which it is not directly clear who of my colleagues performed the action (e.g. push notifications in the dashboard): ![image](https://user-images.githubusercontent.com/2786853/41501955-a91e1410-71ae-11e8-901f-7965d3bf5c07.png) In order to get at least some additional information on demand, I implemented a hover text displaying the FullName of the user corresponding to the action by adding a title attribute to the link ( ID029001 ) in the example. In order to get this FullName I added an additional get method in the action.go that retreives the actual FullName of the user corresponding to the action. The final result is as follows when hovering over a user: ![image](https://user-images.githubusercontent.com/2786853/41501971-160e11e2-71af-11e8-8e60-9a84f6287f12.png) --- <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:32:10 -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#17305