Project topics: Add detail page with associated projects
What does this MR do and why?
In the course of the issue #340920 (closed), we want to give a boost to the project topics
- In !70386 (merged), the
Projects::Topic
model was extended with an avatar and a description. - In !71033 (merged), the topic management for admins is added. So admins can set an avatar and a description for topics.
As another step, this MR adds a detail page for a topic (<base URL>/explore/projects/topics/<topic name>
) with avatar, name, description and the associated projects. The topic badges, which are displayed in the project overview page and in the project row of project lists, are linked to this corresponding page.
/cc @bufferoverflow
Screenshots
Topic with avatar and description | Topic without avatar and description | Non-existing topic |
---|---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
- Assign the topic
topic1
to a project in the project settings. - Visit http://127.0.0.1:3000/explore/projects/topics/topic1
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.