[Feature Request] sheets 支持读写同一工作簿内的原生单元格定位链接

Abierto
#2,925 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
api, cli

Línea de trabajo

Start from the sheets +cells-get and sheets +cells-set command implementations and the link/URL field model they map to; the report shows the V2 read response already carries cellPosition while the write schema rejects it with 900015206. Compare the write payload against the V2 cell/link structure and the existing +range-copy path that preserves native links. Done means +cells-get exposes the target sheet plus A1 cell/range and +cells-set accepts it so the link stays in the current tab; if the write API lacks the field, the issue needs routing to the Sheets API team.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

domain/sheets enhancement

使用场景

我在用飞书 CLI 批量维护测试用例表,希望点击用例页的 SQL 编号时,在当前标签页直接跳到同一工作簿里另一张工作表的具体单元格。飞书界面通过「链接到单元格」可以实现。

当前表现

环境:Windows,lark-cli 1.0.100。

  • sheets +cells-get 能读到链接文字,但没有返回原生定位的目标。公开 V2 读取接口可以返回 cellPosition。
    • sheets +cells-set 写入 cellPosition 时返回 900015206,提示该字段未在写入结构中定义。普通网址链接会打开新标签页。
      • sheets +range-copy 能保留现有的原生定位链接,但需要事先建立指向该目标的链接。

期望能力

支持读取原生链接的目标,并按「目标工作表 + A1 单元格或范围」新建和修改原生定位链接。例如把显示文字为 D03 的链接从查询表的 H4 改到 H5 后,点击仍在当前标签页定位。若写入需要表格开放接口配合,也请考虑转给相应团队。

Lenguaje dominante
Go
Estrellas
18.2k
Forks
1.4k
Merge medio
1 d 3 h
PR fusionados (30 d)
18

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de larksuite/cli

Todos los issues de larksuite/cli

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.