mbin icon indicating copy to clipboard operation
mbin copied to clipboard

Fetching of title + description when editing a link URL is a little aggressive

Open andrewmoise opened this issue 1 year ago • 1 comments

Describe the bug

  • Post a link
  • Paste the URL
  • Start backspacing over stuff from the end of the URL that you don't want to include
  • On pretty much every keypress, a dialog pops up saying "Are you sure you want to fetch the title and description? This will overwrite the current values."

On which Mbin instance did you find the bug?

mbin.grits.dev Version as of git 2024-01-29

Expected behavior

I think more expected would be to pop the warning up when your focus leaves the box. Maybe if you made an edit, and the box was empty before you made the edit, it should pop the dialog immediately, but if the box wasn't empty previously it should wait until the box loses focus before popping up the dialog.

Also the message in the box is a little unclear -- seems like something like "Would you like to fetch the title / description from the provided URL, replacing the current values?" with a yes or no option.

andrewmoise avatar Jan 29 '24 20:01 andrewmoise

Feel free to create a PR.

melroy89 avatar Sep 12 '24 16:09 melroy89

Should've been fixed by #971

BentiGorlich avatar Aug 12 '25 21:08 BentiGorlich