JetBrains: a more modern review UI (look at Jetpack Compose / Jewel) #6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The in-IDE review (Review in IDE / Revue: Review Pull Request) works, and after
2d86eb8it's fast, but it still looks like a Swing form next to the IDE's own GitHub review or GitHub itself. Make it feel modern: as good as GitHub's review, or better.Reference
Another plugin, also called Revue (not ours; Bitbucket only), is on the Marketplace: https://plugins.jetbrains.com/plugin/35639-revue (source: https://gitlab.com/mkisd/revue). Its interface is built on Jetpack Compose: a pull request browser with search, a rich overview (header, status and branch badges, per-file diff stats, commits, a comment timeline), and inline comment threads by the code, all in one tool window. Worth looking at for how it's put together and how it gets past the Plugin Verifier.
What to look into
failureLevelisALL), and whether the other Revue gets there (bundled module, its own Compose, verifier exceptions)suggestionblocks) shown as a diff with Apply, @-mentions, and a Markdown preview while writing.Done when
./gradlew verifyPluginstill passes at failureLevel ALLDone in jetbrains 1.2.0 (release run started from
5579b65). The whole plugin is Compose/Jewel now, not only the review.Spike: Compose and Jewel pass
verifyPluginat failureLevel ALL through the bundled Compose UI plugin (composeUI(),<module name="intellij.platform.compose"/>), with no verifier exceptions. Jewel's Markdown and Tooltip are experimental API, so the plugin has its own Markdown renderer (MarkdownBlocks.kt). Compose works inside diff editor inlays (EditorEmbeddedComponentManager).What changed:
ReviewCards.kt,ReviewUi.kt):ReviewToolWindow.kt):revuewith test pull requests (jetbrains/fake-revue).jetbrains/README.md→ Testing).Left over, in #8 (walk coverage, small glitches) and #7 (headless Docker runs). Reactions and the full @-mention list wait on thatrichan/revue#79.