Bug 389648 - Suggested tweaks for the settings/sources page
Summary: Suggested tweaks for the settings/sources page
Status: RESOLVED DUPLICATE of bug 389715
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-30 16:58 UTC by Nate Graham
Modified: 2018-01-31 18:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Messy sources page (160.06 KB, image/png)
2018-01-30 16:58 UTC, Nate Graham
Details
There is also no way to close the new view that opens when you click on of the sources. (371.12 KB, image/png)
2018-01-31 12:25 UTC, AS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-01-30 16:58:02 UTC
Created attachment 110227 [details]
Messy sources page

We get a lot of flack online for the Settings/Sources page, and one of the big reasons I think is the messy presentation. See the attached screenshot. I think there are a few things we can do here:

1. Don't show the repo URL; it's almost always elided, and it's not needed or not even useful, because it can't be selected, changed, visited, or interacted with in any way

2. Improve the presentation of the non-URL part. Especially for Ubuntu-based distros, the non-URL part is a bunch of technical mumbo-jumbo ("/etc/apt/sources.list.d/neon.list:deb http://archive.neon.kde.org/dev/unstable neon-xenial-main"). At most, it should show "neon-xenial-main" instead, which at least is shorter. Even better would be if we can display an actual description of the repo the way we have for the Flatpak repos.

3. Add a little bit of side padding to the lists. Not too much, just a little. We do this for other list views in Discover, and I think it would help here.

4. Rename it from "Settings" to "Sources" because that's all it shows, and then put the text "Sources" on the top toolbar.
Comment 1 Aleix Pol 2018-01-31 01:38:10 UTC
1 & 2: The idea for showing the URL is that you must get to see at some point where your software is coming from. The name of the repository in the end means nothing.
e.g. a sneaky program could remove flathub and re-add it with the same id but downloading the software from a different server.

Something I've done in similar occasions is showing just the hostname part of the id (i.e archive.ubuntu.org, archive.neon.kde.org, flathub.org). That could work. I wouldn't just remove it. Also I'd say it makes sense to show the information we have.

Something entirely worse is that PackageKit doesn't give us such information. for debian systems, the whole id is the string that you see there, so if we want to do something about it, we'll have to do it per-distro.

3: Done by Marco

4: We still have that weird help menu. Let's move it elsewhere first.
Comment 2 Nate Graham 2018-01-31 03:06:54 UTC
Only showing archive.ubuntu.org or flathub.org sounds like a good compromise to me. It sounds like for Debian-based distros, we'll have to do a bit of string processing before presenting the data to the user until and unless PackageKit provides us with better data. This sucks, but Debian-based distros are so popular that I think it makes sense to do in the interests of usability. Besides, if we don't, our Ubuntu users aren't gonna blame Ubuntu, they're gonna blame us!

3. actually not; I was talking about giving the actual list widget itself side padding so that the page's gray background is visible on  either side of it--just like with the browse and search lists.

4. Yeah, we could move the help menu elsewhere. Here's a thought: maybe onto the sidebar?
Comment 3 Aleix Pol 2018-01-31 10:40:50 UTC
1. Sure, open a bug for it?

3. Try to imagine this sliding delegate with margins. Doesn't work. We can redesign the delegate though.

4. Every time I've put a menu there I've cringed. Looks out of place.
Comment 4 AS 2018-01-31 12:25:07 UTC
Created attachment 110258 [details]
There is also no way to close the new view that opens when you click on of the sources.

Clicking Settings in the sidebar does nothing. Should I file a separate bug for that?

 Also while apps available through flatpak are shown when I click on the flatpack repositories, clicking on any of the sources in the "Ubuntu 17.10" section, the opened view say "Sorry, nothing found". As you can see in the screenshot.
Comment 5 Nate Graham 2018-01-31 18:56:27 UTC
Aleix: done:
- https://bugs.kde.org/show_bug.cgi?id=389714
- https://bugs.kde.org/show_bug.cgi?id=389715
- https://bugs.kde.org/show_bug.cgi?id=389717

I'll close this now, since the specific issues are tracked by other bugs. I wish I could mark it as duplicate of multiple bugs... Oh well, I'll just choose one.

AS: your second issue is tracked by Bug 388917. Can you file a new bug for the first one? Thanks!

*** This bug has been marked as a duplicate of bug 389715 ***