# New user cards and user profile page design deployed

**URL:** https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660
**Category:** Feature
**Created:** [30 Ottobre 2014, 12:42am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660 "2014-10-30T00:42:25Z")
**Posts on this page:** 20
**Page:** 1

<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: [30 Ottobre 2014, 12:42am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/1 "2014-10-30T00:42:25Z")

</div>

Looking great, thanks to the hard work of @awesomerobot.

Check it out and see what you think – both the full user profile, and the pop up cards.

Note that you can put a badge image or glyph on your card, if you hold a badge that is capable.

More tweaks to come, but initial feedback is good at this point.

---

<div class="post-metadata">

### Author: ![naiqus](https://avatars.discourse-cdn.com/v4/letter/n/d6d6ee/32.png) [@naiqus](https://meta.discourse.org/u/naiqus)
#### Post date: [30 Ottobre 2014, 12:50am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/2 "2014-10-30T00:50:15Z")

</div>

This is just kind of like… Wooooow!!! Just can’t wait for the update of my site!

---

<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: [30 Ottobre 2014, 1:01am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/3 "2014-10-30T01:01:11Z")

</div>

cool!

one nitpick: on Windows Chrome, many usercards I’ve looked at now have this scrollbar, which I find a little annoying / out of place…

![](https://global.discourse-cdn.com/meta/original/3X/d/c/dc8b051e0fb61268125a93d8ce72ae011a2da037.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: [30 Ottobre 2014, 1:47am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/4 "2014-10-30T01:47:15Z")

</div>

User cards do need to show join date and last post date. Location would also be nice, but maybe could be dropped. But I use last post date and join date to quickly tell if I am dealing with a newbie or lurker.

---

<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: [2 Novembre 2014, 3:05am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/8 "2014-11-02T03:05:26Z")

</div>

Just added join/last post/groups to usercard

[https://github.com/discourse/discourse/pull/2939](https://github.com/discourse/discourse/pull/2939)

---

<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: [2 Novembre 2014, 4:32am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/9 "2014-11-02T04:32:56Z")

</div>

- ~~buttons (invites, logout, preferences) on full profile page not appearing properly in IE11~~ seems OK to me now

- group membership is not visible on full profile page any more, but should be (somewhere)

- ~~you open a User Card (the thing that pops up when you click on a username) and they have the icon for a badge selected to show then you get slightly different results if you middle click it or left click it. It looks like the badge coloring class in the CSS isn’t being filled in fully in one of the cases (“badge-type-” instead of “badge-type-[color]”).~~ we can’t repro this?

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [2 Novembre 2014, 10:52am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/10 "2014-11-02T10:52:37Z")

</div>

> [@mcwumbly](#):
>
> on Windows Chrome, many usercards I’ve looked at now have this scrollbar

Firefox 33 on Ubuntu Gnome - no scroll bar, resulting in missing text.

I usually view the site with text zoomed to 110%:  
 ![](https://global.discourse-cdn.com/meta/original/3X/b/7/b783402430e7cc3ddb7f5cf8c9fa71e347fd614b.png)

but even at 100% there is still an issue:  
 ![](https://global.discourse-cdn.com/meta/original/3X/0/d/0dbe70b9b791087b282174b2021959821abbd64f.png)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2 Novembre 2014, 10:58am UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/11 "2014-11-02T10:58:15Z")

</div>

Maybe a “more” ellipsis for those with longer content would be easy?

 ![](https://global.discourse-cdn.com/meta/original/3X/c/9/c95ecc9adf062b332c986c3c10647a9b2a11867a.png)

---

<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: [2 Novembre 2014, 7:06pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/12 "2014-11-02T19:06:20Z")

</div>

Yeah, right now long profiles are hidden with CSS, which has been causing a few problems… seems like it should definitely have a character limit where it’s truncated with JS and an ellipsis gets added.

It’s easy to truncate single-line text with CSS and `text-overflow: ellipsis;` but it just doesn’t work on multiline text.

---

<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: [2 Novembre 2014, 8:21pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/13 "2014-11-02T20:21:45Z")

</div>

Suspended users also cause layout problems on the user card

 ![](https://global.discourse-cdn.com/meta/original/3X/e/0/e0d7a55c665a6c52a3dbfb89ab62a81203cc05bd.png)

---

<div class="post-metadata">

### Author: ![PJH](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pjh/32/39071_2.png) [@PJH](https://meta.discourse.org/u/PJH)
#### Post date: [3 Novembre 2014, 1:02pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/14 "2014-11-03T13:02:49Z")

</div>

@mentions need some CSS I think. Profile page:

![](https://global.discourse-cdn.com/meta/original/3X/8/2/8210e7a8a6b4e4df1c8126243db75c526aa5cd01.png)

User card:

![](https://global.discourse-cdn.com/meta/original/3X/4/c/4ccdfbd67a70db5bbdf86329a4b3f08a7140308b.png)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [3 Novembre 2014, 5:06pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/15 "2014-11-03T17:06:15Z")

</div>

Do you have a custom CSS for mentions? I can’t seem to reproduce this locally. The class is applied to the HTML but I don’t get a grey background.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [3 Novembre 2014, 5:06pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/16 "2014-11-03T17:06:43Z")

</div>

I’ve added a little helper to display multiple lines of text with an ellpisis.

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

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [3 Novembre 2014, 9:38pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/17 "2014-11-03T21:38:21Z")

</div>

I find the way it load is a bit startling.

Perhaps something like this

![](https://global.discourse-cdn.com/meta/original/3X/6/0/604a5c228181e05f2223e0e3cb0e56d321522a6f.png)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [3 Novembre 2014, 9:45pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/18 "2014-11-03T21:45:37Z")

</div>

I’m gonna see what I can do to make the loading / popping in less jarring Tomorrow.

---

<div class="post-metadata">

### Author: ![PJH](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pjh/32/39071_2.png) [@PJH](https://meta.discourse.org/u/PJH)
#### Post date: [3 Novembre 2014, 9:47pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/19 "2014-11-03T21:47:32Z")

</div>

> [@eviltrout](#):
>
> Do you have a custom CSS for mentions?

Ick - keep meaning to remove that before reporting CSS stuff - yes we do - to underline proper links, but needed extra to not underline @mentions or faux-links - I’ll have a poke around with it.

However, forcing removal of site-local CSS doesn’t seem to help: [http://what.thedailywtf.com/users/pjhh/activity?preview-style=default](http://what.thedailywtf.com/users/pjhh/activity?preview-style=default)

---

<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: [3 Novembre 2014, 9:49pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/20 "2014-11-03T21:49:04Z")

</div>

- ~~remove glyphs from the “Last post” metadata line, use dark/light coloring there to distinguish key and value pairs ala the regular user page. (These metadata glyphs fight visually with the badge glyphs)~~

- ~~remove groups info, this is too much detail to show on the user card~~

- try to do a “fade” effect on the last line of the user about me if it has the ellipsis like so [Text Fade Out / Read More Link | CSS-Tricks](http://css-tricks.com/text-fade-read-more/)

---

<div class="post-metadata">

### Author: ![PJH](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pjh/32/39071_2.png) [@PJH](https://meta.discourse.org/u/PJH)
#### Post date: [3 Novembre 2014, 9:49pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/21 "2014-11-03T21:49:30Z")

</div>

Reproducible here:

![](https://global.discourse-cdn.com/meta/original/3X/8/c/8cbe4008a384c630ab0e1065ab3caf677cdb3005.png)

![](https://global.discourse-cdn.com/meta/original/3X/9/c/9c8c13871399d0ee3947446d60c54c63ccd5ea41.png)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [4 Novembre 2014, 7:26pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/23 "2014-11-04T19:26:10Z")

</div>

Thanks, I was dumb when I tried to reproduce it and didn’t mention an actual person on the site. I’ve got a fix in master:

[https://github.com/discourse/discourse/commit/74e2b8f6746afbb3404fade83cd157327daa8a51](https://github.com/discourse/discourse/commit/74e2b8f6746afbb3404fade83cd157327daa8a51)

---

<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: [4 Novembre 2014, 8:35pm UTC](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660/24 "2014-11-04T20:35:07Z")

</div>

Few other changes..

### Suppress post count button when in filtered view

 ![](https://global.discourse-cdn.com/meta/original/3X/1/9/197b1ec85787493106f6aa6357dfb7dbae2c02b9.png) 

### If the badge has an image vs an icon, use a larger space for the badge image

 ![](https://global.discourse-cdn.com/meta/original/3X/a/2/a2eb28852613db0da394c62691d1be256ff03d2c.png)

I think we should **make the card a bit wider** when the user has a badge image as well.

[Pagina seguente](https://meta.discourse.org/t/new-user-cards-and-user-profile-page-design-deployed/21660.md?page=2)
