Skip to content

dbeaver/pro#5471 [CB] Add shortcuts to tooltips data editor toolbar#3750

Merged
Wroud merged 16 commits intodevelfrom
5471-cb-add-shortcuts-to-tooltips-data-editor-toolbar
Sep 25, 2025
Merged

dbeaver/pro#5471 [CB] Add shortcuts to tooltips data editor toolbar#3750
Wroud merged 16 commits intodevelfrom
5471-cb-add-shortcuts-to-tooltips-data-editor-toolbar

Conversation

@SychevAndrey
Copy link
Copy Markdown
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).
Comment thread webapp/packages/plugin-help/src/locales/en.ts Outdated
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Wroud
Wroud previously approved these changes Sep 23, 2025
sergeyteleshev
sergeyteleshev previously approved these changes Sep 23, 2025
devnaumov
devnaumov previously approved these changes Sep 23, 2025
@Wroud Wroud merged commit 2524732 into devel Sep 25, 2025
9 of 10 checks passed
@Wroud Wroud deleted the 5471-cb-add-shortcuts-to-tooltips-data-editor-toolbar branch September 25, 2025 10:18
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.

5 participants