2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-13 22:21:37 +00:00

[UI] Search shortcut (#10181)

* Add search shortcut

- Use '/' to open search drawer

* Add user setting for spotlight

* Hide spotlight if disabled

* Updated playwright tests
This commit is contained in:
Oliver
2025-08-15 20:41:03 +10:00
committed by GitHub
parent 4cadc433bb
commit 0f04c31ffb
6 changed files with 52 additions and 15 deletions

View File

@@ -191,6 +191,12 @@ USER_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
'default': False,
'validator': bool,
},
'SHOW_SPOTLIGHT': {
'name': _('Show Spotlight'),
'description': _('Enable spotlight navigation functionality'),
'default': True,
'validator': bool,
},
'ICONS_IN_NAVBAR': {
'name': _('Navigation Icons'),
'description': _('Display icons in the navigation bar'),