[Feature] default view of "Installed" should have less stuff

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
desktop, frontend

Research direction

The request is for the Installed tab to list only explicitly installed packages, with a 'show all' toggle, and to revisit the non-working 'Show all packages / Show only apps' toggle in the Browse section. Start by finding the Installed and Browse views in the C++ source and the code that filters packages by icon or dependency status. Done when the Installed default shows explicit packages and the toggle visibly changes the Browse list.

Written by the indexing model from the issue text.

Description

Currently, when you go to your "installed" packages tab, most of it is just dependencies.
I feel like this is just a lot of noise for most users.
The easiest solution is probably listing only explicitly installed packages. (and having a checkbox to "show all" or something similar)

I've also noticed there is a toggle to "Show all packages" or "Show only apps" in the "Browse" section. Though actually pressing the toggle doesn't seem to do anything at the moment, I'm gonna guess it's the filtering shown in the Browse section by default, since I'm not seeing any icon-less random libraries.
This could be another way to do it, but I personally slighly lean towards just listing explicitly installed for 2 reasons:

  • managing things like yazi, udiskie, syncthing seems like a common enough usecase
  • i don't think? there is a 100% consistent way to detect "apps" and the line of what counts as an "app" can be a bit fuzzy in first place. for example, currently the brave-bin from cachy repo doesn't show up in the Browse section (without search) around all the "apps" starting with B. (doesn't have an icon even when searched for so prolly a packaging issue)
Dominant language
C++
Stars
43
Forks
39
Avg merge
1d 6h
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/packageinstaller

All issues in CachyOS/packageinstaller

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.