[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[NTH] New(extensible) platform options

The "Start Coding" button has a "+" button that display platform options.
Actually it is filled with hand made(?) list of options, where the name and contribution source is known to the service.
It would be nice to have a better algorithm to fill the list of options. e.g.:
  1. have a category to present the target (Web/Android/iOS/...)
  2. have a description for each platform (short text explaining where/how the platform is used)
  3. be extensible by the user (an U8 user can design a custom platform to be presented when logged).

Implementation notes

Under each U8 user folder, we can have a file named "platforms.json" with the platforms available to the user.
The platform options are built from data in logged user and user "smalltalking".

Suggested format for platforms.json

A JSON formated file with the following fields:
namea string with the name of the platform to be presented in menu. Could be a dash separated composite name. For example: "Web-Headles", wich means "Headles platform is categorized as Web platform". See below for a real example.
descriptiona string to be popup (or shown) when the user needs more info(mouseover) about a platform
urlthe url of the source contribution to clone.
avatarurl of image representing the actual platform. If none S8 avatar is taken as default image

Default (formated)content of platforms.json
{"name":"Web-WI8 + UI8",
 "description":"Smalltalk tools for U8 (workspace, CHB, inspectors, references, and more) ",
 "description":"Enables booting from (multiple) external files",
{"name":"Web-Compact Mode",
 "description":"Image based web development. Minimalistic browsing tools",
 "description":"S8 for Android.",
 "description":"COCO8: Native application framework to write iOS native applications",
 "description":"S8 execution machinery for console",
 "description":"Server side development using S8 + NodeJS",