Mark post as read when clicking "Expand here" on the preview image on the post listin...
authorMilan Damen <github@darvit.nl>
Fri, 4 Aug 2023 14:47:17 +0000 (14:47 +0000)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 14:47:17 +0000 (10:47 -0400)
commitafafb777b4be09d70cd8f56f8d236d98ac63ba6e
tree94f944c95c049292c168b50398a79554199f521a
parent2531d051912f410fc949cc6eadcab020442064bb
Mark post as read when clicking "Expand here" on the preview image on the post listing page (#1600) (#1978)

* Mark post as read when clicking "Expand here" on the preview image on the post listing page (#1600)

* Simplified check for mark post as read

* Implemented mark post as read as a property callback instead of directly using HttpService

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
src/shared/components/community/community.tsx
src/shared/components/home/home.tsx
src/shared/components/person/person-details.tsx
src/shared/components/person/profile.tsx
src/shared/components/post/post-form.tsx
src/shared/components/post/post-listing.tsx
src/shared/components/post/post-listings.tsx
src/shared/components/post/post-report.tsx
src/shared/components/post/post.tsx
src/shared/components/search.tsx