feat(android): configuration in tabs, tags and file types sorted with a scroller #273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "272_config-tabs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #272.
The configuration screen of the app was one long list. It is now split into tabs.
What changed
PrimaryScrollableTabRowover aHorizontalPager, the same as the state lists, so you can swipe between them. The screen keeps the selected tab (rememberSaveable) and passes it intoConfigContent, which still runs no effects.FastScrollerof the Stream tab. While you hold it, it shows the name of the first entry on screen (file types with their_).Tags 2). The general settings are not searched, as before.OutlinedCard, because the scroller needs one row per entry.Pure logic (
ConfigList.kt)configSectionssorts tags and file types.ConfigTab,ConfigSections.count(tab), andentryLabel(names, leading, index), which gives the scroller's label and is written likedayAt.entryLabel.Screenshots
ConfigScreenshotis replaced by one scene per tab. There are also new scenes for search (counts in the tab row) and for a file with problems (banner above the tabs).ConfigUnreadableScreenshotis kept; its banner moved slightly. All images were checked by eye.Docs
README (Config), REQUIREMENTS (R35, Configuration) and AGENTS (
Config.kt,ConfigList.kt,FastScroller.kt) are updated.Verification
nix build .#streamd-app(unit tests +validateDebugScreenshotTest) ✅nix flake check✅