Project

General

Profile

Actions

Patch #26395

closed

Jump to project autocomplete: focus selected project

Added by Gabriel Cardoso over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

A small patch that could really enhance "jump to project" autocomplete experience: if a project is selected, then focus it when the project list expands and start from here when navigating with keyboard arrows.

Usecase: when you have projects and subprojects, it's really painful when you want to quickly access parent or sibling project. It's nice to have the current project focused.

I didn't go as far as positionning the widget's scroll bar so the selected project is on top


Files

Actions #2

Updated by Marius BÄ‚LTEANU over 6 years ago

FYI: Your patch has only some whitespace changes.

Actions #3

Updated by Gabriel Cardoso over 6 years ago

Updated version of the patch : autocompleted text input was not focused on expand

Actions #4

Updated by Jean-Philippe Lang over 6 years ago

Only works for me when in "mobile" display. Otherwise it's always the search field that gets the focus (because of drdn.find(".autocomplete").focus(); when not in mobile display).

Anyone else has tested this patch?

Actions #5

Updated by Jean-Philippe Lang over 6 years ago

OK got it. Looks good to me.

Actions #6

Updated by Jean-Philippe Lang over 6 years ago

  • Target version set to 3.4.3
Actions #7

Updated by Jean-Philippe Lang over 6 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

Actions

Also available in: Atom PDF