Jump to content

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

From Sugar Labs
Created page with "==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 vie..."
 
 
(10 intermediate revisions by the same user not shown)
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]]
Line 18: Line 18:


[[File:MyTurtleArt.png]]
[[File:MyTurtleArt.png]]
==Notes from 06-12-2011 design team meeting==
* http://meeting.sugarlabs.org/sugar-meeting/meetings/2011-06-12T16:09:29.html
* http://meeting.sugarlabs.org/sugar-meeting/meetings/2011-06-12T17:36:10.html
<strike>
# remove jarabe content from Sugar view source
# reset the version number on copy
# change the bundle name to bundle_name_NICK_copy
# change the activity name to NICK_activity_name
# change the activity icon name to NICK-activity-icon.svg
# make a .xo bundle from the cloned activity and copy it into the Journal
# rename Copy Button hint to "Clone" </strike>
# ACTION: manuq will revisit the modified icon design
See patches at [http://lists.sugarlabs.org/archive/sugar-devel/2011-June/031838.html] and [http://lists.sugarlabs.org/archive/sugar-devel/2011-June/031702.html].
[[Category:Proposal]]

Latest revision as of 15:18, 13 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.


Notes from 06-12-2011 design team meeting

  1. remove jarabe content from Sugar view source
  2. reset the version number on copy
  3. change the bundle name to bundle_name_NICK_copy
  4. change the activity name to NICK_activity_name
  5. change the activity icon name to NICK-activity-icon.svg
  6. make a .xo bundle from the cloned activity and copy it into the Journal
  7. rename Copy Button hint to "Clone"
  8. ACTION: manuq will revisit the modified icon design

See patches at [1] and [2].