Skip to content

Tnt overlay v3 - #41

Closed
ysgl870-web wants to merge 21 commits into
cwuom:mainfrom
ysgl870-web:tnt-overlay-v3
Closed

ysgl870-web wants to merge 21 commits into
cwuom:mainfrom
ysgl870-web:tnt-overlay-v3

Conversation

@ysgl870-web

@ysgl870-web ysgl870-web commented Oct 29, 2026 •

Copy link
Copy Markdown

Summary by CodeRabbit

  • New Features
    • Added a tools hub with utilities for text, JSON, links, sharing, and device diagnostics.
    • Added a preset workshop for creating, editing, searching, previewing, validating, importing, and exporting presets, plus offline Ark JSON drafts and HEX/Base64 conversion.
    • Added preset workshop shortcuts in settings and the chat menu.
  • Updates
    • Updated the app name and package identity to TNT.
  • Documentation
    • Added guides for building the app, using presets, and preparing cloud catalogs. Cloud catalogs require a manually entered HTTPS address and are previewed before import.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Walkthrough

TNT adds a tool hub and preset workshop to the Android app. The changes update app identity and entry points, add local preset and catalog workflows, and provide documentation and example catalog data.

Changes: TNT tools and presets

Layer / File(s) Summary
App identity and tool entry points
app/build.gradle.kts, app/src/main/AndroidManifest.xml, app/src/main/java/moe/ono/activity/OUOSettingActivity.kt, app/src/main/java/moe/ono/activity/TNTLauncherActivity.kt, app/src/main/java/moe/ono/hooks/item/chat/BottomShortcutMenu.kt, app/src/main/res/values/strings.xml, app/src/main/res/xml/root_preferences.xml, README.md, docs/TNT_V3_使用与构建说明.md
Updates the application ID, APK name, launcher target, settings links, and app descriptions. Adds the TNT tool hub and preset-workshop entry points. Documents the overlay, build steps, and stated feature boundaries.
Local preset workflows
app/src/main/java/moe/ono/activity/TNTPresetStudioActivity.kt, docs/TNT_黑壳预设与发包机制研究.md
Adds local preset management, search, validation, conversion, offline Ark JSON drafts, examples, and library persistence. The research document describes preset formats, related findings, and stated limitations.
Catalog retrieval and import
app/src/main/java/moe/ono/activity/TNTPresetStudioActivity.kt, docs/TNT_黑壳预设与发包机制研究.md, docs/云预设目录格式与安全说明.md, examples/cloud-presets.example.json
Adds HTTPS catalog retrieval with URL, host, and response checks. Catalog entries can be parsed, previewed, selected, and imported locally. Adds catalog format documentation and example records.

Priority: Not assessed

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant TNTPresetStudioActivity
  participant HTTPSCatalog
  participant LocalPresetPreferences
  User->>TNTPresetStudioActivity: Enter catalog URL and request import
  TNTPresetStudioActivity->>HTTPSCatalog: Send validated GET request
  HTTPSCatalog-->>TNTPresetStudioActivity: Return catalog JSON
  TNTPresetStudioActivity->>User: Show parsed presets for selection
  User->>TNTPresetStudioActivity: Confirm selected presets
  TNTPresetStudioActivity->>LocalPresetPreferences: Save selected presets
Loading

Suggested reviewers: cwuom

Merge Risk: High · up to c21d5

The preset workshop's main actions (check, copy, edit and delete) cannot be reached, and catalog import cannot select entries. Presets saved from the QQ shortcut do not appear in the standalone app. The documented build steps also fail on a fresh clone. These should be fixed before merging.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ysgl870-web

Copy link
Copy Markdown
Author

1

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