Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Seems like the modal isn't being initialised every time, and just being called instead.
Clearing the field before closing it should fix it I think -
@varundey Haha I can actually say this now: "it's not a bug, it's a feature".
There has.been an update a few days ago, which allows you to close your comment and reopen again without losing your previous written text.
Since the reply button simply adds the user link, it will duplicate indeed if you already clicked it before. -
kimailis5208yit seems to be rant-specific, the usernames don't appear when you reply to comments on other rants. but they stay there when you return to the same rant and hit reply.
it could be a feature, to enable you to tag 2 people in one comment without writing the username yourself, but the usernames stay there when you exit the rant and return to it. -
@BikerMouse that seems valid but try this:
- hit reply to this comment and close it.
- do it two more times
- now hit reply on another comment on this rant thread
You will see that instead of opening a new comment nodal for the new comment reply, it propagates on the old one -
@kimailis exactly what I meant. It only doesn't check the existence of the link in your comment.
That would be little too much imo. -
@LicensedCrime Yeah, I was just about to say this. It's supposed to behave this way.
-
@LicensedCrime @LucaScorpion This.
Edit: see what I did there. I just made use of it. -
I see. But I still think that if a username is already there in an unpublished reply, it should not be added over again. Different opinion anyone?
-
@varundey I guess, duplicates aren't necessary most of the time but you might need it one day.
If you don't, just don't hit reply a second time but 'Add Comment' instead.
Related Rants
Hey @dfox, found a bug in here. Steps to reproduce:
- Hit on reply
- close the text modal
- hit reply again
- you will see the username the same number of times as you clicked on reply
undefined
devrant
bug