Closed Bug 927510 Opened 11 years ago Closed 10 years ago

Need a way to specify icon for custom make types

Categories

(Webmaker Graveyard :: MakeAPI, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bobby, Assigned: cade)

Details

Only a few content types have representative icons on gallery pages, like Popcorn Maker, Thimble, etc.

If someone is given a publishing key for MakeAPI, can they specify an icon for a certain content type?
Status: NEW → ASSIGNED
My proposal for this would be to migrate "contentType" to "tool",
which can store the name of an app or a URL to an icon.. or both.

"Popcorn Maker"

or

"Popcorn Maker::https://popcorn.webmaker.org/resources/icons/fb-logo.png"

Where we can get webmaker.org to split on "::" or some other arbitrary separator
I would have thought that having the contentType over tool makes more sense... say someone down the line wants to add a scratch project, greenfoot, or a git repo. Provided content of the project is relevant surely its better to have content type over tool.. and then change the content types of our tools to better reflect the type of content they have.

i.e.
* Thimble > x-webpage (or something similar)
* Popcorn Maker > x-popcorn
* Goggles > x-goggles
* Scratch (as an eg) > x-scratch
* Greenfoot (as another eg) > x-java

This would still possibly need a "tool" but it makes it easier to identify projects/makes by what type of content, then the tool used. Some people will care more about the tool... others the content. Why not separate them out?

(just my 2 cent)
I don't think this is a problem, since webmakerorg will extract the app type directly out of content-type, and from my local env, it looks to be working great.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.