antvis / antvis/G

[BUG] `PARSED_STYLE_LIST` causes plugin exception

Open
#1,959 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
1.2k
Forks
230
PR merge metrics
No merged PRs in 30d

Description

In the past, when improving performance, we added `PARSED_STYLE_LIST` to parse only necessary attributes in order to improve the performance of the element data parsing process, which resulted in some of the new attributes added by the plugin not being taken into account, which led to logical exceptions.

see #1847 #1820

---

Plugins known to be affected:

- `@antv/g-plugin-matterjs`
- `@antv/g-plugin-box2d`

Contributor guide

Open the contributing guide

Research direction

Start by tracing how PARSED_STYLE_LIST controls element data parsing, then compare the attributes used by @antv/g-plugin-matterjs and @antv/g-plugin-box2d. Review issues #1847 and #1820 for context; done means the affected plugin attributes are handled without the reported logical exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.