mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
UX: Small topic map improvements and fixes (#28215)
This commit is contained in:
@ -168,32 +168,7 @@ export function createData(store) {
|
||||
canBookmark: true,
|
||||
canManage: true,
|
||||
canDelete: true,
|
||||
createdByUsername: user.username,
|
||||
createdByAvatarTemplate: user.avatar_template,
|
||||
lastPostUsername: user.username,
|
||||
lastPostAvatarTemplate: user.avatar_template,
|
||||
topicReplyCount: 123,
|
||||
topicViews: 3456,
|
||||
participantCount: 10,
|
||||
topicLikeCount: 14,
|
||||
topicLinkLength: 5,
|
||||
topicPostsCount: 4,
|
||||
participants: [createUser(), createUser(), createUser(), createUser()],
|
||||
post_number: 1,
|
||||
topicLinks: [
|
||||
{
|
||||
title: "Evil Trout",
|
||||
url: "https://eviltrout.com",
|
||||
domain: "eviltrout.com",
|
||||
clicks: 1024,
|
||||
},
|
||||
{
|
||||
title: "Cool Site",
|
||||
url: "http://coolsite.example.com",
|
||||
domain: "coolsite.example.com",
|
||||
clicks: 512,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
const postModel = store.createRecord("post", {
|
||||
|
Reference in New Issue
Block a user