Moving posts: when only option is "existing topic", autofocus input field


(Barry van Oudtshoorn) #1

When you’re moving posts, and the only option is to move it to an existing topic (for example, when you’re moving the only post in a topic), it would be great if the search input was focussed by default:

image

This is quite common on the forum I administer when people make duplicate suggestions in our “suggestions” category. :slight_smile: It’s a matter of only a few seconds, but ergonomically it makes sense to me. :wink:


(Barry van Oudtshoorn) #2

It’d also be great if, when there’s only one matching topic, that were selected by default, too. Perhaps only when the ID is entered, though?


(Jeff Atwood) #3

Er what? This is never the case. You can always move a post to

  • a new topic
  • an existing topic
  • a new personal message

(Barry van Oudtshoorn) #4

Hmm… Well, I’m definitely seeing this on my site:

image

This is from a topic that only has one post in it, and I’m moving that post only.


(Jeff Atwood) #5

Hmm. I’m not sure why you would only see that option.

I have also selected one post in a topic that contains only one post, and I see…

Any thoughts here @techAPJ?


(Stephen) #6

Related?


(Jeff Atwood) #7

Oh interesting possibly. Did you press “select all” instead of manually selecting the one post in the topic @barryvan


(Mittineague) #8

I got that behavior just now by selecting the OP of a topic with no replies. If I hadn’t intentionally tried it I would not have known. Any time I have wanted to “move” an entire topic to a new topic, I have always recategorized it using the topic title edit.


(Barry van Oudtshoorn) #9

It seems to happen regardless of whether I use the “select all” option or choose the post individually.

I figured this was intentional – as @Mittineague notes, there’s not much point in moving a single post topic into a new topic. :wink:


(Jeff Atwood) #10

Oh, OK. My bad. So this is “normal” if you select the first post in a topic with no replies. :man_shrugging:


(Barry van Oudtshoorn) #11

That being the case, do you think there’s any validity in the original suggestions? That is, in this case, focus the search input automatically, and, if you enter an ID, automatically select that item?


(Jeff Atwood) #12

It’s such a rare case I’m not sure it’s worth a lot of engineering time.


(Arpit Jalan) #13

I experimented locally and was able to add this feature fairly easily via: