Skip to content

Show submembers of collections on concept page#1821

Merged
osma merged 2 commits intomainfrom
issue1816-concept-page-submembers
Nov 5, 2025
Merged

Show submembers of collections on concept page#1821
osma merged 2 commits intomainfrom
issue1816-concept-page-submembers

Conversation

@osma
Copy link
Member

@osma osma commented Oct 30, 2025

Reasons for creating this PR

Implement display of collection (sub)members on the concept page, like this:

image

Link to relevant issue(s), if any

Description of the changes in this PR

  • modify the concept-card.inc.twig template so it displays submembers
  • add a CSS rule to set the indentation
  • add a Cypress test to verify

Known problems or uncertainties in this PR

none

Checklist

  • phpUnit tests pass locally with my changes
  • I have added tests that show that the new code works, or tests are not relevant for this PR (e.g. only HTML/CSS changes)
  • The PR doesn't reduce accessibility of the front-end code (e.g. tab focus, scaling to different resolutions, use of .sr-only class, color contrast)
  • The PR doesn't introduce unintended code changes (e.g. empty lines or useless reindentation)

@osma osma added this to the 3.0-beta.2 milestone Oct 30, 2025
@osma osma self-assigned this Oct 30, 2025
@osma osma moved this to Needs review in Skosmos 3.x Backlog Oct 30, 2025
@sonarqubecloud
Copy link

@osma osma requested a review from miguelvaara November 4, 2025 08:24
Copy link
Contributor

@miguelvaara miguelvaara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For testing purposes, checked the visuals also for the kieli ja kielet concept (http://www.yso.fi/onto/yso/p556). Works perfectly!

The code looks solid and also accessibility + UI and unit tests have all been run. The coding style was reviewed where applicable - everything is fine!

We can go for a merge!

@osma osma merged commit a072857 into main Nov 5, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from Needs review to Issue/PR closed in Skosmos 3.x Backlog Nov 5, 2025
@osma osma deleted the issue1816-concept-page-submembers branch November 5, 2025 10:45
@osma osma moved this from Issue/PR closed to Done (verified in test.dev.finto.fi, set Milestone 3.0 for both issue & PR, update docs) in Skosmos 3.x Backlog Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concept page: show submembers when applicable

2 participants