Jump to content

Design Team/Proposals/Toolbars/View-Source Enhancements: Difference between revisions

From Sugar Labs
No edit summary
No edit summary
Line 11: Line 11:
===Copy Bundle Code===
===Copy Bundle Code===


The idea is to add a submenu Copy item that will make a local (~/Activities/) copy of an activity (with the idea in mind that the user will modify it without risking breaking the original).
The idea is to add a submenu Copy item that will make a local (~/Activities/) copy of an activity (with the idea in mind that the user will modify it without risking breaking the original) (See [http://bugs.sugarlabs.org/ticket/2859 #2859] for some more details and the patch).


[[File:Copy_bundle_source.png]]
[[File:Copy_bundle_source.png]]

Revision as of 11:37, 6 June 2011

View-Source Enhancements

Two different enhancements are proposed: adding view source for the Sugar platform and adding the ability to make a copy of an activity from the view source toolbar.

View Sugar Source

The idea is to simply add a radio button to the View Source toolbar for Sugar Source as per the figure:

Copy Bundle Code

The idea is to add a submenu Copy item that will make a local (~/Activities/) copy of an activity (with the idea in mind that the user will modify it without risking breaking the original) (See #2859 for some more details and the patch).

The new activity is renamed MyActivity and the bundle_name is renamed bundle_name_my_copy. The activity icon is also modified as per the illustration below.