[ 
https://issues.apache.org/jira/browse/ARTEMIS-5569?focusedWorklogId=976409&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-976409
 ]

ASF GitHub Bot logged work on ARTEMIS-5569:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Jul/25 23:36
            Start Date: 25/Jul/25 23:36
    Worklog Time Spent: 10m 
      Work Description: ViliusS commented on PR #109:
URL: 
https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3120683134

   I spend another 10 hours and reorganized dependencies according to 
https://github.com/hawtio/hawtio-next/blob/main/app/README.md . This fixed a 
build error.
   Sadly Monaco editor is still included from CDN. There is something 
fundamentally wrong with webpack configuration:
   1) When it creates optimized chunks the monaco chunk is created correctly, 
however real UI never uses it. PatternFly chunk are used instead, and these 
other chunks have `@monaco-editor/loader` pulled in.
   2) Unless PatternFly peerDependencies are specified they is pulled in from 
`@hawtio/react`, increases indes.js considerably and breaks the build. This is 
fixed in `@hawtio/react` 1.10.0, but I cannot get it to work with Artemis 
console.
   
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 976409)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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: 1h 20m
>  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


Reply via email to