Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show user group after names as a label #3916

Open
frjo opened this issue May 6, 2024 · 0 comments
Open

Show user group after names as a label #3916

frjo opened this issue May 6, 2024 · 0 comments
Labels
Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature).

Comments

@frjo
Copy link
Contributor

frjo commented May 6, 2024

In several places we display user information like this "Real Name (Group)", e.g. "Kalle Andersson (Staff)".

Displaying the group as a label with a specific colour for each group/role would we a nice enhancement.

We already are using labels in the submission list view and in the task list. These labels should look the same.

@frjo frjo added the Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature). label May 6, 2024
frjo pushed a commit that referenced this issue Oct 17, 2024
… user (#3932)

Fixes #3048 
Fixes #4029

- [x] Introduce machine generated avatars based on the user's name
(in-future allow for gravatar or similar service)
- [x] Color Code the user avatar based on their roles 🆕 
- [x] Render the staff roles as label (#3916)
- [x] Reduce the size of the rendered comment box.
- [x]  Merge activities with communication in a single timeline. 🆕 
- [x] Use htmx for comment edit function, the js version seems to break
some functionality.
- [x] Use different icons for different activities where possible. 
- [x] Render paginated comment and activities 🆕 
- [x] Cleanup/remove JSON APIs related to comments
- [x] Use the same logic for rendering of comments on the projects
module
- [x] ~Async comment add (won't be done in this PR)~
- [x] Deep-link for individual comments
- [x] fix testcases
sandeepsajan0 pushed a commit that referenced this issue Oct 18, 2024
… user (#3932)

Fixes #3048 
Fixes #4029

- [x] Introduce machine generated avatars based on the user's name
(in-future allow for gravatar or similar service)
- [x] Color Code the user avatar based on their roles 🆕 
- [x] Render the staff roles as label (#3916)
- [x] Reduce the size of the rendered comment box.
- [x]  Merge activities with communication in a single timeline. 🆕 
- [x] Use htmx for comment edit function, the js version seems to break
some functionality.
- [x] Use different icons for different activities where possible. 
- [x] Render paginated comment and activities 🆕 
- [x] Cleanup/remove JSON APIs related to comments
- [x] Use the same logic for rendering of comments on the projects
module
- [x] ~Async comment add (won't be done in this PR)~
- [x] Deep-link for individual comments
- [x] fix testcases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement This is an improvement of an existing thing (not a new thing, which would be a feature).
Projects
None yet
Development

No branches or pull requests

1 participant