# Beschreibung zu Gruppenkarten hinzufügen

**URL:** https://meta.discourse.org/t/add-description-to-group-cards/86524
**Category:** UX
**Created:** [1. Mai 2018 um 10:26 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524 "2018-05-01T10:26:19Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [1. Mai 2018 um 10:26 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/1 "2018-05-01T10:26:19Z")

</div>

Continuing the discussion from [Usercard for groups](https://meta.discourse.org/t/usercard-for-groups/78587/6):

> [@Usercard for groups](https://meta.discourse.org/t/usercard-for-groups/78587/6):
>
> Description may overrun the card in very strange ways, and I didn’t find it very useful to display on the card itself. If you’re looking for a full description of the group, you could navigate to the group page from the card.

In our case, it’d be very helpful to have the description on the user card. I think it’d be fine to cut it off with an ellipsis after some number of characters. Showing a partial description would offer greater affordance to seek out the full description.

And I think folks would learn quickly and/or could be nudged to put the important bits at the top of their description so they are more likely to make the cut.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1. Mai 2018 um 23:21 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/2 "2018-05-01T23:21:04Z")

</div>

Sure, I think description makes sense there @featheredtoast

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [2. Mai 2018 um 00:08 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/3 "2018-05-02T00:08:05Z")

</div>

Sure, if it makes sense to have, I’ll see what I can do here to add it.

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [7. Mai 2018 um 17:58 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/5 "2018-05-07T17:58:43Z")

</div>

Alrighty - I’ve added group descriptions, and just simply capped the description height and allowed overflows when descriptions get large: [Feature: display description for group cards · discourse/discourse@9738025 · GitHub](https://github.com/discourse/discourse/commit/9738025bb2847e398b5fda36abb419ec0291d58d)

 ![50%20AM](https://global.discourse-cdn.com/meta/original/3X/b/7/b7cca3bd842766e986acd48fb3197683420b2293.png)

Hope that looks better to you @mcwumbly

I’m personally on the fence about the overflows - On one hand, scroll bars are never very pretty, but you do get all the description text on the card without it clipping strangely.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7. Mai 2018 um 23:28 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/6 "2018-05-07T23:28:49Z")

</div>

Sure, @awesomerobot will you have time to help with styling here? I’m not happy with the way this looks at the moment, and I think it should generally mimic the user card a bit more.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [7. Mai 2018 um 23:44 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/7 "2018-05-07T23:44:16Z")

</div>

Yes, definitely on it within the next day or two.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [12. Juni 2018 um 15:42 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/8 "2018-06-12T15:42:31Z")

</div>

I’m very much liking the group cards! I noticed two oddities - see screenshot. The owners are not listed next to the word “Owner” as I would have expected. This particular group has two owners, so should we not be seeing “Owners” (multiple) and their avatars next to it? Also, longish group name get cut off instead of wrapping onto two lines.

 ![41%20AM](https://global.discourse-cdn.com/meta/original/3X/6/c/6c302ed3046bd0ba463f3471032df899cc2f11cc.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12. Juni 2018 um 21:23 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/9 "2018-06-12T21:23:00Z")

</div>

Owner in this case means the person whose user card you expanded is the owner of that group, doesn’t it? Maybe @featheredtoast can clarify. Not entirely sure what I’m seeing here.

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [12. Juni 2018 um 21:34 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/10 "2018-06-12T21:34:00Z")

</div>

Hm, this seems to be a bug - It is supposed to show as “owner” when the currently logged in user is the owner of the group, and “member” when the current user is a member… but it seems to show “owner” for everyone regardless of membership. Will fix.

EDIT: I see what’s happening, and it isn’t as bad as I feared, actually. The display logic is checking if the current user is a group owner, which includes all admins. The display here should still display the correct membership on the card, admin or no - thanks for catching this. 🍅

[https://github.com/discourse/discourse/commit/3d1ff8e0ad63aac76519c0e3b47d5dee64653a77](https://github.com/discourse/discourse/commit/3d1ff8e0ad63aac76519c0e3b47d5dee64653a77)

---

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [12. Juni 2018 um 22:38 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/11 "2018-06-12T22:38:39Z")

</div>

> [@tobiaseigen](#):
>
> Also, longish group name get cut off instead of wrapping onto two lines.

To address your other point, this was intentional to keep the card compact, and looking good by default for any content. It can be changed around with CSS to allow for wraps:

```css
#group-card h2 {
    white-space: normal;
}

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [24. April 2019 um 10:29 UTC](https://meta.discourse.org/t/add-description-to-group-cards/86524/12 "2019-04-24T10:29:18Z")

</div>


