Update keyboard shortcut hints in ObjectTableNavigationButtons for clarity
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

- Changed the keyboard shortcut hints from 'ALT LEFT' and 'ALT RIGHT' to 'ALT ←' and 'ALT →' respectively, enhancing visual clarity for users.
- This update aligns with the overall goal of improving user experience and accessibility in navigation.
This commit is contained in:
Tom Butcher 2026-08-01 14:18:05 +01:00
parent f91b011c5e
commit 7b926ec409

View File

@ -98,7 +98,7 @@ const ObjectTableNavigationButtons = ({
<Space size='small'> <Space size='small'>
<KeyboardShortcut <KeyboardShortcut
shortcut='alt+arrowleft' shortcut='alt+arrowleft'
hint='ALT LEFT' hint='ALT '
onTrigger={useCallback(() => { onTrigger={useCallback(() => {
if (!disabled && !loading && neighbors.previous?._id) { if (!disabled && !loading && neighbors.previous?._id) {
handlePrevious() handlePrevious()
@ -113,7 +113,7 @@ const ObjectTableNavigationButtons = ({
</KeyboardShortcut> </KeyboardShortcut>
<KeyboardShortcut <KeyboardShortcut
shortcut='alt+arrowright' shortcut='alt+arrowright'
hint='ALT RIGHT' hint='ALT '
onTrigger={useCallback(() => { onTrigger={useCallback(() => {
if (!disabled && !loading && neighbors.next?._id) { if (!disabled && !loading && neighbors.next?._id) {
handleNext() handleNext()