최근 검색
최근 검색 없음

Joel Mayer
가입한 날짜: 2021년 4월 15일
·
마지막 활동: 2021년 10월 27일
팔로잉
0
팔로워
0
총 활동 수
25
투표 수
10
플랜 수
11
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Joel Mayer
Joel Mayer님이 에 게시물을 만듦
In this article, Customizing Status Icons for Community Posts, we've been shown how to change the status of posts that displays to end-users to something custom and is fitting to our product and culture.
I used the same logic to also change the status selector for agents and admins. It turns out that this logic, although working, isn't supposed to be allowed and recently it broke the Community Post page in my theme and many others as well.
Here's the explanation from support:
Just heard back from our devs. It sounds like they made a change which led to the 500 errors you (and others) were seeing, and then they promptly reverted it. That's why things are working now. They let me know that the errors were related to using post.actions in a conditional. That's theoretically not allowed, since post.actions is a helper and not an object, but there was no validation around this, so it was allowed to go through (and work) until now.
The devs recommend that you move away from using conditionals like this, since it's something they are looking to start enforcing in the future.
So, in the future at some point, we will be able to modify the visible post.status, but not post.action for the menu that agents and admins use to update the statuses.
If a custom status is being used for end-user communication, it would make sense for agents to use the same list when they are making updates.
2020년 2월 05일에 게시됨 · Joel Mayer
3
팔로워
2
투표 수
1
댓글