Skip to content

Conversation

SychevAndrey
Copy link
Contributor

Added:

  1. Delete shortcut info similar to other footer actions + fix wording
  2. Mod + / and Mod + F to shortcuts list
image image

Save as script and save buttons now use the same shortcut since they never appear together and look similar so they function as a single button. (https://github.com/dbeaver/pro/issues/6891) Also fixes order.
image

We used to have two buttons with different shortcuts for saving SQL as a script(first save) and saving already created script (updating). On UI they had the same icon and were more or less identical for the user. We decided to use the same shortcut and labels for both buttons (mod + S).
@SychevAndrey SychevAndrey requested a review from Wroud September 17, 2025 13:18
Wroud
Wroud previously approved these changes Sep 22, 2025
Comment on lines 224 to 231
tooltip: t('data_viewer_action_edit_add') + ' (' + getBindingLabel(KEY_BINDING_ADD) + ')',
};
case ACTION_DUPLICATE:
return { ...action.info, label: '', icon: '/icons/data_add_copy_sm.svg', tooltip: t('data_viewer_action_edit_add_copy') + ' (' + getBindingLabel(KEY_BINDING_DUPLICATE) + ')' };
return {
...action.info,
label: '',
icon: '/icons/data_add_copy_sm.svg',
tooltip: t('data_viewer_action_edit_add_copy') + ' (' + getBindingLabel(KEY_BINDING_DUPLICATE) + ')',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we specify duplicate and add bindings in the same way as 'delete'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can, do you want me to make it in this task or create another one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants