[
https://issues.apache.org/jira/browse/ARTEMIS-5569?focusedWorklogId=977080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-977080
]
ASF GitHub Bot logged work on ARTEMIS-5569:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 31/Jul/25 10:23
Start Date: 31/Jul/25 10:23
Worklog Time Spent: 10m
Work Description: ViliusS commented on PR #109:
URL:
https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3139373569
@grgrzybek, the production build from your branch looks great. Monaco editor
is loaded locally and SendMessage works.
PatternFly chunk is much smaller, which is cool. I don't see
`patternfly-mini-css-extract-plugin.js` either.
```
[root@activemq-artemis-node-1 js]# ls -la *.js
-rwxrwxrwx. 1 root root 116K Jul 31 10:04 786.cd3e7f0f.chunk.js
-rwxrwxrwx. 1 root root 2.1K Jul 27 09:06 834.b7f74f9b.chunk.js
-rwxrwxrwx. 1 root root 2.6K Jul 31 10:04 859.fd201182.chunk.js
-rwxrwxrwx. 1 root root 2.6K Jul 31 10:04 862.45256e60.chunk.js
-rwxrwxrwx. 1 root root 7.3M Jul 31 10:04 hawtio.4d3456bc.js
-rwxrwxrwx. 1 root root 289 Jul 31 10:04 main.aeddac53.js
-rwxrwxrwx. 1 root root 3.8M Jul 27 09:06 monaco.f3b534f1.chunk.js
-rwxrwxrwx. 1 root root 1.4M Jul 31 10:04 other.30f5c573.chunk.js
-rwxrwxrwx. 1 root root 992K Jul 31 10:04 patternfly.862b7cbd.js
-rwxrwxrwx. 1 root root 152K Jul 27 09:06 react.52f8e43c.chunk.js
-rwxrwxrwx. 1 root root 9.3K Jul 31 10:04 runtime.7ea245ba.js
```
I still see some Monaco loader code in other.js chunk (search for string
"https://cdn."), but that probably is never loaded.
I will close this PR in favour of yours, and move new discussion there.
Issue Time Tracking
-------------------
Worklog Id: (was: 977080)
Time Spent: 6h 10m (was: 6h)
> Cannot send message through console
> -----------------------------------
>
> Key: ARTEMIS-5569
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5569
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Web Console
> Affects Versions: console-1.2.1
> Reporter: Gašper Čefarin
> Priority: Blocker
> Labels: pull-request-available
> Attachments: image-2025-07-08-14-06-50-767.png,
> image-2025-07-08-14-08-49-445.png, image-2025-07-08-14-10-27-916.png
>
> Time Spent: 6h 10m
> Remaining Estimate: 0h
>
> I don't know when the bug appeared, I think this functionality worked in
> console 1.1.0.
> Currently, the frontend does not render properly and it's impossible to send
> a message through console.
> !image-2025-07-08-14-08-49-445.png!
>
> !image-2025-07-08-14-10-27-916.png!
> The problem is loading
> “[https://cdn.jsdelivr.net/npm/[email protected]/min/vs/loader.js]” and
> CSP policy.
>
> !image-2025-07-08-14-06-50-767.png!
>
> Commenting out this filter in /console.war/WEB-INF/web.xml works for me.
> {code:java}
> <!--
> <filter>
> <filter-name>ContentSecurityPolicyFilter</filter-name>
>
> <filter-class>io.hawt.web.filters.ContentSecurityPolicyFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>ContentSecurityPolicyFilter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> -->{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact