processing / processing/processing4

Allow naming main .pde file in `pde://sketch/base64/` schema

未关闭
#1,213 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Most relevant area for this enhancement?

PDE

Feature to enhance

pde:// schema

Enhancement details
Enhancement description

Right now, when using pde://sketch/base64/<base64_encoded_content>, the main .pde file is always opened with a default auto-generated name like sketch_250816a.

There should be a way to explicitly specify the main tab name, similar to how additional tabs can already be defined with query parameters.

Example proposal:

pde://sketch/base64/pde=sketchName:<base64_encoded_content>
Benefits
  • Brings consistency with how secondary .pde files are already handled.
  • Accuracy with the original sketch naming.
Challenges
  • Need to decide on the syntax for naming the main tab.
  • Must stay backward compatible with existing links.
Additional context

Secondary tabs already support explicit naming via query parameters:

pde://sketch/base64/<base64>?pde=tab2Name:<base64>&pde=tab3Name:<base64>

The same flexibility should be extended to the main tab.

Would you like to help implement this enhancement?

No, I’m just suggesting the enhancement

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 SCHEMA.md 开始,跟踪 pde://sketch/base64/ 格式如何处理主 payload 和次要 pde 查询参数。定义一种用于命名主标签页的向后兼容语法,然后验证现有链接仍然有效,并且主标签页会与次要标签页一起接收所请求的名称。

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

评估

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

把新 issue 发到你的邮箱

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