~sircmpwn/todo.sr.ht#131: Improve internal site switching

Switching between git and todo and man often can be sometimes difficult, especially when it's all related to the same project.

Although these modules are supposed to be decoupled, I believe that they will be very commonly used together.

Globally, I propose a drop-down with links to all the available sites. This can be all done is CSS (if I remember correctly) to keep the site light.

Per project, it might be useful to have some sort of linking between the site, maybe a project-specific drop-drop too. I think globally is more important and simpler to implement for now.

What are your thoughts?

Status
RESOLVED NOT_OUR_BUG
Submitter
~cretezy
Assigned to
No-one
Submitted
8 months ago
Updated
7 months ago
Labels
No labels applied.

~andrewrk 7 months ago

I agree that cross-service linking in its current form is a problem, although I'm not sure I understand your suggested solution.

I think the crux of the matter comes down to this: if someone is used to looking at GitHub or GitLab, for example, there are services all available in the menu laid out in tab form that correspond to sr.ht services. For example, Code, Issues, Pull Requests, Projects, Wiki, Settings. These links are all project-local links.

Now, looking at sr.ht, there are corresponding links at the top, laid out in tabs as expected, however these are not project-local links - they are global links to sr.ht services. This is confusing for the uninitiated.

Even for the initiated, however, I would argue it is far more common, when looking at any given service for a project, to want to see the other services available for that project, than it is to want to explore more sr.ht services independent from any project. I would expect the prominence of the UI buttons to reflect this.

~andrewrk 7 months ago

As an example, right this second I am looking at a ticket for ~sircmpwn/todo.sr.ht. And I want to go look at the mailing lists for todo.sr.ht. As far as I'm aware there is no way to navigate from this page, to that page, without manually editing the URL. Another problem is that if I was unaware that there was a mailing list, there is no way to discover it, from here.

~sircmpwn REPORTED NOT_OUR_BUG 7 months ago

Created a ticket for this on the top-level sr.ht bugtracker.

https://todo.sr.ht/~sircmpwn/sr.ht/131

~cretezy 7 months ago

Yeah I'm sorry, kinda had a brain fart because I was on mobile, which you don't see the tabs layed out.

I think project-specific tabs/drop-down would be very useful though, let's continue on the top-level todo