Don
January 31, 2023, 11:06am
1
Hello,
I noticed on these plugins the user-stream-item
templates need some update (maybe there are other plugins too) … to fit to the core changes.
Discourse Follow plugin
https://github.com/discourse/discourse-follow/blob/main/assets/javascripts/discourse/templates/components/follow-feed-post.hbs
Discourse Reactions plugin
Now it looks like this
This is the expected
There was a fix on the core user-stream-item
template few month ago which changed the elements order and added some new classes.
discourse:main
← discourse:a11y-user-stream-item-fixes
opened 09:59PM - 26 Sep 22 UTC
- in group activity, allows avatars to be selectable by tabbing or screen reader… s
- in user activity > drafts, fixes a bug where for draft replies, the wrong avatar was being shown in the user card
- in both group and user activity, fixes the order of focusable items
Thank you
3 Likes
Don
February 2, 2023, 9:51am
2
If someone need a quick workaround I made some css modification to order these elements to the correct place.
Common > CSS
.user-stream {
.item,
.user-stream-item {
// adding the exclusion doesn't matter much
// except that it won't add these to the current core style
.info:not(.user-stream-item__header) {
display: flex;
align-items: flex-start;
.stream-topic-details {
order: 1;
flex-grow: 1;
}
.expand-item,
.collapse-item {
order: 2;
}
.time {
order: 3;
}
}
}
}
1 Like
david
(David Taylor)
March 23, 2023, 3:28pm
9
4 Likes
david
(David Taylor)
Closed
March 25, 2023, 8:00am
10
This topic was automatically closed after 37 hours. New replies are no longer allowed.