Red Hat Bugzilla – Bug 895242
RFE: Redesign document list page and remove duplicate view
Last modified: 2016-04-18 05:37:33 EDT
Description of problem:
Currently there's 2 document list view which show almost identical information.
(GWT workspace and JSF).
Both should be merge into 1 page to improve user navigation in Zanata.
Version-Release number of selected component (if applicable):
Implemented in 2.2-SNAPSHOT
Tested with Zanata version 2.2-SNAPSHOT (20130122-0032).
Step to reproduce:
1. Click "Projects" -> <Project> -> <Version/Lang> -> <Document1>
You should reach Message list of Document1
2. Click "Douments(Lange)" at breadcumb
The same page as if you click at the message list icon
Old JSF document list page.
Implemented fix on the url.
After review on the new document list page, it is decided to bring back the JSF document page and redirect url to the JSF page.
This is due to the security issue of which anonymous user can't access to the workspace, therefore, can't access to the document page in GWT. We might need to revisit the ReadOnly mode in GWT to allow anonymous user access.
The extra features in GWT document list page remains to in sync with features provided in JSF document list page.
Brought back JSF document page.
To put it another way:
Anonymous users (eg new visitors, potential Zanata users) should be able to visit the Documents page (as they can in 2.1, at least via bookmarking). Alex's change was preventing this, because the Doc list page (in webtrans) forces the user to log in. We could change webtrans so that it doesn't force the user to log in, thus running the editor in read-only mode, but I don't think the editor could currently cope with potentially huge numbers of anonymous users.
Before we open up the Doc List (and a read-only editor) for anonymous users, we will need to review our use of GWTEventService, to ensure that we don't send so many events to the workspace domain, and/or that it has fewer listeners. We may need to split up the workspace domain, so that there is one domain per document, with the workspace domain only used to keep stats on the doc list up to date.
(An open question: if we have one domain per document, will Project Search&Replace have to join all those documents' domains?)
Create another bug for the extra features implemented in workspace document list view. https://bugzilla.redhat.com/show_bug.cgi?id=903477
Is this handled with the new project/version pages?
Yes and No. We still have 2 document pages, but the initial one is on the project version page and that has been redesigned.
Eventually I would like to remove the document list "view" from the editor. I'm not saying we shouldn't have access to the document list in the editor but I think there could be a better way to do it.
I have no idea what to do with this issue.
It is not a bug anymore given that the current new UI is redesigned. Luke will work on re-designing the document list in the future.