luclemo / linkinbio-ui

Design for Linkinbio
1 stars 0 forks source link

5.0 create_post - what triggers the update on the campaign name #9

Closed jrdnndtsch closed 6 years ago

jrdnndtsch commented 6 years ago

what is the interaction for editing the campaign name? does it resave on each change of the input? is there some kind of trigger?

screen shot 2018-01-26 at 12 37 46 pm
luclemo commented 6 years ago

I was thinking inline edit, a la google docs (like when you want to rename the doc). Just have to provide an in-edit-mode state. Coming today.

jrdnndtsch commented 6 years ago

cool - it looks like google docs does it on 'blur' when you click out of the input. I think that works well

luclemo commented 6 years ago

Yeah I mean in my mind when the user clicks on the pencil icon or anywhere on the words, the words block turns into a focus field and icon switches to check mark. When they are done editing, either clicking on check mark or hitting enter would commit the changes and field exists focus mode.

Cancelling an edit could be escape key I guess. If we also need a cancel icon then we can add an X icon right next to the check-mark icon.

Thoughts?

luclemo commented 6 years ago

Oh never mind, I just saw what you did. Perfect. Let's just add the pencil icon (as an indicator that it's possible to edit that field). It can be hidden on focus and no need for any other icons 👌