Modern User Card | Fixed Experimental Usercard

Install this theme component

This is a small component that fixes the old experimental User Card for use on modern Discourse. It is mostly identical to the experiment (and uses largely the same code) with some minor visual edits



Note

There will be a deprecation notice on your site once you install this. I tried fixing it, but I had no idea how to do so and gave up after 30 minutes of bashing my head against a well. It is safe to ignore for now but if anybody knows what the proper fix is please let me know.

5 Likes

i have a fix for your deprecation notice but it is doing this for me:

3 Likes

yep, i was trying to do what it suggested and it just reset it like that so i had given up :broken_heart:

3 Likes

i’ll see if i can fix :slight_smile:

4 Likes

Something in your component is using ‘id:discourse.component-template-resolving’ ?

That alert is appering to me when enable

[Aviso da administração] Um dos seus temas ou plugins contém código que precisa de atualização (id:discourse.component-template-resolving) (saiba mais)

Yes, that is intended at the moment, and it isn’t as easy as just moving the file. I’m working with @Lilly to hopefully resolve this sometime soon, so keep an eye out for changes. For now, it’s safe to dismiss the warning.

2 Likes

So this is essentially a modern remake of User card redesign field parity?

No, this component modernizes the scrapped new user card. That component seems to just adjust the style of it.

2 Likes

it needs a complete refactor as a new component to work with core. i would just start from scratch. but this one isn’t really isn’t fixed unfortunately. it was a great component. :cry:

2 Likes