ADFA-3608: Add Discover plugins shortcut to Plugin Manager toolbar#1216
ADFA-3608: Add Discover plugins shortcut to Plugin Manager toolbar#1216Daniel-ADFA merged 1 commit intostagefrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughRelease Notes - ADFA-3608: Add Discover plugins shortcut to Plugin Manager toolbarFeatures
Changes
|
| Cohort / File(s) | Summary |
|---|---|
Plugin Manager Activity app/src/main/java/com/itsaky/androidide/activities/PluginManagerActivity.kt, app/src/main/res/menu/menu_plugin_manager.xml |
Implemented onCreateOptionsMenu to inflate the plugin manager menu and attach a long-press tooltip listener, and onOptionsItemSelected to handle discover-plugins action by opening a URL via UrlManager. |
Resource Assets resources/src/main/res/drawable/ic_download.xml, resources/src/main/res/values/strings.xml |
Added vector drawable for download icon and new string resources for the discover plugins action label and external contribution URL. |
Preferences Configuration app/src/main/java/com/itsaky/androidide/preferences/rootPrefExts.kt |
Removed conditional logic that gated PluginManagerEntry() behind FeatureFlags.isExperimentsEnabled, now always adds the entry unconditionally. |
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
- ADFA-2714 Add tooltip for Plugin Manager #1007: Introduced the
TooltipTag.PLUGIN_MANAGERtooltip tag and long-press tooltip support infrastructure that this PR leverages in theonCreateOptionsMenuhandler. - ADFA-3270: Add erase installation file when done button to Plugin Manager #1119: Also modifies
PluginManagerActivitywith file-picker, install, and delete behavior, creating overlapping touchpoints with this PR's menu handling additions.
Suggested reviewers
- jomen-adfa
- jatezzz
- dara-abijo-adfa
Poem
🐰 A download icon hops into view,
Menu options shiny, fresh, and new,
Discover plugins with a single tap,
No more feature flags to close the gap,
The plugin manager's ready to go! 🚀
🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Docstring Coverage | Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. | Write docstrings for the functions missing them to satisfy the coverage threshold. | |
| Description check | ❓ Inconclusive | No description was provided by the author, making it impossible to evaluate whether it relates to the changeset. | Add a brief description explaining the purpose and implementation of the Plugin Manager discover plugins feature. |
✅ Passed checks (1 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly and specifically describes the main change: adding a discover plugins shortcut to the Plugin Manager toolbar, matching the changeset. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
📝 Generate docstrings
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Commit unit tests in branch
ADFA-3608
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.
Comment @coderabbitai help to get the list of available commands and usage tips.
No description provided.