Skip to content

Collapse long learning objective/pre-requisite fields when viewing a learning path#1097

Merged
fbacall merged 4 commits intomasterfrom
collapse-long-lp-fields
May 27, 2025
Merged

Collapse long learning objective/pre-requisite fields when viewing a learning path#1097
fbacall merged 4 commits intomasterfrom
collapse-long-lp-fields

Conversation

@fbacall
Copy link
Copy Markdown
Member

@fbacall fbacall commented Apr 17, 2025

Summary of changes

  • Add expandable option to display_attribute, which limits the max vertical height of the attribute value, adding a "See more/less" link to expand/collapse.
  • Makes expandable elements expand to max height when "See more" is clicked, instead of gradually showing more content.
  • Add some spacing between icons and text in user menu.

Motivation and context

#1096

Screenshots

image

Checklist

  • I have read and followed the CONTRIBUTING guide.
  • I confirm that I have the authority necessary to make this contribution on behalf of its copyright owner and agree
    to license it to the TeSS codebase under the
    BSD license.

@smza
Copy link
Copy Markdown
Collaborator

smza commented Apr 17, 2025

@fbacall is it possible to have Learning Objectives of each module under the module itself?

@fbacall fbacall merged commit 615678a into master May 27, 2025
11 checks passed
@fbacall fbacall deleted the collapse-long-lp-fields branch May 27, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants