Skip to content

The Market says when AI helped make a package - #75

Merged
McCal-Codes merged 1 commit into
mainfrom
market-ai-assisted
Sep 22, 2026
Merged

McCal-Codes merged 1 commit into
mainfrom
market-ai-assisted

Conversation

@McCal-Codes

Copy link
Copy Markdown
Owner

What this changes

When a package's manifest declares aiAssisted (added in #74), the Market now shows it:

  • Package page: an "AI-assisted" tag beside the developer, and "Made with AI: " with the author's note under Information.
  • Install sheet: "Made with help from AI: " and the note, before Get.
  • Plain grey text, not amber or red: it says how the package was made, like the author line (DES-12 keeps the accent for what needs attention).
  • New strings in English and Simplified Chinese.
  • docs/standards/ai-contributions.md: the description prefix stays for Folio 0.6.6, which doesn't show the field.

How I checked it

  • Mockup Lab (Market scene, two new screens on the Example package Sunset Icons): all 344 windows × 34 screens pass at standard settings; at 200% text + RTL + Reduce Motion + long text nothing is flagged on the new screens (existing Source error / Sources / Intro sheet / Play Store package screens have their own issues there).
  • New MarketScreenRenderTest case: the install sheet shows the tools and note when declared, and nothing when not.
  • ./gradlew :app:testDebugUnitTest :market:testDebugUnitTest :app:lintDebug :market:lintDebug :app:assembleDebug passes.

The two-panes branch also edits MarketScreen.kt; this touches only the package header and the Information group.

A package that declares aiAssisted gets an AI-assisted tag beside its
developer, a Made with AI line (and the author's note) under Information,
and a Made with help from AI line on the install sheet before Get. Plain
grey, not a warning. English and Simplified Chinese.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 79e3f72cd2

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

color = Color.White.copy(alpha = .55f), fontSize = 14.sp, modifier = Modifier.padding(bottom = 12.dp),
)
// Said before Get, because it's part of deciding: the author declared AI helped make this.
manifest.aiAssisted?.let { ai ->

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Show the disclosure in the external-app chooser

For an AI-assisted package whose kind is externalApp, onExternalOrConfirm routes Get to MarketExternalSheet rather than this component, and Get can be invoked directly from package or source lists. The user can therefore choose Play, F-Droid, Obtainium, or Folio's APK installer without seeing this disclosure unless they separately opened the package page; render the aiAssisted declaration in the external chooser as well.

Useful? React with 👍 / 👎.

@McCal-Codes
McCal-Codes merged commit c81858d into main Sep 22, 2026
2 checks passed
@McCal-Codes
McCal-Codes deleted the market-ai-assisted branch September 22, 2026 15:29
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