Features/Start activity from another activity: Difference between revisions

Tag: visualeditor
add test case
Line 100: Line 100:


== How To Test ==
== How To Test ==
* File download in browse 157.1+ <https://github.com/sugarlabs/browse-activity>
* Ensure Image Viewer activity is installed,
 
* Ensure Browse-157.1 is installed, if not use [http://activities.sugarlabs.org/en-US/sugar/downloads/file/29107/browse-157.1.xo browse-157.1.xo],
=== Original ===
* Start Browse and navigate to the [http://wiki.sugarlabs.org/ Wiki],
Demo in a branch of Hello World:
* Move the cursor over an image, such as [[Media:Sugarlabs_mainpage_01.png]], right-click and select ''Save Image As'', wait for the download to complete,
https://github.com/manuq/hello-world/tree/start-activity. '''NOTE''': This uses an older version of the api so it is not 100% compatible.
* Verify that the alert offers ''Open with Image Viewer'',
 
* Click on ''Open with Image Viewer'',
Current API:
* Verify that the Image Viewer activity is started and the image is shown.
https://github.com/manuq/hello-world/blob/start-activity/activity.py#L124
 
Changes in sugar
* branch: https://github.com/manuq/sugar/tree/start-activity
* comparison: https://github.com/manuq/sugar/compare/start-activity?expand=1
* patch: https://github.com/manuq/sugar/compare/start-activity.patch
 
Changes in sugar-toolkit-gtk3
* branch: https://github.com/manuq/sugar-toolkit-gtk3/tree/start-activity
* comparison: https://github.com/manuq/sugar-toolkit-gtk3/compare/start-activity?expand=1
* patch: https://github.com/manuq/sugar-toolkit-gtk3/compare/start-activity.patch


== User Experience ==
== User Experience ==