Make the page comments section collapsable

Bug #1944420 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Dianne Tennent

Bug Description

Page comments at the bottom of the page can take up quite a bit of space. It's a very prominent section though portfolio authors said they'd often prefer not to see the form and the comments all the time.

We should turn the comments section at the bottom of the page into a collapsable card so that everything within it is only visible when expanded.

A few things to note:

- Ideally, the number of comments is mentioned in the card header when collapsed so that viewers are promoted to click it since there are comments.
- The general rules of the comments still apply, i.e. the section is only visible when comments are allowed or for those people for whom they are allowed.
- On a page load, the comments section is loaded collapsed.
- The 'Comments' block is not affected. There, the normal retractable block rules apply.
- Screen reader accessible -> ideally use markup we are already using elsewhere / newly using elsewhere

Tags: newfeature
Changed in mahara:
assignee: nobody → Dianne Tennent (dianne-t)
status: Confirmed → In Progress
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/12046

Revision history for this message
Mahara Bot (dev-mahara) wrote :

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

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "main" branch: https://reviews.mahara.org/12139

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "main" branch: https://reviews.mahara.org/12138

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "main" branch: https://reviews.mahara.org/12152

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/12152
Committed: https://git.mahara.org/mahara/mahara/commit/1a616442f938f74b8787c3779c213446d5b53446
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit 1a616442f938f74b8787c3779c213446d5b53446
Author: Evonne <email address hidden>
Date: Mon Oct 18 12:12:06 2021 +1300

Bug 1944420 Fix collapsible comments styling

behatnotneeded

Change-Id: I09f2f9c274c6a2ce7ed564efa73a439fd4c1b437

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12138
Committed: https://git.mahara.org/mahara/mahara/commit/fc14017b6837c0dcccb55bafa2c8c369828bcca9
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit fc14017b6837c0dcccb55bafa2c8c369828bcca9
Author: Dianne Tennent <email address hidden>
Date: Thu Sep 30 16:14:35 2021 +1300

Bug 1944420: Make comments at base of page collapsible

Also display comment count and icon in card header
and remove from paginator. Evonne to look at
styling.

Change-Id: I45732feed2b69b3148552f2c92fbae4de55b983a

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "21.10_DEV" branch: https://reviews.mahara.org/12177

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12177
Committed: https://git.mahara.org/mahara/mahara/commit/6fef619cc023a492ce5f5d67713f834b8d54fead
Submitter: Robert Lyon (<email address hidden>)
Branch: 21.10_DEV

commit 6fef619cc023a492ce5f5d67713f834b8d54fead
Author: Dianne Tennent <email address hidden>
Date: Thu Sep 30 16:14:35 2021 +1300

Bug 1944420: Make comments at base of page collapsible

Also display comment count and icon in card header
and remove from paginator. Evonne to look at
styling.

Change-Id: I45732feed2b69b3148552f2c92fbae4de55b983a
(cherry picked from commit fc14017b6837c0dcccb55bafa2c8c369828bcca9)

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "21.10_DEV" branch: https://reviews.mahara.org/12179

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12179
Committed: https://git.mahara.org/mahara/mahara/commit/72fa558acf17f02b3be7f7c61eeb872b0c632bbf
Submitter: Robert Lyon (<email address hidden>)
Branch: 21.10_DEV

commit 72fa558acf17f02b3be7f7c61eeb872b0c632bbf
Author: Evonne <email address hidden>
Date: Mon Oct 18 12:12:06 2021 +1300

Bug 1944420 Fix collapsible comments styling

behatnotneeded

Change-Id: I09f2f9c274c6a2ce7ed564efa73a439fd4c1b437
(cherry picked from commit 1a616442f938f74b8787c3779c213446d5b53446)

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 21.10.0
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
tags: added: newfeature
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.