"Recent journal entries" for group journals

Bug #1540156 reported by Bas Bakker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Unassigned

Bug Description

In version 15.10 groups have now journals. However the journal options for a group page has only to options: [1] Journal; [2] journal item. Portfolio pages let users also select [3] 'recent journal items' and [4] 'tagged journal items'. (see Attachment) Also on a group page journals are presented in full, where as in portfolio pages users can choose whether to show the journal in full or only titles of journal items.
It would be useful when the additional options for filtering jounal items would be available in the menu for group pages.

Revision history for this message
Bas Bakker (b-bakker) wrote :
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Bas,

Thanks for the bug report! I agree, it would be best if group journals and user journals had similar capabilities. There may be some technical difficulties doing a "tagged journal entries" block for group journals, because I think groups don't have their own set of tags the same way that users do.

However, the "recent journal entries" block should be fairly trivial to port over.

Cheers,
Aaron

Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 16.10.0
tags: added: blog groups
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6022

Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 16.10.0 → 16.04.0
Revision history for this message
Aaron Wells (u-aaronw) wrote : Re: Add same journal options from portfolio pages to group pages (e.g. tagged journal items)

A quick investigation showed that enabling "recent posts" for non-individually owned blogs was about a two-line code change (changing the "allowed_in_view" method for the blocktype, and changing the "get recent posts" function so that it no longer checks that the retrieved blog entries belong to the owner of the page).

So, since it's such a minor change, I've implemented it for 16.04.

On the other hand, the same investigation indicated that, indeed, tagged blog posts don't adapt easily. The problem is that there is no equivalent to the "user_tags" table, for groups or institutions. So when the block is placed, the tag selector is not able to figure out what list of tags should be available. So, I've spun that out into a separate Bug 1543315.

summary: - Add same journal options from portfolio pages to group pages (e.g.
- tagged journal items)
+ "Recent journal entries" for group journals
Revision history for this message
Bas Bakker (b-bakker) wrote :

Good to hear that 'recent post' can be added as a feature. Would it also be possible to add the option to choose to show journal items 'full items' (title + journal-text' or only the titles (only title is shown as a link to the full journal item)? This would also be simular what is now available in user journals.

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Bas,

Can you clarify, which block type do you see that option for?

Cheers,
Aaron

Revision history for this message
Bas Bakker (b-bakker) wrote :

It's part of the tagged journal option (see attachment). Users can choose to display the entire journal item, or only the title of the journal entries. Would be useful if this option would als be available in the other journal blocks.

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Hi Bas,

Thanks for the clarification! In the English translation that setting is called "Show journal entries in full", and it is indeed only available for the "Tagged journal entries" blocktype. That's really a separate issue, so if you'd like to pursue it, please file a separate wishlist bug about it.

However, I think the reason why that setting is only available for "Tagged journal entries" and not "Recent journal entries" or "Journal", is this: If you want to make a "Journal" block that only shows the titles of journals, you can simply add a "Recent journal entries" block. And likewise, if you want to make a "Recent journal entries" block that displays journal entries in full, you can just add a "Journal" block.

Cheers,
Aaron

Changed in mahara:
importance: Medium → Wishlist
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6022
Committed: https://git.mahara.org/mahara/mahara/commit/b24b88d5aaeeab5a704ab62ba6674239d9ab0c15
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit b24b88d5aaeeab5a704ab62ba6674239d9ab0c15
Author: Aaron Wells <email address hidden>
Date: Tue Feb 9 11:16:08 2016 +1300

"Recent journal entries" block for groups (Bug 1540156)

behatnotneeded

Change-Id: I2d67baea26986ac97e2744994f867f457e8c6298

Robert Lyon (robertl-9)
Changed in mahara:
status: Confirmed → Fix Committed
tags: added: nominatedfeature
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6316

Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.