querysub 0.331.0 → 0.332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.331.0",
3
+ "version": "0.332.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -58,7 +58,7 @@ export class UpdateButtons extends qreact.Component<{
58
58
  showFullscreenModal({
59
59
  content: <div>
60
60
  <InputLabel
61
- label="Commit message (shift+enter to commit, escape to cancel)"
61
+ label="Commit message (shift+enter/shift+tab to commit, escape to cancel)"
62
62
  value={""}
63
63
  textarea
64
64
  fillWidth
@@ -67,7 +67,7 @@ export class UpdateButtons extends qreact.Component<{
67
67
  onKeyDown={async e => {
68
68
  let value = e.currentTarget.value;
69
69
  if (!value) return;
70
- if (e.key === "Enter" && e.shiftKey) {
70
+ if (e.key === "Enter" && e.shiftKey || e.key === "Tab" && e.shiftKey) {
71
71
  await controller.commitPushAndPublishQuerysub.promise(value);
72
72
  closeAllModals();
73
73
  }
@@ -100,7 +100,7 @@ export class UpdateButtons extends qreact.Component<{
100
100
  showFullscreenModal({
101
101
  content: <div>
102
102
  <InputLabel
103
- label="Commit message (shift+enter to commit, escape to cancel)"
103
+ label="Commit message (shift+enter/shift+tab to commit, escape to cancel)"
104
104
  value={""}
105
105
  textarea
106
106
  fillWidth
@@ -109,7 +109,7 @@ export class UpdateButtons extends qreact.Component<{
109
109
  onKeyDown={async e => {
110
110
  let value = e.currentTarget.value;
111
111
  if (!value) return;
112
- if (e.key === "Enter" && e.shiftKey) {
112
+ if (e.key === "Enter" && e.shiftKey || e.key === "Tab" && e.shiftKey) {
113
113
  await controller.commitPushService.promise(value);
114
114
  closeAllModals();
115
115
  }