feat(ui): add ask keymap help modal

This commit is contained in:
Erik Kotsiuba
2026-04-28 22:35:43 +02:00
parent 3c26bfa7c9
commit c9930b494f
23 changed files with 529 additions and 72 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
import { UI_DIMENSIONS, UI_TEXT } from "../../constants/ui.ts";
import { isOptionSelected } from "../../state/answers.ts";
import {
getAnswer,
@@ -8,7 +9,6 @@ import {
isQuestionNoteOpen,
} from "../../state/selectors.ts";
import type { AskDisplayOption } from "../../types.ts";
import { UI_DIMENSIONS, UI_TEXT } from "../constants.ts";
import type { QuestionRenderContext } from "../render-types.ts";
export type QuestionNoteModel =
+2 -2
View File
@@ -1,5 +1,6 @@
import { visibleWidth } from "@mariozechner/pi-tui";
import { SUBMIT_CHOICES } from "../../constants.ts";
import { SUBMIT_CHOICES } from "../../constants/text.ts";
import { UI_DIMENSIONS } from "../../constants/ui.ts";
import { isCustomOnlyAnswer } from "../../state/answers.ts";
import {
type ReviewAnswer,
@@ -7,7 +8,6 @@ import {
toReviewAnswer,
} from "../../state/result.ts";
import type { AskState } from "../../types.ts";
import { UI_DIMENSIONS } from "../constants.ts";
export interface ReviewSelectionModel {
label: string;