From 4c1f4674425ffeb430aa07f3fccbb09837f36a34 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 30 Aug 2017 08:06:29 -0400 Subject: PLT-7379: Timestamp on deleted, ephemeral, or pending post is a permalink (#7295) * Removed permalink from system messages, general cleanup * Removed permalink from deleted messages * Removed permalink from pending messages * Fixed post_info tests * Changed permalink logic to remove permalinks from ephemeral messages, but leave them in place for system messages. * Fixed check style --- .../post_view/post_info/__snapshots__/post_info.test.jsx.snap | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'webapp/tests/components') diff --git a/webapp/tests/components/post_view/post_info/__snapshots__/post_info.test.jsx.snap b/webapp/tests/components/post_view/post_info/__snapshots__/post_info.test.jsx.snap index 911008a7b..d58df052d 100644 --- a/webapp/tests/components/post_view/post_info/__snapshots__/post_info.test.jsx.snap +++ b/webapp/tests/components/post_view/post_info/__snapshots__/post_info.test.jsx.snap @@ -9,6 +9,7 @@ exports[`components/post_view/PostInfo should match snapshot 1`] = ` > @@ -98,6 +99,7 @@ exports[`components/post_view/PostInfo should match snapshot, compact display 1` > @@ -187,6 +189,7 @@ exports[`components/post_view/PostInfo should match snapshot, ephemeral deleted > @@ -222,6 +225,7 @@ exports[`components/post_view/PostInfo should match snapshot, ephemeral post 1`] > @@ -266,6 +270,7 @@ exports[`components/post_view/PostInfo should match snapshot, flagged post 1`] = > @@ -355,6 +360,7 @@ exports[`components/post_view/PostInfo should match snapshot, military time 1`] > @@ -418,6 +424,7 @@ exports[`components/post_view/PostInfo should match snapshot, pinned post 1`] = > -- cgit v1.2.3-1-g7c22