Skip to content

Keep Get, Install and Open in the same App Hub button - #208

Open
ymote wants to merge 1 commit into
mainfrom
fix/apphub-inline-install
Open

ymote wants to merge 1 commit into
mainfrom
fix/apphub-inline-install

Conversation

@ymote

@ymote ymote commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

App Hub left Get in the detail header while placing the actual Install button below the permissions and privacy copy. The header now uses one primary action: Get → Install → Installing… → Open. Choosing Get reveals the disclosures; choosing Install submits the existing catalog-bound consent. The footer retains Cancel, and update listings retain their separate Open action for the installed version.

Installation results and catalog warnings appear below the detail header so they cannot move the primary button. Entering consent from an already open detail page preserves its scroll position. The native preview now logs verified installed-app open actions as well as built-in launches.

Validation:

  • cargo test --locked --release -p octosense-app-hub-app --no-default-features --lib: 48 passed.
  • cargo build --locked --release -p octosense-app-hub-app --no-default-features --examples: passed against the pinned plain Makepad siblings.
  • Hidden native Makepad instrument tests on macOS at 960×800, 406×820 and 320×640: exact primary-button rectangles match through Get/Install/Installing/Open. Real fixture bundles download and install. Back cancels consent; a withheld fixture download fails visibly and retries successfully; an extra tap while busy does not duplicate the download. Open emits the verified installed app ID. Privacy remains scrollable on the smallest viewport. Captures inspected; no script errors or panics.

The native checks use isolated local catalogs and profiles. Early harness attempts needed search-layout settling and scrolling before checking narrow-screen disclosure visibility; completed runs cover all three sizes. Preview checks establish Open dispatch, not full-shell app launch. No Android device run is claimed.

OctoSense must adopt this App Hub commit and ship a new host build for released users to get the fix. The existing RC5 app and public catalog are unchanged.

This branch has not been deployed

No deployments
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