Closed MagicLegend closed 9 months ago
That's actually how it already works :)
The delete button is the same, under the hood, as emptying out the text field. Or if you uploaded a file, as typing something in the text field and then deleting the text.
Perhaps the phrasing could be better, like "Clear" instead of "Delete". I think delete is more obvious to people, though, so I'm not sure what the best solution is. Maybe after clicking delete it could show a message that the link was cleared but can be reused if people want to.
The timeout is not super long, by the way, if I remember correctly it's only 1.5 hours. Similar to what happens when you open dro.pm but you don't add any data (don't type/paste text, don't upload a file): it will allocate a link as soon as you open the page, but also deallocate that link again (server-side) after a while.
A grace period to keep a link reserved before it can be reassigned is not a bad idea, though a bit of a separate topic since this would also apply to regular links (those that aren't deleted/cleared).
I use the 'delete' option a lot. However, I believe this immediately frees the url for others to use
So to confirm: this is not the case, but I was wrong (in my previous reply) about it probably being 1.5 hours, it's 10 minutes instead (code reference).
Please let me know your thoughts on this, otherwise I will assume it works in a way that everyone likes and close the ticket
Hey! Gotcha, I think this is fine. A longer delay could prevent possible misredirects, but I don't think it's that big of an issue. I actually can't remember the last time I'd have had this issue. Thanks :)
Hi!
To prevent others from stumbling upon my content, I use the 'delete' option a lot. However, I believe this immediately frees the url for others to use, which could lead to someone being redirected somewhere I didn't intend. Perhaps it would be possible to occupy the url for an x amount of hours; before releasing it for re-use.
What do you think?