Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
admin_toolbar
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
admin_toolbar
Merge requests
!106
Add alt+a shortcut for search form and README
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Add alt+a shortcut for search form and README
issue/admin_toolbar-3494646:3494646-access-admin-toolbar
into
3.x
Overview
1
Commits
2
Pipelines
3
Changes
3
Closed
ressa
requested to merge
issue/admin_toolbar-3494646:3494646-access-admin-toolbar
into
3.x
4 months ago
Overview
1
Commits
2
Pipelines
3
Changes
3
Expand
Closes
#3494646
0
0
Merge request reports
Compare
3.x
version 2
a2c4a7ca
2 weeks ago
version 1
121c39dc
4 months ago
3.x (base)
and
latest version
latest version
90797ab2
2 commits,
2 weeks ago
version 2
a2c4a7ca
1 commit,
2 weeks ago
version 1
121c39dc
1 commit,
4 months ago
3 files
+
41
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
admin_toolbar_search/js/admin_toolbar_search.js
+
8
−
0
Options
@@ -85,6 +85,14 @@
$searchTab
.
toggleClass
(
'
visible
'
);
$searchInput
.
focus
();
});
// Shortcut 'alt + a' will focus on the search form.
document
.
addEventListener
(
'
keydown
'
,
(
event
)
=>
{
if
(
event
.
altKey
&&
event
.
key
===
'
a
'
)
{
context
.
getElementById
(
'
admin-toolbar-search-input
'
).
focus
();
}
});
});
},
getItemLabel
:
function
(
item
)
{
Loading