-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Show 'marked solved by' in OP when topic is solved #343
Conversation
This PR needs to be edited to merge into |
032d75b
to
cf89d97
Compare
b6c14fb
to
75ad157
Compare
{ cooked: hasExcerpt ? withExcerpt : withoutExcerpt }, | ||
dec | ||
); | ||
const cooked = new PostCooked({ cooked: solvedQuote }, dec); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The need for functionality within PostCooked here is why we can't yet switch to a glimmer component, so we will just update the widget as-is for now.
if !SiteSetting.enable_names || !SiteSetting.display_name_on_posts | ||
accepted_answer[:name] = nil | ||
accepted_answer[:accepter_name] = nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is tied to my other comment. We are already handling some of the logic here so could centralize them in a single place.
Depends on: #342
This feature adds the "Marked solved as" information to the solved post appended to OP.
Note to reviewer: Originally, I had moved the widget usage to a component, but due to "cooking quotes", after some internal discussion (t/95318/25) we will stick to widgets for now as the post-stream gets modernized.
Desktop
Mobile