Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-37436

Create Forums widget in Lessons to display latest conversations

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 12.0
    • Component/s: Lessons
    • Labels:
      None
    • Environment:
      Windows 8 , Google Chrome browser
    • Previous Issue Keys:
      LSNBLDR-700
    • Test Plan:
      Hide

      Create a forum and post some messages.

      create a multi column lessons page, add the component to the 2nd or 3rd "box", make sure it appears in the correct column.

      Check the message is annotated with display name of poster (not username).

      Click reorder - does the forums component have a title in the list of draggable objects?

      User X is an 'access' user and Forums permissions are left as the default settings. Create a sub-group A containing user X, create sub-group B which doesn't contain user X.

      1/ a) On a site with NO Forums tool, Add lessons component ‘Embed Forum Conversations’. Check the wording in the UI is correct and (b) that you see pixels height and # conversations.
      (c) View Lessons page as User X - check there's no stack trace / null values & that what is shown is sensible

      2/ Create the following topics in current site:
      Topic A: use Topic settings to assign Topic A to Group A – and all other permissions=none (except maintain)
      Topic B: use Topic settings to assign Topic B to Group B – and all other permissions=none (except maintain)
      Topic C: available in 1 month's time
      Topic D: expired (closed in the past)

      3/ Add lessons component ‘Embed Forum Conversations’.

      4/ Create a new conversation in Topic A and a new conversation in Topic B
      Via (normal) Forums interface, check User X can see the correct conversation in Topic A, and that they cannot see the conversation in Topic B - this is just a benchmark to which the Lessons component can be compared.
      Returns to lessons tool as User X, check that the same conversations as seen here as are seen in the Forums tool - there should only be 2 shown at this stage (for the maintainer).
      If you click on the title of a conversation, you should be taken to that particular conversation in the Forums tool. There should be a "Return to lessons" button at the top of the panel when browsing the Forum.

      5/In another browser, go to the Forums tool, post 6 new messages in Topic A

      6/ In the first browser window, check that the lessons component refreshes every 5 mins.

      7/ The number of posts is configurable when the component is added: we need to test different numbers which are less than, equal to and greater than the number of actual posts

      8/ Adam asked the following, but we think it's not relevant, since the user is taken directly to the applicable conversation inside the Forums tool. [Should we show the first so-many characters of the user's post? What happens if the message / conversation / topic contains a large number of characters? Do we truncate? Do we show all chars? Or what? If so, do we strip HTML tags out of this display (I think we'd have to). What if the reply is a giant image or an embedded You Tube video, do we show that (no)?]

      9/ Do we show anything else in the component, eg, total number of unread messages? Yes, this would be good: In this Lessons component, show "xxxx unread" in small orange text, as it does in the Forums tool itself.

      10/ ensure that at all times, the forum is displayed within the lessons tool

      Show
      Create a forum and post some messages. create a multi column lessons page, add the component to the 2nd or 3rd "box", make sure it appears in the correct column. Check the message is annotated with display name of poster (not username). Click reorder - does the forums component have a title in the list of draggable objects? User X is an 'access' user and Forums permissions are left as the default settings. Create a sub-group A containing user X, create sub-group B which doesn't contain user X. 1/ a) On a site with NO Forums tool, Add lessons component ‘Embed Forum Conversations’. Check the wording in the UI is correct and (b) that you see pixels height and # conversations. (c) View Lessons page as User X - check there's no stack trace / null values & that what is shown is sensible 2/ Create the following topics in current site: Topic A: use Topic settings to assign Topic A to Group A – and all other permissions=none (except maintain) Topic B: use Topic settings to assign Topic B to Group B – and all other permissions=none (except maintain) Topic C: available in 1 month's time Topic D: expired (closed in the past) 3/ Add lessons component ‘Embed Forum Conversations’. 4/ Create a new conversation in Topic A and a new conversation in Topic B Via (normal) Forums interface, check User X can see the correct conversation in Topic A, and that they cannot see the conversation in Topic B - this is just a benchmark to which the Lessons component can be compared. Returns to lessons tool as User X, check that the same conversations as seen here as are seen in the Forums tool - there should only be 2 shown at this stage (for the maintainer). If you click on the title of a conversation, you should be taken to that particular conversation in the Forums tool. There should be a "Return to lessons" button at the top of the panel when browsing the Forum. 5/In another browser, go to the Forums tool, post 6 new messages in Topic A 6/ In the first browser window, check that the lessons component refreshes every 5 mins. 7/ The number of posts is configurable when the component is added: we need to test different numbers which are less than, equal to and greater than the number of actual posts 8/ Adam asked the following, but we think it's not relevant, since the user is taken directly to the applicable conversation inside the Forums tool. [Should we show the first so-many characters of the user's post? What happens if the message / conversation / topic contains a large number of characters? Do we truncate? Do we show all chars? Or what? If so, do we strip HTML tags out of this display (I think we'd have to). What if the reply is a giant image or an embedded You Tube video, do we show that (no)?] 9/ Do we show anything else in the component, eg, total number of unread messages? Yes, this would be good: In this Lessons component, show "xxxx unread" in small orange text, as it does in the Forums tool itself. 10/ ensure that at all times, the forum is displayed within the lessons tool

      Description

      In Lessons tool, allow Forums component to show the latest conversations - the number of messages to show could be configured by the site owner (ie, person with Forums setup permission).
      When the text is clicked, the forums tool is opened "inside the lessons tool" - there's a "back to lessons" button at the top of the Lessons tool panel.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  hedrick Charles Hedrick
                  Reporter:
                  ouit0408 Neelam Bhandari
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration