Repository navigation
[WIP] App Overhaul - #656
Draft
DerGoogler wants to merge 24 commits into
Draft
DerGoogler wants to merge 24 commits into
DerGoogler wants to merge 24 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.
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.