UX: Small topic map improvements and fixes (#28215)

This commit is contained in:
Jan Cernik
2024-08-12 13:37:05 -05:00
committed by GitHub
parent 157c8e660a
commit 043fc0a117
9 changed files with 116 additions and 130 deletions

View File

@ -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", {