Skip to content

slides: no text-formatting commands; replace-text can't scope to one element and spans the whole deck by default #823

Description

@sebsnyk

Problem

gog slides can insert/replace text but has no text-formatting commands — all sub-range styling, hyperlinks, and bullet toggles require dropping to the raw Slides API (updateTextStyle, createParagraphBullets, deleteParagraphBullets).

Separately, replace-text:

  • cannot be scoped to a single element (only --page <slideId> or whole deck), and
  • spans the entire deck by default — an unscoped replace-text silently changes matching text on every slide. This is a footgun for surgical work.

Repro

# leaks across all slides:
gog slides replace-text <deck> "Foo" "Bar"          # changes Foo on every slide
gog slides replace-text <deck> "Foo" "Bar" --page <slideId>   # tightest gog can scope; still whole-slide
# no way to: bold one word, color a phrase, add a link, toggle bullets

Suggested

  • gog slides style-text <deck> <objId> --range a:b --bold --italic --color #RRGGBB --size N --font NAME
  • gog slides bullets <deck> <objId> --on|--off [--preset ...]
  • gog slides link <deck> <objId> --range a:b --url ...
  • replace-text: add --object <objId> for element scope, and consider requiring --page/a confirmation when unscoped.

gog 0.27.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:human-reviewClawSweeper automerge is paused for maintainer reviewclawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.no-staleExempts this issue from stale automation.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions