Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release new version of JetBrains plugin #559

Merged
merged 21 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
ad18268
chore: build and test against 2023.3 release
jansorg Jan 15, 2024
e53c2ed
chore: fix AppMapUploaderTest, which was failing with 2023.3 due to s…
jansorg Jan 19, 2024
b02bc49
chore: don't pollute project dir with log files of the AppMap Java agent
jansorg Jan 19, 2024
f73f5d7
chore: fix production build of signin webview and update to latest Ap…
jansorg Jan 15, 2024
feb5a88
chore: fix production build of findings webview and update to latest …
jansorg Jan 15, 2024
4218be6
chore: fix production build of appmap webview and update to latest Ap…
jansorg Jan 15, 2024
90e90f7
chore: share common code between our different webviews
jansorg Jan 15, 2024
37894d2
chore: update install guide webview to latest components versions, fi…
jansorg Jan 15, 2024
92086d1
chore: serve webviews with the IDE's built-in webserver
jansorg Jan 23, 2024
3aa178c
chore: refactor to control reuse of existing webview editors
jansorg Jan 23, 2024
1fd23ff
chore: registry key to open webview console
jansorg Jan 24, 2024
aeb279d
feat: enable JSON-RPC of AppMap indexer and pass API key
jansorg Jan 23, 2024
68f81d0
chore: remove the "Upload AppMap" feature
jansorg Jan 24, 2024
00e2f26
chore: add webview for AppMap Navie
jansorg Jan 23, 2024
2044a9c
chore: reuse common message handling of AppMap webiews
jansorg Jan 24, 2024
989dc3c
fix: don't open links to a localhost URL in the external browser
jansorg Jan 29, 2024
d8ee3e0
fix: add auth token query parameter to HTTP requests of webview assets
jansorg Jan 29, 2024
08ab253
feat: Support Java 21 in the plugin
jansorg Feb 2, 2024
9ae8a8e
fix: NPE when the AppMap is displayed for the first time
jansorg Feb 2, 2024
aba4917
fix: exception about slow operations when the AppMaps of the AppMap t…
jansorg Feb 2, 2024
79cfbdf
chore: avoid nested ReadActions when loading AppMaps for the tool window
jansorg Feb 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions appland-findings/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 1 addition & 2 deletions appland-findings/dist/main.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions appland-findings/dist/main.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* @license MIT
*/

/*! @license DOMPurify 3.0.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.8/LICENSE */

/*! https://mths.be/punycode v1.4.1 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
Expand Down
6 changes: 3 additions & 3 deletions appland-findings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"webpack-cli": "^4.6"
},
"dependencies": {
"@appland/components": "^3.5.0",
"@appland/components": "^3.25.1",
"url": "^0.11",
"vue": "^2.7",
"vue-template-compiler": "^2.7",
"url": "^0.11"
"vue-template-compiler": "^2.7"
},
"packageManager": "[email protected]"
}
93 changes: 54 additions & 39 deletions appland-findings/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,51 +1,66 @@
/* eslint-disable */
const path = require('path');

module.exports = {
module.exports = (env, argv) => {
const isProduction = argv.mode === 'production'

let config = {
entry: './main.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'main.js',
devtoolModuleFilenameTemplate: '[resource-path]',
library: 'AppLandWeb',
path: path.resolve(__dirname, 'dist'),
filename: 'main.js',
devtoolModuleFilenameTemplate: '[resource-path]',
library: 'AppLandWeb',
},
devtool: 'source-map',
resolve: {
extensions: ['.js', '.mjs'],
alias: {
vue: path.resolve('./node_modules/vue'),
vuex: path.resolve('./node_modules/vuex'),
},
fallback: {
crypto: 'crypto-js',
},
extensions: ['.js', '.mjs'],
alias: {
messagePublisher: path.resolve('../appland-shared/messagePublisher.js'),
vsCodeBridge: path.resolve('../appland-shared/vsCodeBridge.js'),
vue: path.resolve('./node_modules/vue'),
vuex: path.resolve('./node_modules/vuex'),
},
fallback: {
crypto: 'crypto-js',
assert: false,
buffer: false,
http: false,
https: false,
}
},
module: {
rules: [
{
test: /\.m?js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {},
},
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
},
{
test: /\.html$/i,
loader: 'html-loader',
},
rules: [
{
test: /\.m?js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {},
},
},
{
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
},
{
test: /\.html$/i,
loader: 'html-loader',
},
{
test: /\.(svg|ttf)$/i,
use: [
{
test: /\.(svg|ttf)$/i,
use: [
{
loader: 'file-loader',
},
],
loader: 'file-loader',
},
],
],
},
],
},
};
}

if (!isProduction) {
config.devtool = 'source-map'
}

return config
}
4 changes: 2 additions & 2 deletions appland-findings/webview.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Vue from 'vue';
import {VAnalysisFindings, VFindingDetails} from '@appland/components';
import '@appland/diagrams/dist/style.css';
import MessagePublisher from './messagePublisher';
import vscode from './vsCodeBridge';
import MessagePublisher from 'messagePublisher';
import vscode from 'vsCodeBridge';

export function mountWebview() {
const messages = new MessagePublisher(vscode);
Expand Down
Loading
Loading