openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
261 stars 85 forks source link

✨(backend) allow to display related organizations on organization page #2270

Closed jbpenrath closed 8 months ago

jbpenrath commented 8 months ago

Purpose

Actually, some organization can be a consortium of organizations. In this case, it can be interesting to list all organizations affiliated to this consortium. That's why we add a new placeholder related_organizations into organization_detail template.

Capture d’écran 2024-01-31 à 16 03 05 Capture d’écran 2024-01-31 à 16 03 05

Proposal

NamFra commented 8 months ago

It's great @jbpenrath! For the case where a large institution oversees 2 or 3 establishments, it's perfect imo. However, given that our main use case will involve around twenty partners, I'm concerned that the current size of the cards may be too large (with 5 rows to scroll through before reaching the courses).

Currently, is the number of displayed cards limited to 4 (it's 6 for our organization page on fun-mooc), or is the current preview due to the size of your screen?

On the mockup, there were 10 per row, but do you find that it might be too much? With the Glimpse plugin, there is a Badge variant that aligns more with the mockup (but the logo is in square format... so it wouldn't fit as it is).

Do you think it's possible to add a Badge variant for institutions without too much difficulty (or at least a "small" variant of cards), or is it a too complex development?

WDYT @jsfununivers?

jbpenrath commented 8 months ago

It's great @jbpenrath! For the case where a large institution oversees 2 or 3 establishments, it's perfect imo. However, given that our main use case will involve around twenty partners, I'm concerned that the current size of the cards may be too large (with 5 rows to scroll through before reaching the courses).

Currently, is the number of displayed cards limited to 4 (it's 6 for our organization page on fun-mooc), or is the current preview due to the size of your screen?

On the mockup, there were 10 per row, but do you find that it might be too much? With the Glimpse plugin, there is a Badge variant that aligns more with the mockup (but the logo is in square format... so it wouldn't fit as it is).

Do you think it's possible to add a Badge variant for institutions without too much difficulty (or at least a "small" variant of cards), or is it a too complex development?

WDYT @jsfununivers?

There is a card variant which allow to display 6 cards per row. You can take look of it on the course detail page.

NamFra commented 8 months ago

Yes, you're right @jbpenrath, it looks good for now with this variant, thx! (discussed with @jsfununivers and @cuchulainn-fun)

jsfununivers commented 8 months ago

Here it is a preview of 19 organizations with card variant : )

image

There is a card variant which allow to display 6 cards per row. You can take look of it on the course detail page.

I think it's a very good solution for now ! Thank you @jbpenrath :slightly_smiling_face: