getappmap / appmap-intellij-plugin

MIT License
38 stars 9 forks source link

Implement pinned files for the Navie editor #786

Closed jansorg closed 2 months ago

jansorg commented 2 months ago

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/789

Support for pinned context files in the IDE.

Added actions:

The default max size of pinned files is 20 KB (as in VSCode). There's a new, application-wide setting to override this value.

I looked into support for Drag&Drop, unfortunately it's not possible to implement this in a reasonable time:

Test coverage: I've added tests, but because JCEF is not available on headless systems like CI some of these tests are only executed on a local development environment.

Project view context menu: image

Context menu of an editor tab: image

Notification if file was too large: image

Tools menu to choose files with file chooser: image

UI for the new setting: image

github-actions[bot] commented 2 months ago

AppMap runtime code review

Summary Status
Failed tests :white_check_mark: All tests passed
API changes :zero: No API changes
Security flaws :white_check_mark: None detected
Performance problems :white_check_mark: None detected
Code anti-patterns :white_check_mark: None detected
New AppMaps :star: 3 new junit tests
Removed AppMaps :heavy_multiplication_x: 30 removed junit tests

⭐ New AppMaps

[junit] App map application settings copy from plugin-core/src/test/java/appland/settings/AppMapApplicationSettingsTest.java:40

[junit] App map secure application settings service open ai key from plugin-core/src/test/java/appland/settings/AppMapSecureApplicationSettingsServiceTest.java:9

[junit] Navie pin file request json serialization from plugin-core/src/test/java/appland/webviews/navie/NaviePinFileRequestTest.java:11

✖️ Removed AppMaps

[junit] Java language analyzer maven plain

[junit] Java language analyzer maven spring

[junit] Java language analyzer maven spring j unit

[junit] Java script language analyzer express mocha

[junit] Java script language analyzer jest

[junit] Java script language analyzer mocha 7

[junit] Java script language analyzer mocha 7 package lock

[junit] Java script language analyzer mocha 8

[junit] Java script language analyzer mocha package lock

[junit] Java script language analyzer mocha yarn 1 lock

Because there are many removed AppMaps, some of them are not listed in this report.

appland-release commented 1 month ago

:tada: This PR is included in version 0.75.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: