Repository navigation
[WIP] App Overhaul - #656
Draft
DerGoogler wants to merge 55 commits into
Draft
DerGoogler wants to merge 55 commits into
DerGoogler wants to merge 55 commits into
Conversation
Bump mmrlx to 1.0.223, replace the old WebUI-X Portable helper dependencies with the new mmrlx nio and utilities modules, and add `mavenLocal()` to dependency and plugin resolution so locally published artifacts can be resolved.
Deletes the SuperUser feature stack, including its view model, screens, profile editing UI, and composition local wiring. Navigation is updated to remove the SuperUser destination and simplify access checks to root-only gating, and activity-level providers are cleaned up to drop the removed dependency.
Replace the custom path handler classes with route-based WebUI registration inside `ViewDescriptionScreen`, including internal asset, readme, inset, and color routes. Add a shared `MimeUtil` for asset MIME detection, and trim unrelated WebUI launcher code from `Extensions.kt` as part of the cleanup.
Add a Compose `BackHandler` so the description WebView first navigates backward in its own history, and only pops the app navigation stack when no web history remains. Also align internal route registrations (`insets.css`, `colors.css`, `assets/*asset`) with relative paths expected by the local router.
Introduces a stable `BlurToolbarState` with `rememberBlurToolbarState` to centralize fade/blur alpha behavior and reuse it from search toolbars. The repository UI is consolidated by renaming `TypedModulesList` to `ModulesList`, adding injectable pre-list content, and rebuilding `RepositoryScreen` around that shared list + `BlurSearchToolbar`. Obsolete typed-module/top-picks screens and components were removed, and module author/category links to the deleted typed screen were disabled.
Replace the MMRL WebUI config label with a dedicated WebUI X label in the permission UI, update the related user-facing strings, and add a new WebUI X vector icon asset for the badge.
Gate the repositories bulk-install FAB behind `platform.isValid` so it only appears on supported root platforms. Update platform validity to treat `Unknown` as invalid (alongside `NonRoot`), bump `mmrlx` to `1.0.229`, and clean up redundant self-imports in `PlatformManager`.
Updates compileSdk from 36 to 37 across compat, datastore, ext, platform, and ui modules to align Android build targets. Also adds trailing commas in module include lists in compat and datastore settings for consistent Kotlin DSL formatting.
Refactors `RepositoryViewModel` to derive the repository module list from combined flows, including sorting and prefixed search filtering, instead of managing separate cache/search observers. It also fixes the category toggle in the repository menu and hides the repository cover/header content while search is active.
Drop the `VerticalFastScrollbar` from the repositories list screen and clean up the now-unused Compose imports. This simplifies the layout after the scrollbar was no longer needed.
Refactors `TypedModulesList` to `ModulesList` and adds `animateContentSize()` to smooth list layout updates. In `RepositoryScreen`, it now reads `repositoryMenu` preferences to adjust top padding for compact mode and uses `AnimatedVisibility` to transition between search and non-search header states instead of abruptly adding/removing the cover item.
This comment was marked as spam.
This comment was marked as spam.
Add the mmrlx ui and utilities dependencies and bump mmrlx to 1.0.230. Wrap the app in MMRLXTheme. Replace Material3 TopAppBarScrollBehavior/TopAppBarDefaults with the MMRLX ToolbarScrollBehavior/ToolbarDefaults across screens. BlurToolbar now uses the MMRLX Toolbar with Oklch colors, and the haze blur effect is dropped from it. Move the bottom navigation into a new BottomBar component built on the MMRLX NavigationBar. HomeScreen, RepositoriesScreen, RepositoryScreen and the new DescriptionScreen render it themselves, and MainScreen uses the MMRLX Scaffold. Rewrite HomeScreen and the Root/NonRoot items with MMRLX list and card components. Add a WebUI-based DescriptionScreen for module readmes and point AboutModule at it. Move ToolbarIcon and ToolbarEventIcon into TopAppBarEventIcon.kt.
Move settings screens from the in-app list item DSL to the dev.mmrlx.compose.ui list, scaffold and toolbar components, and bump mmrlx to 1.0.231. - Rewrite SettingsScaffold on top of the mmrlx Scaffold. It now takes isMainPage and canScroll instead of allowNavigateBack, modifier and absolute. - Add a local NavigateUpToolbar. - Replace TextEditDialogItem, ButtonItem and Labels with InputDialogItem, RawItem and Supporting. - Rename RadioDialogItem option data to RadioDialogOption. - Move the home items package to home.components. - Remove the blacklist screen, its items and the blacklist alert. - Remove the unused RootScreen and the commented-out drawer code in MainScreen, and drop the @destination annotation from MainScreen. - Drop BottomBar from DescriptionScreen.
Add JoinDao.getVersionsByRepoUrl and LocalRepository.getVersionsByRepoUrl so getOnlineAllByUrlAsFlow loads all versions for a repo in one query and groups them by module ID, instead of querying per module. VersionItem gains a moduleId field, set from VersionItemEntity.toItem() and when loading update.json versions. In RepositoryViewModel, isLoading is now a StateFlow, the module flow runs on Dispatchers.IO and resets loading on start, and the sort and filter code is condensed. LocalRepository was also reformatted (indentation only).
Pass the navigator to the explore repository toolbar and update the MMRLx dependency to 1.0.245.
Start downloads without requesting notification permission, and propagate storage permission denials and other download failures to callers. Slightly thicken the module view divider.
…round stayed transparent
Rework module details with MMRLX components, responsive badges, and updated star/date metadata. Add a branch icon and upgrade MMRLX to 1.0.247.
Add MenuChip1, a FilterChip-based chip built on the MMRLX compose UI library, and use it in RepositoryMenu. The menu bottom sheet now uses rememberModalBottomSheet, MMRLXTheme typography and the MMRLX SegmentedButtons. Remove the repo list mode (compact/detailed) selector. ModulesList now always renders ModuleItemDetailed. In ModuleItemDetailed, the divider is now shown only when labels are present.
Add a `LocalProvider` and `current` accessor to RepositoryViewModel so child composables can read it without prop drilling. RepositoryScreen now wraps its content in the provider, and TopBar0 reads search state and actions from the view model instead of taking them as parameters. ModulesList also uses the view model: it adds top content padding while searching and drops the unused user preferences lookup.
ModuleItemDetailed now loads the module icon with Coil (memory and disk cache enabled) and falls back to the initials avatar if loading fails. The license text is limited to one line with an ellipsis. Added a Painter.isEmptyOrZero helper. RepositoryScreen's top bar now has a back navigation button that pops the back stack.
Apply theme border, foreground, and code colors to additional Material color scheme roles.
Block the fs and webui namespaces in the description WebView and update mmrlx to 1.0.248.
Fetch ZIP metadata with a HEAD request, falling back from Last-Modified to Date. Also configure redirect handling, compatible TLS, and a separate DNS bootstrap client.
Move repository search, sorting, and filtering into database queries and load modules incrementally as users scroll. Add search parsing tests and update mmrlx.
Refresh the installation screen and terminal logging, add a latest-version download action, and use explicit module manager binaries for shell commands. Update the MMRLX dependency and terminal view model providers.
Launch action and installation commands through the shared PTY lifecycle, stream output through listeners, and close the PTY when an action is canceled. Update the action screen to use the composition-local view model and shared scaffold.
Use the theme background and foreground colors for the action screen terminal.
Add a reorderable navigation rail that shares bottom bar preferences, adjust toolbar and repository padding for rail layouts, and update MMRLX.
Add buttons that trigger module installation and action script failures for testing.
Highlight lines beginning with `!` or `[!]` in string and byte output, and report the actual exit code when installation fails.
Upgrade MMRLX to 1.0.289 and adapt list padding, text styles, and the download menu to the updated component APIs. Also fixes #670
Use MMRLX styling and grouped actions for repository cards, and remove the detailed module card width constraint.
Use the MMRLX flashlight card, typography, and colors while preserving navigation to repository exploration.
Switch the repositories screen from Material 3 pull-to-refresh imports to the shared `dev.mmrlx.compose.ui` components.
Update exploration screens and cards to use MMRLX scaffolds, toolbars, components, and theme styling. Limit repository descriptions to three lines.
Apply the muted foreground color to repository timestamps and descriptions, and to module descriptions.
Migrate module cards and controls to MMRLX components, group action buttons, and adjust list spacing. Remove direct WebUI launching, configured name and description rendering, and blacklist border styling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.