The Market says when AI helped make a package - #75
Conversation
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.
There was a problem hiding this comment.
💡 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 -> |
There was a problem hiding this comment.
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 👍 / 👎.
What this changes
When a package's manifest declares
aiAssisted(added in #74), the Market now shows it:docs/standards/ai-contributions.md: the description prefix stays for Folio 0.6.6, which doesn't show the field.How I checked it
MarketScreenRenderTestcase: the install sheet shows the tools and note when declared, and nothing when not../gradlew :app:testDebugUnitTest :market:testDebugUnitTest :app:lintDebug :market:lintDebug :app:assembleDebugpasses.The
two-panesbranch also editsMarketScreen.kt; this touches only the package header and the Information group.