mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
[CORL-263, CORL-225] Story Titles, Moderate Story, Mini Unit (#2294)
* feat: show story title + moderate this story link * feat: introduce mini unit * test: add tests for moderate story link * fix: snapshot * fix: lint / test * fix: unwanted margin
This commit is contained in:
@@ -42,26 +42,12 @@ exports[`renders profile 1`] = `
|
||||
className="Flex-root Flex-flex Flex-itemGutter Flex-alignCenter Flex-directionRow"
|
||||
>
|
||||
<a
|
||||
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantUnderlined"
|
||||
className="TextLink-root HistoryComment-viewConversation"
|
||||
href="http://localhost/stories/story-1?commentID=comment-0"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onMouseOut={[Function]}
|
||||
onMouseOver={[Function]}
|
||||
onTouchEnd={[Function]}
|
||||
target="_parent"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
className="Icon-root Icon-sm"
|
||||
>
|
||||
launch
|
||||
</span>
|
||||
<span>
|
||||
View Conversation
|
||||
</span>
|
||||
View Conversation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -97,26 +83,12 @@ exports[`renders profile 1`] = `
|
||||
className="Flex-root Flex-flex Flex-itemGutter Flex-alignCenter Flex-directionRow"
|
||||
>
|
||||
<a
|
||||
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantUnderlined"
|
||||
className="TextLink-root HistoryComment-viewConversation"
|
||||
href="http://localhost/stories/story-1?commentID=comment-1"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onMouseOut={[Function]}
|
||||
onMouseOver={[Function]}
|
||||
onTouchEnd={[Function]}
|
||||
target="_parent"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
className="Icon-root Icon-sm"
|
||||
>
|
||||
launch
|
||||
</span>
|
||||
<span>
|
||||
View Conversation
|
||||
</span>
|
||||
View Conversation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,26 +90,12 @@ exports[`renders profile 1`] = `
|
||||
className="Flex-root Flex-flex Flex-itemGutter Flex-alignCenter Flex-directionRow"
|
||||
>
|
||||
<a
|
||||
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantUnderlined"
|
||||
className="TextLink-root HistoryComment-viewConversation"
|
||||
href="http://localhost/stories/story-1?commentID=comment-0"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onMouseOut={[Function]}
|
||||
onMouseOver={[Function]}
|
||||
onTouchEnd={[Function]}
|
||||
target="_parent"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
className="Icon-root Icon-sm"
|
||||
>
|
||||
launch
|
||||
</span>
|
||||
<span>
|
||||
View Conversation
|
||||
</span>
|
||||
View Conversation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -145,26 +131,12 @@ exports[`renders profile 1`] = `
|
||||
className="Flex-root Flex-flex Flex-itemGutter Flex-alignCenter Flex-directionRow"
|
||||
>
|
||||
<a
|
||||
className="BaseButton-root Button-root Button-sizeRegular Button-colorRegular Button-variantUnderlined"
|
||||
className="TextLink-root HistoryComment-viewConversation"
|
||||
href="http://localhost/stories/story-2?commentID=comment-2"
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
onFocus={[Function]}
|
||||
onMouseOut={[Function]}
|
||||
onMouseOver={[Function]}
|
||||
onTouchEnd={[Function]}
|
||||
target="_parent"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
className="Icon-root Icon-sm"
|
||||
>
|
||||
launch
|
||||
</span>
|
||||
<span>
|
||||
View Conversation
|
||||
</span>
|
||||
View Conversation
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user