Repository navigation
Market: tab bar under the keyboard, Back to Settings, source page rows - #729
Merged
Merged
Conversation
The bottom tab bar keeps its place and the keyboard covers it, so a search has room for its results. Back from a Market opened in Settings returns to its Settings page. Rows on a source's page keep the card's inset. A switch row's text keeps clear of the switch. The Tweak Library row drops its count once every tweak is added. The Packages search text stays when a result is opened.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Six fixes from the Market walk on the dev Fold's cover screen, for beta 7.
What is true now
The Market's tab bar stays under the keyboard. In Packages search the bar used to ride up on top of the keyboard and leave about two and a half rows of results. The sheet lifts the Market's column by the keyboard, so the bar's slot now gives back what the keyboard has taken (
tabBarSlotPxinSizeClass.kt): the bar keeps its place at the bottom of the window and the keyboard covers it, as on iOS. The results get the room.Back from a Market opened in Settings goes back to Settings. "Open the Market" on Settings › Tweaks › Market swaps the Settings sheet for the Market, so one Back closed the sheet and left the person on Home.
LauncherScreennow remembers that the Market came from Settings (marketFromSettings) and Back at the Market's top returns to the Market page (marketBackTarget). The Market's own pages and its Settings tab still answer Back first. Opened from the app icon or a link, Back closes the store as before.Packages on a source's page sit inside their card.
MarketRowtakes aninsetand adividerflag; the source page passes the card's inset and leaves the hairline off its last row, which ran into the rounded corner. The flat lists are unchanged.A switch row's text keeps clear of its switch.
SwitchRowinCustomizationSheet.kthad no gap, so a line that filled the row ("Update packages in the background") ran up to the switch.Tweak Library says nothing once every tweak is added. The Tweaks row read "0 available" beside a library that lists eight (
tweaksLeftToGet), and the library's "off until you get them" note showed with all eight on. Both now show only while a tweak is left to get.The Packages search keeps its text. The text lived in the list, which is not drawn while a package covers it, so it was gone on the way back from a result. It is held by
MarketScreennow.Left as it is
df6d6d87): the app icon opens the Market and Settings is its tab. The walk read it as a mistake; it is a decision, so it is not changed here.Checked
./gradlew :app:testDebugUnitTest :market:testDebugUnitTest :app:lintDebug :market:lintDebug :app:assembleDebug -Pfolio.captureUi: app 3439 tests, market 334, 0 failures; lint clean.:app:assembleFastandtools/check-dex-registers.py --variant fast: no new method over 256 registers.tabBarSlotPx(ScreenMatrixTest),marketBackTarget(MarketLinkTest),tweaksLeftToGet(SettingsSearchTweaksTest).Not checked: the inside screen (the phone was shut). There the tabs are a sidebar, so the tab bar change does not apply; the source page rows and the switch row are the same code on both screens.
The changelog lines in
changelog.d/market-layout.mdare a draft for McCal to word.