zooniverse / Panoptes-Front-End

Front end for zooniverse/Panoptes
https://www.zooniverse.org
Apache License 2.0
64 stars 75 forks source link

fix: undefined project.slug in Talk search results #7068

Closed eatyourgreens closed 3 months ago

eatyourgreens commented 3 months ago

Fix an error where project.slug is undefined in Talk search results, leading to raw markdown strings being passed to the HTML parser in the Markdown component.

Staging branch URL: https://pr-7068.pfe-preview.zooniverse.org/talk/search?page=11&query=add&env=production

Required Manual Testing

Review Checklist

Optional

coveralls commented 3 months ago

Coverage Status

coverage: 56.98%. remained the same when pulling 0e398cb25800b0e95f8770a38aee68daaff86cb4 on eatyourgreens:escape-talk-comments into dd307b3fc1b33dbbebd50a3df8ffe967fb795418 on zooniverse:master.

eatyourgreens commented 3 months ago

A side effect of this fix is that Talk search results will now be properly formatted again. They've been displayed as raw markdown strings.