On 01/04/2010 01:33 PM, Ecaterina Valica wrote:
Right now it adds another
tab in the AllDocs wiki index, called
"Deleted Documents", and I'm not
sure if it's the best thing to do.
+ it's one place where all the things in the
wiki can be seen
+ it's easy to find
I think the location is ok for its purpose, gives you a centralized place
where you can manage your xwiki content.
We could have a link on the deleted page Notice ("The following versions are
in the *recycle bin*") that targets the "Deleted Documents" tabs.
Yes, that was planned as well.
We need to
decide on which naming conversion we choose (Recycle Bin vs. Trash vs.
Deleted Documents) and use a single naming.
Agreed, I will send a vote.
- the AllDocs page is getting crowded (another tab
won't fit on small
displays)
We can solve the crowdedness with some organization, like:
- Index Tab: change Page, Space into Document,
This will prevent filtering by space or by name only.
Location (Parent). This way
we can move the Orphaned Pages Tab into the Index Tab and leave Parent
column empty for Orphaned Pages (this way you can filter them)
How can you filter by an empty value? The current livetable can't do
that. It will need a checkbox or something to require empty values,
since the semantics of the filters is "contains this text", and all
values contain the empty string.
Also, the orphaned pages table was placed in a separate tab precisely
for making it stand out.
- Attachments could be encapsulated into a Documents
Tab that has a Type
column that states if the entity is a page or an attachment.
- Recycle Bin Tab should contain pages and attachments in the same place.
Although having a single table with attachments and documents would be
OK for the user, this is very hard to do since it requires complex and
time-costly queries, which would make the page much less responsive, and
in general the wiki slower.
This way we should have:
All Documents (Pages, Attachments, Orphaned Pages),
Tree View,
Recycle Bin (Pages, Attachments, Oprhaned Pages [this is not important] )
We could use vertical tabs, as in
http://incubator.myxwiki.org/xwiki/bin/view/XWiki/VerticalTabsExtension,
since they allow a large number of tabs.
The separation into the previous categories (page,
attachments, orphaned)
would be done by using the LiveTable filters.
- the
recycle bin is not exactly a place with valid wiki documents
It's a place where you could restore a page to become valid again.
A
possible improvement would be to rename the new tab to Trash and also
add the deleted attachments in there, as another table.
or in the same table, but with a Type column.
An alternative would be to add a new page similar to AllDocs, called
Trash, and which would have tabs for all the recycle bins.
In our OSs there are no multiples recycle bins. A recycle bin manage all the
deleted content.
Well, attachments and documents have different fields: filename + owner
document vs. title + name + parent document; overlapping them will cause
confusing terminology. At least in a tabular display.
The initial interface for the trash was based on the Search Results one,
which could allow mixing different entity types.
Depends on how we see the recycle bin:
- A tool for Admins to recover wiki content -> the Trash could be a icon
in the Administration and show all documents
I don't think this is an administration action, but an edit one. If I delete
a document by mistake I should be able to restore it (from it's page or from
the recycle bin).
- A tool for anyone to recover wiki content
-> the Trash could be linked
from Quick Links and show documents deleted by me, unless I'm an admin
and
it would show all deleted documents
- Since right now IIRC one needs only the edit right to restore a deleted
document we could also show all the deleted
documents that one has the
right
to restore
+1 If I have edit rights I should be able to restore any document.
Observations for further improvements:
We need to keep the consistency for the AllDocs:
- Date format: 2010 January 4, 13:49 [Attachments, Deleted Documents]
vs. 2010/01/04 13:55 [Index, Orphaned Pages]
- Page, Space columns vs. Document, Title
- Actions icons: with informative text [Index, Oprhaned Pages] or without
[Deleted Documents, Attachments gives no action]
- Descriptive last modification message: Author, Deleted by.
Agreed.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/