[Sugar-devel] [DESIGN] Deleting an entry in the Journal while the activity is running

Aleksey Lim alsroot at member.fsf.org
Mon Jan 25 08:30:16 EST 2010


On Mon, Jan 25, 2010 at 12:30:40PM +0000, Aleksey Lim wrote:
> On Mon, Jan 25, 2010 at 01:01:22PM +0100, Simon Schampijer wrote:
> > Hi,
> > 
> > I came across the following:
> > 
> > There is an option to delete an entry in the Journal entry palette and 
> > one in the detail section of an entry. This entry is as well available 
> > when an activity is running. Currently when you delete an entry of a 
> > running activity the entry gets recreated when closing the running 
> > activity. So we do not have any data loss.
> > 
> > Two options I discussed so far with Sascha on irc: We could either make 
> > the delete option inactive when an activity is running or display an 
> > alert when the button is pressed.
> > 
> > Any other options? How do you like them?
> > 
> > Personal Note:
> > While I like the inactive-option I am not sure this tells the user why 
> > an option is not available.
> 
> In my mind problem here is not with deletion(in mind it should just
> work, delete entry w/o any popups and inactive modes) but with workflow
> when activities write to journal on every deactivation.
> 
> Not sure how we can fix last issue but sure that fixing 1st one at first
> is a crutch.

The idea I had in mind is "implicit place for implicit save(on every
activity deactivation) and explicit place(journal) for explicit
save(Stop or Keep buttons in activity)"

So, delete will just work(will delete current explicit journal object)
and if activity is still open, new object will appear in journal only if
user click Stop or Keep buttons (or on activity crash, tmp object will
appear as well).

-- 
Aleksey


More information about the Sugar-devel mailing list