Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#13221 closed enhancement (no change required)

Add tabs for all/installed/updates

Reported by: humdinger Owned by: stippi
Priority: normal Milestone:
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev50837.

Everything below the filter bar at the top (category, repository, search terms) could be moved into a tab view with three tabs: "All packages", "Installed packages", "Updates". This would also make the "Available packages" and "Installed packages" in the "Show" menu obsolete.

With a dedicated "Installed packages" tab, it's easy to see what's installed and packages are quickly found and can be quickly uninstalled, rated, commented on etc.

The "Updates" tab is for a future update feature. The notification signaling available updates could call HaikuDepot to open with that "Updates" tab.

Extra points for appending the tab titles with a count of packages in brackets.

Change History (8)

comment:1 by perelandra, 7 years ago

I like the Show menu. It is nice to deselect "Installed packages" so you only see a list of packages that you don't have yet. Otherwise you have to look at the status if you aren't sure if you have a package yet. To get the same effect of different combinations of "Available packages" and "Installed packages" in the menu now you would need three tabs: All packages Available packages Installed packages

And are we scrapping the SoftwareUpdater?

comment:2 by humdinger, 7 years ago

The advantage to having tabs is that it's better discoverable (at a glance) than the options in the Show menu. You'd always have to aim and click to look into the menu to see the current selection state. I imagine toggling installed/available packages is done fairly often compared to the source/devel options.
Since the "installed icon" is right next to the package name, that information is also taken in pretty much at a glance. Additionally, the text colour of the whole row could be tinted, as suggested in ticket #11652.

I think having tabs for "All" and "Installed" does cover the majority of use cases. Having an "Installed" tab gives you instant access to uninstall/rate/comment/read the info of a package. Searching for new software is done at the default "All" tab. Having that list sprinkled with the already installed packages isn't much of a bother IMO, and often is even helpful. So the additional tab for "Available packages" could be done without.

And are we scrapping the SoftwareUpdater?

Not that I know if... If I recall the plan correctly, there's supposed to be a notification that updates are available with the option to simply install it all. Like a minimal GUI front-end to "pkgman update". Would be very cool to have that for Beta.
Later more features should be added, like showing which packages have updates and to select which ones to update. IMO this extended functionality would be better suited in HaikuDepot, the center for all software management. HaikuDepot already has the infrastructure to show summary, description, icon, versions, changelog etc. Doing the updating in a new tab there seems to me like a good idea. And since we introduce tabs to HaikuDepot, why not add one more for the "Installed packages" and enjoy the comfort that brings? :)

comment:3 by korli, 7 years ago

I'm not a UI expert, but from experience tabs don't fit well. A button bringing a drop down select menu would be better.

in reply to:  2 comment:4 by perelandra, 7 years ago

Replying to humdinger:

The advantage to having tabs is that it's better discoverable (at a glance) than the options in the Show menu. You'd always have to aim and click to look into the menu to see the current selection state. I imagine toggling installed/available packages is done fairly often compared to the source/devel options.

Would each tab still show the same instance of the list view object with all the packages, just change which packages were shown in the list? It would seem a waste of resources to have 3 instances of a listview that has the same functionality. However, there would be less delay when moving between tabs if each tab did have it's own instance of a list view since each view could be kept up to date at all times and changing a tab would just change which view is shown.

Since the "installed icon" is right next to the package name, that information is also taken in pretty much at a glance. Additionally, the text colour of the whole row could be tinted, as suggested in ticket #11652.

The installed indicator on the icon is only available when viewing "Only featured packages". The standard view with small icons there is no icon indicator so you have to look over to the status column. Text coloring would be a solution.

I think having tabs for "All" and "Installed" does cover the majority of use cases. Having an "Installed" tab gives you instant access to uninstall/rate/comment/read the info of a package.

Yes that would encourage ratings and reviews if all your installed packages were in one list, I would hope.

Searching for new software is done at the default "All" tab. Having that list sprinkled with the already installed packages isn't much of a bother IMO, and often is even helpful. So the additional tab for "Available packages" could be done without.

Sometimes I just like to "browse" through the list and see what is available to try (not searching for something specific). Now at least I can uncheck "Show:Installed packages" and see everything I don't have. I would miss having that.

And are we scrapping the SoftwareUpdater?

Not that I know if... If I recall the plan correctly, there's supposed to be a notification that updates are available with the option to simply install it all. Like a minimal GUI front-end to "pkgman update". Would be very cool to have that for Beta.

OK, just didn't want us to be duplicating efforts here. A nice simple "Update All" notification and function should be possible.

Later more features should be added, like showing which packages have updates and to select which ones to update. IMO this extended functionality would be better suited in HaikuDepot, the center for all software management. HaikuDepot already has the infrastructure to show summary, description, icon, versions, changelog etc. Doing the updating in a new tab there seems to me like a good idea. And since we introduce tabs to HaikuDepot, why not add one more for the "Installed packages" and enjoy the comfort that brings? :)

Yes at some point we will need to add the ability to choose which packages are updated, the question is where? In either HaikuDepot or SoftwareUpdater? But not both.

Version 0, edited 7 years ago by perelandra (next)

comment:5 by humdinger, 7 years ago

Would each tab still show the same instance of the list view object with all the packages

I'll leave that to the one implementing the idea. My coding skills are much too limited...

The installed indicator on the icon is only available when viewing "Only featured packages".

The idea was to add that indicator next to the icon. I didn't even think of the "Status" column.

I offered to help with it but didn't get any response.

I suggest pinging that thread once more to get a go ahead. I'm pretty sure everybody would be thrilled if someone started to code that first incarnation of an updater!

Yes at some point we will need to add the ability to choose which packages are updated, the question is where? In either HaikuDepot or SoftwareUpdater? But not both.

IMO ieverything should center on HaikuDepot. That first "dumb update all" version could do that separately in the notifying updater. Later, when the user can see and select what to update, the notifier should only do that and start HaikuDepot with a button. HaikuDepot can then provide all that's necessary to quickly "Install all updates" or select specific packages. It should then also offer automation settings where users can set how often the system looks for updates, to autoinstall all or none or only critical updates etc. But that's all well in the future. If it's done for R1, great, if not it's no biggie either IMO.

in reply to:  5 comment:6 by perelandra, 7 years ago

Replying to humdinger:

Would each tab still show the same instance of the list view object with all the packages

I'll leave that to the one implementing the idea. My coding skills are much too limited...

A good chance to learn :-)

The idea was to add that indicator next to the icon. I didn't even think of the "Status" column.

Ah OK, I thought you were saying t was already there. Yes, add that and/or make the text a different color. The text color might be easier to see since those icons are so small...

I suggest pinging that thread once more to get a go ahead. I'm pretty sure everybody would be thrilled if someone started to code that first incarnation of an updater!

Yeah I will, I've been focusing on the notification center.

IMO ieverything should center on HaikuDepot. That first "dumb update all" version could do that separately in the notifying updater. Later, when the user can see and select what to update, the notifier should only do that and start HaikuDepot with a button. HaikuDepot can then provide all that's necessary to quickly "Install all updates" or select specific packages.

Or the updater could have a button "Let me choose what to update" that launches HaikuDepot, otherwise it continues to just update everything.

comment:7 by waddlesplash, 5 years ago

Resolution: no change required
Status: newclosed

We now use tabs for "all"/"featured" and the "all"/"installed" are changeable via the Show menu. Updates are now done via SoftwareUpdater which can be accessed in the "Tools" menu.

comment:8 by nielx, 4 years ago

Milestone: Unscheduled

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.