모던 사용자 카드 | 실험적 사용자 카드 수정됨

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.

6개의 좋아요

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

3개의 좋아요

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

3개의 좋아요

i’ll see if i can fix :slight_smile:

4개의 좋아요

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개의 좋아요

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개의 좋아요

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:

3개의 좋아요