gjbarnard / moodle-format_grid

Grid course format contributed by Gareth J Barnard originally created by Paul Krix
GNU General Public License v3.0
21 stars 56 forks source link

Section summary does not display for the first section in the series of grids #200

Closed zylene closed 5 months ago

zylene commented 9 months ago

Create a section after the default Moodle section (this will become the block in the grid) and add a summary to that section. Create second section (or however many you want) and add summaries for those sections. Save, turn off edit mode.

Click on the first grid block, the summary does not appear. Click on any of the following grid blocks (sections) and summaries do appear.

Turn editing on Swap the first and section section placements (first is moved down, second is moved up). Turn editing off

Click on the what now the first grid block (before it was the second), the summary does not appear. Click on any of the following grid blocks (sections) and summaries do appear.

Switch to another course format, like topics. All summaries appear.

For whatever reason the summary doesn't seem to appear for the section that is in position 1 of the grid. Work around is to create a dummy section and hide it from students.

Expected behaviour: When a summary is present for a section it should display when the section is selected.

Versions (please complete the following information):

Moodle: 4.1.3+
Format: Grid version of plugin: 401.2.2, 2022112608
Browser and version: Firefox 122.00 and Chrome 120.0.6099.234 (Official Build) (arm64)
gjb2048 commented 9 months ago

Dear @zylene,

Ok, thanks for the report. Did you not see the contents of https://github.com/gjbarnard/moodle-format_grid/blob/main/.github/ISSUE_TEMPLATE/bug_report.md when creating the issue? As again I have to ask:

Versions (please complete the following information):

Moodle: [e.g. 4.1] Format: [e.g. 401.0.1] Browser and version [e.g. Chrome Version 108.0.5359.125 (Official Build) (64-bit) on Windows 10]

This is SOOOO important!!!!!

zylene commented 9 months ago

apologies, the versions have been added to the original description

gjb2048 commented 9 months ago

Cannot replicate on V401.2.2 of the Grid format on Moodle 4.1.8+ (Build: 20240125) and Firefox Developer 123.0b4 (64-bit):

Screenshot 2024-01-31 202659

Screenshot 2024-01-31 202715

Screenshot 2024-01-31 202743

Do you have any Custom CSS that's causing this? Does this happen in the Boost theme for you? (I'm using the Boost theme).

zylene commented 9 months ago

It does not happen in the Boost, it must be some custom css. Thanks for the quick attention to this.

gjb2048 commented 5 months ago

No further action.