click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-15767
Type: Bug Bug
Status: Closed Closed
Resolution: Incorporated
Priority: Major Major
Assignee: Gonzalo Silverio
Reporter: Gonzalo Silverio
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Sakai

rich text site and group description display problems

Created: 24-Feb-2009 09:52   Updated: 27-Oct-2009 13:47
Component/s: Announcements, Assignments, Home, Membership, Realms (Admin Site Management), Resources, Schedule, Site Info, Sites (Admin Site Management), Sites (Gateway), Worksite Information, Worksite Setup
Affects Version/s: 2.6.0
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Incorporate
Relate
 

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
Site description can now be any HTML.
------------------------------------------------------
This creates rendering issues when it is displayed here

Membership (joined/joinable)
Home (site info)
Site info
Sites list
Sites visit
Worksite setup info page

Group description can now be any HTML.
--------------------------------------------------------

This creates rendering issues when it is displayed here:

Group pickers (Announcements, Assigns, Resources)

Associated JIRAS

SAK-14194
SAK-13149

Areas affected by these 2 issues may be more than the ones listed here.

A solution needs to consider that in some cases the site long description is not needed. In others the short description will suffice. In other cases need to strip the HTML and trim the result. In yet another cases the long description in all it's glory would be useful to have, but maybe just by request (follow a link to a modal dialog, etc.).



 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Gonzalo Silverio added a comment - 24-Feb-2009 12:12
Propose:
========

Membership (joined/joinable)
----------------------------------------
strip HTML, render 100 first resultant chars with a "more" link opening a modal dialog that will render Site title, site contact, short descr, long descr polled via the EB

Home (site info - aka "Site Information Display")
------------------------------------------------------------------
in full

Gateway sites list
------------------------
strip HTML, render 100 first resultant chars with a "more" link opening a modal dialog that will render Site title, site contact, short descr, long descr polled via the EB

Gateway site visit
------------------------
in full

Worksite setup list page
---------------------------------
add a "info" link opening a modal dialog that will render Site title, site contact, short descr, long descr polled via the EB

Worksite setup info page
----------------------------------
strip HTML, render 200 first resultant chars with a "more" link opening a modal dialog that will render Site title, site contact, short descr, long descr polled via the EB

Group pickers (Announcements, Assigns, Resources)
---------------------------------------------------------------------------
strip HTML, render 100 first resultant chars with a "more" link opening a modal dialog that will render long descr polled via the EB (need to add description to the EB first), maybe even the membership in a short list.

Gonzalo Silverio added a comment - 24-Feb-2009 12:20
Savitha,

Can you add the strip and trim utility to these contexts? I can do the modal entity broker dialog part then.

Thanks!

Gonzalo Silverio added a comment - 24-Feb-2009 12:35
A clarification.

The "more" links, dependent as they are on the EB are only for 2.7 (maybe 2.6). 2.5 will get only the strip and trim

Savitha Prakash added a comment - 25-Feb-2009 08:26 - edited
RTE is being planned to be removed and just retain plain text for group description. Hence, strip html and trim feature is required only for site description. We have to target the following for site desciption-

site-manage
----------------
M site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-list.vm
M site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-siteInfo-list.vm
M site-manage-tool/tool/src/webapp/vm/sitebrowser/chef_sitebrowser_list.vm
M site-manage-tool/tool/src/webapp/vm/membership/chef_membership.vm
M site-manage-tool/tool/src/webapp/vm/membership/chef_membership_joinable.vm
M site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-siteInfo-list.vm


Savitha Prakash added a comment - 10-Mar-2009 08:22
Html strip and trim feature has been added. It has been checked into trunk, please refer SAK-15823 jira for details.

Gonzalo Silverio added a comment - 31-Mar-2009 08:38
Site description being trimmed where needed. Modal dialog provides the full description.

Gonzalo Silverio added a comment - 31-Mar-2009 08:56
Since group descritions are no longer being created with RT Editor, the problem is moot in that regard.