GraphiteEditor / GraphiteEditor/Graphite

Set exported SVG tag ID to its source layer name

未关闭
#2,879 8 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Good First Issue
主要语言
Rust
星标
27.2k
派生
1.3k
平均合并
20 小时 5 分钟
30 天内合并 PR
57

描述

When exporting to SVG no node id is created; this should be set to the layer name so that the id becomes available for other tools, e.g. styling, animation with SVG. Figma does this (set the checkbox on Export, screenshot).

![Image](https://github.com/user-attachments/assets/60429c67-48d3-4e56-9e14-feef257e486e)
![Image](https://github.com/user-attachments/assets/7d71e9b5-a6fa-4cd9-8298-f5f10ea87d2c)

Image
Image

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 SVG 导出路径以及源图层名称的表示方式;issue 未指明任何文件或测试。确认导出的 SVG 输出包含一个根据源图层名称派生的 node id,并在找到相关的导出测试后,为该行为添加或更新覆盖测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
computer-graphics
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。