On Thu, Oct 17, 2013 at 3:25 PM, Thomas Mortagne <[email protected]> wrote: > I think the way you plan to deal with events groups to ignore is > wrong. We should ignore only the children of these events and not the > events themself and then find a name that goes more in that direction > (something like FoldEvent or CompositeEvent for example). I.e instead > of trying to find a name to indicate that an event should not be seen > as important find a name that indicate that we don't care about this > event children.
I agree with Thomas. Thanks, Marius > > On Thu, Oct 17, 2013 at 2:18 PM, Thomas Mortagne > <[email protected]> wrote: >> On Thu, Oct 17, 2013 at 12:47 PM, Guillaume "Louis-Marie" Delhumeau >> <[email protected]> wrote: >>> Hi devs! >>> >>> When we create a subwiki from a template, we import a lot of documents that >>> are then displayed in the Activity Stream, and it should not (cf: >>> http://jira.xwiki.org/browse/XWIKI-9489 ). >>> >>> Following the Sergui's advice, I have created a Pull Request that create a >>> new interface called TransientEvent. A transient event means an event that >>> should not be seen by users but that the system can care about it. >>> Moreover, coupled with begin/end events, it means that every events related >>> to a transient event should not be shown to users neither. >>> >>> I don't really like this name because, in my opinion, all events are >>> ephemerals. But at least this interface can solve this problem. >>> >>> But we don't want to hide the fact that a new wiki has been created. >>> Displaying a message concerning the creation of a wiki is a valid use-case. >>> What we want to hide is the import of a lot of documents during the >>> "initialization" phase of that wiki. >>> >>> That is why I propose to create a new event: WikiFillingEvent, which will >>> be transient. It will be associated to a begin/end events so every document >>> creation during this filling process will be hidden in the AS. >>> >>> I'm not sure about the name, but I think we need it. >>> >>> WDYT? >> >> We already have a WikiCopiedEvent that would need a corresponding >> BeginEvent and we also already have XARImportingEvent/XARImportedEvent >> events so is this new kind of event really needed ? >> >>> >>> LM >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >> >> >> >> -- >> Thomas Mortagne > > > > -- > Thomas Mortagne > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

