HoldUpFjord / Link-Manager

Goal: Create a link manager that can store tabs on a server to be accessed later. 100Devs
2 stars 6 forks source link

Change Link Titles on Click #31

Open TheWoodenMan opened 2 years ago

TheWoodenMan commented 2 years ago

This one could be tricky, but it should be possible.

Make it so the title of a link can be clicked on and manually changed.

This is a soft patch for when link titles render with weird names or elements.

most of this is nothing new and quite do-able (event listener, backend post request and db update request) however getting the element to change from a span to a text input on click then press enter rather than click submit to change could be tricky. (but fun!)

n.b. the new title should validate to 10 characters.

I feel like I'm writing a codewars (sorry 👀 )