プロジェクト

全般

プロフィール

Vote #78623

完了

Jump to project autocomplete: focus selected project

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
133
issue_org_id:
26395
author_id:
302368
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

--------------------------------------------------------------------------------
FYI: Your patch has only some whitespace changes.
--------------------------------------------------------------------------------
Updated version of the patch : autocompleted text input was not focused on expand
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
OK got it. Looks good to me.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン3.4.3_133 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0