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

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

                Author: ASF GitHub Bot
            Created on: 30/Jul/25 12:05
            Start Date: 30/Jul/25 12:05
    Worklog Time Spent: 10m 
      Work Description: grgrzybek commented on PR #109:
URL: 
https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3135995397

   Now with `yarn webpack build --mode development` I've concatenated all 
`*.js` files and it's:
   * 37MB
   * 5569 unique "modules" like `!*** 
../node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js ***!`
   * 5 duplicates:
   ```
         2   !*** ../node_modules/@hawtio/react/dist/index.js ***!
         2   !*** 
../node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js 
***!
         2   !*** 
../node_modules/monaco-editor/esm/vs/editor/common/services/textModelSync/textModelSync.protocol.js
 ***!
         2   !*** 
../node_modules/@patternfly/react-styles/css/components/ExpandableSection/expandable-section.css
 ***!
         2   !*** 
../node_modules/@patternfly/react-tokens/dist/esm/c_expandable_section_m_truncate__content_LineClamp.js
 ***!
   ```
   
   Doing some statistics ("module" is a single JavaScript file from all used 
NPM Packages):
   * 559 D3 modules
   * 268 lodash modules
   * 1049 monaco-editor modules
   * 83 `@patternfly/react-charts` modules
   * 11 `@patternfly/react-code-editor` modules
   * 573 `@patternfly/react-core` modules
   * 1750 `@patternfly/react-icons` modules. yes. See 
hawtio/hawtio-next@a9c2937d which saved me 15MB
   * 197 `@patternfly/react-styles` modules
   * 49 `@patternfly/react-table` modules
   * 325 `@patternfly/react-tokens` modules
   * 217 `@patternfly/react-topology` modules
   * and some minors
   
   Now I'll check the duplicates (there shouldn't be any) and 
icons/styles/tokens optimization




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

    Worklog Id:     (was: 976927)
    Time Spent: 4h 50m  (was: 4h 40m)

> 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: 4h 50m
>  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