Skip to content

Add review UI#902

Open
dividedmind wants to merge 2 commits intomainfrom
feat/review-ui
Open

Add review UI#902
dividedmind wants to merge 2 commits intomainfrom
feat/review-ui

Conversation

@dividedmind
Copy link
Contributor

This adds the experimental review UI. Note currently the components code isn't released for this yet; it requires https://github.com/getappmap/appmap-js/tree/feat/review-homepage branch of appmap-js.

@dividedmind
Copy link
Contributor Author

dividedmind commented Jul 14, 2025

@jansorg this is a draft because we're still finalizing the upstream UI changes, but do you mind giving this a look? Code here is pretty much done except some possible styling changes. Thanks!

This comment was marked as outdated.

@jansorg
Copy link
Collaborator

jansorg commented Jul 15, 2025

@dividedmind Is this superseding #901?

Copy link
Collaborator

@jansorg jansorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that all the webviews are in a single directory now. That was long overdue.
I can't comment on the packaging with this many files, but I assume it's okay 😄

Overall, the changes to the plugin itself seem fine to me and I didn't notice anything out of place, only a few minor issues.
I'll do another pass when this PR is ready for review.

At least on my setup, the review editor uses a different font for headings than the others. Probably just a missing .css or font resource.

@dividedmind
Copy link
Contributor Author

@dividedmind Is this superseding #901?

It's meant to extend #901 and since we still haven't released that one I think we can merge and release both together.

@dustinbyrne dustinbyrne marked this pull request as ready for review July 25, 2025 17:31
@dustinbyrne dustinbyrne requested review from Copilot and jansorg July 25, 2025 17:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds experimental review UI functionality by consolidating multiple appland modules into a unified structure. The changes remove several standalone modules (appland-signin, appland-navie, appland-install-guide, appland-findings) and update the appland-webview module to handle the review UI functionality directly.

Key changes:

  • Consolidates Vue plugin initialization and webview mounting into appland-webview/appmap.js
  • Updates HTML to use ES modules and direct script loading
  • Removes multiple duplicate module directories and their build configurations

Reviewed Changes

Copilot reviewed 19 out of 179 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
appland-webview/appmap.js Consolidates Vue plugin setup and webview mounting, changes export pattern
appland-webview/appmap.html Updates to use ES modules and simplified script loading
appland-signin/* Complete removal of signin module and build configuration
appland-navie/main.js Removal of navie module entry point
appland-install-guide/* Complete removal of install guide module and build configuration
appland-findings/* Complete removal of findings module and build configuration

Copy link
Collaborator

@jansorg jansorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a few comments, mostly minor.

I'm not sure if the new, experimental review editor should be ready in this PR. If it shouldn't, please ignore my comment.
Previously, I added a few notes to the earlier PR at #901. I didn't repeat them here.


import org.jetbrains.annotations.Nls;

public class ReviewEditor extends WebviewEditor<Void> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the new, experimental review editor is ready yet.
The rendering of fonts and colors doesn't match the other AppMap editors or the IDE, for example.

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Styling is a bit of a work in progress, but I think the consensus was to get this merged and continue iterating on the main branch — it is behind an undocumented feature flag https://github.com/getappmap/appmap-intellij-plugin/pull/902/files#diff-1591b1656feb9ac287713ce03bd0887575a64fdd21d27ecccf9c34990c08f935R147 , so the user should beware that it's pre-release quality. @dustinbyrne @kgilpin is that fair?

@jansorg
Copy link
Collaborator

jansorg commented Dec 8, 2025

Can this be closed?

@dividedmind
Copy link
Contributor Author

Can this be closed?

Uh, thanks for the ping. Actually, let me get this into shape and let's merge it.

This is both for ease of maintainance and to reduce the size of
the plugin. Yarn is migrated to 4.1.3 and added to the repository;
webview update CI workflow is also removed (it appears to never
have been used).
Note this is currently behind appmap.experimental.review.ui registry
feature flag. Thus it is not normally exposed to the users; some
more work, not least UI polish, is needed.
@dividedmind dividedmind changed the base branch from develop to main March 18, 2026 18:05
@dividedmind
Copy link
Contributor Author

@jansorg I rebased and did some more cleanup (I noticed a js update gh job that was seemingly never used – removed that now), can you give it a quick glance and merge? The UI is still behind a feature flag and not active by default, but I think it makes it easier to work with and test if it's in main. Plus, the merge of webviews was long overdue...

@jansorg
Copy link
Collaborator

jansorg commented Mar 20, 2026

This looks good to me, but I'll merge after I had a bit more time to make sure the packaging is fine. But I'm pretty sure it is...

(I used the GitHub JS update job, but apparently nobody else. It's fine to remove it.)

@dividedmind
Copy link
Contributor Author

This looks good to me, but I'll merge after I had a bit more time to make sure the packaging is fine. But I'm pretty sure it is...

Thank you!

(I used the GitHub JS update job, but apparently nobody else. It's fine to remove it.)

Oh, GH logs don't show any executions, but I suppose it must have pruned old log entries. Anyway, I think in some ways it's better if the update is more manual, as it gives the opportunity to do a sanity check beyond the automated tests.

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.

4 participants