@kabmo-labs/kabmo 0.60.0 → 0.62.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/README.md +53 -49
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +1157 -825
- package/dist/client/static/js/{Body-p82s28sj.js → Body-z6kstvk6.js} +3 -3
- package/dist/client/static/js/{CsvGrid-erc5mcvc.js → CsvGrid-f73c0s4e.js} +2 -2
- package/dist/client/static/js/{DocxView-x3faj0jv.js → DocxView-a1pb7nsb.js} +3 -3
- package/dist/client/static/js/{DrawioView-t7fh3ens.js → DrawioView-r61gcg24.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-zy7x7jmm.js → HtmlPreview-vt7j0b05.js} +1 -1
- package/dist/client/static/js/ImageView-4nhr5dtm.js +1 -0
- package/dist/client/static/js/LayoutWrapper-vwhy0vhj.js +2 -0
- package/dist/client/static/js/MergeDiffView-f4h9ss71.js +1 -0
- package/dist/client/static/js/Modal-cadmjkak.js +60 -0
- package/dist/client/static/js/{PdfView-kqx472q7.js → PdfView-mppt2gkd.js} +1 -1
- package/dist/client/static/js/SessionsView-vvsaw9f0.js +1 -0
- package/dist/client/static/js/{SheetView-0n9fze50.js → SheetView-5s9zfx9g.js} +9 -9
- package/dist/client/static/js/{SvgPreview-6xc6ts46.js → SvgPreview-ff78xn3e.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-2xdkkqwg.js → abnfDiagram-O67JEVCF-p29sh3w2.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-83w3kytq.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-ja8cx19z.js → architectureDiagram-NJMV4G6O-nbpdyea3.js} +3 -3
- package/dist/client/static/js/{astro-yphdvdty.js → astro-qtfmc8x7.js} +1 -1
- package/dist/client/static/js/bash-wcy12qjx.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-ytf7s99c.js → blockDiagram-BEXU5L5S-t8xbexa6.js} +6 -6
- package/dist/client/static/js/c-vvantfth.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-5a0kdx0z.js → c4Diagram-YGBWAQC7-9fwf2zxk.js} +3 -3
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-hd98dvjw.js → classDiagram-v2-NBCMYWYE-nbapgqbs.js} +4 -4
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-man3fqcj.js → cose-bilkent-JH36ORCC-k54mmydp.js} +1 -1
- package/dist/client/static/js/cpp-5x63r6g0.js +1 -0
- package/dist/client/static/js/css-j2j6f03w.js +1 -0
- package/dist/client/static/js/css-qk59j6rj.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-80z02zrj.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-2f0kbbv2.js → cynefinDiagram-VND7K2PF-qdg32wah.js} +1 -1
- package/dist/client/static/js/{dagre-6A5THRUB-k7pyhgzn.js → dagre-6A5THRUB-qzshg1vs.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-qx0afa2m.js → diagram-22UHCM2B-197hemfa.js} +11 -11
- package/dist/client/static/js/{diagram-3UASUU5V-ydpe77sv.js → diagram-3UASUU5V-236gnjr6.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-e63v984n.js → diagram-ATOU4E4O-vjgpyaaq.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-8c765h3a.js → diagram-CDSNMT55-ywvzcx7z.js} +4 -4
- package/dist/client/static/js/{diagram-MLGK6HIB-3pq0n7v8.js → diagram-MLGK6HIB-9ey7ev7j.js} +1 -1
- package/dist/client/static/js/{diagram-MPIPVDR6-638atzxz.js → diagram-MPIPVDR6-vrqbb6r7.js} +2 -2
- package/dist/client/static/js/{dockerfile-yehc914q.js → dockerfile-4nked309.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-3gv43zvm.js → ebnfDiagram-ZINNZB2B-hvnkevqy.js} +1 -1
- package/dist/client/static/js/{elixir-3nwnd9yw.js → elixir-3jvh6v4k.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-6s5pggfc.js → elk-276RUBZZ-nej6yy1c.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-x7cqyb89.js → erDiagram-OPXOYQCR-ww453xcy.js} +5 -5
- package/dist/client/static/js/{erlang-p5c4n3t0.js → erlang-4fz73a1q.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-y9pq2709.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-e6v7513q.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-g97te4v1.js → ganttDiagram-FUAMR5RP-abc5wy70.js} +3 -3
- package/dist/client/static/js/gitGraph-4MIJSDKK-fzaf9azs.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-sw4f94tc.js → gitGraphDiagram-X574FWY7-4acqzj2h.js} +7 -7
- package/dist/client/static/js/graphql-hpkvdvk7.js +1 -0
- package/dist/client/static/js/html-x12gb1wk.js +1 -0
- package/dist/client/static/js/{index-v88m5sva.js → index-0g82ph6h.js} +2 -2
- package/dist/client/static/js/{index-vejz38qt.js → index-0w1jzang.js} +5 -5
- package/dist/client/static/js/{index-bpcg34jp.js → index-1svt0cdw.js} +2 -2
- package/dist/client/static/js/{index-hgfyx8dt.js → index-1tb4py5v.js} +2 -2
- package/dist/client/static/js/index-2gt9krtj.js +4 -0
- package/dist/client/static/js/index-2x9m7s1a.js +1 -0
- package/dist/client/static/js/index-3fvqmz3m.js +4 -0
- package/dist/client/static/js/{index-pdz6j2g2.js → index-42wvbkm5.js} +2 -2
- package/dist/client/static/js/index-477vtt51.js +2 -0
- package/dist/client/static/js/{index-ca6tmamh.js → index-4px56qaz.js} +2 -2
- package/dist/client/static/js/{index-excgtjhx.js → index-5anvw7xg.js} +36 -36
- package/dist/client/static/js/index-5nb9k2ph.js +1 -0
- package/dist/client/static/js/{index-97sw4d9n.js → index-615je3km.js} +2 -2
- package/dist/client/static/js/{index-111bq6rs.js → index-66qxrh5n.js} +1 -1
- package/dist/client/static/js/{index-a145x0w2.js → index-7kct1sz1.js} +2 -2
- package/dist/client/static/js/{index-hwv7bfxc.js → index-8e0d8y30.js} +2 -2
- package/dist/client/static/js/{index-s4j2ghmx.js → index-90bq56xw.js} +2 -2
- package/dist/client/static/js/{index-wsy6y5em.js → index-b1gzh60t.js} +11 -11
- package/dist/client/static/js/{index-10vzyga1.js → index-bypkmjrz.js} +2 -2
- package/dist/client/static/js/{index-n8r7r86r.js → index-c1vd63yd.js} +2 -2
- package/dist/client/static/js/index-c9f0hejv.js +3 -0
- package/dist/client/static/js/{index-2dmew334.js → index-cgqj15g0.js} +2 -2
- package/dist/client/static/js/{index-mtav0rpf.js → index-cts5re1t.js} +2 -2
- package/dist/client/static/js/index-dxc14kmm.js +1 -0
- package/dist/client/static/js/{index-hwdkxe4n.js → index-dxyjxhm1.js} +2 -2
- package/dist/client/static/js/{index-43gmn7yb.js → index-edpyqz9f.js} +1 -1
- package/dist/client/static/js/{index-pdgc9ccr.js → index-eesepb70.js} +2 -2
- package/dist/client/static/js/{index-vec7m1yd.js → index-evh437bz.js} +2 -2
- package/dist/client/static/js/index-ey6v4t5b.js +1 -0
- package/dist/client/static/js/{index-025s3fp8.js → index-fsd7n336.js} +2 -2
- package/dist/client/static/js/{index-yfcy4cf6.js → index-h7a7fqag.js} +2 -2
- package/dist/client/static/js/{index-11qn05g9.js → index-hffgwnvz.js} +2 -2
- package/dist/client/static/js/index-j734ev6q.js +482 -0
- package/dist/client/static/js/{index-vcq6zfxx.js → index-jcbp1d9d.js} +6 -6
- package/dist/client/static/js/index-jg5h18sm.js +2 -0
- package/dist/client/static/js/{index-6qn9kygb.js → index-jtdve6xw.js} +7 -7
- package/dist/client/static/js/{index-4xbc0j7t.js → index-k0bqrb1y.js} +1 -1
- package/dist/client/static/js/{index-bdtftrym.js → index-kegevd10.js} +2 -2
- package/dist/client/static/js/{index-fr6wsqk8.js → index-kqcfxkch.js} +2 -2
- package/dist/client/static/js/{index-2n2evsg0.js → index-kv1xnem9.js} +2 -2
- package/dist/client/static/js/{index-8zct30zd.js → index-m54ctmxr.js} +1 -1
- package/dist/client/static/js/index-mgzbypt5.js +314 -0
- package/dist/client/static/js/{index-cf69bhjx.js → index-mh52531j.js} +2 -2
- package/dist/client/static/js/{index-0ze5bwvw.js → index-mhz5ywa4.js} +5 -5
- package/dist/client/static/js/{index-3j2he86h.js → index-nnwdbg3t.js} +2 -2
- package/dist/client/static/js/{index-9rz6kzsv.js → index-nxd6z7f9.js} +2 -2
- package/dist/client/static/js/{index-jfqd838j.js → index-pjrbt77c.js} +2 -2
- package/dist/client/static/js/index-r7h4pm42.js +2 -0
- package/dist/client/static/js/index-ratrdgc9.js +2 -0
- package/dist/client/static/js/{index-cfvc1zpk.js → index-rhmvh9w5.js} +2 -2
- package/dist/client/static/js/{index-twwsn91p.js → index-sqzjwy9h.js} +2 -2
- package/dist/client/static/js/{index-37apvxgj.js → index-tckzkw0f.js} +2 -2
- package/dist/client/static/js/index-tza9h3q6.css +1 -0
- package/dist/client/static/js/{index-qccydkze.js → index-vhjfr093.js} +2 -2
- package/dist/client/static/js/{index-z8k42dwz.js → index-w0j96eyy.js} +8 -8
- package/dist/client/static/js/{index-qkqkygrf.js → index-ws04kxy9.js} +1 -1
- package/dist/client/static/js/{index-a3bpmw2r.js → index-x1yqmzpr.js} +2 -2
- package/dist/client/static/js/{index-fb2fjndj.js → index-x2f7wykb.js} +6 -6
- package/dist/client/static/js/index-y8405hdg.js +10 -0
- package/dist/client/static/js/{index-sx83ans2.js → index-yxk7dgnb.js} +2 -2
- package/dist/client/static/js/{index-bkn6jtn1.js → index-zavecxak.js} +2 -2
- package/dist/client/static/js/{index-dv01prse.js → index-zg7q3kcb.js} +2 -2
- package/dist/client/static/js/{index-enm77k5z.js → index-zhn9vv3z.js} +2 -2
- package/dist/client/static/js/{index-ywp0sd1e.js → index-zy963qbh.js} +1 -1
- package/dist/client/static/js/info-A6RAGUB7-t7pbg7rt.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-pw2qaa27.js → infoDiagram-VRGFBTTK-9pe7w3r5.js} +2 -2
- package/dist/client/static/js/ini-522adp5a.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-d13jhvxy.js → ishikawaDiagram-OU5B5YK6-38arfrx5.js} +2 -2
- package/dist/client/static/js/java-z0rgs7v6.js +1 -0
- package/dist/client/static/js/javascript-fv87f565.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-20gb8a04.js → journeyDiagram-ZHPQQLJL-kcwzjgtz.js} +4 -4
- package/dist/client/static/js/json-1czq1ped.js +1 -0
- package/dist/client/static/js/jsx-1fch2jyr.js +1 -0
- package/dist/client/static/js/{julia-rpd1y9vh.js → julia-pzzxbptm.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-s78e158c.js → kanban-definition-PNTS6WVX-nmegwy9w.js} +15 -15
- package/dist/client/static/js/lua-nn8bpjev.js +1 -0
- package/dist/client/static/js/markdown-38tqrgkn.js +1 -0
- package/dist/client/static/js/{mermaid.core-xbm27k28.js → mermaid.core-3aae27b9.js} +7 -7
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-6y7xe2zm.js → mindmap-definition-NLK3R4M7-zsaq4e65.js} +12 -12
- package/dist/client/static/js/one-dark-pro-trnff03z.js +1 -0
- package/dist/client/static/js/one-light-ck31ptqs.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-rwac7scq.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-dmvewetf.js → pegDiagram-GJSIUBJH-2b6whj1p.js} +1 -1
- package/dist/client/static/js/{perl-kmtz9dnv.js → perl-zdkbbjd2.js} +1 -1
- package/dist/client/static/js/{php-bttrsbxy.js → php-ktaxff6g.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-gjz20apz.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-1q9e7rcm.js → pieDiagram-5QR66LMP-y09ar7vz.js} +3 -3
- package/dist/client/static/js/properties-kncqeqhn.js +1 -0
- package/dist/client/static/js/python-gx8ggmyh.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-mvrem3n6.js → quadrantDiagram-O4NWA36T-mapfzs06.js} +3 -3
- package/dist/client/static/js/r-x8rftkm3.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-akwdknab.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-m5v4rfhx.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-k2gmqcjb.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-1zdsfjf4.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-e98evqb6.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-axttcfhw.js → railroadDiagram-XR7U4H2S-70qy7qdh.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-5qx7erta.js → requirementDiagram-PLB6GJNP-2vb2gp3e.js} +3 -3
- package/dist/client/static/js/{ruby-dve3y59w.js → ruby-ytqv3pqz.js} +1 -1
- package/dist/client/static/js/{rust-b3ckax3e.js → rust-6sddyxnt.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-es87a3j6.js → sankeyDiagram-IPEJSGJF-9jd8ebrn.js} +3 -3
- package/dist/client/static/js/{sass-emxqt5p2.js → sass-dvbra5b6.js} +1 -1
- package/dist/client/static/js/{scss-4j4t3r6y.js → scss-sy7w8916.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-dgpnjrtk.js → sequenceDiagram-PO4LG4MO-w7z84f80.js} +7 -7
- package/dist/client/static/js/{sizeCapture-INFHLROL-kyw0p86n.js → sizeCapture-INFHLROL-q8w7ehgx.js} +1 -1
- package/dist/client/static/js/sql-99y0qnag.js +1 -0
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-vnsbw8y9.js → stateDiagram-v2-GCMORJYK-4978hapr.js} +3 -3
- package/dist/client/static/js/{svelte-dbsx1ehx.js → svelte-xvs3fkza.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-060q1rep.js → swimlanes-2SLR337P-eshg5fjy.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-914e28hd.js +8 -0
- package/dist/client/static/js/timeline-definition-EJHVYXUP-5h5q357k.js +120 -0
- package/dist/client/static/js/treeView-Q6P3EWNA-fkm3a7gx.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-hm4ktxjf.js +1 -0
- package/dist/client/static/js/tsx-phngprp0.js +1 -0
- package/dist/client/static/js/typescript-m62a7zr2.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-18sp73v7.js → usecaseDiagram-POWQR4AR-4j69y3zx.js} +20 -20
- package/dist/client/static/js/vennDiagram-UO4OBE2U-pa9p5jpw.js +34 -0
- package/dist/client/static/js/{vue-hyr58df9.js → vue-p4g4avm3.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-3y2rvdmy.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-q0kwmbzh.js → wardleyDiagram-VNRHLVJA-hjddd656.js} +3 -3
- package/dist/client/static/js/xml-59n0cjn6.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-y0gpmg6m.js → xychartDiagram-PMCCYNJV-8ng5m849.js} +4 -4
- package/dist/client/static/js/yaml-9fw908s4.js +1 -0
- package/dist/client/tailwindcss-oxide.linux-x64-gnu-c0fa36dv.node +0 -0
- package/dist/client/tailwindcss-oxide.linux-x64-musl-kr04sh0e.node +0 -0
- package/marketplace/plugins/command-runner/package.json +2 -2
- package/marketplace/plugins/command-runner/src/app.tsx +2 -5
- package/marketplace/plugins/command-runner/src/panel/CustomForm.tsx +35 -52
- package/marketplace/plugins/command-runner/src/panel/Groups.tsx +6 -5
- package/marketplace/plugins/command-runner/src/panel/Header.tsx +18 -54
- package/marketplace/plugins/command-runner/src/panel/Output.tsx +3 -7
- package/marketplace/plugins/command-runner/src/panel/Row.tsx +19 -38
- package/marketplace/plugins/command-runner/src/panel/index.tsx +1 -4
- package/marketplace/plugins/git-forge/package.json +2 -2
- package/marketplace/plugins/git-forge/src/app.tsx +2 -0
- package/marketplace/plugins/git-forge/src/panel/Credential.tsx +8 -15
- package/marketplace/plugins/git-forge/src/panel/Header.tsx +35 -66
- package/marketplace/plugins/git-forge/src/panel/ItemView.tsx +7 -13
- package/marketplace/plugins/git-forge/src/panel/List.tsx +28 -56
- package/marketplace/plugins/git-forge/src/panel/Row.tsx +7 -9
- package/marketplace/plugins/git-forge/src/panel/Sidebar.tsx +21 -31
- package/marketplace/plugins/git-forge/src/panel/Write.tsx +26 -40
- package/marketplace/plugins/git-forge/src/panel/index.tsx +0 -1
- package/marketplace/plugins/github-actions/package.json +2 -2
- package/marketplace/plugins/github-actions/src/app.tsx +2 -0
- package/marketplace/plugins/github-actions/src/panel/Actions.tsx +9 -17
- package/marketplace/plugins/github-actions/src/panel/LogView.tsx +4 -13
- package/marketplace/plugins/github-actions/src/panel/Row.tsx +4 -5
- package/marketplace/plugins/github-actions/src/panel/RunView.tsx +8 -15
- package/marketplace/plugins/github-actions/src/panel/index.test.tsx +3 -2
- package/marketplace/plugins/github-actions/src/panel/index.tsx +31 -37
- package/marketplace/plugins/kanban/package.json +2 -2
- package/marketplace/plugins/kanban/src/app.tsx +2 -0
- package/marketplace/plugins/kanban/src/panel/CardSheet.tsx +88 -98
- package/marketplace/plugins/kanban/src/panel/CardTile.tsx +6 -10
- package/marketplace/plugins/kanban/src/panel/StageColumn.tsx +22 -18
- package/marketplace/plugins/kanban/src/panel/StageSheet.tsx +59 -70
- package/marketplace/plugins/kanban/src/panel/index.tsx +37 -52
- package/marketplace/plugins/kanban/src/panel/use-board.ts +2 -0
- package/marketplace/plugins/session-info/package.json +2 -2
- package/marketplace/plugins/session-info/src/app.tsx +6 -3
- package/marketplace/plugins/stats/package.json +2 -2
- package/marketplace/plugins/stats/src/KillConfirm.test.tsx +6 -4
- package/marketplace/plugins/stats/src/KillConfirm.tsx +26 -76
- package/marketplace/plugins/stats/src/ProcessTable.tsx +8 -6
- package/marketplace/plugins/stats/src/RefreshButton.tsx +7 -5
- package/marketplace/plugins/stats/src/app.tsx +11 -9
- package/package.json +10 -10
- package/src/cli/lib/commands/plugin.js +8 -5
- package/src/client/bootstrap.d.ts +5 -0
- package/src/client/chat-title-overlay.test.ts +53 -0
- package/src/client/components/auth/login-screen/index.tsx +31 -3
- package/src/client/components/common/SignOutButton.tsx +4 -5
- package/src/client/components/common/account-badge/index.tsx +31 -0
- package/src/client/components/common/footer-version/index.tsx +40 -0
- package/src/client/components/common/fullscreen-viewer/fullscreen-viewer.test.tsx +24 -0
- package/src/client/components/common/fullscreen-viewer/index.tsx +22 -31
- package/src/client/components/common/header-controls/MoreMenu.tsx +5 -56
- package/src/client/components/common/header-controls/index.test.tsx +2 -6
- package/src/client/components/common/header-controls/index.tsx +9 -25
- package/src/client/components/common/header-controls/phone-row.test.tsx +3 -16
- package/src/client/components/common/shell-update-button/index.tsx +2 -2
- package/src/client/components/common/zoom-pan-stage/index.tsx +54 -50
- package/src/client/components/layout/desktop-layout/WorkspacePanels.tsx +4 -5
- package/src/client/components/layout/desktop-layout/index.tsx +2 -4
- package/src/client/components/layout/left-bar/index.tsx +25 -3
- package/src/client/components/layout/rail-toggle.test.tsx +112 -0
- package/src/client/components/layout/session-sidebar/CategoryHeader.accent.test.tsx +81 -0
- package/src/client/components/layout/session-sidebar/CategoryHeader.tsx +11 -3
- package/src/client/components/layout/session-sidebar/Footer.test.tsx +36 -0
- package/src/client/components/layout/session-sidebar/Footer.tsx +42 -61
- package/src/client/components/layout/session-sidebar/FooterHost.tsx +5 -1
- package/src/client/components/layout/session-sidebar/modern/WorkspaceHeader.tsx +30 -10
- package/src/client/components/layout/session-sidebar/modern/WorkspaceSection.tsx +4 -0
- package/src/client/components/layout/session-sidebar/modern/index.tsx +8 -1
- package/src/client/components/layout/session-sidebar/modern/workspace-header.test.tsx +25 -4
- package/src/client/components/layout/session-title-bar/index.tsx +13 -5
- package/src/client/components/layout/top-bars.test.tsx +4 -2
- package/src/client/components/mobile/LayoutWrapper.tsx +3 -1
- package/src/client/components/mobile/RightSidebar.tsx +12 -3
- package/src/client/components/mobile/SessionSidebar.tsx +6 -2
- package/src/client/components/mobile/drawer-layout.test.tsx +7 -3
- package/src/client/components/mobile/drawer-strip.tsx +9 -2
- package/src/client/components/mobile/mobile-main-view/Header.test.tsx +29 -9
- package/src/client/components/mobile/mobile-main-view/Header.tsx +43 -12
- package/src/client/components/mobile/mobile-right-sidebar/Chrome.tsx +12 -1
- package/src/client/components/mobile/mobile-right-sidebar/FullDiff.tsx +9 -2
- package/src/client/components/mobile/mobile-right-sidebar/FullEditor.tsx +1 -0
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +9 -1
- package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +4 -2
- package/src/client/components/mobile/mobile-session-sidebar/Body.tsx +1 -1
- package/src/client/components/mobile/mobile-session-sidebar/Footer.tsx +48 -46
- package/src/client/components/mobile/mobile-session-sidebar/Header.tsx +18 -1
- package/src/client/components/mobile/mobile-session-sidebar/Item.test.tsx +4 -0
- package/src/client/components/mobile/mobile-session-sidebar/Item.tsx +4 -6
- package/src/client/components/mobile/right-drawer-nav.test.tsx +53 -1
- package/src/client/components/settings/Band.tsx +5 -2
- package/src/client/components/settings/Modal.tsx +8 -5
- package/src/client/components/settings/Sidebar.tsx +5 -3
- package/src/client/components/settings/apply-side-effects.ts +5 -0
- package/src/client/components/settings/categories/AccountSettings.tsx +266 -0
- package/src/client/components/settings/categories/ProjectSettings.tsx +2 -0
- package/src/client/components/settings/categories/account-settings/Dialogs.tsx +223 -0
- package/src/client/components/settings/categories/appearance-settings/BorderStyleSection.test.tsx +3 -4
- package/src/client/components/settings/categories/appearance-settings/ChromeStyleSection.tsx +66 -39
- package/src/client/components/settings/categories/connect-settings/DeviceTable.tsx +7 -4
- package/src/client/components/settings/categories/project-settings/DetailsForm.tsx +14 -1
- package/src/client/components/settings/categories/project-settings/ProjectSharing.tsx +130 -0
- package/src/client/components/settings/categories/project-settings/SidebarList.tsx +5 -0
- package/src/client/components/settings/category-content.tsx +3 -0
- package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +3 -1
- package/src/client/components/workspace/chat-timeline/ComposerDockFrame.tsx +2 -1
- package/src/client/components/workspace/chat-timeline/EmptyWorkspacePrompt.tsx +3 -1
- package/src/client/components/workspace/chat-timeline/SessionSkeleton.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -0
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +9 -2
- package/src/client/components/workspace/chat-timeline/chat-input/expansion.test.ts +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/expansion.ts +2 -1
- package/src/client/components/workspace/chat-timeline/chat-input/narrow.test.tsx +34 -0
- package/src/client/components/workspace/chat-timeline/composer-dock-frame.test.tsx +9 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/styles.test.tsx +4 -1
- package/src/client/components/workspace/editor/Tab.tsx +19 -26
- package/src/client/components/workspace/editor/Tabs.test.ts +13 -7
- package/src/client/components/workspace/git-panel/commit-modal/Header.tsx +1 -0
- package/src/client/components/workspace/git-panel/commit-modal/floating.test.ts +46 -0
- package/src/client/components/workspace/git-panel/commit-modal/index.tsx +2 -0
- package/src/client/components/workspace/model-dropdown/Fullscreen.tsx +4 -5
- package/src/client/components/workspace/panel-tabs/TabChip.tsx +40 -37
- package/src/client/components/workspace/panel-tabs/TabStrip.connected.test.tsx +76 -49
- package/src/client/components/workspace/panel-tabs/TabStrip.test.tsx +9 -9
- package/src/client/components/workspace/panel-tabs/TabStrip.tsx +14 -1
- package/src/client/components/workspace/panel-tabs/index.tsx +1 -1
- package/src/client/components/workspace/plugin-panel/catalog.tsx +22 -5
- package/src/client/components/workspace/plugin-panel/chrome.test.tsx +89 -0
- package/src/client/components/workspace/plugin-panel/chrome.tsx +62 -0
- package/src/client/data/settings/omp-schema.json +40 -4
- package/src/client/floating-phone.test.ts +189 -0
- package/src/client/floating.css +205 -2
- package/src/client/floating.test.ts +43 -0
- package/src/client/glass.css +47 -0
- package/src/client/hooks/chat/omp/index.ts +6 -5
- package/src/client/hooks/chat/omp/prompt-send.test.ts +18 -0
- package/src/client/hooks/chat/omp/prompt-send.ts +26 -8
- package/src/client/hooks/chat/omp/session-list.tsx +20 -8
- package/src/client/hooks/chat/timeline/deferred-model.ts +13 -5
- package/src/client/hooks/chat/timeline/index.ts +2 -0
- package/src/client/hooks/chat/timeline/send-props.ts +14 -0
- package/src/client/hooks/chat/timeline/send-steer.test.ts +11 -2
- package/src/client/hooks/chat/timeline/send-switch.test.ts +92 -0
- package/src/client/hooks/chat/timeline/send.test-util.ts +37 -7
- package/src/client/hooks/chat/timeline/send.test.ts +11 -2
- package/src/client/hooks/chat/timeline/send.ts +62 -42
- package/src/client/hooks/editor/image-generation.ts +24 -0
- package/src/client/hooks/editor/resolve-viewer.test.ts +26 -20
- package/src/client/hooks/editor/resolve-viewer.ts +14 -5
- package/src/client/hooks/editor/use-file-editor.test.ts +34 -0
- package/src/client/hooks/editor/use-file-editor.ts +6 -2
- package/src/client/hooks/settings/accounts.ts +162 -0
- package/src/client/hooks/ui/auth.ts +58 -3
- package/src/client/hooks/ui/border-style.test.ts +5 -4
- package/src/client/hooks/ui/border-style.ts +3 -2
- package/src/client/hooks/ui/mobile-chrome-style.ts +68 -0
- package/src/client/hooks/ui/navbar-controls.test.ts +1 -2
- package/src/client/hooks/ui/navbar-controls.ts +0 -3
- package/src/client/hooks/ui/zoom-gesture.ts +104 -0
- package/src/client/lib/desktop/titlebar.test.ts +21 -0
- package/src/client/lib/desktop/titlebar.ts +34 -0
- package/src/client/lib/plugins/bootstrap.test.ts +20 -0
- package/src/client/lib/plugins/bootstrap.tsx +10 -15
- package/src/client/lib/plugins/kit-components.test.tsx +119 -0
- package/src/client/lib/plugins/kit-components.tsx +79 -0
- package/src/client/lib/plugins/kit.ts +8 -0
- package/src/client/lib/plugins/slots.test.ts +34 -0
- package/src/client/lib/plugins/slots.ts +31 -4
- package/src/client/lib/plugins/stylesheets.ts +10 -11
- package/src/client/lib/ui/pinch.test.ts +74 -0
- package/src/client/lib/ui/pinch.ts +104 -0
- package/src/client/lib/ui/safe-area.test.ts +25 -0
- package/src/client/lib/ui/safe-area.ts +23 -0
- package/src/client/main.tsx +8 -1
- package/src/client/tailwind.css +54 -1
- package/src/server/index.ts +2 -0
- package/src/server/lib/assets/shell-attributes.server.ts +12 -4
- package/src/server/lib/assets/shell-attributes.test.ts +19 -18
- package/src/server/lib/auth/client-address.test.ts +2 -2
- package/src/server/lib/auth/guard.test.ts +2 -2
- package/src/server/lib/auth/guard.ts +81 -97
- package/src/server/lib/auth/handover-guard.test.ts +1 -1
- package/src/server/lib/auth/rate-limit.test.ts +2 -2
- package/src/server/lib/auth/token.test.ts +1 -1
- package/src/server/lib/auth/workspace-gate.server.ts +34 -0
- package/src/server/lib/bundler/css.test.ts +16 -0
- package/src/server/lib/connect/devices.server.test.ts +12 -0
- package/src/server/lib/connect/devices.server.ts +63 -19
- package/src/server/lib/connect/pairing.server.ts +5 -3
- package/src/server/lib/connect/status.server.ts +2 -2
- package/src/server/lib/db/schema.test.ts +3 -3
- package/src/server/lib/db/schema.ts +6 -0
- package/src/server/lib/harness/update-spawn.server.test.ts +97 -0
- package/src/server/lib/harness/update-spawn.server.ts +10 -0
- package/src/server/lib/models/provider-icon-override.server.test.ts +140 -0
- package/src/server/lib/models/provider-icon-override.server.ts +197 -0
- package/src/server/lib/models/provider-icon-store.server.ts +8 -0
- package/src/server/lib/models/provider-icon.server.ts +31 -6
- package/src/server/lib/omp/session/artifacts.server.test.ts +11 -7
- package/src/server/lib/omp/session/artifacts.server.ts +21 -17
- package/src/server/lib/panels/build.server.ts +19 -2
- package/src/server/lib/panels/css.server.test.ts +141 -0
- package/src/server/lib/panels/css.server.ts +255 -0
- package/src/server/lib/panels/plugin-ui-contract.test.ts +64 -0
- package/src/server/lib/panels/registry-stylesheet.server.test.ts +69 -0
- package/src/server/lib/panels/scan.server.ts +13 -7
- package/src/server/lib/panels/source-warnings.server.test.ts +65 -0
- package/src/server/lib/panels/source-warnings.server.ts +71 -0
- package/src/server/lib/realtime/topics/catalog.server.ts +3 -0
- package/src/server/lib/realtime/topics.server.ts +14 -0
- package/src/server/lib/sessions/last-opened-client.server.ts +1 -1
- package/src/server/lib/workspace/access.server.ts +108 -0
- package/src/server/lib/workspace/project-patch.server.ts +4 -2
- package/src/server/lib/workspace/register-folder.server.ts +19 -5
- package/src/server/lib/workspace/session-access.server.ts +55 -0
- package/src/server/lib/workspace/tenancy-schema.server.ts +40 -0
- package/src/server/plugins/ssr.ts +19 -3
- package/src/server/routes/accounts/index.ts +8 -0
- package/src/server/routes/accounts/management.test.ts +174 -0
- package/src/server/routes/accounts/management.ts +166 -0
- package/src/server/routes/auth/login.ts +22 -8
- package/src/server/routes/auth/logout.ts +1 -1
- package/src/server/routes/auth/password.ts +40 -33
- package/src/server/routes/auth/revoke.test.ts +1 -1
- package/src/server/routes/auth/revoke.ts +26 -8
- package/src/server/routes/auth/routes.test.ts +3 -3
- package/src/server/routes/auth/state.ts +14 -7
- package/src/server/routes/connect/devices.ts +7 -4
- package/src/server/routes/connect/pair.ts +4 -3
- package/src/server/routes/connect/status.ts +4 -2
- package/src/server/routes/connect/tunnels.ts +2 -1
- package/src/server/routes/folders/batch-delete.ts +12 -0
- package/src/server/routes/folders/clone.ts +7 -2
- package/src/server/routes/folders/create.ts +3 -1
- package/src/server/routes/folders/folder.ts +44 -4
- package/src/server/routes/folders/index.ts +3 -0
- package/src/server/routes/folders/shares.ts +62 -0
- package/src/server/routes/index.ts +2 -0
- package/src/server/routes/panels/build.ts +1 -1
- package/src/server/routes/panels/css.test.ts +22 -0
- package/src/server/routes/panels/css.ts +5 -7
- package/src/server/routes/realtime/ws.ts +16 -1
- package/src/server/routes/sessions/list.ts +3 -2
- package/src/server/routes/settings/projects.ts +46 -7
- package/src/server/routes/settings/provider-icon.ts +18 -0
- package/src/shared/lib/chat/timeline/tool-render-mode.test.ts +2 -2
- package/src/shared/lib/chat/timeline/tool-render-mode.ts +6 -3
- package/src/shared/lib/icons/tint-hues.generated.ts +38 -37
- package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +27 -1
- package/src/shared/lib/omp/session/prewarm-misc.test.ts +1 -1
- package/src/shared/lib/realtime/protocol.ts +16 -0
- package/src/shared/lib/settings/defaults.ts +2 -1
- package/src/shared/lib/settings/sections.ts +1 -1
- package/src/shared/lib/theme/border-style.test.ts +11 -9
- package/src/shared/lib/theme/border-style.ts +7 -7
- package/src/shared/lib/theme/chrome-style.test.ts +15 -0
- package/src/shared/lib/theme/chrome-style.ts +16 -1
- package/src/shared/types/index.ts +1 -0
- package/src/shared/types/settings/state.ts +6 -5
- package/src/test-support/file-editor.test-util.ts +25 -6
- package/tsconfig.json +21 -0
- package/dist/client/static/js/ImageView-xc90jc1c.js +0 -1
- package/dist/client/static/js/LayoutWrapper-wyqe98kf.js +0 -2
- package/dist/client/static/js/MergeDiffView-bng34cpr.js +0 -1
- package/dist/client/static/js/Modal-89jk7wff.js +0 -60
- package/dist/client/static/js/SessionsView-6bpz1faj.js +0 -1
- package/dist/client/static/js/architecture-7GRP2DOG-sxrkxwbq.js +0 -1
- package/dist/client/static/js/bash-bcbct9gc.js +0 -1
- package/dist/client/static/js/c-fn9jz26e.js +0 -1
- package/dist/client/static/js/cpp-a1q64mke.js +0 -1
- package/dist/client/static/js/css-b92azee8.js +0 -1
- package/dist/client/static/js/css-sn00sq6v.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-g1xwa8b9.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-05p61bka.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-7sn6nwjv.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-z1yehwys.js +0 -1
- package/dist/client/static/js/graphql-8d8bn59j.js +0 -1
- package/dist/client/static/js/html-6hdrwtz2.js +0 -1
- package/dist/client/static/js/index-4h2zkrk1.js +0 -2
- package/dist/client/static/js/index-5nm8hm4k.js +0 -2
- package/dist/client/static/js/index-95jfphx5.js +0 -481
- package/dist/client/static/js/index-9pw441wc.js +0 -4
- package/dist/client/static/js/index-bjz54ht6.js +0 -1
- package/dist/client/static/js/index-bqapt2e8.js +0 -2
- package/dist/client/static/js/index-ddkjgv5h.js +0 -2
- package/dist/client/static/js/index-dekvtt2a.js +0 -314
- package/dist/client/static/js/index-fnwaxc6r.js +0 -1
- package/dist/client/static/js/index-h65zrhva.js +0 -1
- package/dist/client/static/js/index-hxsqw7sz.js +0 -4
- package/dist/client/static/js/index-hxy1sadd.js +0 -2
- package/dist/client/static/js/index-ja0ajnvq.js +0 -10
- package/dist/client/static/js/index-qkyy563e.js +0 -1
- package/dist/client/static/js/index-t6nqy2n5.css +0 -1
- package/dist/client/static/js/index-wrk99kks.js +0 -3
- package/dist/client/static/js/info-A6RAGUB7-dqyaxjc1.js +0 -1
- package/dist/client/static/js/ini-g6a5xsaw.js +0 -1
- package/dist/client/static/js/java-n596am4c.js +0 -1
- package/dist/client/static/js/javascript-zc1qnyyp.js +0 -1
- package/dist/client/static/js/json-7k70qbkj.js +0 -1
- package/dist/client/static/js/jsx-sndenqrc.js +0 -1
- package/dist/client/static/js/lua-djd3g9q5.js +0 -1
- package/dist/client/static/js/markdown-r2tpvxpn.js +0 -1
- package/dist/client/static/js/one-dark-pro-7bgqnyhm.js +0 -1
- package/dist/client/static/js/one-light-47y6etng.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-7jxzax4z.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-wc9wxr7f.js +0 -1
- package/dist/client/static/js/properties-brn72zdk.js +0 -1
- package/dist/client/static/js/python-g9mghwgm.js +0 -1
- package/dist/client/static/js/r-e247x4mw.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-kwj5padj.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-h8sdx3w5.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-2wmwx246.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-h4cdgw3y.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-q7m0tfd0.js +0 -1
- package/dist/client/static/js/sql-0kar81jy.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-y77g9dq0.js +0 -8
- package/dist/client/static/js/timeline-definition-EJHVYXUP-8a3yqmx0.js +0 -120
- package/dist/client/static/js/treeView-Q6P3EWNA-yv9640h3.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-7kpzjg21.js +0 -1
- package/dist/client/static/js/tsx-gjxfjnbk.js +0 -1
- package/dist/client/static/js/typescript-bm89v3gk.js +0 -1
- package/dist/client/static/js/vennDiagram-UO4OBE2U-gf4y1r3s.js +0 -34
- package/dist/client/static/js/wardley-WFR3VGLG-mggay64p.js +0 -1
- package/dist/client/static/js/xml-b7824nx0.js +0 -1
- package/dist/client/static/js/yaml-kqqktdv1.js +0 -1
- package/src/server/lib/auth/client-address.ts +0 -89
- package/src/server/lib/auth/config.ts +0 -133
- package/src/server/lib/auth/rate-limit.ts +0 -146
- package/src/server/lib/auth/token.ts +0 -220
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
* that changes the list must not look like a fourth section.
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
|
+
import { NavList } from '@kabmo-labs/kabmo-ui/components';
|
|
33
34
|
import type { ForgeList, ForgeProvider, ForgeSection } from '../protocol';
|
|
34
35
|
import { Glyph, ICON } from './Glyph';
|
|
35
36
|
import { countLabel, countTitle, sectionLabel, sectionShort } from './format';
|
|
@@ -52,9 +53,13 @@ const SECTION_ICON: Record<ForgeSection, string> = {
|
|
|
52
53
|
export function Sidebar({ sections, active, list, provider, onSelect }: SidebarProps) {
|
|
53
54
|
return (
|
|
54
55
|
<div className="flex h-full min-h-0 w-full flex-col bg-canvas/40">
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
<NavList
|
|
57
|
+
ariaLabel="Sections"
|
|
58
|
+
orientation="responsive"
|
|
59
|
+
className="min-h-0 flex-1"
|
|
60
|
+
value={active}
|
|
61
|
+
onChange={(next) => onSelect(next as ForgeSection)}
|
|
62
|
+
items={sections.map((section) => {
|
|
58
63
|
const data = list?.sections[section];
|
|
59
64
|
const count = countLabel(data);
|
|
60
65
|
const name = sectionLabel(section, provider);
|
|
@@ -62,41 +67,26 @@ export function Sidebar({ sections, active, list, provider, onSelect }: SidebarP
|
|
|
62
67
|
// label are in the DOM (the breakpoint decides which is drawn), so
|
|
63
68
|
// without this the accessible name concatenates them — measured as
|
|
64
69
|
// `IssuesIssues2+`, which a screen reader reads as two words and a
|
|
65
|
-
// count with no separation.
|
|
66
|
-
// is the reason the row exists.
|
|
70
|
+
// count with no separation.
|
|
67
71
|
const accessibleName = count ? `${name}, ${count} items` : name;
|
|
68
|
-
return
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
className={`flex flex-shrink-0 tap-target cursor-pointer items-center gap-1.5 whitespace-nowrap px-2.5 py-1.5 text-left text-xs transition-colors focus-visible:outline-none ring-inset focus-visible:ring-2 focus-visible:ring-ink/20 @[520px]:w-full @[520px]:whitespace-normal ${
|
|
77
|
-
isActive ? 'bg-ink/8 font-medium text-ink' : 'text-ink/70 hover:bg-ink/5 hover:text-ink'
|
|
78
|
-
}`}
|
|
79
|
-
>
|
|
80
|
-
<Glyph path={SECTION_ICON[section]} size={11} />
|
|
81
|
-
<span aria-hidden="true" className="hidden truncate @[520px]:inline">
|
|
82
|
-
{name}
|
|
83
|
-
</span>
|
|
84
|
-
<span aria-hidden="true" className="@[520px]:hidden">
|
|
85
|
-
{sectionShort(section, provider)}
|
|
86
|
-
</span>
|
|
72
|
+
return {
|
|
73
|
+
value: section,
|
|
74
|
+
label: name,
|
|
75
|
+
shortLabel: sectionShort(section, provider),
|
|
76
|
+
ariaLabel: accessibleName,
|
|
77
|
+
title: name,
|
|
78
|
+
icon: <Glyph path={SECTION_ICON[section]} size={11} />,
|
|
79
|
+
hint: (
|
|
87
80
|
<span
|
|
88
|
-
aria-hidden="true"
|
|
89
81
|
title={countTitle(data)}
|
|
90
|
-
className={`
|
|
91
|
-
data?.failed ? 'text-error-text' : 'text-ink/60'
|
|
92
|
-
}`}
|
|
82
|
+
className={`pl-1 tabular-nums ${data?.failed ? 'text-error-text' : 'text-ink/60'}`}
|
|
93
83
|
>
|
|
94
84
|
{count}
|
|
95
85
|
</span>
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
),
|
|
87
|
+
};
|
|
98
88
|
})}
|
|
99
|
-
|
|
89
|
+
/>
|
|
100
90
|
</div>
|
|
101
91
|
);
|
|
102
92
|
}
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
* and a message that scrolls away is one the reader has to reproduce.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
+
import { Button } from '@kabmo-labs/kabmo-ui/components';
|
|
36
37
|
import { useState } from 'preact/hooks';
|
|
37
38
|
|
|
38
39
|
import type { ForgeCapabilities, ForgeCredential, ForgeItem, ForgeMergeMethod, ForgeWrite } from '../protocol';
|
|
@@ -64,8 +65,6 @@ const MERGE_METHODS: Array<{ value: ForgeMergeMethod; label: string; hint: strin
|
|
|
64
65
|
{ value: 'rebase', label: 'Rebase', hint: 'Replays the commits onto the target, with no merge commit.' },
|
|
65
66
|
];
|
|
66
67
|
|
|
67
|
-
const FOCUS = 'tap-target focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ink/20';
|
|
68
|
-
|
|
69
68
|
/** The sentence a confirmation shows before an irreversible verb runs. */
|
|
70
69
|
export function consequence(item: ForgeItem, pending: Pending, method: ForgeMergeMethod): string {
|
|
71
70
|
if (pending === 'merge') {
|
|
@@ -163,55 +162,52 @@ export function WriteBar({ item, capabilities, write }: WriteProps) {
|
|
|
163
162
|
className="w-full resize-y rounded border border-ink/15 bg-canvas px-2 py-1.5 text-[11px] leading-relaxed text-ink outline-none placeholder-ink/40 focus:border-ink/40"
|
|
164
163
|
/>
|
|
165
164
|
<div className="flex flex-wrap items-center gap-1">
|
|
166
|
-
<
|
|
167
|
-
|
|
165
|
+
<Button
|
|
166
|
+
size="xs"
|
|
168
167
|
onClick={() => void submitComment()}
|
|
169
168
|
disabled={write.pending || body.trim().length === 0}
|
|
170
|
-
|
|
171
|
-
className={`cursor-pointer rounded border border-ink/15 px-2 py-1 text-[10px] text-ink transition-colors hover:bg-ink/5 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
169
|
+
ariaLabel={`Post a comment on ${label}`}
|
|
172
170
|
>
|
|
173
171
|
Comment
|
|
174
|
-
</
|
|
172
|
+
</Button>
|
|
175
173
|
|
|
176
174
|
{caps.review && !closed && (
|
|
177
175
|
<>
|
|
178
176
|
{verdicts.includes('approve') && (
|
|
179
|
-
<
|
|
180
|
-
|
|
177
|
+
<Button
|
|
178
|
+
size="xs"
|
|
181
179
|
onClick={() => setPending('approve')}
|
|
182
180
|
disabled={write.pending}
|
|
183
|
-
|
|
184
|
-
className={`cursor-pointer rounded border border-ink/15 px-2 py-1 text-[10px] text-ink transition-colors hover:bg-ink/5 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
181
|
+
ariaLabel={`Approve ${label}`}
|
|
185
182
|
>
|
|
186
183
|
Approve
|
|
187
|
-
</
|
|
184
|
+
</Button>
|
|
188
185
|
)}
|
|
189
186
|
{verdicts.includes('request_changes') && (
|
|
190
|
-
<
|
|
191
|
-
|
|
187
|
+
<Button
|
|
188
|
+
size="xs"
|
|
192
189
|
onClick={() => setPending('request_changes')}
|
|
193
190
|
disabled={write.pending}
|
|
194
|
-
|
|
195
|
-
className={`cursor-pointer rounded border border-ink/15 px-2 py-1 text-[10px] text-ink transition-colors hover:bg-ink/5 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
191
|
+
ariaLabel={`Request changes on ${label}`}
|
|
196
192
|
>
|
|
197
193
|
Request changes
|
|
198
|
-
</
|
|
194
|
+
</Button>
|
|
199
195
|
)}
|
|
200
196
|
</>
|
|
201
197
|
)}
|
|
202
198
|
|
|
203
199
|
<div className="ml-auto flex items-center gap-1">
|
|
204
200
|
{canMerge && !closed && (
|
|
205
|
-
<
|
|
206
|
-
|
|
201
|
+
<Button
|
|
202
|
+
size="xs"
|
|
203
|
+
variant="primary"
|
|
207
204
|
onClick={() => setPending('merge')}
|
|
208
205
|
disabled={write.pending}
|
|
209
|
-
|
|
210
|
-
className={`flex cursor-pointer items-center gap-1 rounded border border-ink/20 bg-ink px-2 py-1 text-[10px] text-canvas transition-opacity hover:opacity-90 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
206
|
+
ariaLabel={`Merge ${label}`}
|
|
211
207
|
>
|
|
212
208
|
<Glyph path={ICON.merge} size={10} />
|
|
213
209
|
Merge
|
|
214
|
-
</
|
|
210
|
+
</Button>
|
|
215
211
|
)}
|
|
216
212
|
|
|
217
213
|
{/*
|
|
@@ -221,15 +217,14 @@ export function WriteBar({ item, capabilities, write }: WriteProps) {
|
|
|
221
217
|
to anything else that addresses a control by name.
|
|
222
218
|
*/}
|
|
223
219
|
{caps.state && (
|
|
224
|
-
<
|
|
225
|
-
|
|
220
|
+
<Button
|
|
221
|
+
size="xs"
|
|
226
222
|
onClick={() => setPending(closed ? 'reopen' : 'close')}
|
|
227
223
|
disabled={write.pending}
|
|
228
|
-
|
|
229
|
-
className={`cursor-pointer rounded border border-ink/15 px-2 py-1 text-[10px] text-ink transition-colors hover:bg-ink/5 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
224
|
+
ariaLabel={`${closed ? 'Reopen' : 'Close'} ${label}`}
|
|
230
225
|
>
|
|
231
226
|
{closed ? 'Reopen' : 'Close'}
|
|
232
|
-
</
|
|
227
|
+
</Button>
|
|
233
228
|
)}
|
|
234
229
|
</div>
|
|
235
230
|
</div>
|
|
@@ -264,21 +259,12 @@ export function WriteBar({ item, capabilities, write }: WriteProps) {
|
|
|
264
259
|
</div>
|
|
265
260
|
)}
|
|
266
261
|
<div className="flex items-center gap-1">
|
|
267
|
-
<
|
|
268
|
-
type="button"
|
|
269
|
-
onClick={() => void confirm()}
|
|
270
|
-
disabled={write.pending}
|
|
271
|
-
className={`cursor-pointer rounded bg-ink px-2 py-1 text-[10px] text-canvas transition-opacity hover:opacity-90 disabled:cursor-default disabled:opacity-40 ${FOCUS}`}
|
|
272
|
-
>
|
|
262
|
+
<Button size="xs" variant="primary" onClick={() => void confirm()} disabled={write.pending}>
|
|
273
263
|
{CONFIRM_LABEL[pending]}
|
|
274
|
-
</
|
|
275
|
-
<
|
|
276
|
-
type="button"
|
|
277
|
-
onClick={() => setPending(null)}
|
|
278
|
-
className={`cursor-pointer rounded px-2 py-1 text-[10px] text-ink/60 transition-colors hover:text-ink ${FOCUS}`}
|
|
279
|
-
>
|
|
264
|
+
</Button>
|
|
265
|
+
<Button size="xs" onClick={() => setPending(null)}>
|
|
280
266
|
Cancel
|
|
281
|
-
</
|
|
267
|
+
</Button>
|
|
282
268
|
</div>
|
|
283
269
|
</div>
|
|
284
270
|
)}
|
|
@@ -190,7 +190,6 @@ export function ForgePanel(_props: ForgePanelProps) {
|
|
|
190
190
|
<div className="@container flex h-full min-h-0 w-full flex-col bg-paper text-xs text-ink">
|
|
191
191
|
<Header
|
|
192
192
|
scope={repo}
|
|
193
|
-
showHeader={host.showHeader !== false}
|
|
194
193
|
section={section}
|
|
195
194
|
list={list.list}
|
|
196
195
|
provider={provider}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-actions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Monitors a repository's GitHub Actions runs: the list, each run's jobs and steps, job logs, and the cancel/re-run verbs.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"kabmo": {
|
|
8
8
|
"id": "github-actions",
|
|
9
9
|
"name": "Actions",
|
|
10
|
-
"version": "0.
|
|
10
|
+
"version": "0.3.0",
|
|
11
11
|
"description": "Monitors a repository's GitHub Actions runs: the list, each run's jobs and steps, job logs, and the cancel/re-run verbs.",
|
|
12
12
|
"app": "dist/app.js",
|
|
13
13
|
"server": "dist/server.js",
|
|
@@ -23,6 +23,8 @@ export default definePluginApp((app) => {
|
|
|
23
23
|
app.rightPanel({
|
|
24
24
|
id: 'runs',
|
|
25
25
|
title: 'Runs',
|
|
26
|
+
// The host draws the panel's title row; the filter bar is the toolbar.
|
|
27
|
+
chrome: 'host',
|
|
26
28
|
component: ActionsPanel,
|
|
27
29
|
// A run row carries a state mark, a workflow name, a run number, a commit
|
|
28
30
|
// subject and a branch/event/actor line; below this the subject is a
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* an inline two-step, so the panel needs no portal to be honest.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
+
import { Button } from '@kabmo-labs/kabmo-ui/components';
|
|
20
21
|
import { useState } from 'preact/hooks';
|
|
21
22
|
|
|
22
23
|
import type { RunVerb } from '../protocol';
|
|
@@ -70,34 +71,25 @@ export function Actions({ verbs, reason, busy, running, total, onAct }: ActionsP
|
|
|
70
71
|
pending === verb ? (
|
|
71
72
|
<span class="flex items-center gap-1.5" data-confirm={verb}>
|
|
72
73
|
<span class="text-[10.5px] text-ink/65">{consequence(verb)}</span>
|
|
73
|
-
<
|
|
74
|
-
|
|
74
|
+
<Button
|
|
75
|
+
variant="danger"
|
|
76
|
+
size="sm"
|
|
75
77
|
disabled={busy}
|
|
76
78
|
onClick={() => {
|
|
77
79
|
setPending(null);
|
|
78
80
|
onAct(verb);
|
|
79
81
|
}}
|
|
80
|
-
class="rounded border border-error-text/40 px-1.5 py-0.5 text-[10.5px] text-error-text hover:bg-error-text/10 disabled:opacity-50"
|
|
81
82
|
>
|
|
82
83
|
Yes, {LABELS[verb].toLowerCase()}
|
|
83
|
-
</
|
|
84
|
-
<
|
|
85
|
-
type="button"
|
|
86
|
-
onClick={() => setPending(null)}
|
|
87
|
-
class="rounded px-1.5 py-0.5 text-[10.5px] text-ink/60 hover:bg-ink/5"
|
|
88
|
-
>
|
|
84
|
+
</Button>
|
|
85
|
+
<Button size="sm" onClick={() => setPending(null)}>
|
|
89
86
|
Keep
|
|
90
|
-
</
|
|
87
|
+
</Button>
|
|
91
88
|
</span>
|
|
92
89
|
) : (
|
|
93
|
-
<
|
|
94
|
-
type="button"
|
|
95
|
-
disabled={busy}
|
|
96
|
-
onClick={() => setPending(verb)}
|
|
97
|
-
class="rounded border border-ink/15 px-1.5 py-0.5 text-[10.5px] text-ink/70 hover:bg-ink/5 disabled:opacity-50"
|
|
98
|
-
>
|
|
90
|
+
<Button size="sm" disabled={busy} onClick={() => setPending(verb)}>
|
|
99
91
|
{LABELS[verb]}
|
|
100
|
-
</
|
|
92
|
+
</Button>
|
|
101
93
|
),
|
|
102
94
|
)}
|
|
103
95
|
</div>
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* where the visible text does.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
import { Button, RetryButton } from '@kabmo-labs/kabmo-ui/components';
|
|
19
20
|
import type { LogTail } from '../protocol';
|
|
20
21
|
|
|
21
22
|
export interface LogState {
|
|
@@ -44,13 +45,7 @@ export function LogView({ state, onFull, onReload }: LogViewProps) {
|
|
|
44
45
|
return (
|
|
45
46
|
<div class="px-3 py-2">
|
|
46
47
|
<p class="text-[11px] text-error-text">{state.error}</p>
|
|
47
|
-
<
|
|
48
|
-
type="button"
|
|
49
|
-
onClick={onReload}
|
|
50
|
-
class="mt-1 rounded border border-ink/15 px-2 py-0.5 text-[11px] text-ink/70 hover:bg-ink/5"
|
|
51
|
-
>
|
|
52
|
-
Try again
|
|
53
|
-
</button>
|
|
48
|
+
<RetryButton onClick={onReload} />
|
|
54
49
|
</div>
|
|
55
50
|
);
|
|
56
51
|
}
|
|
@@ -60,13 +55,9 @@ export function LogView({ state, onFull, onReload }: LogViewProps) {
|
|
|
60
55
|
<div class="flex items-center gap-2 border-y border-ink/10 bg-canvas/40 px-3 py-1 font-mono text-[10px] text-ink/50">
|
|
61
56
|
<span>{bytesLabel(state.tail.bytes)}</span>
|
|
62
57
|
{state.tail.truncated ? <span>· tail shown</span> : <span>· whole log</span>}
|
|
63
|
-
<
|
|
64
|
-
type="button"
|
|
65
|
-
onClick={onFull}
|
|
66
|
-
class="ml-auto rounded border border-ink/15 px-1.5 py-0.5 text-[10px] text-ink/70 hover:bg-ink/5"
|
|
67
|
-
>
|
|
58
|
+
<Button size="xs" className="ml-auto" onClick={onFull}>
|
|
68
59
|
Whole log
|
|
69
|
-
</
|
|
60
|
+
</Button>
|
|
70
61
|
</div>
|
|
71
62
|
<pre class="max-h-72 overflow-auto whitespace-pre-wrap break-words px-3 py-2 font-mono text-[10.5px] leading-[1.45] text-ink/85">
|
|
72
63
|
{state.tail.text}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* to the person who pressed re-run.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
+
import { ListRow } from '@kabmo-labs/kabmo-ui/components';
|
|
20
21
|
import type { RunRow } from '../protocol';
|
|
21
22
|
import { age, stateClass, stateLabel, stateMark } from './format';
|
|
22
23
|
|
|
@@ -28,12 +29,10 @@ interface RowProps {
|
|
|
28
29
|
export function RunRowView({ run, onOpen }: RowProps) {
|
|
29
30
|
const attempt = run.attempt > 1 ? ` (${run.attempt})` : '';
|
|
30
31
|
return (
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
data-action-row={run.id}
|
|
32
|
+
<ListRow
|
|
33
|
+
data={{ 'data-action-row': String(run.id) }}
|
|
34
34
|
onClick={() => onOpen(run)}
|
|
35
35
|
title={`${stateLabel(run.state)} · ${run.status}${run.conclusion ? ` / ${run.conclusion}` : ''}`}
|
|
36
|
-
class="flex w-full flex-col gap-0.5 border-b border-ink/5 px-3 py-2 text-left hover:bg-ink/[0.03] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ink/20"
|
|
37
36
|
>
|
|
38
37
|
<span class="flex items-center gap-1.5 text-[12px] text-ink">
|
|
39
38
|
<span class={`w-3 flex-shrink-0 font-mono text-[11px] ${stateClass(run.state)}`} aria-hidden="true">
|
|
@@ -54,6 +53,6 @@ export function RunRowView({ run, onOpen }: RowProps) {
|
|
|
54
53
|
<span>·</span>
|
|
55
54
|
<span class="truncate">{run.actor}</span>
|
|
56
55
|
</span>
|
|
57
|
-
</
|
|
56
|
+
</ListRow>
|
|
58
57
|
);
|
|
59
58
|
}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import { useState } from 'preact/hooks';
|
|
21
21
|
import { useRpc } from '@kabmo-labs/kabmo-ui';
|
|
22
|
+
import { Button } from '@kabmo-labs/kabmo-ui/components';
|
|
22
23
|
|
|
23
24
|
import { RPC, type Job, type LogInput, type LogTail, type RunDetail, type RunVerb } from '../protocol';
|
|
24
25
|
import { Actions } from './Actions';
|
|
@@ -80,14 +81,9 @@ export function RunView({
|
|
|
80
81
|
return (
|
|
81
82
|
<div class="flex min-h-0 flex-1 flex-col">
|
|
82
83
|
<div class="flex items-center gap-2 border-b border-ink/10 px-3 py-1.5">
|
|
83
|
-
<
|
|
84
|
-
type="button"
|
|
85
|
-
onClick={onBack}
|
|
86
|
-
data-run-back=""
|
|
87
|
-
class="rounded border border-ink/15 px-1.5 py-0.5 text-[10.5px] text-ink/70 hover:bg-ink/5"
|
|
88
|
-
>
|
|
84
|
+
<Button size="sm" onClick={onBack}>
|
|
89
85
|
← Runs
|
|
90
|
-
</
|
|
86
|
+
</Button>
|
|
91
87
|
<span class={`font-mono text-[11px] ${stateClass(run.state)}`} aria-hidden="true">
|
|
92
88
|
{stateMark(run.state)}
|
|
93
89
|
</span>
|
|
@@ -144,14 +140,11 @@ export function RunView({
|
|
|
144
140
|
<span class="flex-shrink-0 font-mono text-[10px] text-ink/40">
|
|
145
141
|
{duration(job.startedAt, job.completedAt)}
|
|
146
142
|
</span>
|
|
147
|
-
<
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
>
|
|
153
|
-
Log
|
|
154
|
-
</button>
|
|
143
|
+
<span data-job-log={job.id} class="flex-shrink-0">
|
|
144
|
+
<Button size="xs" onClick={() => showLog(job)}>
|
|
145
|
+
Log
|
|
146
|
+
</Button>
|
|
147
|
+
</span>
|
|
155
148
|
</div>
|
|
156
149
|
{openJob === job.id && job.steps.length > 0 ? (
|
|
157
150
|
<ol class="pb-1 pl-8 pr-3">
|
|
@@ -64,7 +64,7 @@ describe('ActionsPanel', () => {
|
|
|
64
64
|
test('a log refusal names the token instead of drawing an empty pane', async () => {
|
|
65
65
|
await mount();
|
|
66
66
|
await clickAndSettle(row(2));
|
|
67
|
-
await clickAndSettle(harness.container?.querySelector('[data-job-log="11"]'));
|
|
67
|
+
await clickAndSettle(harness.container?.querySelector('[data-job-log="11"] button'));
|
|
68
68
|
expect(harness.calls.some((call) => call.method === 'log')).toBe(true);
|
|
69
69
|
expect(harness.container?.textContent).toContain('Job logs need a token');
|
|
70
70
|
});
|
|
@@ -72,7 +72,8 @@ describe('ActionsPanel', () => {
|
|
|
72
72
|
test('a run with no matching filter says what would find one', async () => {
|
|
73
73
|
harness.listOutcome = { ok: true, value: page({ runs: [], total: 0 }) };
|
|
74
74
|
await mount();
|
|
75
|
-
expect(harness.container?.textContent).toContain('
|
|
75
|
+
expect(harness.container?.textContent).toContain('No runs match this filter.');
|
|
76
|
+
expect(harness.container?.textContent).toContain('Clear search');
|
|
76
77
|
});
|
|
77
78
|
|
|
78
79
|
test('the verbs are absent without a token, and the reason is stated', async () => {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
import { useEffect, useRef, useState } from 'preact/hooks';
|
|
24
24
|
import { RepoPicker, usePanelHost, useRepoScope, useRpc, useSessionState } from '@kabmo-labs/kabmo-ui';
|
|
25
|
+
import { Alert, Button, EmptySearch, LoadingOverlay, PanelToolbar, Picker, ResultState } from '@kabmo-labs/kabmo-ui/components';
|
|
25
26
|
|
|
26
27
|
import {
|
|
27
28
|
RPC,
|
|
@@ -147,25 +148,21 @@ export function ActionsPanel() {
|
|
|
147
148
|
};
|
|
148
149
|
|
|
149
150
|
if (!root) {
|
|
150
|
-
return <
|
|
151
|
+
return <ResultState title="No workspace" description="Open a workspace folder to read its Actions runs." />;
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
if (selected !== null) {
|
|
154
155
|
if (detailError) {
|
|
155
156
|
return (
|
|
156
|
-
<
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
>
|
|
163
|
-
← Runs
|
|
164
|
-
</button>
|
|
165
|
-
</div>
|
|
157
|
+
<ResultState
|
|
158
|
+
tone="error"
|
|
159
|
+
title="Could not read the run."
|
|
160
|
+
description={detailError}
|
|
161
|
+
action={<Button size="xs" onClick={() => setSelected(null)}>← Runs</Button>}
|
|
162
|
+
/>
|
|
166
163
|
);
|
|
167
164
|
}
|
|
168
|
-
if (!detail) return <
|
|
165
|
+
if (!detail) return <LoadingOverlay label="Reading the run…" />;
|
|
169
166
|
return (
|
|
170
167
|
<RunView
|
|
171
168
|
detail={detail}
|
|
@@ -183,7 +180,7 @@ export function ActionsPanel() {
|
|
|
183
180
|
|
|
184
181
|
return (
|
|
185
182
|
<div class="flex min-h-0 h-full flex-col">
|
|
186
|
-
<
|
|
183
|
+
<PanelToolbar wrap>
|
|
187
184
|
{/* The SHARED picker, not a copy: a repo chosen here moves Files, Search,
|
|
188
185
|
Source Control, Terminal and Forge, and theirs moves this one. */}
|
|
189
186
|
<RepoPicker scope={scope} className="max-w-[50%]" />
|
|
@@ -200,44 +197,41 @@ export function ActionsPanel() {
|
|
|
200
197
|
}}
|
|
201
198
|
class="w-24 rounded border border-ink/15 bg-transparent px-1.5 py-0.5 font-mono text-[10.5px] text-ink placeholder:text-ink/35 focus:border-ink/30 focus:outline-none"
|
|
202
199
|
/>
|
|
203
|
-
<
|
|
200
|
+
<Picker
|
|
204
201
|
value={filter.status}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
{
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</option>
|
|
213
|
-
))}
|
|
214
|
-
</select>
|
|
202
|
+
options={STATUSES}
|
|
203
|
+
placeholder="All states"
|
|
204
|
+
ariaLabel="State"
|
|
205
|
+
searchable={false}
|
|
206
|
+
allowEmpty={false}
|
|
207
|
+
onChange={(value) => setFilter({ ...filter, status: value })}
|
|
208
|
+
/>
|
|
215
209
|
<span class="font-mono text-[10px] text-ink/40">
|
|
216
210
|
{page ? `${page.runs.length}${page.total !== null ? `/${page.total}` : ''}` : ''}
|
|
217
211
|
</span>
|
|
218
|
-
<
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
>
|
|
223
|
-
|
|
224
|
-
</button>
|
|
225
|
-
</div>
|
|
212
|
+
<div class="ml-auto">
|
|
213
|
+
<Button size="xs" onClick={readList}>
|
|
214
|
+
Refresh
|
|
215
|
+
</Button>
|
|
216
|
+
</div>
|
|
217
|
+
</PanelToolbar>
|
|
226
218
|
|
|
227
219
|
{page?.notes.map((note) => (
|
|
228
220
|
<p key={note} class="border-b border-ink/5 bg-canvas/40 px-3 py-1 text-[10.5px] text-ink/55">
|
|
229
221
|
{note}
|
|
230
222
|
</p>
|
|
231
223
|
))}
|
|
232
|
-
{error ? <
|
|
224
|
+
{error ? <Alert tone="error">{error}</Alert> : null}
|
|
233
225
|
|
|
234
226
|
<div class="min-h-0 flex-1 overflow-auto">
|
|
235
227
|
{loading && !page ? (
|
|
236
|
-
<
|
|
228
|
+
<LoadingOverlay label="Reading runs…" />
|
|
237
229
|
) : page && page.runs.length === 0 && !error ? (
|
|
238
|
-
<
|
|
239
|
-
|
|
240
|
-
|
|
230
|
+
<EmptySearch
|
|
231
|
+
query={[filter.branch, filter.status].filter(Boolean).join(' ')}
|
|
232
|
+
message="No runs match this filter."
|
|
233
|
+
onClear={() => setFilter(NO_FILTER)}
|
|
234
|
+
/>
|
|
241
235
|
) : (
|
|
242
236
|
page?.runs.map((row) => <RunRowView key={row.id} run={row} onOpen={(runRow) => setSelected(runRow.id)} />)
|
|
243
237
|
)}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kanban",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "A board that drives work: cards carry a prompt, an agent and a stage, and an agent can move its own cards through MCP.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"kabmo": {
|
|
8
8
|
"id": "kanban",
|
|
9
9
|
"name": "Kanban",
|
|
10
|
-
"version": "0.
|
|
10
|
+
"version": "0.2.0",
|
|
11
11
|
"description": "A board that drives work: cards carry a prompt, an agent and a stage, and an agent can move its own cards through MCP.",
|
|
12
12
|
"app": "dist/app.js",
|
|
13
13
|
"server": "dist/server.js",
|
|
@@ -27,6 +27,8 @@ export default definePluginApp((app) => {
|
|
|
27
27
|
id: 'board',
|
|
28
28
|
title: 'Kanban',
|
|
29
29
|
component: KanbanPanel,
|
|
30
|
+
// The host draws the panel's title row; the board owns its toolbar.
|
|
31
|
+
chrome: 'host',
|
|
30
32
|
// A lane is 200 px and a card needs ~180 of it; below this the board is one
|
|
31
33
|
// lane and a scrollbar, which is what the phone gets anyway.
|
|
32
34
|
minWidth: 420,
|