Repository navigation
Commit 8e4df68
Add pair programming plugin (#43)
* ADFA-4395: Update name of NDK plugin to indicate 64bit ONLY
* Add pair programming plugin
* ADFA-4395: Bundle shared.jar inside the pair plugin
pair depends on com.itsaky.androidide.models.Range (shared.jar), which was
referenced from the common libs/ but never committed, so a clean checkout
could not build. Ship the jar plugin-locally under pair/libs/ instead of
the stage-tracked common libs/. Also drops the ndk abiFilters block: the
plugin has no native code.
Jar built from CodeOnTheGo :shared:jar.
* ADFA-4395: Address plugin review — permissions, manifest, in-app help
- Drop the unused native.code permission (no native code ships in the plugin)
- Declare plugin.editor_tabs for the contributed Pair editor tab
- Pin the supported IDE range: min_ide_version = max_ide_version = 26.32,
the release that ships the peer-cursor/openProject plugin API
- Implement DocumentationExtension: tooltip entry on the sidebar item
(tag pair.sidebar) with summary, detail, and a User guide button, plus
a Tier-3 offline guide at assets/docs/index.html
* ADFA-4395: Fix tooltip category to full plugin.id, widen max_ide_version
* ADFA-4395: Fix black button text in light mode — strip baked colors from M3 Typography
Typography built from PluginTextStyles carried explicit colors (labelLarge
had onSurface baked in), which override Material3 per-slot content colors —
filled buttons rendered onSurface (black in light mode) instead of onPrimary.
Typography is now colorless and PairContent's root Box is a Surface so
LocalContentColor provides onSurface to plain text. Verified on emulator in
light and dark mode.
* ADFA-4395: Add long-press tooltips to every meaningful pair plugin control
PairTooltips registers one entry per control (16 total) under the plugin
category; the longPressTooltip modifier intercepts long-press in the initial
pointer pass, shows the tooltip via IdeTooltipService with the 3-arg overload,
and consumes the rest of the gesture so the underlying control does not also
fire onClick. Verified on emulator: tooltips render with See more, taps and
text input unaffected.
* ADFA-4395: New Plugin Manager tile icon, code brackets with WiFi badge
Rounded teal tile matching the other plugins' card style: big < > centered
with a small WiFi fan at the top right. Day tile is deep teal with a white
glyph, night tile is bright teal with a dark glyph. Sidebar and tab keep the
existing people glyph.
* ADFA-4395: Rename plugin to Code Together
plugin.name, app label, and the user guide now say Code Together; the tab and
sidebar keep the short Pair label and plugin.id is unchanged so existing
installs update in place. Docs prose also drops its em dashes.
* ADFA-4395: Align pair plugin with the standard toolchain (ADFA-4907)
check-toolchain.sh flagged four drifts against Code On The Go's on-device
toolchain: compileSdk/targetSdk 34 -> 36 and AGP 8.8.2 -> 8.11.0. AGP 8.11.0
needs Gradle >= 8.13, so drop pair's bundled 8.10.2 wrapper and use the
repo-root 8.14.3 wrapper (the convention in CLAUDE.md; update-libs.sh already
falls back to it when a plugin has no local gradlew). Verified assemblePlugin
still produces pair.cgp with the bumped toolchain.
---------
Co-authored-by: Daniel Alome <astrocoder007@gmail.com>1 parent 8167fb0 commit 8e4df68
84 files changed
Lines changed: 7668 additions & 0 deletions
File tree
- pair
- libs
- src/main
- assets
- docs
- kotlin/com/appdevforall/pair/plugin
- data
- domain
- ui
- components
- main
- preview
- theme
- util
- res
- drawable
- values-night
- values
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Binary file not shown.
0 commit comments