@ondrej-svec/hog 1.23.0 → 1.23.1
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/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3839,8 +3839,8 @@ function enterStatusMode(state) {
|
|
|
3839
3839
|
function uiReducer(state, action) {
|
|
3840
3840
|
switch (action.type) {
|
|
3841
3841
|
case "ENTER_SEARCH":
|
|
3842
|
-
if (state.mode !== "normal") return state;
|
|
3843
|
-
return { ...state, mode: "search", previousMode:
|
|
3842
|
+
if (state.mode !== "normal" && state.mode !== "zen") return state;
|
|
3843
|
+
return { ...state, mode: "search", previousMode: state.mode };
|
|
3844
3844
|
case "ENTER_COMMENT":
|
|
3845
3845
|
if (state.mode !== "normal" && state.mode !== "overlay:detail") return state;
|
|
3846
3846
|
return { ...state, mode: "overlay:comment", previousMode: "normal" };
|
|
@@ -3867,8 +3867,8 @@ function uiReducer(state, action) {
|
|
|
3867
3867
|
if (state.mode !== "normal") return state;
|
|
3868
3868
|
return { ...state, mode: "focus", previousMode: "normal" };
|
|
3869
3869
|
case "ENTER_FUZZY_PICKER":
|
|
3870
|
-
if (state.mode !== "normal") return state;
|
|
3871
|
-
return { ...state, mode: "overlay:fuzzyPicker", previousMode:
|
|
3870
|
+
if (state.mode !== "normal" && state.mode !== "zen") return state;
|
|
3871
|
+
return { ...state, mode: "overlay:fuzzyPicker", previousMode: state.mode };
|
|
3872
3872
|
case "ENTER_EDIT_ISSUE":
|
|
3873
3873
|
if (state.mode !== "normal" && state.mode !== "overlay:detail") return state;
|
|
3874
3874
|
return { ...state, mode: "overlay:editIssue", previousMode: "normal" };
|
|
@@ -9407,7 +9407,7 @@ async function resolveRef(ref, config2) {
|
|
|
9407
9407
|
}
|
|
9408
9408
|
}
|
|
9409
9409
|
var program = new Command();
|
|
9410
|
-
program.name("hog").description("Personal command deck \u2014 GitHub Projects dashboard with workflow orchestration").version("1.23.
|
|
9410
|
+
program.name("hog").description("Personal command deck \u2014 GitHub Projects dashboard with workflow orchestration").version("1.23.1").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
|
|
9411
9411
|
const opts = thisCommand.opts();
|
|
9412
9412
|
if (opts.json) setFormat("json");
|
|
9413
9413
|
if (opts.human) setFormat("human");
|