mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 04:55:44 +00:00
feat(recomps): a Library-style grid with real sorting and filtering
The page now matches the Library: a ModeHeader with search and Filter, Sort and Display buttons, box-art tiles sized like the Library's with badges for installed, owned and updates, and a detail page per recomp for what it needs, its builds and its actions. Filters combine and show as removable chips; sorts are best for you, popularity, recently updated, newly listed and A-Z. A row of original systems stays under the header. Decomp Buddy's catalog and plans are read again; its copies of projects taken down by a legal notice stay unused (DECOMP_BUDDY_MIRROR).
This commit is contained in:
1 parent
f39267e8b0
commit
611d2d75d1
8 files changed
+483
-191
No files matched your search
+26
-22
@@ -41,11 +41,9 @@ DroidDeck keeps no catalog. `RecompCatalog` downloads three community catalogs,
|
||||
earlier catalog wins every field it sets; a later one with the same GitHub repo (or id) adds builds the
|
||||
entry lacks.
|
||||
|
||||
> **Decomp Buddy is turned off** (`RecompCatalog.DECOMP_BUDDY_ENABLED = false`) until its author agrees to
|
||||
> DroidDeck reading her catalog and using her download copies. While it is off, the app reads only Recomp
|
||||
> Launcher and Recompa, and never uses the mirror fallback. The parsing code and its tests stay. The
|
||||
> title rules and the arm64 twin lookup, which follow Decomp Buddy's code, stay on. The figures below
|
||||
> are with it on.
|
||||
> Decomp Buddy also keeps copies of projects taken down by a legal notice. DroidDeck does not use
|
||||
> those copies (`RecompCatalog.DECOMP_BUDDY_MIRROR = false`) until that is decided. Its catalog and
|
||||
> plans are read.
|
||||
|
||||
1. **Decomp Buddy** (`TanookiStudios/decomp-buddy`, GPL-3.0):
|
||||
- `https://tanookistudios.com/decomp-buddy/catalog.json`, about 4,900 games.
|
||||
@@ -158,23 +156,29 @@ Console recomps are never matched, because no store sells their dumps.
|
||||
|
||||
## UI
|
||||
|
||||
- **Top of the page:** a header, one line saying what the tab does, a search box (name, game,
|
||||
origin, repo), filter chips with counts (All, Installed, You own the game, Runs natively), and a
|
||||
row of system chips built from the origins in the list, with the most entries first.
|
||||
- "Runs natively" means the build that would install is arm64 Linux or an Android APK.
|
||||
- Almost every entry needs the player's own game files, so that is shown on each card, not offered
|
||||
as a filter.
|
||||
- **List:** a lazy grid, two columns from 820 dp and one below, capped at 300 cards until the player
|
||||
searches. Cards are sorted installed first, then games installed from a store, then owned games,
|
||||
then the rest by download count.
|
||||
- **Each card:**
|
||||
- The catalog's art, the game and its origin.
|
||||
- Chips for the build (green once installed), the data, "Android app too", "Needs setup first",
|
||||
and "via Recomp Launcher" / "via Recompa".
|
||||
- Actions: Install, or Play / Open in Games; Update to <tag> when a feed names a newer release;
|
||||
Install game; and Remove or Project page.
|
||||
- **Credits:** a line at the end of the page names both catalogs.
|
||||
- **Focus:** controller focus enters on the first card's primary button.
|
||||
The page follows the Library.
|
||||
|
||||
- **Header:** `ModeHeader` with the title and the count shown, search, and Filter, Sort and Display
|
||||
buttons. These use the Library's `Steps` popovers, and Display is the Library's own tile size and
|
||||
title/detail toggles.
|
||||
- **Filter:** multi-select, each choice with its count: Installed, You own the game, Runs natively
|
||||
(the build that would install is arm64 Linux or an APK), Android app, Update available, Ready without
|
||||
setup. Filters in use show as removable chips under the header, with "Clear all", and the Filter
|
||||
button gets a dot.
|
||||
- **Sort:** Best for you (installed, then found in a store install, then owned, then native, each by
|
||||
popularity), Most popular, Recently updated, Newly listed, A–Z.
|
||||
- **Systems:** a row of the original systems in the current results, most entries first.
|
||||
- **Grid:** box-art tiles (`ArtCard`, capsule art from the catalogs' covers), sized by `LevelCells` like
|
||||
the Library. Each tile shows the name, "System · Native/Android/FEX/Proton", and corner badges for
|
||||
installed, the store you own it on, and an available update.
|
||||
- **Detail page** (opening a tile):
|
||||
- Cover, name, game and kind, chips for how it runs and its data state.
|
||||
- Actions: Install, Play or Open in Games, Update, Install game, Project page, Remove.
|
||||
- "What it needs": the folder found, or the file it looks for, or the catalog's note.
|
||||
- "Builds": every build, with the one that installs ticked.
|
||||
- "About": repo, licence, sources.
|
||||
- Back returns to the grid.
|
||||
- **Kept in memory** (`RecompsView`): search, filters, sort and system, so leaving the tab keeps your place.
|
||||
|
||||
## Tested
|
||||
|
||||
|
||||
Reference in new issue
Block a user