digitalutsc / digitalutsc/data_viz

The JS stoped working when the aggregation JS and CSS is turned on

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Visit `/admin/config/development/performance`, make sure these 2 options is enable.

image

Visit the node which has the data visualization field formatter is used. the diagram are not rendered.

Right click on the web page, there is this error:

![image](https://github.com/user-attachments/assets/5bc78e11-d41f-4d0a-872d-8c00dda0060a)

This field formatter can be found at:
* /admin/structure/media/manage/file/display/network_diagram
* /admin/structure/media/manage/file/display/kinship_diagram

if there is an JS error $.once is not a function, install this module: https://www.drupal.org/project/jquery_once

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue from /admin/config/development/performance with JavaScript and CSS aggregation enabled, then open the network_diagram and kinship_diagram formatter displays under /admin/structure/media/manage/file/display/. Use the browser error shown in the report as the starting point; done means both diagrams render with aggregation enabled without the reported JavaScript error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.