Skip to content

Commit b8c4ea6

Browse files
Add IDE Plugin launcher, reintroduce digma-ui service (#1162)
* Add IDE Plugin launcher, reintroduce digma-ui service * Bump version
1 parent 0e2d14a commit b8c4ea6

26 files changed

+539
-25
lines changed

.storybook/preview-head.html

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,69 @@
66
font-style: normal;
77
}
88

9+
@font-face {
10+
font-family: "Alexandria";
11+
src: url("/fonts/Alexandria-Thin.ttf") format("truetype");
12+
font-weight: 100;
13+
font-style: normal;
14+
}
15+
16+
@font-face {
17+
font-family: "Alexandria";
18+
src: url("/fonts/Alexandria-ExtraLight.ttf") format("truetype");
19+
font-weight: 200;
20+
font-style: normal;
21+
}
22+
23+
@font-face {
24+
font-family: "Alexandria";
25+
src: url("/fonts/Alexandria-Light.ttf") format("truetype");
26+
font-weight: 300;
27+
font-style: normal;
28+
}
29+
30+
@font-face {
31+
font-family: "Alexandria";
32+
src: url("/fonts/Alexandria-Regular.ttf") format("truetype");
33+
font-weight: 400;
34+
font-style: normal;
35+
}
36+
37+
@font-face {
38+
font-family: "Alexandria";
39+
src: url("/fonts/Alexandria-Medium.ttf") format("truetype");
40+
font-weight: 500;
41+
font-style: normal;
42+
}
43+
44+
@font-face {
45+
font-family: "Alexandria";
46+
src: url("/fonts/Alexandria-Medium.ttf") format("truetype");
47+
font-weight: 600;
48+
font-style: normal;
49+
}
50+
51+
@font-face {
52+
font-family: "Alexandria";
53+
src: url("/fonts/Alexandria-SemiBold.ttf") format("truetype");
54+
font-weight: 700;
55+
font-style: normal;
56+
}
57+
58+
@font-face {
59+
font-family: "Alexandria";
60+
src: url("/fonts/Alexandria-Bold.ttf") format("truetype");
61+
font-weight: 800;
62+
font-style: normal;
63+
}
64+
65+
@font-face {
66+
font-family: "Alexandria";
67+
src: url("/fonts/Alexandria-Black.ttf") format("truetype");
68+
font-weight: 900;
69+
font-style: normal;
70+
}
71+
972
#storybook-root {
1073
height: 100%;
1174
}

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM nginx:1.25.0
1+
FROM nginx:1.27.2
22

33
COPY ./dist/ /usr/share/nginx/html/
44
COPY ./nginx.conf.template /etc/nginx/conf.d/default.conf.template
55
RUN rm /usr/share/nginx/html/index.html
66

7-
CMD ["/bin/sh" , "-c" , "envsubst '${PLUGIN_API_URL} ${PLUGIN_API_TOKEN}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"]
7+
CMD ["/bin/sh" , "-c" , "cp /etc/nginx/conf.d/default.conf.template /etc/nginx/conf.d/default.conf && exec nginx -g 'daemon off;'"]

assets/index.web.ejs

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,69 @@
99
font-weight: 500;
1010
font-style: normal;
1111
}
12+
13+
@font-face {
14+
font-family: "Alexandria";
15+
src: url("/fonts/Alexandria-Thin.ttf") format("truetype");
16+
font-weight: 100;
17+
font-style: normal;
18+
}
19+
20+
@font-face {
21+
font-family: "Alexandria";
22+
src: url("/fonts/Alexandria-ExtraLight.ttf") format("truetype");
23+
font-weight: 200;
24+
font-style: normal;
25+
}
26+
27+
@font-face {
28+
font-family: "Alexandria";
29+
src: url("/fonts/Alexandria-Light.ttf") format("truetype");
30+
font-weight: 300;
31+
font-style: normal;
32+
}
33+
34+
@font-face {
35+
font-family: "Alexandria";
36+
src: url("/fonts/Alexandria-Regular.ttf") format("truetype");
37+
font-weight: 400;
38+
font-style: normal;
39+
}
40+
41+
@font-face {
42+
font-family: "Alexandria";
43+
src: url("/fonts/Alexandria-Medium.ttf") format("truetype");
44+
font-weight: 500;
45+
font-style: normal;
46+
}
47+
48+
@font-face {
49+
font-family: "Alexandria";
50+
src: url("/fonts/Alexandria-Medium.ttf") format("truetype");
51+
font-weight: 600;
52+
font-style: normal;
53+
}
54+
55+
@font-face {
56+
font-family: "Alexandria";
57+
src: url("/fonts/Alexandria-SemiBold.ttf") format("truetype");
58+
font-weight: 700;
59+
font-style: normal;
60+
}
61+
62+
@font-face {
63+
font-family: "Alexandria";
64+
src: url("/fonts/Alexandria-Bold.ttf") format("truetype");
65+
font-weight: 800;
66+
font-style: normal;
67+
}
68+
69+
@font-face {
70+
font-family: "Alexandria";
71+
src: url("/fonts/Alexandria-Black.ttf") format("truetype");
72+
font-weight: 900;
73+
font-style: normal;
74+
}
1275
</style>
1376
</head>
1477
<body>

nginx.conf.template

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
map "${PLUGIN_API_TOKEN}" $headerValue {
2-
"" "";
3-
"~*^(.+)$" "Token $1";
4-
}
5-
61
server {
72
listen 80;
83
root /usr/share/nginx/html;
94
absolute_redirect off;
10-
11-
location /api/ {
12-
proxy_pass ${PLUGIN_API_URL}/;
13-
proxy_set_header Authorization $headerValue;
14-
}
155
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "digma-ui",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "Digma UI",
55
"main": "dist/index.js",
66
"scripts": {
@@ -15,6 +15,7 @@
1515
"build-storybook": "storybook build",
1616
"build:dashboard:dev": "webpack --config webpack.dev.ts --env app=dashboard",
1717
"build:documentation:dev": "webpack --config webpack.dev.ts --env app=documentation",
18+
"build:ide-launcher:dev": "webpack --config webpack.dev.ts --env app=ideLauncher",
1819
"build:installation-wizard:dev": "webpack --config webpack.dev.ts --env app=installationWizard",
1920
"build:main:dev": "webpack --config webpack.dev.ts --env app=main",
2021
"build:notifications:dev": "webpack --config webpack.dev.ts --env app=notifications",
@@ -24,6 +25,7 @@
2425
"build:dev:web": "webpack --config webpack.dev.ts --env platform=Web",
2526
"build:dashboard:prod": "webpack --config webpack.prod.ts --env app=dashboard",
2627
"build:documentation:prod": "webpack --config webpack.prod.ts --env app=documentation",
28+
"build:ide-launcher:prod": "webpack --config webpack.prod.ts --env app=ideLauncher",
2729
"build:installation-wizard:prod": "webpack --config webpack.prod.ts --env app=installationWizard",
2830
"build:main:prod": "webpack --config webpack.prod.ts --env app=main",
2931
"build:notifications:prod": "webpack --config webpack.prod.ts --env app=notifications",

public/fonts/Alexandria-Black.ttf

168 KB
Binary file not shown.

public/fonts/Alexandria-Bold.ttf

169 KB
Binary file not shown.
169 KB
Binary file not shown.
168 KB
Binary file not shown.

0 commit comments

Comments
 (0)