Skip to content

Market: tab bar under the keyboard, Back to Settings, source page rows - #729

Merged
McCal-Codes merged 1 commit into
mainfrom
fix/market-layout
Dec 4, 2026
Merged

McCal-Codes merged 1 commit into
mainfrom
fix/market-layout

Conversation

@McCal-Codes

Copy link
Copy Markdown
Owner

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 (tabBarSlotPx in SizeClass.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. LauncherScreen now 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. MarketRow takes an inset and a divider flag; 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. SwitchRow in CustomizationSheet.kt had 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 MarketScreen now.

Left as it is

  • The Market's Settings tab is Folio's own Settings. That is how it was built on 17 Sep (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.
  • Frames on opening the Market. Measured again with per-frame times: over four opens the Market drew 7 to 8 frames each, 5 of them in the first 40 ms, the slowest 21 to 24 ms, and nothing animates while it opens. The counter's "6 of 10 janky" was those first-draw frames on a 120 Hz screen, not a stutter.

Checked

  • ./gradlew :app:testDebugUnitTest :market:testDebugUnitTest :app:lintDebug :market:lintDebug :app:assembleDebug -Pfolio.captureUi: app 3439 tests, market 334, 0 failures; lint clean.
  • :app:assembleFast and tools/check-dex-registers.py --variant fast: no new method over 256 registers.
  • New tests: tabBarSlotPx (ScreenMatrixTest), marketBackTarget (MarketLinkTest), tweaksLeftToGet (SettingsSearchTweaksTest).
  • On the dev Fold's cover screen, optimized build: each fix seen on screen. Back inside the Market still goes up one level (package page to list), and Back with the keyboard up only hides the keyboard.
  • Get and Remove, which the walk had not pressed: Harborline removed ("Harborline removed", the row offers Get, gone from Installed), then got back through the confirm sheet ("Harborline is on", with Undo). Its settings were the same after as before.

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.md are a draft for McCal to word.

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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T15:10:47.567633Z 9b3adf3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@McCal-Codes
McCal-Codes merged commit 8491646 into main Dec 4, 2026
3 checks passed
@McCal-Codes
McCal-Codes deleted the fix/market-layout branch December 4, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant