github-issue-tower-defence-management 1.100.0 → 1.101.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/.github/workflows/close-manual-prs.yml +49 -15
- package/CHANGELOG.md +14 -0
- package/bin/adapter/entry-points/console/ui-dist/assets/index-DP5DGKUj.js +101 -0
- package/bin/adapter/entry-points/console/ui-dist/assets/{index-N39d52Zc.css → index-ES6SLB1Y.css} +1 -1
- package/bin/adapter/entry-points/console/ui-dist/index.html +2 -2
- package/bin/adapter/repositories/NodeTmuxSessionRepository.js +1 -0
- package/bin/adapter/repositories/NodeTmuxSessionRepository.js.map +1 -1
- package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js +4 -0
- package/bin/domain/usecases/console/GenerateConsoleListsUseCase.js.map +1 -1
- package/bin/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.js +9 -1
- package/bin/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.js.map +1 -1
- package/package.json +1 -1
- package/src/adapter/entry-points/console/ui/e2e/consoleTestHarness.ts +12 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemList.test.tsx +12 -3
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.stories.tsx +4 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.test.tsx +48 -0
- package/src/adapter/entry-points/console/ui/src/features/console/components/list/ConsoleItemSummary.tsx +40 -0
- package/src/adapter/entry-points/console/ui/src/features/console/hooks/useConsoleItemDetailData.test.ts +4 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/grouping.test.ts +4 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/overlay.test.ts +4 -0
- package/src/adapter/entry-points/console/ui/src/features/console/logic/types.ts +4 -0
- package/src/adapter/entry-points/console/ui/src/features/console/pages/ConsolePage.test.tsx +58 -15
- package/src/adapter/entry-points/console/ui/src/features/console/testing/fixtures.ts +22 -0
- package/src/adapter/entry-points/console/ui/src/index.css +24 -0
- package/src/adapter/entry-points/console/ui-dist/assets/index-DP5DGKUj.js +101 -0
- package/src/adapter/entry-points/console/ui-dist/assets/{index-N39d52Zc.css → index-ES6SLB1Y.css} +1 -1
- package/src/adapter/entry-points/console/ui-dist/index.html +2 -2
- package/src/adapter/entry-points/handlers/inTmuxByHumanSessionReconciler.test.ts +3 -2
- package/src/adapter/repositories/NodeTmuxSessionRepository.test.ts +4 -3
- package/src/adapter/repositories/NodeTmuxSessionRepository.ts +1 -0
- package/src/domain/usecases/console/GenerateConsoleListsUseCase.test.ts +43 -0
- package/src/domain/usecases/console/GenerateConsoleListsUseCase.ts +9 -0
- package/src/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.test.ts +2 -2
- package/src/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.ts +9 -1
- package/types/adapter/repositories/NodeTmuxSessionRepository.d.ts.map +1 -1
- package/types/domain/usecases/console/GenerateConsoleListsUseCase.d.ts +4 -0
- package/types/domain/usecases/console/GenerateConsoleListsUseCase.d.ts.map +1 -1
- package/types/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.d.ts.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/index-poCP-zfO.js +0 -101
- package/src/adapter/entry-points/console/ui-dist/assets/index-poCP-zfO.js +0 -101
package/bin/adapter/entry-points/console/ui-dist/assets/{index-N39d52Zc.css → index-ES6SLB1Y.css}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.hidden{display:none}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;max-width:920px;margin:0 auto;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:13px;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:11px;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:11.5px}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:11px}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:12px}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:14.5px;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:12.5px;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:11px;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-list-message{color:#8b949e;padding:16px;font-size:14px}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:14px}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;gap:12px;padding:16px;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:20px;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:13px}.console-detail-subbar{align-items:center;gap:12px;font-size:13px;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:12px;display:inline-block}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:12px}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-panel-toggle{color:#e6edf3;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;font-size:14px;font-weight:600;display:inline-flex}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:14px;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-mermaid-error{color:#f85149;font-size:13px}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:12px;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.console-file{flex-direction:column;font-size:13px;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:11px}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;background:#161b22;border-top:2px solid #30363d;padding:10px 16px;position:fixed;bottom:0;left:0;right:0}.console-operation-bar{flex-direction:column;gap:8px;max-width:920px;margin:0 auto;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:50vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:7px 16px;font-size:13px;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:12px;display:flex}.console-detail-screen{padding-bottom:140px}.console-panel-open-link{color:#4493f8;font-size:13px;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:12.5px}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:14px}.console-composer-row{align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:13px;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:12px}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:13.5px;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:13px;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:11px}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:12px}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:15px;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:11px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
1
|
+
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-input:#e5e5e5;--color-ring:#0a0a0a;--color-background:#fff;--color-foreground:#0a0a0a;--color-primary:#171717;--color-primary-foreground:#fafafa;--color-secondary:#f5f5f5;--color-secondary-foreground:#171717;--color-accent:#f5f5f5;--color-accent-foreground:#171717}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.hidden{display:none}.inline-flex{display:inline-flex}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--color-background)}.bg-primary{background-color:var(--color-primary)}.bg-secondary{background-color:var(--color-secondary)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.whitespace-nowrap{white-space:nowrap}.text-foreground{color:var(--color-foreground)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.lowercase{text-transform:lowercase}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-primary\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:#f5f5f5cc}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}}body{color:#e6edf3;background-color:#0d1117;margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.console-app{flex-direction:column;max-width:920px;margin:0 auto;display:flex}.console-tabbar{-webkit-overflow-scrolling:touch;background:#161b22;border-bottom:2px solid #30363d;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:42px;padding:0 8px;display:flex;overflow-x:auto}.console-tab{color:#8b949e;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-2px;padding:10px 14px;font-size:13px;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.console-tab:hover{color:#e6edf3}.console-tab[data-active=true]{color:#e6edf3;border-bottom-color:#2f81f7;font-weight:700}.console-tab-badge{text-align:center;color:#e6edf3;background:#484f58;border-radius:20px;min-width:20px;padding:1px 7px;font-size:11px;font-weight:700;line-height:1.5}.console-tab-badge[data-zero=true]{color:#8b949e;background:#30363d}.console-tab-pjname{color:#8b949e;align-self:center;margin-left:auto;padding:0 8px;font-size:11.5px}.console-tab-geninfo{color:#8b949e;align-self:center;padding:0 4px;font-size:11px}.console-list{margin:0;padding:12px 18px 18px;list-style:none}.console-list-group{list-style:none}.console-item-row .console-item-icon{flex:none;margin-top:3px}.console-group-header{background:#0b0f14;border-bottom:1px solid #21262d;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-storytag{align-items:center;gap:8px;font-size:13px;font-weight:700;display:inline-flex}.console-story-dot{border-radius:999px;width:10px;height:10px;display:inline-block}.console-group-count{color:#8b949e;font-size:12px}.console-item-row{color:#e6edf3;text-align:left;cursor:pointer;background:#161b22;border:1px solid #30363d;border-radius:8px;align-items:flex-start;gap:14px;width:100%;margin-bottom:10px;padding:12px 16px;display:flex}.console-item-row:hover{background:#1a2029;border-color:#484f58}.console-item-row[data-active=true]{background:#1a2029;border-color:#4493f8}.console-item-meta{flex:1;min-width:0}.console-item-title{font-size:14.5px;font-weight:600;display:block}.console-item-sub{color:#8b949e;margin-top:3px;font-size:12.5px;display:block}.console-item-pill{color:#8b949e;border:1px solid #30363d;border-radius:20px;margin-right:6px;padding:1px 8px;font-size:11px;display:inline-block}.console-item-createdat{color:#8b949e;cursor:help}.console-item-fields{color:#adbac7;flex-wrap:wrap;gap:4px 10px;margin-top:4px;font-size:11.5px;display:flex}.console-item-field{word-break:break-all;align-items:baseline;gap:4px;min-width:0;display:inline-flex}.console-item-field-label{color:#6e7681;text-transform:uppercase;letter-spacing:.03em;font-size:10px}.console-list-message{color:#8b949e;padding:16px;font-size:14px}.console-list-empty{text-align:center;color:#8b949e;padding:40px;font-size:14px}.console-list-error,.console-comment-error,.console-files-error,.console-commits-error,.console-detail-body-error{color:#f85149}.console-detail{flex-direction:column;gap:12px;padding:16px;display:flex}.console-detail-title{align-items:center;gap:8px;margin:0;font-size:20px;display:flex}.console-detail-title-text{flex:1}.console-detail-number{color:#8b949e;font-weight:400}.console-detail-closed-label{color:#a371f7;font-size:13px}.console-detail-subbar{align-items:center;gap:12px;font-size:13px;display:flex}.console-detail-link{color:#4493f8}.console-detail-repo{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-detail-pill,.console-label-chip,.console-detail-status-chip{border:1px solid #30363d;border-radius:999px;padding:2px 8px;font-size:12px;display:inline-block}.console-detail-labels{flex-wrap:wrap;gap:6px;display:flex}.console-detail-createdat{color:#8b949e;font-size:12px}.console-panel{border:1px solid #30363d;border-radius:8px;overflow:hidden}.console-panel-header{background:#161b22;justify-content:space-between;align-items:center;padding:6px 12px;display:flex}.console-panel-toggle{color:#e6edf3;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;font-size:14px;font-weight:600;display:inline-flex}.console-panel-body{padding:12px}.console-markdown{word-break:break-word;font-size:14px;line-height:1.5}.console-markdown ul{margin:.5em 0;padding-left:1.5em;list-style:outside}.console-markdown ol{margin:.5em 0;padding-left:1.5em;list-style:decimal}.console-markdown li{margin:.25em 0}.console-markdown table{border-collapse:collapse;margin:.5em 0}.console-markdown th,.console-markdown td{border:1px solid #30363d;padding:4px 8px}.console-markdown th{background:#161b22}.console-mermaid-error{color:#f85149;font-size:13px}.console-comment{border-top:1px solid #21262d;padding-top:8px}.console-comment-header{color:#8b949e;gap:8px;font-size:12px;display:flex}.console-comment-author{color:#e6edf3;font-weight:600}.console-files,.console-commits{margin:0;padding:0;list-style:none}.console-commit{align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.console-file{flex-direction:column;font-size:13px;display:flex}.console-file-badge{text-align:center;border:1px solid;border-radius:4px;width:18px;font-size:11px}.console-file-path,.console-commit-message{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-add,.console-pr-add{color:#3fb950}.console-file-del,.console-pr-del{color:#f85149}.console-commit-sha{color:#8b949e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.console-actionbar{z-index:100;background:#161b22;border-top:2px solid #30363d;padding:10px 16px;position:fixed;bottom:0;left:0;right:0}.console-operation-bar{flex-direction:column;gap:8px;max-width:920px;margin:0 auto;display:flex}.console-op-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.console-op-group-review{gap:10px}.console-op-group-stories{max-height:50vh;overflow-y:auto}.console-op-button{color:#e6edf3;white-space:nowrap;cursor:pointer;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:7px 16px;font-size:13px;font-weight:600}.console-op-button:hover{border-color:#484f58}.console-op-button-approve{color:#fff;background:#238636;border-color:#2ea043}.console-op-button-reject{color:#ffd166;background:#7d5000;border-color:#a06800}.console-op-button-wrong{color:#f85149;background:#3a1518;border-color:#f85149}.console-op-button-unneeded{color:#aab0b8;background:#2a2d31;border-color:#6e7681}.console-op-button-snooze{color:#79c0ff;background:#1c2b4a;border-color:#4493f8}.console-pr-section{border:1px solid #30363d;border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.console-pr-statbar{color:#8b949e;gap:12px;font-size:12px;display:flex}.console-detail-screen{padding-bottom:140px}.console-panel-open-link{color:#4493f8;font-size:13px;font-weight:400}.console-composer{margin-top:4px}.console-composer-toggle{color:#8b949e;cursor:pointer;background:0 0;border:none;padding:2px 0;font-size:12.5px}.console-composer-toggle:hover{color:#e6edf3}.console-composer-posted{flex-direction:column;gap:8px;margin-top:8px;display:flex}.console-composer-form{margin-top:8px}.console-composer-input{box-sizing:border-box;color:#e6edf3;width:100%;font:inherit;resize:vertical;background:#21262d;border:1px solid #30363d;border-radius:6px;padding:8px;font-size:14px}.console-composer-row{align-items:center;gap:8px;margin-top:6px;display:flex}.console-composer-submit{color:#fff;cursor:pointer;background:#238636;border:1px solid #2ea043;border-radius:6px;padding:7px 16px;font-size:13px;font-weight:600}.console-composer-submit:disabled{opacity:.6;cursor:default}.console-composer-status{color:#8b949e;font-size:12px}.console-composer-error{color:#f85149}.console-undo-toast{z-index:9998;white-space:nowrap;border-radius:10px;align-items:center;gap:12px;max-width:92vw;padding:12px 18px;font-size:13.5px;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0009}.console-undo-toast-green{color:#3fb950;background:#0d3320;border:1px solid #2ea043}.console-undo-toast-amber{color:#ffd166;background:#3a2800;border:1px solid #a06800}.console-undo-toast-red{color:#f85149;background:#3a1518;border:1px solid #da3633}.console-undo-toast-gray{color:#aab0b8;background:#2a2d31;border:1px solid #6e7681}.console-undo-toast-blue{color:#79c0ff;background:#0d1f40;border:1px solid #4493f8}.console-undo-toast-error{color:#f85149;background:#3a1518;border:1px solid #f85149}.console-undo-toast-message{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.console-undo-toast-undo{cursor:pointer;color:inherit;background:#ffffff1f;border:none;border-radius:6px;flex:none;padding:4px 12px;font-size:13px;font-weight:700}.console-undo-toast-undo:hover{background:#ffffff38}.console-undo-toast-countdown{opacity:.7;flex:none;font-size:11px}.console-undo-toast-bar{opacity:.5;background:currentColor;border-radius:0 0 10px 10px;height:3px;transition:width .1s linear;position:absolute;bottom:0;left:0}.console-file-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.console-file-row:hover{background:#1a2029}.console-file-caret{color:#8b949e;flex:none;width:1em}.console-file-diff{border-collapse:collapse;width:100%;margin:4px 0 8px;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.console-file-diff td{white-space:pre-wrap;word-break:break-word;vertical-align:top;padding:0 10px}.console-diff-ln{text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;white-space:nowrap;border-right:1px solid #30363d;width:1%;padding:0 8px}.console-file-diff td.console-diff-ln{white-space:nowrap;word-break:normal;overflow-wrap:normal}.console-diff-add td{background:#2ea04326}.console-diff-add .console-diff-code{color:#aff5b4}.console-diff-del td{background:#f8514926}.console-diff-del .console-diff-code{color:#ffdcd7}.console-diff-hunk td{color:#79c0ff;background:#161b22}.console-diff-ctx .console-diff-code{color:#c9d1d9}.console-file-diff-empty{color:#8b949e;padding:8px 14px;font-size:12px}.console-pr-header{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.console-pr-section-title{color:#e6edf3;font-size:15px;font-weight:600}.console-pr-section-state{color:#8b949e;border:1px solid #6e7681;border-radius:999px;padding:1px 8px;font-size:11px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>TDPM Console</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DP5DGKUj.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-ES6SLB1Y.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeTmuxSessionRepository.js","sourceRoot":"","sources":["../../../src/adapter/repositories/NodeTmuxSessionRepository.ts"],"names":[],"mappings":";;;AAGA,MAAa,yBAAyB;IACpC,YAA6B,kBAAsC;QAAtC,uBAAkB,GAAlB,kBAAkB,CAAoB;QAEnE,yBAAoB,GAAG,KAAK,IAAuB,EAAE;YACnD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CACnE,MAAM,EACN,CAAC,eAAe,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAC3C,CAAC;YACF,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;gBACnB,OAAO,EAAE,CAAC;YACZ,CAAC;YACD,OAAO,MAAM;iBACV,KAAK,CAAC,IAAI,CAAC;iBACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;iBAC1B,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC;QAEF,uCAAkC,GAAG,KAAK,IAAuB,EAAE;YACjE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CACnE,IAAI,EACJ,CAAC,KAAK,EAAE,OAAO,CAAC,CACjB,CAAC;YACF,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;gBACnB,OAAO,EAAE,CAAC;YACZ,CAAC;YACD,OAAO,MAAM;iBACV,KAAK,CAAC,IAAI,CAAC;iBACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;iBAC1B,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC;QAEF,0BAAqB,GAAG,KAAK,EAC3B,WAAmB,EACnB,eAAuB,EACvB,QAAgB,EACD,EAAE;YACjB,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,MAAM,EAAE;gBAC/C,aAAa;gBACb,IAAI;gBACJ,IAAI;gBACJ,WAAW;gBACX,IAAI;gBACJ,KAAK;gBACL,gBAAgB;gBAChB,IAAI;gBACJ,eAAe;gBACf,QAAQ;aACT,CAAC,CAAC;QACL,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"NodeTmuxSessionRepository.js","sourceRoot":"","sources":["../../../src/adapter/repositories/NodeTmuxSessionRepository.ts"],"names":[],"mappings":";;;AAGA,MAAa,yBAAyB;IACpC,YAA6B,kBAAsC;QAAtC,uBAAkB,GAAlB,kBAAkB,CAAoB;QAEnE,yBAAoB,GAAG,KAAK,IAAuB,EAAE;YACnD,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CACnE,MAAM,EACN,CAAC,eAAe,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAC3C,CAAC;YACF,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;gBACnB,OAAO,EAAE,CAAC;YACZ,CAAC;YACD,OAAO,MAAM;iBAC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75
|
+
nextActionDate: issue.nextActionDate === null ? null : issue.nextActionDate.toISOString(),
|
|
76
|
+
nextActionHour: issue.nextActionHour,
|
|
77
|
+
dependedIssueUrls: issue.dependedIssueUrls,
|
|
74
78
|
labels: issue.labels,
|
|
75
79
|
createdAt: issue.createdAt.toISOString(),
|
|
76
80
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateConsoleListsUseCase.js","sourceRoot":"","sources":["../../../../src/domain/usecases/console/GenerateConsoleListsUseCase.ts"],"names":[],"mappings":";;;AAEA,kEAGuC;
|
|
1
|
+
{"version":3,"file":"GenerateConsoleListsUseCase.js","sourceRoot":"","sources":["../../../../src/domain/usecases/console/GenerateConsoleListsUseCase.ts"],"names":[],"mappings":";;;AAEA,kEAGuC;AAwEvC,MAAM,wBAAwB,GAAG,MAAM,CAAC;AAExC,MAAa,2BAA2B;IAAxC;QACE,QAAG,GAAG,CAAC,KAAgC,EAAgB,EAAE;YACvD,MAAM,EACJ,OAAO,EACP,MAAM,EACN,MAAM,EACN,aAAa,EACb,WAAW,EACX,wBAAwB,GACzB,GAAG,KAAK,CAAC;YAEV,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;YAChE,MAAM,UAAU,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC7D,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC;YAE9C,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAC/C,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,aAAa,CAAC,CACxC,CAAC;YAEF,MAAM,wBAAwB,GAAG,CAC/B,YAAqB,EACrB,QAAmC,EACnC,mBAA6B,EACX,EAAE,CAAC,CAAC;g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AC,QAAQ,CAAC;iBAChE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC,CAAC;IACJ,CAAC;CAAA;AAvLD,kEAuLC"}
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InTmuxByHumanSessionReconcileUseCase = exports.toTmuxSessionName = void 0;
|
|
4
4
|
const WorkflowStatus_1 = require("../../entities/WorkflowStatus");
|
|
5
|
-
|
|
5
|
+
// tmux sanitizes a requested session name by replacing only `.` and `:` with
|
|
6
|
+
// `_`, while keeping every other character (including `/`). The Termux app
|
|
7
|
+
// launches each agent with `tmux new -A -s {ISSUE_URL}`, so tmux derives the
|
|
8
|
+
// authoritative session name from the raw issue URL. This function MUST return
|
|
9
|
+
// exactly that derived name so the reconciler recognizes the app's existing
|
|
10
|
+
// session instead of creating a duplicate under a differently-normalized name.
|
|
11
|
+
// For example `https://github.com/owner/repo/issues/9` becomes
|
|
12
|
+
// `https_//github_com/owner/repo/issues/9`.
|
|
13
|
+
const toTmuxSessionName = (issueUrl) => issueUrl.replace(/[.:]/g, '_');
|
|
6
14
|
exports.toTmuxSessionName = toTmuxSessionName;
|
|
7
15
|
class InTmuxByHumanSessionReconcileUseCase {
|
|
8
16
|
constructor(tmuxSessionRepository) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InTmuxByHumanSessionReconcileUseCase.js","sourceRoot":"","sources":["../../../../src/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.ts"],"names":[],"mappings":";;;AACA,kEAAoE;
|
|
1
|
+
{"version":3,"file":"InTmuxByHumanSessionReconcileUseCase.js","sourceRoot":"","sources":["../../../../src/domain/usecases/intmux/InTmuxByHumanSessionReconcileUseCase.ts"],"names":[],"mappings":";;;AACA,kEAAoE;AAapE,6EAA6E;AAC7E,2EAA2E;AAC3E,6EAA6E;AAC7E,+EAA+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CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACpC,CAAC;YAED,OAAO,EAAE,iBAAiB,EAAE,CAAC;QAC/B,CAAC,CAAC;QAEM,oBAAe,GAAG,CAAC,KAAY,EAAE,aAAqB,EAAW,EAAE,CACzE,KAAK,CAAC,MAAM,KAAK,oCAAmB;YACpC,KAAK,CAAC,QAAQ,KAAK,KAAK;YACxB,KAAK,CAAC,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAElC,mBAAc,GAAG,CACvB,QAAgB,EAChB,gBAA6B,EAC7B,mBAA6B,EACpB,EAAE;YACX,MAAM,WAAW,GAAG,IAAA,yBAAiB,EAAC,QAAQ,CAAC,CAAC;YAChD,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;gBACvC,OAAO,KAAK,CAAC;YACf,CAAC;YACD,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,EAAE,CAC9C,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAC/B,CAAC;QACJ,CAAC,CAAC;IAvD0E,CAAC;CAwD9E;AAzDD,oFAyDC"}
|
package/package.json
CHANGED
|
@@ -28,6 +28,10 @@ type ConsoleFixtureListItem = {
|
|
|
28
28
|
itemId: string;
|
|
29
29
|
isPr: boolean;
|
|
30
30
|
story: string;
|
|
31
|
+
status: string | null;
|
|
32
|
+
nextActionDate: string | null;
|
|
33
|
+
nextActionHour: number | null;
|
|
34
|
+
dependedIssueUrls: string[];
|
|
31
35
|
labels: string[];
|
|
32
36
|
createdAt: string;
|
|
33
37
|
};
|
|
@@ -100,6 +104,10 @@ const issueItem = (
|
|
|
100
104
|
itemId: `PVTI_lADOABCD1234zg${projectItemSuffix}`,
|
|
101
105
|
isPr: false,
|
|
102
106
|
story,
|
|
107
|
+
status: null,
|
|
108
|
+
nextActionDate: null,
|
|
109
|
+
nextActionHour: null,
|
|
110
|
+
dependedIssueUrls: [],
|
|
103
111
|
labels: [],
|
|
104
112
|
createdAt,
|
|
105
113
|
});
|
|
@@ -120,6 +128,10 @@ const pullRequestItem = (
|
|
|
120
128
|
itemId: `PVTI_lADOABCD1234zg${projectItemSuffix}`,
|
|
121
129
|
isPr: true,
|
|
122
130
|
story,
|
|
131
|
+
status: null,
|
|
132
|
+
nextActionDate: null,
|
|
133
|
+
nextActionHour: null,
|
|
134
|
+
dependedIssueUrls: [],
|
|
123
135
|
labels: ['claude'],
|
|
124
136
|
createdAt,
|
|
125
137
|
});
|
|
@@ -11,7 +11,7 @@ const now = Date.parse('2026-06-19T12:00:00.000Z');
|
|
|
11
11
|
|
|
12
12
|
describe('ConsoleItemList', () => {
|
|
13
13
|
it('renders group headers and items in array order', () => {
|
|
14
|
-
const { getAllByRole,
|
|
14
|
+
const { getAllByRole, container } = render(
|
|
15
15
|
<ConsoleItemList
|
|
16
16
|
rows={rows}
|
|
17
17
|
storyColors={consoleStoryColorsFixture}
|
|
@@ -22,8 +22,17 @@ describe('ConsoleItemList', () => {
|
|
|
22
22
|
onSelectItem={() => {}}
|
|
23
23
|
/>,
|
|
24
24
|
);
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
const groupHeaderTexts = Array.from(
|
|
26
|
+
container.querySelectorAll('.console-group-header'),
|
|
27
|
+
).map((header) => header.textContent ?? '');
|
|
28
|
+
expect(
|
|
29
|
+
groupHeaderTexts.some((text) => text.includes('TDPM Console port')),
|
|
30
|
+
).toBe(true);
|
|
31
|
+
expect(
|
|
32
|
+
groupHeaderTexts.some((text) =>
|
|
33
|
+
text.includes('regular / workflow improvement'),
|
|
34
|
+
),
|
|
35
|
+
).toBe(true);
|
|
27
36
|
expect(getAllByRole('button').length).toBe(consoleListItemsFixture.length);
|
|
28
37
|
});
|
|
29
38
|
|
|
@@ -20,6 +20,10 @@ export const IssueRow: Story = {
|
|
|
20
20
|
args: { item: consoleListItemsFixture[2], isActive: false },
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
+
export const ReactivationTriggerRow: Story = {
|
|
24
|
+
args: { item: consoleListItemsFixture[3], isActive: false },
|
|
25
|
+
};
|
|
26
|
+
|
|
23
27
|
export const ActiveRow: Story = {
|
|
24
28
|
args: { item: consoleListItemsFixture[0], isActive: true },
|
|
25
29
|
};
|
|
@@ -52,6 +52,54 @@ describe('ConsoleItemSummary', () => {
|
|
|
52
52
|
);
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
+
it('renders the story, status and depended issue url for a pull request', () => {
|
|
56
|
+
const { getByText } = render(
|
|
57
|
+
<ConsoleItemSummary
|
|
58
|
+
item={prItem}
|
|
59
|
+
isActive={false}
|
|
60
|
+
now={now}
|
|
61
|
+
onSelect={() => {}}
|
|
62
|
+
/>,
|
|
63
|
+
);
|
|
64
|
+
expect(getByText('Story')).toBeInTheDocument();
|
|
65
|
+
expect(getByText(prItem.story)).toBeInTheDocument();
|
|
66
|
+
expect(getByText('Status')).toBeInTheDocument();
|
|
67
|
+
expect(getByText(prItem.status as string)).toBeInTheDocument();
|
|
68
|
+
expect(getByText('Depended Issue URL')).toBeInTheDocument();
|
|
69
|
+
expect(getByText(prItem.dependedIssueUrls.join(', '))).toBeInTheDocument();
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
it('renders the next action date and hour for an issue', () => {
|
|
73
|
+
const { getByText, queryByText } = render(
|
|
74
|
+
<ConsoleItemSummary
|
|
75
|
+
item={issueItem}
|
|
76
|
+
isActive={false}
|
|
77
|
+
now={now}
|
|
78
|
+
onSelect={() => {}}
|
|
79
|
+
/>,
|
|
80
|
+
);
|
|
81
|
+
expect(getByText('Next Action Date')).toBeInTheDocument();
|
|
82
|
+
expect(
|
|
83
|
+
getByText((issueItem.nextActionDate as string).slice(0, 10)),
|
|
84
|
+
).toBeInTheDocument();
|
|
85
|
+
expect(getByText('Next Action Hour')).toBeInTheDocument();
|
|
86
|
+
expect(getByText(String(issueItem.nextActionHour))).toBeInTheDocument();
|
|
87
|
+
expect(queryByText('Depended Issue URL')).not.toBeInTheDocument();
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
it('omits the status field when the item has no status', () => {
|
|
91
|
+
const itemWithoutStatus = { ...prItem, status: null };
|
|
92
|
+
const { queryByText } = render(
|
|
93
|
+
<ConsoleItemSummary
|
|
94
|
+
item={itemWithoutStatus}
|
|
95
|
+
isActive={false}
|
|
96
|
+
now={now}
|
|
97
|
+
onSelect={() => {}}
|
|
98
|
+
/>,
|
|
99
|
+
);
|
|
100
|
+
expect(queryByText('Status')).not.toBeInTheDocument();
|
|
101
|
+
});
|
|
102
|
+
|
|
55
103
|
it('reports the item on click', () => {
|
|
56
104
|
const onSelect = jest.fn();
|
|
57
105
|
const { getByRole } = render(
|
|
@@ -52,6 +52,46 @@ export const ConsoleItemSummary = ({
|
|
|
52
52
|
</span>
|
|
53
53
|
)}
|
|
54
54
|
</span>
|
|
55
|
+
{(item.story !== '' ||
|
|
56
|
+
(item.status !== null && item.status !== '') ||
|
|
57
|
+
item.nextActionDate !== null ||
|
|
58
|
+
item.nextActionHour !== null ||
|
|
59
|
+
item.dependedIssueUrls.length > 0) && (
|
|
60
|
+
<span className="console-item-fields">
|
|
61
|
+
{item.story !== '' && (
|
|
62
|
+
<span className="console-item-field">
|
|
63
|
+
<span className="console-item-field-label">Story</span>
|
|
64
|
+
{item.story}
|
|
65
|
+
</span>
|
|
66
|
+
)}
|
|
67
|
+
{item.status !== null && item.status !== '' && (
|
|
68
|
+
<span className="console-item-field">
|
|
69
|
+
<span className="console-item-field-label">Status</span>
|
|
70
|
+
{item.status}
|
|
71
|
+
</span>
|
|
72
|
+
)}
|
|
73
|
+
{item.nextActionDate !== null && (
|
|
74
|
+
<span className="console-item-field">
|
|
75
|
+
<span className="console-item-field-label">Next Action Date</span>
|
|
76
|
+
{item.nextActionDate.slice(0, 10)}
|
|
77
|
+
</span>
|
|
78
|
+
)}
|
|
79
|
+
{item.nextActionHour !== null && (
|
|
80
|
+
<span className="console-item-field">
|
|
81
|
+
<span className="console-item-field-label">Next Action Hour</span>
|
|
82
|
+
{item.nextActionHour}
|
|
83
|
+
</span>
|
|
84
|
+
)}
|
|
85
|
+
{item.dependedIssueUrls.length > 0 && (
|
|
86
|
+
<span className="console-item-field">
|
|
87
|
+
<span className="console-item-field-label">
|
|
88
|
+
Depended Issue URL
|
|
89
|
+
</span>
|
|
90
|
+
{item.dependedIssueUrls.join(', ')}
|
|
91
|
+
</span>
|
|
92
|
+
)}
|
|
93
|
+
</span>
|
|
94
|
+
)}
|
|
55
95
|
</span>
|
|
56
96
|
</button>
|
|
57
97
|
);
|
|
@@ -17,6 +17,10 @@ const item = (
|
|
|
17
17
|
projectItemId: `PVTI_${overrides.number}`,
|
|
18
18
|
itemId: `PVTI_${overrides.number}`,
|
|
19
19
|
isPr: false,
|
|
20
|
+
status: null,
|
|
21
|
+
nextActionDate: null,
|
|
22
|
+
nextActionHour: null,
|
|
23
|
+
dependedIssueUrls: [],
|
|
20
24
|
labels: [],
|
|
21
25
|
createdAt: '2026-06-10T00:00:00.000Z',
|
|
22
26
|
...overrides,
|
|
@@ -18,6 +18,10 @@ const item = (number: number): ConsoleListItem => ({
|
|
|
18
18
|
itemId: `PVTI_${number}`,
|
|
19
19
|
isPr: false,
|
|
20
20
|
story: 'Story',
|
|
21
|
+
status: null,
|
|
22
|
+
nextActionDate: null,
|
|
23
|
+
nextActionHour: null,
|
|
24
|
+
dependedIssueUrls: [],
|
|
21
25
|
labels: [],
|
|
22
26
|
createdAt: '2026-06-10T00:00:00.000Z',
|
|
23
27
|
});
|
|
@@ -18,6 +18,10 @@ export type ConsoleListItem = {
|
|
|
18
18
|
itemId: string;
|
|
19
19
|
isPr: boolean;
|
|
20
20
|
story: string;
|
|
21
|
+
status: string | null;
|
|
22
|
+
nextActionDate: string | null;
|
|
23
|
+
nextActionHour: number | null;
|
|
24
|
+
dependedIssueUrls: string[];
|
|
21
25
|
labels: string[];
|
|
22
26
|
createdAt: string;
|
|
23
27
|
};
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
act,
|
|
3
|
+
fireEvent,
|
|
4
|
+
render,
|
|
5
|
+
waitFor,
|
|
6
|
+
within,
|
|
7
|
+
} from '@testing-library/react';
|
|
2
8
|
import { ConsolePage } from './ConsolePage';
|
|
3
9
|
|
|
10
|
+
const tabBar = (): HTMLElement => {
|
|
11
|
+
const nav = document.querySelector('nav.console-tabbar');
|
|
12
|
+
if (nav === null) {
|
|
13
|
+
throw new Error('console tab bar not found');
|
|
14
|
+
}
|
|
15
|
+
return nav as HTMLElement;
|
|
16
|
+
};
|
|
17
|
+
|
|
4
18
|
jest.mock('../lib/mermaidLoader', () => ({
|
|
5
19
|
renderMermaidToSvg: jest.fn(async () => '<svg></svg>'),
|
|
6
20
|
}));
|
|
@@ -24,6 +38,10 @@ const listPayload = (tab: string) => ({
|
|
|
24
38
|
itemId: 'PVTI_1',
|
|
25
39
|
isPr: true,
|
|
26
40
|
story: 'TDPM Console port',
|
|
41
|
+
status: 'Awaiting Quality Check',
|
|
42
|
+
nextActionDate: null,
|
|
43
|
+
nextActionHour: null,
|
|
44
|
+
dependedIssueUrls: [],
|
|
27
45
|
labels: [],
|
|
28
46
|
createdAt: '2026-06-17T00:00:00.000Z',
|
|
29
47
|
},
|
|
@@ -40,6 +58,10 @@ const listPayload = (tab: string) => ({
|
|
|
40
58
|
itemId: 'PVTI_2',
|
|
41
59
|
isPr: false,
|
|
42
60
|
story: 'TDPM Console port',
|
|
61
|
+
status: 'Unread',
|
|
62
|
+
nextActionDate: null,
|
|
63
|
+
nextActionHour: null,
|
|
64
|
+
dependedIssueUrls: [],
|
|
43
65
|
labels: [],
|
|
44
66
|
createdAt: '2026-06-18T00:00:00.000Z',
|
|
45
67
|
},
|
|
@@ -74,8 +96,12 @@ describe('ConsolePage', () => {
|
|
|
74
96
|
await waitFor(() => {
|
|
75
97
|
expect(getByText('Add serveConsole subcommand')).toBeInTheDocument();
|
|
76
98
|
});
|
|
77
|
-
expect(
|
|
78
|
-
|
|
99
|
+
expect(
|
|
100
|
+
within(tabBar()).getByText('Awaiting Quality Check'),
|
|
101
|
+
).toBeInTheDocument();
|
|
102
|
+
expect(
|
|
103
|
+
document.querySelector('.console-group-header')?.textContent,
|
|
104
|
+
).toContain('TDPM Console port');
|
|
79
105
|
});
|
|
80
106
|
|
|
81
107
|
it('opens the detail view when an item is selected', async () => {
|
|
@@ -100,12 +126,13 @@ describe('ConsolePage', () => {
|
|
|
100
126
|
it('shows a cancellable toast and only drives the tab to zero after the five second window', async () => {
|
|
101
127
|
jest.useFakeTimers();
|
|
102
128
|
try {
|
|
103
|
-
const { getByText, findByText
|
|
129
|
+
const { getByText, findByText } = render(<ConsolePage />);
|
|
104
130
|
await waitFor(() => {
|
|
105
131
|
expect(getByText('Add serveConsole subcommand')).toBeInTheDocument();
|
|
106
132
|
});
|
|
107
133
|
expect(
|
|
108
|
-
|
|
134
|
+
within(tabBar())
|
|
135
|
+
.getByText('Awaiting Quality Check')
|
|
109
136
|
.closest('a')
|
|
110
137
|
?.querySelector('.console-tab-badge')?.textContent,
|
|
111
138
|
).toBe('1');
|
|
@@ -117,7 +144,8 @@ describe('ConsolePage', () => {
|
|
|
117
144
|
expect(getByText('Approved — PR #851')).toBeInTheDocument();
|
|
118
145
|
expect(getByText('Undo')).toBeInTheDocument();
|
|
119
146
|
expect(
|
|
120
|
-
|
|
147
|
+
within(tabBar())
|
|
148
|
+
.getByText('Awaiting Quality Check')
|
|
121
149
|
.closest('a')
|
|
122
150
|
?.querySelector('.console-tab-badge')?.textContent,
|
|
123
151
|
).toBe('1');
|
|
@@ -127,7 +155,9 @@ describe('ConsolePage', () => {
|
|
|
127
155
|
});
|
|
128
156
|
|
|
129
157
|
await waitFor(() => {
|
|
130
|
-
expect(
|
|
158
|
+
expect(
|
|
159
|
+
within(tabBar()).queryByText('Awaiting Quality Check'),
|
|
160
|
+
).toBeNull();
|
|
131
161
|
});
|
|
132
162
|
} finally {
|
|
133
163
|
jest.useRealTimers();
|
|
@@ -177,7 +207,8 @@ describe('ConsolePage', () => {
|
|
|
177
207
|
);
|
|
178
208
|
expect(postCalls.length).toBe(0);
|
|
179
209
|
expect(
|
|
180
|
-
|
|
210
|
+
within(tabBar())
|
|
211
|
+
.getByText('Awaiting Quality Check')
|
|
181
212
|
.closest('a')
|
|
182
213
|
?.querySelector('.console-tab-badge')?.textContent,
|
|
183
214
|
).toBe('1');
|
|
@@ -203,15 +234,16 @@ describe('ConsolePage', () => {
|
|
|
203
234
|
});
|
|
204
235
|
|
|
205
236
|
it('hides zero-count tabs but keeps non-zero tabs', async () => {
|
|
206
|
-
const { getByText
|
|
237
|
+
const { getByText } = render(<ConsolePage />);
|
|
207
238
|
await waitFor(() => {
|
|
208
239
|
expect(getByText('Add serveConsole subcommand')).toBeInTheDocument();
|
|
209
240
|
});
|
|
210
|
-
|
|
211
|
-
expect(queryByText('
|
|
212
|
-
expect(queryByText('
|
|
213
|
-
expect(queryByText('
|
|
214
|
-
expect(queryByText('
|
|
241
|
+
const tabs = within(tabBar());
|
|
242
|
+
expect(tabs.queryByText('Awaiting Quality Check')).not.toBeNull();
|
|
243
|
+
expect(tabs.queryByText('Unread')).not.toBeNull();
|
|
244
|
+
expect(tabs.queryByText('Triage')).toBeNull();
|
|
245
|
+
expect(tabs.queryByText('Failed Preparation')).toBeNull();
|
|
246
|
+
expect(tabs.queryByText('Todo by human')).toBeNull();
|
|
215
247
|
});
|
|
216
248
|
|
|
217
249
|
it('does not render the project header bar above the tab bar', async () => {
|
|
@@ -241,6 +273,10 @@ const twoItemPrPayload = () => ({
|
|
|
241
273
|
itemId: 'PVTI_1',
|
|
242
274
|
isPr: true,
|
|
243
275
|
story: 'TDPM Console port',
|
|
276
|
+
status: 'Awaiting Quality Check',
|
|
277
|
+
nextActionDate: null,
|
|
278
|
+
nextActionHour: null,
|
|
279
|
+
dependedIssueUrls: [],
|
|
244
280
|
labels: [],
|
|
245
281
|
createdAt: '2026-06-17T00:00:00.000Z',
|
|
246
282
|
},
|
|
@@ -254,6 +290,10 @@ const twoItemPrPayload = () => ({
|
|
|
254
290
|
itemId: 'PVTI_2',
|
|
255
291
|
isPr: true,
|
|
256
292
|
story: 'TDPM Console port',
|
|
293
|
+
status: 'Awaiting Quality Check',
|
|
294
|
+
nextActionDate: null,
|
|
295
|
+
nextActionHour: null,
|
|
296
|
+
dependedIssueUrls: [],
|
|
257
297
|
labels: [],
|
|
258
298
|
createdAt: '2026-06-17T01:00:00.000Z',
|
|
259
299
|
},
|
|
@@ -422,7 +462,10 @@ describe('ConsolePage auto-advance tab', () => {
|
|
|
422
462
|
).toBeInTheDocument();
|
|
423
463
|
});
|
|
424
464
|
expect(
|
|
425
|
-
|
|
465
|
+
within(tabBar())
|
|
466
|
+
.getByText('Unread')
|
|
467
|
+
.closest('a')
|
|
468
|
+
?.getAttribute('aria-current'),
|
|
426
469
|
).toBe('page');
|
|
427
470
|
} finally {
|
|
428
471
|
jest.useRealTimers();
|
|
@@ -56,6 +56,12 @@ export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
|
56
56
|
itemId: 'PVTI_lADOABCD1234zgABCD01',
|
|
57
57
|
isPr: true,
|
|
58
58
|
story: 'TDPM Console port',
|
|
59
|
+
status: 'Awaiting Quality Check',
|
|
60
|
+
nextActionDate: null,
|
|
61
|
+
nextActionHour: null,
|
|
62
|
+
dependedIssueUrls: [
|
|
63
|
+
'https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/845',
|
|
64
|
+
],
|
|
59
65
|
labels: ['claude'],
|
|
60
66
|
createdAt: '2026-06-17T02:14:33.000Z',
|
|
61
67
|
},
|
|
@@ -71,6 +77,10 @@ export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
|
71
77
|
itemId: 'PVTI_lADOABCD1234zgABCD02',
|
|
72
78
|
isPr: true,
|
|
73
79
|
story: 'TDPM Console port',
|
|
80
|
+
status: 'Preparation',
|
|
81
|
+
nextActionDate: null,
|
|
82
|
+
nextActionHour: null,
|
|
83
|
+
dependedIssueUrls: [],
|
|
74
84
|
labels: ['claude'],
|
|
75
85
|
createdAt: '2026-06-17T05:48:09.000Z',
|
|
76
86
|
},
|
|
@@ -85,6 +95,10 @@ export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
|
85
95
|
itemId: 'PVTI_lADOABCD1234zgABCD03',
|
|
86
96
|
isPr: false,
|
|
87
97
|
story: 'TDPM Console port',
|
|
98
|
+
status: 'Todo by human',
|
|
99
|
+
nextActionDate: '2026-06-20T07:00:00.000Z',
|
|
100
|
+
nextActionHour: 9,
|
|
101
|
+
dependedIssueUrls: [],
|
|
88
102
|
labels: [],
|
|
89
103
|
createdAt: '2026-06-16T22:01:55.000Z',
|
|
90
104
|
},
|
|
@@ -99,6 +113,10 @@ export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
|
99
113
|
itemId: 'PVTI_lADOABCD1234zgABCD04',
|
|
100
114
|
isPr: false,
|
|
101
115
|
story: 'regular / workflow improvement',
|
|
116
|
+
status: null,
|
|
117
|
+
nextActionDate: null,
|
|
118
|
+
nextActionHour: 14,
|
|
119
|
+
dependedIssueUrls: [],
|
|
102
120
|
labels: [],
|
|
103
121
|
createdAt: '2026-06-12T23:01:55.000Z',
|
|
104
122
|
},
|
|
@@ -113,6 +131,10 @@ export const consoleListItemsFixture: ConsoleListItem[] = [
|
|
|
113
131
|
itemId: 'PVTI_lADOABCD1234zgABCD05',
|
|
114
132
|
isPr: false,
|
|
115
133
|
story: 'Publish product documentation site',
|
|
134
|
+
status: 'Icebox',
|
|
135
|
+
nextActionDate: null,
|
|
136
|
+
nextActionHour: null,
|
|
137
|
+
dependedIssueUrls: [],
|
|
116
138
|
labels: ['documentation'],
|
|
117
139
|
createdAt: '2026-06-10T11:42:00.000Z',
|
|
118
140
|
},
|