Small link editing suggestion: Focus the Title field first

Hi Jesse, I have a small suggestion for the link editing UI. I sometimes paste in a link and want to change the title text, or have an existing link and want to change the text.

I almost never want to edit a URL after the fact from this UI, but the field that is focused automatically is the URL right now if I press cmd+k and then l. My suggestion is to change it so the title is focused first. Not sure if the field ordering should change too; it probably doesn’t need to since you can tab between both fields just fine regardless of the order and the URL is in some sense primary.

Thanks for Bike – I’ve been enjoying using it for a while now.

1 Like

I think you are right. I think what I will do:

  1. Switch order of those fields so that title is first
  2. Set focus on the first empty field
  3. Or if no field is empty then set focus on first field (title)

Make sense?

3 Likes

You can try out change in latest preview release:

2 Likes

I do actually think that link popup should focus more on the URL.
I never edit Title in the link popup because if I want to edit it then I would simply edit the text without the link popup.
If I link the text to a website, I don’t really edit the URL so I see the yurivish’s point but when I link the text to a different row of bike document, I tend to edit the URL quite frequently.

Good change !

Title first feels intuitive and natural – human-friendly overview first, then technical details below.

(Mileage will vary, but personally, I’m always more likely to adjust the verbal label than to change the underlying target of the link).

I do think there’s an argument either way. And I even think that when I first designed this popup I did it opposite other apps (they all seem to show title first) and felt clever… in particular I think I was optimizing for case where you select text, and then add link.

But stepping back it seems to me that the ordering “Title” > “URL” is what comes to mind first when considering links… it’s also the ordering that most other app seem to use.

And when we have that ordering I think it makes sense to default focus to the first text … except I also think it make sense to break that default in the case where the title has text and the URL doesn’t.

Anyway, lots of ways to do this, but I think I’ll keep current behavior. If anyone wants different behavior just wait 6 months until I’ve forgotten all this logic, and maybe I can switch my mind again! :slight_smile:

1 Like

Just got the chance to try it out and I like it a lot – thank you!

2 Likes

Bike’s original behavior matched Google Docs’s original behavior, but now both of you have switched. I agree with @horizon that the URL is the only thing that you need a popup to edit, so it should be selected first, or even be the only field—but at least now my muscle memory has a fighting chance to rebuild. :slight_smile:

1 Like