feat(life): enhance search, empty states, and reaction controls
Add clear button to search input and improve empty state UI Add split button for reactions and close picker on outside click Add retry button for paused feed pagination
This commit is contained in:
@@ -236,7 +236,9 @@ const messages = {
|
||||
searchTags: 'Search tags',
|
||||
search: 'Search Life',
|
||||
searchPlaceholder: 'Search post content...',
|
||||
clearSearch: 'Clear search',
|
||||
searchEmpty: 'No posts match your search',
|
||||
searchEmptyHint: 'Try another keyword or clear the search.',
|
||||
comments: 'Comments',
|
||||
commentsCount: '{count} comments',
|
||||
comment: 'Comment',
|
||||
@@ -249,6 +251,8 @@ const messages = {
|
||||
reactionHelpful: 'Helpful',
|
||||
reactionFun: 'Fun',
|
||||
reactionThanks: 'Thanks',
|
||||
chooseReaction: 'Choose reaction',
|
||||
reactionMenu: 'Reaction menu',
|
||||
removeReaction: 'Remove reaction',
|
||||
reactionFailed: 'Reaction failed',
|
||||
commentPlaceholder: 'Write a comment...',
|
||||
@@ -273,7 +277,9 @@ const messages = {
|
||||
updating: 'Updating',
|
||||
cancelEdit: 'Cancel edit',
|
||||
empty: 'No posts yet',
|
||||
emptyHint: 'Verified members can start the first Life post.',
|
||||
loading: 'Loading Life feed',
|
||||
retryFeed: 'Retry loading',
|
||||
loginPrompt: 'Log in with a verified email to post.',
|
||||
verifyPrompt: 'Complete email verification to post.',
|
||||
editPost: 'Edit post',
|
||||
@@ -588,7 +594,9 @@ const messages = {
|
||||
searchTags: '搜索标签',
|
||||
search: '搜索动态',
|
||||
searchPlaceholder: '搜索动态内容……',
|
||||
clearSearch: '清除搜索',
|
||||
searchEmpty: '没有匹配的动态',
|
||||
searchEmptyHint: '换个关键词或清除搜索。',
|
||||
comments: '评论',
|
||||
commentsCount: '{count} 条评论',
|
||||
comment: '评论',
|
||||
@@ -601,6 +609,8 @@ const messages = {
|
||||
reactionHelpful: '有帮助',
|
||||
reactionFun: '有趣',
|
||||
reactionThanks: '感谢',
|
||||
chooseReaction: '选择互动',
|
||||
reactionMenu: '互动菜单',
|
||||
removeReaction: '取消互动',
|
||||
reactionFailed: '互动失败',
|
||||
commentPlaceholder: '写下评论……',
|
||||
@@ -625,7 +635,9 @@ const messages = {
|
||||
updating: '更新中',
|
||||
cancelEdit: '取消编辑',
|
||||
empty: '暂无动态',
|
||||
emptyHint: '已验证成员可以发布第一条 Life 动态。',
|
||||
loading: '正在加载 Life 动态',
|
||||
retryFeed: '重试加载',
|
||||
loginPrompt: '使用已验证邮箱登录后即可发布。',
|
||||
verifyPrompt: '完成邮箱验证后即可发布。',
|
||||
editPost: '编辑动态',
|
||||
|
||||
Reference in New Issue
Block a user