Hi All,
Please find the usage of fields described below,
id - to identify which option it is and used to refer to the option within
the dashboard
title - the text displayed to the user in the configuration panel
type - the type of option possible types are text , boolean , and enum
possibleValues - to specify the set of possible values available within the
enumerated data type
defaultData - the dafault Value of Data before the user has made any changes

I will schedule a design review and send you invitations.

On Thu, Feb 15, 2018 at 11:00 AM, Lasantha Samarakoon <lasant...@wso2.com>
wrote:

> @SajithAR: We have used this file name SP 4.0.0 release. But +1 on
> renaming that to widget-conf.json.
>
> @SajithR: Yes, better to have a design review on this.
>
> @Irindu: Can you pls schedule a design review for this?
>
>
> *Lasantha Samarakoon* | Software Engineer
> WSO2, Inc.
> #20, Palm Grove, Colombo 03, Sri Lanka
> <https://maps.google.com/?q=20,+Palm+Grove,+Colombo+03,+Sri+Lanka&entry=gmail&source=g>
> Mobile: +94 (71) 214 1576 <+94%2071%20214%201576>
> Email:  lasant...@wso2.com
> Web:    www.wso2.com
>
> lean . enterprise . middleware
>
> On Thu, Feb 15, 2018 at 10:56 AM, Sajith Ravindra <saji...@wso2.com>
> wrote:
>
>> Folks, should we have a design review for this ?
>>
>> On Thu, Feb 15, 2018 at 10:55 AM SajithAR Ariyarathna <sajit...@wso2.com>
>> wrote:
>>
>>> *Side Note:* Shall we rename the "widgetConf.json" to *widget-conf.json*
>>> to be consistent with other file names. In other places we use "-" instead
>>> of camel case.
>>>
>>> Thanks.
>>>
>>> On Thu, Feb 15, 2018 at 10:46 AM, Lasantha Samarakoon <
>>> lasant...@wso2.com> wrote:
>>>
>>>> @Irindu: Can you please explain what are the uses of each and every
>>>> field as well?
>>>>
>>>> *Lasantha Samarakoon* | Software Engineer
>>>> WSO2, Inc.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>>> <https://maps.google.com/?q=20,+Palm+Grove,+Colombo+03,+Sri+Lanka&entry=gmail&source=g>
>>>> Mobile: +94 (71) 214 1576 <+94%2071%20214%201576>
>>>> Email:  lasant...@wso2.com
>>>> Web:    www.wso2.com
>>>>
>>>> lean . enterprise . middleware
>>>>
>>>> On Thu, Feb 15, 2018 at 10:39 AM, Irindu Nugawela <iri...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> Please find the $Subject below  and also as an attachment. Please
>>>>> Comment on any further changes required.
>>>>>
>>>>> {
>>>>>   "name": "Widget Name",
>>>>>   "id": "WidgetID",
>>>>>   "thumbnailURL": "",
>>>>>   "configs": {
>>>>>     "pubsub": {
>>>>>       "types": [
>>>>>         "subscriber"
>>>>>       ]
>>>>>     },
>>>>>     "options" : [
>>>>>         {
>>>>>           "id": "sampleId1",
>>>>>           "title": "sampleTitle1",
>>>>>           "type" : "text",
>>>>>           "defaultData" : "SamapleData"
>>>>>         },
>>>>>         {
>>>>>           "id": "sampleId2",
>>>>>           "title": "sampleTitle2",
>>>>>           "type" : "boolean",
>>>>>           "defaultData" : "true"
>>>>>         },
>>>>>         {
>>>>>           "id": "sampleId3",
>>>>>           "title": "sampleTitle3",
>>>>>           "type" : "enum",
>>>>>           "possibleValues" : ["SamapleEnumeratedData1","Sam
>>>>> apleEnumeratedData2","SamapleEnumeratedData3"],
>>>>>           "defaultData" : "SamapleEnumeratedData1"
>>>>>         },
>>>>>         {
>>>>>           "id": "sampleId4",
>>>>>           "title": "sampleTitle4",
>>>>>           "type" : "text",
>>>>>           "defaultData" : "SamapleData"
>>>>>         }
>>>>>       ]
>>>>>     }
>>>>>   }
>>>>> }
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & regards,
>>>>> Irindu
>>>>>
>>>>> Software Engineer Intern, WSO2 Inc.
>>>>> Mobile: +94712325238 <+94%2071%20232%205238>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Sajith Janaprasad Ariyarathna
>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>> <https://wso2.com/signature>
>>>
>> --
>> Thanks
>> *,Sajith Ravindra*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273550
>> blog: http://sajithr.blogspot.com/
>> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>>
>
>


-- 
Thanks & regards,
Irindu

Software Engineer Intern, WSO2 Inc.
Mobile: +94712325238 <+94%2071%20232%205238>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to