llaske / sugarizer

Sugarizer is a web implementation of the Sugar platform to run on any device or browser
https://sugarizer.org
Apache License 2.0
197 stars 411 forks source link

Measure activity Id #1351

Closed UtkarshSiddhpura closed 1 year ago

UtkarshSiddhpura commented 1 year ago

Importing the activity instance in journal dialog is not possible as it cant find activity "org.olpcfrance.Measure".

metadata:

https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities/Measure.activity/js/activity.js#L864

activity.info

https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities/Measure.activity/activity/activity.info#L4

activities.json

https://github.com/llaske/sugarizer/blob/9630e2a2cbab435a65e2239bdac25b13a897a630/activities.json#L58

llaske commented 1 year ago

Could you explain the problem? I can export an instance on my disk the reimport it.

UtkarshSiddhpura commented 1 year ago

Basically what i'm trying, is to show ".txt" log from measure activity in Journal Dialog .

So i used this filter :

var filters = [ { mimetype: "text/plain"}, ];

measure

llaske commented 1 year ago

Okay got it. It's not a bug. When the Chart activity will be implemented we will associate CSV files to Chart activity so we could directly open CSV from the Journal. But you're right it will probably require some change in Measure activity too.