On Thu, Oct 17, 2013 at 2:18 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Thu, Oct 17, 2013 at 12:47 PM, Guillaume
"Louis-Marie" Delhumeau
<gdelhumeau(a)xwiki.com> 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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org