(feat): share specific comments
Users should be able to share a link to specific comments within posts and group chat.
added scoped labels
A quick look at the notification link inside Chrome's code console reveals that there is a full url generated from the thread component URNs, which is how it jumps you from the notification list to the specific message.
This means the backend linking work is already done and all that needs to be done is expose that very same link with a share button.
Thanks!
This is actually a front end related issue too.
The router component for sharing would need to change in order to accept a query parameter for
commentId
or something along the lines of this.Should also be opened (or related to the front end). All that needs to happen for the backend is an ability to
GET
a post bycommentId
.moved from engine#760 (moved)
- Developer
Exactly @Qriist! you can see it in the query string when you click notifications to media.
Yep, is indeed front-end @chriscates, good spotting that one. I think it should just be a case of dynamically generating a URL in this format, when you guys click a button.
https://www.minds.com/media/1008238402763268096?focusedCommentUrn=urn:comment:1008238402763268096:1008760152644538368:0:0:1009089798968348672
All of the data needed should be available within the context of the comment tree.
@benhayward.ben, in that case what would need to happen is a new "share" icon in the sub menu for comments. This "share" icon would prompt a new "Remind" dialog utilizing the
URN
format you provided.I believe this outlines the requirements for the feature and should be straight forward to the contributor who creates a merge request.
- Owner
Closing in favor of engine#915
closed