apify-cli icon indicating copy to clipboard operation
apify-cli copied to clipboard

actor.json title and descriptions don't propagate to the Console

Open vancura opened this issue 11 months ago • 2 comments

When pushing an Actor, the Console doesn't show correct fields like title and description.

See this actor.json:

{
  "actorSpecification": 1,
  "name": "diff-pdf",
  "title": "Diff PDF Title",
  "description": "An Actor for comparing two PDFs and highlighting the differences.",
  "version": "0.0",
  "buildTag": "latest",
  "environmentVariables": {},
  "dockerFile": "./Dockerfile",
  "dockerContext": "../",
  "input": "./input_schema.json",
  "scripts": {
    "run": "./actor.sh"
  }
}

This results in the following Actor header:

CleanShot 2025-01-09 at 14 37 19@2x

As you can see, the Actor title is constructed from the name (but it's title-cased), while the title is ignored altogether.

The description field is ignored as well.

vancura avatar Jan 09 '25 13:01 vancura

I figured out that the title and description fields are not defined in the actor.json schema – I initially thought I should close the ticket, but maybe it would be food for thought; title and description are good variables that may be valuable to introduce in the actor.json file. But indeed, you can close this, as it's not the CLI problem.

vancura avatar Jan 09 '25 14:01 vancura

cc @netmilk

B4nan avatar Jan 13 '25 13:01 B4nan