Features/Save-As: Difference between revisions
No edit summary |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
== Current status == | == Current status == | ||
* Targeted release: 0.112 | * Targeted release: 0.112 | ||
* Last updated: | * Last updated: 15th September 2017 | ||
* Percentage of completion: | * Percentage of completion: 100% | ||
== Detailed Description == | == Detailed Description == | ||
* | * For a new document (start new), when the user '''Stops''' the activity, a popup provides an opportunity for the user to give the Journal entry a name. The user can choose from the 'Save' and 'Don't Save' options. However, an instance will appear in the Journal for statistical purpose but no changes would be saved if user selects 'Don't Save' option. | ||
* | * For an existing document, when the user '''Stops''' the activity, a popup provides an opportunity to give it a new name. | ||
* | ** In this case, if the user supplies a new name (different from original), a new instance is created with the new changes while the original (previous) will remain preserved. | ||
** If the user saves with the same name, the document is saved replacing the original. | |||
** If the user selects 'Don't Save' option, no changes are saved (no new entry is created) and the original instance will remain preserved. | |||
* Provides a settings (GConf & GSettings) to enable or disable the feature. | |||
** '''GConf -''' https://github.com/sugarlabs/sugar/pull/751 | |||
** '''GSettings -''' https://github.com/sugarlabs/sugar/pull/750 | |||
*After pressing Stop if the user feels that he needs to continue with the current work, he can '''dismiss''' the alert by pressing '''<nowiki/>'Esc' key''' on keyboard. | |||
== Benefit to Sugar == | == Benefit to Sugar == | ||
''What is the benefit to the platform? If this is a major capability update, what has changed? If this is a new feature, what capabilities does it bring? Why will Sugar become a better platform or project because of this feature?'' | ''What is the '''benefit''' to the platform? If this is a major capability update, what has changed? If this is a new feature, what capabilities does it bring? Why will Sugar become a better platform or project because of this feature?'' | ||
Currently Sugar saves objects to the Journal with the name of the activity. In the original toolkit design, the name was displayed to the top left of the toolbar so that a user could enter their own name. At that time, the user had a 'keep' button on the toolbar which enabled an object to be saved while continuing to work as found on most document based applications. | Currently Sugar saves objects to the Journal with the name of the activity. In the original toolkit design, the name was displayed to the top left of the toolbar so that a user could enter their own name. At that time, the user had a 'keep' button on the toolbar which enabled an object to be saved while continuing to work as found on most document based applications. | ||
Line 45: | Line 52: | ||
''What work do the developers have to accomplish to complete the feature in time for release? Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?'' | ''What work do the developers have to accomplish to complete the feature in time for release? Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?'' | ||
* pull request review, | |||
* documentation changes. | |||
Feature is implemented in activity.py (sugar and sugar3). | Feature is implemented in activity.py (sugar and sugar3). | ||
Line 50: | Line 60: | ||
==UI Design== | ==UI Design== | ||
Direct impact on work flow. A visual mockup is in https://github.com/sugarlabs/sugar-toolkit/pull/4 | Direct impact on work flow. A visual mockup is in https://github.com/sugarlabs/sugar-toolkit/pull/4 | ||
Line 59: | Line 67: | ||
== User Experience == | == User Experience == | ||
When the user presses the stop button or ctrl + q, a dialog will appear giving the opportunity to name or rename the associated Journal entry. | When the user presses the stop button or ctrl + q, a dialog will appear giving the opportunity to name or rename the associated Journal entry. | ||
Line 68: | Line 75: | ||
== Dependencies == | == Dependencies == | ||
No dependencies. | No dependencies. | ||
Line 77: | Line 83: | ||
== Documentation == | == Documentation == | ||
See PR #327 at https://github.com/sugarlabs/sugar-toolkit-gtk3 | See PR #327 at https://github.com/sugarlabs/sugar-toolkit-gtk3 | ||
== Release Notes == | == Release Notes == | ||
Save As | Save As | ||
A user or deployment can enable this feature by setting | A user or deployment can enable this feature by setting 'save as'. This feature provides a capability comparable to the 'save' and 'save as' capabilities offered by conventional document processing programs such as those of Libre Office. | ||
== Comments and Discussion == | == Comments and Discussion == | ||
* Link to the discussion on lists.sugarlabs.org: http://lists.sugarlabs.org/archive/sugar-devel/2017-April/054141.html | |||
* | |||
* See [[{{TALKPAGENAME}}|the discussion tab for this feature.]] <!-- This adds a link to the "discussion" tab associated with your page. This provides the ability to have ongoing comments or conversation without bogging down the main feature page. --> | * See [[{{TALKPAGENAME}}|the discussion tab for this feature.]] <!-- This adds a link to the "discussion" tab associated with your page. This provides the ability to have ongoing comments or conversation without bogging down the main feature page. --> |