Skip to content

slides: read-slide/info expose no geometry, text styling, table-cell text, or element locator #822

Description

@sebsnyk

Problem

gog slides has no read path that surfaces a slide's structure with enough fidelity to drive surgical edits — the equivalent of what gog docs paragraphs list / find-range give for Docs.

read-slide (and info) omit:

  • Element geometry — no x/y/width/height for any page element.
  • Text styling — no bold/italic/font/size/color, and no textStyle.link.url, on text runs.
  • Bullets / paragraph style.
  • Table cell text entirely — a slide whose only content is a populated table returns "textElements": [].
  • Image sourceUrl — only the ephemeral rendered contentUrl is shown.
  • info returns only Drive file metadata (name, mtime) — no slide count, page size, or theme/master summary.

There is also no read-only element locator (the analog of docs find-range): no way to ask "which object id(s) contain text X". replace-text is the only text-addressable command and it mutates and returns no ids.

Repro

gog slides read-slide <deck> <slideId> -j   # table-only slide -> "textElements": []; no geometry/style anywhere
gog slides info <deck> -j                   # Drive metadata only; no slide count / page size

Suggested

  • Add geometry + per-run text style (incl. link) to read-slide, behind a --detail/--style flag if needed.
  • Include table cells in read-slide.
  • Add a find-element / locate returning objectId + slideId + range (and row,col for table cells).
  • Have info report a Slides-native summary (slide count, page size in PT, theme color names).

gog 0.27.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions