You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial plan
* refactor: apply code quality improvements across multiple files
- Rename `options` state to `previewCode` in Playground.tsx for clarity
- Add ITEM_POSITION_H/ITEM_POSITION_V constants in chart-line.tsx
- Fix gradient area color to use last colorStopsData color instead of colorPrimary
- Add NaN check for width/height in svg.ts getExportViewBox
- Add braces around single-statement if in embedIcons
- Add empty id guard in collectDefElements
- Replace simple regex CSS escape fallback with full CSS.escape algorithm
- Remove redundant condition in search.ts loadSearchResource
- Use charCodeAt comparison in getCommonPrefixLength for performance
- Extract isBetterMatch helper function in templates/utils.ts
Agent-Logs-Url: https://github.com/antvis/Infographic/sessions/289607cf-6b2e-4c1c-b79d-ec538a1b098c
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
* fix: move empty id check before visited set, add parentheses for operator precedence
- Move !id guard before visited.add() to prevent empty strings being added
- Add parentheses around range checks in CSS escape fallback for correct precedence
Agent-Logs-Url: https://github.com/antvis/Infographic/sessions/289607cf-6b2e-4c1c-b79d-ec538a1b098c
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
* fix: address review comments in svg export
* fix: handle unicode ids in css escape fallback
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Aarebecca <25787943+Aarebecca@users.noreply.github.com>
Co-authored-by: Aaron <antvaaron@gmail.com>
0 commit comments