Admin Area - Messages - Edit - Broadcrumb "Messages" links to edited message; no link to Messages list
In the GitLab Admin Area / Messages, when editing an existing message, the breadcrumb at the top of the page displays "Admin Area > Messages".
Breadcrumb "Messages" has a link to the current page (editing the message, http://.../admin/broadcast_messages/1/edit
).
I expect breadcrumb "Messages" to link to the list of messages (http://.../admin/broadcast_messages
)
I expect an additional breadcrumb "Message" to link to the current page (http://.../admin/broadcast_messages/1/edit
).
Steps to reproduce
- Start GitLab and open GitLab (locally with the GitLab Development Kit (GDK), or online with GitPod)
- Login with a GitLab admin user
- Open Admin Area / Messages (http://127.0.0.1:3000/admin/broadcast_messages/ for a locally running GitLab)
- Create and save a new broadcast message "Test message" (the text or other message settings you enter do not matter)
- Edit the broadcast message (via the pencil icon in the lower left, http://127.0.0.1:3000/admin/broadcast_messages/1/edit)
- In the broadcast message edit page, the breadcrumbs between the GitLab search field and the message display says "Admin Area > Messages"
Actual behavior
- Breadcrumb "Messages" is a link to the current page (http://127.0.0.1:3000/admin/broadcast_messages/1/edit)
- There is no breadcrumb to the list of messages (this would be http://127.0.0.1:3000/admin/broadcast_messages/)
Expected behavior
- Breadcrumb "Messages" is a link to the list of messages (http://127.0.0.1:3000/admin/broadcast_messages)
- Breadcrumb "Message" is a link to the current page (http://127.0.0.1:3000/admin/broadcast_messages/1/edit). (This breadcrumb does not exist and would need to be added.)
Screenshot current behavior
(When taking the screenshots, I was editing message number 2
: Breadcrumb "Messages" links to the current page editing the message (http://127.0.0.1:3000/admin/broadcast_messages/1/edit):
Screenshots expected behavior (a proposal)
-
Breadcrumb "Messages" links to the message list (http://127.0.0.1:3000/admin/broadcast_messages)
-
Additional breadcrumb "Messages" links to the current page editing the message (http://127.0.0.1:3000/admin/broadcast_messages/1/edit)