Whispers should show the show-replies widget

Whisper posts show the reply-to in the upper right side of the post, but they don’t show the show-replies widget in the lower left side.

image

Is this by design or was it an oversight?

1 个赞

By design, since they are whispers.

2 个赞

But since whispers can be replied to and they show the original message, wouldn’t it make sense to also allow staff to follow the conversation more easily by navigating through the replies?

2 个赞

Just to be clear, I don’t mean that the original post should show the ‘show-replies’ widget (since a regular user won’t be able to see it), what I mean is that replies to other whispers should show the widget. For example:

  • userA post 1
  • staff1 whisper 1
  • userB post
  • userC post
  • staff2 whisper 2 (replying to whisper 1)
  • userD post
  • staff3 whisper 3 (replying to whisper 1)

Staff3 should be able to see that whisper 1 has already been replied to in whisper 2 (which might not be obvious without going through all the messages)

1 个赞

I mean maybe, what do you think @sam? If it is an easy change I am for it. If it is not an easy change, I am against it.

1 个赞

This is reasonably complicated to change, would probably take me an hour or 2 of work to find all the edge cases, we don’t want to leak the fact that whispers exists to non whisper posts so we can only update this info in very specific cases.

Putting pr-welcome , only welcome if the change is carefully tested and accounts for not leaking whisper existence and does not add perf concerns.

7 个赞

Hi Sam, thanks for the heads up.

I thought everything was taken care of in the backend and it was just a matter of adding the button in the frontend.

We make heavy use of the whispers feature and, since currently it’s really hard to know who has replied to what, multiple staff members end up replying to the same issue because they don’t realize that someone else had already taken care of it.

Therefore, I will probably put in the time to implement this at some point. I would appreciate it if you could give me a few pointers (which files should I start with) or let me know what the edge cases could be.

1 个赞

Also, I’ve noticed what I think is a bug.

Steps to reproduce

  1. User1 writes post 1
  2. Staff1 replies to post 1 with post 2
  3. Staff1 replies to post 1 with whisper 1 and a @mention to Staff2
  4. Staff2 replies to whisper 1 with whisper 2
  5. Staff3 replies to whisper 2 with whisper 3
  6. Staff1 clicks on the show-replies widget of post 1

Expected behavior

Post 2 is visible and only whisper 1 is visible with the format of a whisper (light grey italics).

Current behavior

Post 2 is visible and whispers 1, 2 and 3 are all visible with the format of regular posts (however User1 can only see post 2).

1 个赞

嗨 Sam,

我不知道你是否改变了主意,但我最近注意到一个令人惊讶的新行为:

  1. 当管理员回复之前的悄悄话时,show-replies 小部件会显示出来,这正是我所期望的:

  1. 但是,当你重新加载页面时,该小部件不再可见。

2 个赞

我发现的另一个奇怪现象(我还没能复现)。这里一个私信显示它有回复(即使刷新后),但回复的不是私信。:thinking:

2 个赞