Lhc_fl
(Linca)
11 يونيو 2023، 4:08م
1
Install this theme component
This theme component is heavily inspired by @awesomerobot ’s Show Original Poster Avatars - theme-component - Discourse Meta . Let us thank him for his great creation!
This theme component has reached a balance on whether to display the topic OP or the last replyer on the mobile. As you can see, the OP of the topic will be displayed on the left, and the last replyer will be displayed on the right. In particular, if there is no reply, the position of the avatar will be replaced by a clock.
16 إعجابًا
Canapin
(Coin-coin le Canapin)
12 يونيو 2023، 1:15م
2
إعجابَين (2)
Wil34
(Wil34)
16 يونيو 2023، 8:11ص
3
Thanks !
Can you do that for computer too ?
Lhc_fl
(Linca)
16 يونيو 2023، 8:13ص
4
Didn’t the topic list on the desktop provide us with more detailed information?
إعجاب واحد (1)
A good theme component but it’s does that with my category + tag:
IS it possible to fix?
Do you mean nothing is displayed?
I tested the component, and it is working fine on my side:
Hi, its me again. IS there a way to fix this?
If i disable the theme component, its shows as expected
Also, in the preview, category + tags have no spacement:
Lhc_fl
(Linca)
8 يوليو 2024، 1:30ص
9
Is there anything wrong with this? This looks as expected.
Before the theme component, it’s shows like that:
Lhc_fl
(Linca)
8 يوليو 2024، 1:41ص
11
I modified your image a bit, and you see, the tag label is actually too long to fit, so it is placed on the next line.
I understand, but its expected to be here:
I have temporally fixed it by limiting the tags a bit to show in 1 line only
Lhc_fl
(Linca)
8 يوليو 2024، 1:56ص
13
Oh, it’s a matter of opinion, it’s by design because I think it looks better to put the tag after the category.
إعجاب واحد (1)
oh ok. so it’s designed that way. It sounds strange to me because there is a lot of empty space.
but ok, i understand now. Thank you
إعجاب واحد (1)
Will this theme component be updated?
إعجاب واحد (1)
Lhc_fl
(Linca)
2 مارس 2025، 4:52ص
17
I’ve completed the maintenance work , but there is a problem - I probably need to put a PluginOutlet in the core. Without this outlet, it will be difficult to rewrite this theme component intact.
DEV: Add a PluginOutlet for mobile-view topic activity number by Lhcfl · Pull Request #31567 · discourse/discourse
update: It’s merged
Now the component is compatible with the latest discourse
5 إعجابات
jrgong
(jrgong)
11 أبريل 2025، 11:09ص
18
Is it possible that the commit b35e64 broke the TC on 3.4.2? It stopped working since then. When I installed the older 55f5a52 version, it’s working as expected.
Lhc_fl
(Linca)
12 أبريل 2025، 1:24م
19
Yes, commit b35e64
relies on fairly recent Discourse core changes
إعجابَين (2)