@kabmo-labs/kabmo 0.45.1 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +412 -412
- package/dist/client/static/js/{CsvGrid-eqmctwyq.js → CsvGrid-qdkmv8bj.js} +2 -2
- package/dist/client/static/js/{DocxView-rjrshmzf.js → DocxView-k84ns803.js} +3 -3
- package/dist/client/static/js/{DrawioView-za569srw.js → DrawioView-r1n717f7.js} +2 -2
- package/dist/client/static/js/ImageView-jkrdrq8v.js +1 -0
- package/dist/client/static/js/LayoutWrapper-sh634350.js +2 -0
- package/dist/client/static/js/Modal-xe6h99jn.js +59 -0
- package/dist/client/static/js/{PdfView-2m78d4jz.js → PdfView-ffg4mccg.js} +1 -1
- package/dist/client/static/js/{SessionsView-54awmse0.js → SessionsView-cdcbsee9.js} +1 -1
- package/dist/client/static/js/{SheetView-xfvjdh24.js → SheetView-89sscpz6.js} +19 -19
- package/dist/client/static/js/{SvgPreview-yfjrfb40.js → SvgPreview-68c0ccbv.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-tmsa3b36.js → abnfDiagram-O67JEVCF-h3a5s259.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-pvb4d65d.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-a5effrpz.js → architectureDiagram-NJMV4G6O-983p0jgn.js} +3 -3
- package/dist/client/static/js/{astro-56b0as3q.js → astro-hyj5wege.js} +1 -1
- package/dist/client/static/js/bash-8d8z8zrg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-3q2kf22c.js → blockDiagram-BEXU5L5S-16pse5mh.js} +5 -5
- package/dist/client/static/js/c-acmn1zc9.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-mkw3jvf6.js → c4Diagram-YGBWAQC7-mvnb00zt.js} +3 -3
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-fw9bs1za.js → classDiagram-v2-NBCMYWYE-kmpd91xb.js} +7 -7
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-eqjrpps4.js → cose-bilkent-JH36ORCC-3ek5r5se.js} +1 -1
- package/dist/client/static/js/cpp-620mvjkk.js +1 -0
- package/dist/client/static/js/css-bt76kxbq.js +1 -0
- package/dist/client/static/js/css-drfs4n12.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-gmx4vean.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-4w61hq3e.js → cynefinDiagram-VND7K2PF-jkbh84zn.js} +1 -1
- package/dist/client/static/js/{dagre-6A5THRUB-t52jdfr1.js → dagre-6A5THRUB-4fdc0sgn.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-448hyxaz.js → diagram-22UHCM2B-hbk61nq9.js} +18 -18
- package/dist/client/static/js/{diagram-3UASUU5V-350k213a.js → diagram-3UASUU5V-hfpbr9qh.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-9davjeyb.js → diagram-ATOU4E4O-fn0nt71a.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-034wwghk.js → diagram-CDSNMT55-ssswxjeb.js} +4 -4
- package/dist/client/static/js/{diagram-MLGK6HIB-kzzd4ecm.js → diagram-MLGK6HIB-whnzxv6f.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-rsky4e3s.js → diagram-MPIPVDR6-hk1chzxk.js} +2 -2
- package/dist/client/static/js/{dockerfile-68b0e6b6.js → dockerfile-zmsj8r4g.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-7bm1e394.js → ebnfDiagram-ZINNZB2B-q1vkg5mr.js} +1 -1
- package/dist/client/static/js/{elixir-12pgbgtq.js → elixir-80wq7gak.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-4xjp4rgh.js → elk-276RUBZZ-kt98vg8j.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-v52qmcrv.js → erDiagram-OPXOYQCR-ey3avsn9.js} +9 -9
- package/dist/client/static/js/{erlang-811btv6p.js → erlang-814e8qy5.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-vrnheyh7.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-7gvtpn3d.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-1r1fn18p.js → ganttDiagram-FUAMR5RP-a9k1at43.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-n6wnc8st.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-zt5cwg83.js → gitGraphDiagram-X574FWY7-gnekjfym.js} +13 -13
- package/dist/client/static/js/graphql-j1a6zp7m.js +1 -0
- package/dist/client/static/js/html-m0megrvb.js +1 -0
- package/dist/client/static/js/{index-qt9jc4ck.js → index-19x11s5w.js} +2 -2
- package/dist/client/static/js/{index-0gmw2bt3.js → index-1ax52p0q.js} +2 -2
- package/dist/client/static/js/{index-2b1wnvez.js → index-1c2jvnyh.js} +2 -2
- package/dist/client/static/js/index-2a6qp9y6.js +2 -0
- package/dist/client/static/js/{index-gcwmpfr4.js → index-2ks0m8ss.js} +2 -2
- package/dist/client/static/js/{index-pfj3sd1n.js → index-33qxg79j.js} +7 -7
- package/dist/client/static/js/{index-bcpyxt97.js → index-3x7h2eqj.js} +2 -2
- package/dist/client/static/js/{index-q36gq3yz.js → index-4cag7w6k.js} +198 -198
- package/dist/client/static/js/{index-03j5j1j0.js → index-561gkvve.js} +2 -2
- package/dist/client/static/js/{index-m9s7r4z9.js → index-5ka2tyf9.js} +3 -3
- package/dist/client/static/js/{index-f51jxezc.js → index-5wz0y88c.js} +2 -2
- package/dist/client/static/js/{index-frqq7yen.js → index-60v30k5h.js} +64 -64
- package/dist/client/static/js/{index-x2wvq4ae.js → index-64sqfr4a.js} +2 -2
- package/dist/client/static/js/{index-xgv501v0.js → index-65afr75v.js} +2 -2
- package/dist/client/static/js/index-83rkg916.js +2 -0
- package/dist/client/static/js/{index-ga6492qc.js → index-84fyq5a6.js} +1 -1
- package/dist/client/static/js/{index-2tmnqqzt.js → index-8g7q8mz4.js} +3 -3
- package/dist/client/static/js/{index-mnh8nptt.js → index-9vv7wr1n.js} +2 -2
- package/dist/client/static/js/{index-gzafyqsr.js → index-abs635a1.js} +56 -56
- package/dist/client/static/js/{index-j50y0z44.js → index-amsa0tfs.js} +1 -1
- package/dist/client/static/js/index-atq9q1s7.js +1 -0
- package/dist/client/static/js/{index-8ps5gdwz.js → index-b2e5pwx7.js} +5 -5
- package/dist/client/static/js/{index-cza9mnxx.js → index-b5dfvget.js} +6 -6
- package/dist/client/static/js/{index-zwx3vbf0.js → index-bsr7wmj2.js} +1 -1
- package/dist/client/static/js/{index-ex3w7t7s.js → index-c9e417cs.js} +2 -2
- package/dist/client/static/js/{index-fbct0jcf.js → index-d23eacf2.js} +2 -2
- package/dist/client/static/js/{index-wqrdgt1g.js → index-dn7hg4em.js} +2 -2
- package/dist/client/static/js/index-dpy3ewrn.css +1 -0
- package/dist/client/static/js/index-dt6q3rws.js +12 -0
- package/dist/client/static/js/{index-3h2mr90j.js → index-dxvtjn6a.js} +2 -2
- package/dist/client/static/js/{index-127se1a3.js → index-e9cxje00.js} +19 -19
- package/dist/client/static/js/{index-6sqmhdyv.js → index-fj5rsp5v.js} +2 -2
- package/dist/client/static/js/{index-c7vbr57m.js → index-fzngzhww.js} +2 -2
- package/dist/client/static/js/{index-n1ga63de.js → index-g7s0wsag.js} +2 -2
- package/dist/client/static/js/{index-x0kgnkv3.js → index-hgzntg2j.js} +2 -2
- package/dist/client/static/js/{index-jaqjvk22.js → index-hkz2mz34.js} +2 -2
- package/dist/client/static/js/{index-gzp4j2h5.js → index-hnb66d3s.js} +2 -2
- package/dist/client/static/js/{index-9zwtpazh.js → index-kb14dhrx.js} +2 -2
- package/dist/client/static/js/{index-snjtkfkq.js → index-kbhrvep8.js} +6 -6
- package/dist/client/static/js/{index-vgcm2g0g.js → index-kty4ncsr.js} +2 -2
- package/dist/client/static/js/index-m4k054wz.js +4 -0
- package/dist/client/static/js/{index-pxq4v81r.js → index-nw5mvcaj.js} +2 -2
- package/dist/client/static/js/index-pavvxrsz.js +1 -0
- package/dist/client/static/js/index-q9ytjey8.js +1 -0
- package/dist/client/static/js/{index-8dtp7mt0.js → index-qf3y3ahx.js} +2 -2
- package/dist/client/static/js/{index-as1wptfa.js → index-qfxn7yh5.js} +2 -2
- package/dist/client/static/js/{index-e6any867.js → index-sa1675y0.js} +2 -2
- package/dist/client/static/js/{index-ehg2ftnp.js → index-trvqvb1v.js} +2 -2
- package/dist/client/static/js/{index-1nwwvv29.js → index-vjmg7kn5.js} +2 -2
- package/dist/client/static/js/index-vkqb4dnt.js +1 -0
- package/dist/client/static/js/{index-nzhwd6t3.js → index-wbws16ag.js} +2 -2
- package/dist/client/static/js/{index-528x5x8c.js → index-wrcdc9vz.js} +1 -1
- package/dist/client/static/js/{index-2zntn964.js → index-x9r7zfp4.js} +2 -2
- package/dist/client/static/js/{index-mhnwyra0.js → index-xq5f3nxa.js} +2 -2
- package/dist/client/static/js/index-xwjbq003.js +2 -0
- package/dist/client/static/js/{index-2gbfke1a.js → index-yf93db65.js} +1 -1
- package/dist/client/static/js/{index-tkfxnnr5.js → index-ykm7a3cp.js} +2 -2
- package/dist/client/static/js/{index-t0yv1375.js → index-z0fkfphe.js} +2 -2
- package/dist/client/static/js/{index-84vmdg3k.js → index-z25ss7xj.js} +1 -1
- package/dist/client/static/js/{index-dmv2zasz.js → index-z4530r3c.js} +2 -2
- package/dist/client/static/js/info-A6RAGUB7-1xtdxjz2.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-yd4zwrtv.js → infoDiagram-VRGFBTTK-r1p25738.js} +2 -2
- package/dist/client/static/js/ini-5f4zqtqr.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-7sjp09d4.js → ishikawaDiagram-OU5B5YK6-afgrqdrt.js} +3 -3
- package/dist/client/static/js/java-jj41mty3.js +1 -0
- package/dist/client/static/js/javascript-n9w9p97f.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-qh9jk7qk.js → journeyDiagram-ZHPQQLJL-hepa4wk7.js} +5 -5
- package/dist/client/static/js/json-rnh2h17x.js +1 -0
- package/dist/client/static/js/jsx-4gecrt29.js +1 -0
- package/dist/client/static/js/{julia-mgsev9df.js → julia-yv2j8qd0.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-cjc8k0jk.js → kanban-definition-PNTS6WVX-jysft8ya.js} +5 -5
- package/dist/client/static/js/lua-zszaw2f7.js +1 -0
- package/dist/client/static/js/markdown-nm6gw4v4.js +1 -0
- package/dist/client/static/js/{mermaid.core-vw0b7r0k.js → mermaid.core-0m90b0s8.js} +7 -7
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-jyhtpt1z.js → mindmap-definition-NLK3R4M7-x2rrzpvr.js} +8 -8
- package/dist/client/static/js/one-dark-pro-09d8p5vy.js +1 -0
- package/dist/client/static/js/one-light-g3ednt6p.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-zm1r82x5.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-80ygdd29.js → pegDiagram-GJSIUBJH-z7vb7f1z.js} +1 -1
- package/dist/client/static/js/{perl-6n93vjsa.js → perl-917pjq5a.js} +1 -1
- package/dist/client/static/js/{php-w23nmbtc.js → php-hwz75qzt.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-sqa7321j.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6vgh7ntn.js → pieDiagram-5QR66LMP-jqv6v4e6.js} +3 -3
- package/dist/client/static/js/properties-rkptax7r.js +1 -0
- package/dist/client/static/js/python-qf1se1mj.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-k5byajmm.js → quadrantDiagram-O4NWA36T-w2h8yxrv.js} +6 -6
- package/dist/client/static/js/r-ms0cygq2.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-z3z82syp.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-z6swcqq2.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-33km6py4.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-1zbf1xmq.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-wte1xzzy.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-qffrkk7g.js → railroadDiagram-XR7U4H2S-nd09yac3.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-r80w7tdp.js → requirementDiagram-PLB6GJNP-t61zxh5v.js} +10 -10
- package/dist/client/static/js/{ruby-ag3b3t9t.js → ruby-er7ayhte.js} +1 -1
- package/dist/client/static/js/{rust-a9jcfy2e.js → rust-avnkhh0p.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-g9qdy74b.js → sankeyDiagram-IPEJSGJF-2f7h2cmw.js} +4 -4
- package/dist/client/static/js/{sass-x0eez0kp.js → sass-n47tt136.js} +1 -1
- package/dist/client/static/js/{scss-qycakpjn.js → scss-kvev49ga.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-nywg1eq3.js → sequenceDiagram-PO4LG4MO-kfb5d7zd.js} +19 -19
- package/dist/client/static/js/{sizeCapture-INFHLROL-m5pks027.js → sizeCapture-INFHLROL-amfg19se.js} +1 -1
- package/dist/client/static/js/sql-hd42h8wx.js +1 -0
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-xzzv780w.js → stateDiagram-v2-GCMORJYK-k5hx7btx.js} +3 -3
- package/dist/client/static/js/{svelte-tg19by0f.js → svelte-2pmz35vx.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-n4q5ad13.js → swimlanes-2SLR337P-wv3rp8kk.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-6y8zdbm4.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-j9pde7sa.js → timeline-definition-EJHVYXUP-0re95wtn.js} +6 -6
- package/dist/client/static/js/treeView-Q6P3EWNA-pvgx6n22.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-3n9zm628.js +1 -0
- package/dist/client/static/js/tsx-gx7td06z.js +1 -0
- package/dist/client/static/js/typescript-1a808spn.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-ehnc0600.js → usecaseDiagram-POWQR4AR-yrje14qp.js} +44 -44
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-cp4kj6kw.js → vennDiagram-UO4OBE2U-jxkmrfy5.js} +7 -7
- package/dist/client/static/js/{vue-mhj4sme0.js → vue-d5gpjfgn.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-7m07ewc4.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-eegf1jpw.js → wardleyDiagram-VNRHLVJA-d3v2m9b1.js} +3 -3
- package/dist/client/static/js/xml-3117mxd9.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-zkkqfyex.js → xychartDiagram-PMCCYNJV-9a1s1rjt.js} +5 -5
- package/dist/client/static/js/yaml-dmvh8vyt.js +1 -0
- package/extensions/kabmo-modes/index.ts +1 -1
- package/extensions/kabmo-modes/parked.test.ts +2 -2
- package/extensions/kabmo-modes/parked.ts +10 -9
- package/extensions/kabmo-modes/plan.test.ts +4 -4
- package/extensions/kabmo-modes/plan.ts +6 -6
- package/extensions/kabmo-modes/session.ts +2 -2
- package/package.json +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/Modal.tsx +8 -3
- package/src/client/components/common/NotificationPermissionDialog.test.tsx +8 -3
- package/src/client/components/common/NotificationPermissionDialog.tsx +7 -9
- package/src/client/components/common/PWAInstallButton.tsx +1 -1
- package/src/client/components/common/header-panel-buttons/index.tsx +5 -1
- package/src/client/components/common/shell-update-button/Modal.tsx +31 -36
- package/src/client/components/common/shell-update-button/index.test.tsx +5 -2
- package/src/client/components/layout/desktop-layout/LeftColumn.tsx +16 -0
- package/src/client/components/layout/desktop-layout/RightColumn.test.tsx +204 -0
- package/src/client/components/layout/desktop-layout/RightColumn.tsx +52 -15
- package/src/client/components/layout/session-sidebar/OverflowMenu.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +4 -6
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/mobile/LayoutWrapper.tsx +9 -43
- package/src/client/components/mobile/RightSidebar.tsx +31 -12
- package/src/client/components/mobile/SessionSidebar.tsx +112 -137
- package/src/client/components/mobile/drawer-strip.tsx +85 -0
- package/src/client/components/mobile/left-drawer-nav.test.tsx +350 -0
- package/src/client/components/mobile/mobile-drawer-reveals.test.tsx +194 -0
- package/src/client/components/mobile/mobile-drawer-reveals.ts +138 -0
- package/src/client/components/mobile/mobile-main-view/Header.tsx +12 -24
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +57 -0
- package/src/client/components/mobile/mobile-right-sidebar/Chrome.tsx +14 -87
- package/src/client/components/mobile/mobile-right-sidebar/FullDiff.tsx +2 -7
- package/src/client/components/mobile/mobile-right-sidebar/Header.test.tsx +157 -0
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +109 -105
- package/src/client/components/mobile/mobile-right-sidebar/OutlineButton.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Overflow.tsx +95 -0
- package/src/client/components/mobile/mobile-session-sidebar/Body.tsx +212 -0
- package/src/client/components/mobile/mobile-session-sidebar/Header.tsx +7 -9
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/use-dock.ts +29 -8
- package/src/client/components/mobile/mobile-session-sidebar/use-drawer-tabs.ts +97 -0
- package/src/client/components/settings/Band.test.tsx +83 -0
- package/src/client/components/settings/Band.tsx +96 -0
- package/src/client/components/settings/Modal.tsx +44 -69
- package/src/client/components/settings/apply-side-effects.ts +15 -4
- package/src/client/components/settings/band-height.test.tsx +16 -3
- package/src/client/components/settings/categories/AppearanceSettings.test.tsx +35 -9
- package/src/client/components/settings/categories/AppearanceSettings.tsx +2 -0
- package/src/client/components/settings/categories/ChatSettings.test.tsx +32 -9
- package/src/client/components/settings/categories/ChatSettings.tsx +2 -0
- package/src/client/components/settings/categories/NotificationSettings.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/PanelNavSection.tsx +40 -223
- package/src/client/components/settings/categories/appearance-settings/nav-choice.tsx +176 -0
- package/src/client/components/settings/categories/appearance-settings/nav-miniatures.tsx +93 -0
- package/src/client/components/settings/categories/connect-settings/PairDialog.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/notification-settings/PermissionNotice.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +1 -1
- package/src/client/components/settings/drill.tsx +113 -0
- package/src/client/components/settings/master-detail/GroupDetail.tsx +14 -6
- package/src/client/components/settings/master-detail/GroupSidebar.tsx +9 -1
- package/src/client/components/settings/master-detail/index.tsx +45 -25
- package/src/client/components/workspace/chat-timeline/MessageList.test.ts +11 -0
- package/src/client/components/workspace/chat-timeline/MessageList.tsx +29 -21
- package/src/client/components/workspace/chat-timeline/MobileTurnJump.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/NewChatModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +4 -0
- package/src/client/components/workspace/chat-timeline/ToolCallingSection.test.ts +23 -6
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +19 -2
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/index.tsx +5 -9
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.test.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.test.tsx +127 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +225 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.test.tsx +5 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/PluginPendingInteractions.test.ts +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +4 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +40 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/Footer.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/index.tsx +5 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +8 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +5 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +16 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +16 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/registry.ts +37 -12
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/card-header.ts +4 -3
- package/src/client/components/workspace/diff-panel/index.tsx +1 -1
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/Modals.tsx +4 -4
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/CloseButton.tsx +38 -0
- package/src/client/components/workspace/model-dropdown/Fullscreen.tsx +16 -25
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +30 -9
- package/src/client/components/workspace/model-dropdown/Header.tsx +33 -21
- package/src/client/components/workspace/model-dropdown/Panel.tsx +19 -4
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +139 -0
- package/src/client/components/workspace/model-dropdown/placement.test.tsx +9 -7
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/NavModal.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +103 -42
- package/src/client/hooks/chat/timeline/ask-form-frame.ts +33 -0
- package/src/client/hooks/chat/timeline/ask-frame-asks.ts +68 -0
- package/src/client/hooks/chat/timeline/ask-frame-buckets.ts +77 -0
- package/src/client/hooks/chat/timeline/ask-frames-context.ts +68 -0
- package/src/client/hooks/chat/timeline/ask-frames-form.test.ts +170 -0
- package/src/client/hooks/chat/timeline/ask-frames.test.ts +1 -1
- package/src/client/hooks/chat/timeline/ask-frames.ts +36 -93
- package/src/client/hooks/chat/timeline/row-measure.ts +75 -0
- package/src/client/hooks/chat/timeline/row-window.test.ts +41 -21
- package/src/client/hooks/chat/timeline/row-window.ts +6 -24
- package/src/client/hooks/workspace/left-dock.ts +19 -0
- package/src/client/hooks/workspace/mobile-panel-nav.ts +90 -0
- package/src/client/hooks/workspace/panel-nav.test.ts +42 -21
- package/src/client/hooks/workspace/panel-tabs-reveal.test.tsx +286 -0
- package/src/client/hooks/workspace/panel-tabs-reveal.ts +174 -0
- package/src/client/hooks/workspace/panel-tabs.ts +22 -4
- package/src/client/hooks/workspace/session-state/index.test.tsx +145 -0
- package/src/client/hooks/workspace/session-state/index.ts +28 -16
- package/src/client/lib/ui/phone-row.test.ts +52 -0
- package/src/client/lib/ui/phone-row.ts +71 -0
- package/src/client/press-state.test.ts +179 -0
- package/src/client/tailwind.css +146 -0
- package/src/server/lib/bundler/titlebar-css.test.ts +10 -1
- package/src/server/lib/omp/rpc/constants.test.ts +6 -1
- package/src/shared/lib/chat/ask-form/data.ts +155 -0
- package/src/shared/lib/chat/ask-form/fields.ts +4 -0
- package/src/shared/lib/chat/ask-form/index.ts +8 -0
- package/src/shared/lib/chat/ask-form/types.ts +12 -0
- package/src/shared/lib/chat/timeline/tool-verbs.ts +28 -1
- package/src/shared/lib/chat/tool/tool-commands.test.ts +102 -0
- package/src/shared/lib/chat/tool/tool-commands.ts +124 -0
- package/src/shared/lib/omp/config/schema-releases.test.ts +34 -1
- package/src/shared/lib/omp/dialog-methods.ts +6 -0
- package/src/shared/lib/omp/session/wait-idle.ts +7 -3
- package/src/shared/lib/settings/defaults.ts +3 -2
- package/src/shared/lib/workspace/panel-nav.test.ts +26 -19
- package/src/shared/lib/workspace/panel-nav.ts +20 -9
- package/src/shared/types/omp/agent.ts +20 -3
- package/src/shared/types/settings/state.ts +17 -5
- package/dist/client/static/js/ImageView-6ksvyzqv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-px60417t.js +0 -2
- package/dist/client/static/js/Modal-yv1718s1.js +0 -59
- package/dist/client/static/js/architecture-7GRP2DOG-bch3nye9.js +0 -1
- package/dist/client/static/js/bash-mevzaywf.js +0 -1
- package/dist/client/static/js/c-y1y6v00q.js +0 -1
- package/dist/client/static/js/cpp-wk9z0c5g.js +0 -1
- package/dist/client/static/js/css-3w3p9s67.js +0 -1
- package/dist/client/static/js/css-g85rwzty.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-vqy5jtnk.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-65ph4s3m.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-hekt0qsb.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-t45ekjb6.js +0 -1
- package/dist/client/static/js/graphql-027z8sc0.js +0 -1
- package/dist/client/static/js/html-fqda6wxx.js +0 -1
- package/dist/client/static/js/index-252br0k2.js +0 -1
- package/dist/client/static/js/index-6bm4pw90.css +0 -1
- package/dist/client/static/js/index-80qxk9hx.js +0 -1
- package/dist/client/static/js/index-9674dxb4.js +0 -1
- package/dist/client/static/js/index-9k4121z4.js +0 -4
- package/dist/client/static/js/index-b6454rme.js +0 -12
- package/dist/client/static/js/index-ck0fd3aj.js +0 -2
- package/dist/client/static/js/index-jdf1tks1.js +0 -2
- package/dist/client/static/js/index-q58e8x6j.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-mw29xbwf.js +0 -1
- package/dist/client/static/js/ini-3cx6tmv4.js +0 -1
- package/dist/client/static/js/java-zs6qh1dm.js +0 -1
- package/dist/client/static/js/javascript-b9mkygak.js +0 -1
- package/dist/client/static/js/json-qn73s8xb.js +0 -1
- package/dist/client/static/js/jsx-gahhfczw.js +0 -1
- package/dist/client/static/js/lua-d8enp14s.js +0 -1
- package/dist/client/static/js/markdown-qetaj4vp.js +0 -1
- package/dist/client/static/js/one-dark-pro-axkq0m3s.js +0 -1
- package/dist/client/static/js/one-light-pncb08qd.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-md85wpjq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-4grcqnp8.js +0 -1
- package/dist/client/static/js/properties-g6tpq003.js +0 -1
- package/dist/client/static/js/python-cy06fzhg.js +0 -1
- package/dist/client/static/js/r-vw8berfv.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-7j9prhg1.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-g8x2jps1.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-cbg7k68h.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-xfvjk9f8.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-7w97805z.js +0 -1
- package/dist/client/static/js/sql-bwnasywx.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-253nz20y.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-xhf1r6c3.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-4n3j7ekq.js +0 -1
- package/dist/client/static/js/tsx-3dzv8h6k.js +0 -1
- package/dist/client/static/js/typescript-44vs0wn4.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-fb0py35r.js +0 -1
- package/dist/client/static/js/xml-yvv5fn3k.js +0 -1
- package/dist/client/static/js/yaml-avewh7n5.js +0 -1
- package/src/client/hooks/workspace/mobile-right-panel-nav.ts +0 -63
- package/src/shared/lib/ui/safe-area.test.ts +0 -28
- package/src/shared/lib/ui/safe-area.ts +0 -42
|
@@ -82,49 +82,44 @@ export function ShellUpdateModal({ download, phase, message, onConfirm, onClose
|
|
|
82
82
|
onClose={onClose}
|
|
83
83
|
maxWidthClass="max-w-sm"
|
|
84
84
|
header={<h2 className="text-sm font-semibold text-ink">{label}</h2>}
|
|
85
|
+
// ONE dismissal: `Modal`'s named close is the way out, exactly as in the
|
|
86
|
+
// notification dialog. The footer used to repeat it as a "Close" button in
|
|
87
|
+
// the `done` and `error` phases, both running the same `onClose` — two
|
|
88
|
+
// controls for one action, and two buttons a screen reader (or a strict
|
|
89
|
+
// locator) cannot tell apart. The footer keeps only the ACTIONS.
|
|
85
90
|
footer={
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
{phase === 'working' && (
|
|
100
|
-
<button type="button" className={PRIMARY} disabled>
|
|
101
|
-
<Loader2 size={13} className="animate-spin motion-reduce:animate-none" />
|
|
102
|
-
<span>Installing…</span>
|
|
103
|
-
</button>
|
|
104
|
-
)}
|
|
105
|
-
|
|
106
|
-
{phase === 'done' && (
|
|
107
|
-
<button type="button" className={PRIMARY} onClick={onClose}>
|
|
108
|
-
<Check size={13} />
|
|
109
|
-
<span>Close</span>
|
|
110
|
-
</button>
|
|
111
|
-
)}
|
|
91
|
+
phase === 'done' ? undefined : (
|
|
92
|
+
<div className="flex items-center justify-end gap-2 px-5 pb-4">
|
|
93
|
+
{phase === 'confirm' && (
|
|
94
|
+
<>
|
|
95
|
+
<button type="button" className={SECONDARY} onClick={onClose}>
|
|
96
|
+
Cancel
|
|
97
|
+
</button>
|
|
98
|
+
<button type="button" className={PRIMARY} onClick={onConfirm}>
|
|
99
|
+
<Download size={13} />
|
|
100
|
+
<span>Install update</span>
|
|
101
|
+
</button>
|
|
102
|
+
</>
|
|
103
|
+
)}
|
|
112
104
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
{phase === 'working' && (
|
|
106
|
+
<button type="button" className={PRIMARY} disabled>
|
|
107
|
+
<Loader2 size={13} className="animate-spin motion-reduce:animate-none" />
|
|
108
|
+
<span>Installing…</span>
|
|
117
109
|
</button>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
)}
|
|
111
|
+
|
|
112
|
+
{phase === 'error' && (
|
|
113
|
+
// Retry re-runs the SAME offer: the release is still the one the
|
|
114
|
+
// console read, and a failure here is the shell's download or its
|
|
115
|
+
// verification, not a stale version.
|
|
121
116
|
<button type="button" className={PRIMARY} onClick={onConfirm}>
|
|
122
117
|
<Download size={13} />
|
|
123
118
|
<span>Try again</span>
|
|
124
119
|
</button>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
)}
|
|
121
|
+
</div>
|
|
122
|
+
)
|
|
128
123
|
}
|
|
129
124
|
>
|
|
130
125
|
<div className="px-5 py-4 space-y-3 text-[11px] leading-5 text-ink/70">
|
|
@@ -174,7 +174,10 @@ describe('a shell that can install its own update', () => {
|
|
|
174
174
|
|
|
175
175
|
expect(dialog()?.textContent).toContain('The downloaded file is not a signed Kabmo build.');
|
|
176
176
|
expect(buttonByText('Try again')).not.toBeNull();
|
|
177
|
-
|
|
177
|
+
// ONE dismissal: the shell's named close. A footer "Close" beside it was a
|
|
178
|
+
// second control for the same action (and made a role/name locator ambiguous).
|
|
179
|
+
expect(buttonByText('Close')).toBeNull();
|
|
180
|
+
expect(byName('Close')).not.toBeNull();
|
|
178
181
|
});
|
|
179
182
|
|
|
180
183
|
test('closing after a failure, then reopening, starts at the confirmation again', async () => {
|
|
@@ -184,7 +187,7 @@ describe('a shell that can install its own update', () => {
|
|
|
184
187
|
await mount(DESKTOP);
|
|
185
188
|
await click(byName('Update Kabmo 0.3.2 for macOS'));
|
|
186
189
|
await click(buttonByText('Install update'));
|
|
187
|
-
await click(
|
|
190
|
+
await click(byName('Close'));
|
|
188
191
|
expect(dialog()).toBeNull();
|
|
189
192
|
|
|
190
193
|
await click(byName('Update Kabmo 0.3.2 for macOS'));
|
|
@@ -43,6 +43,7 @@ import { LeftDockView } from '@/client/components/layout/LeftDock';
|
|
|
43
43
|
import { PanelTabsColumn } from '@/client/components/workspace/panel-tabs';
|
|
44
44
|
import { usePanelCatalog } from '@/client/components/workspace/plugin-panel/catalog';
|
|
45
45
|
import { usePanelTabs } from '@/client/hooks/workspace/panel-tabs';
|
|
46
|
+
import { useRevealEdge, useRevealPanelTab } from '@/client/hooks/workspace/panel-tabs-reveal';
|
|
46
47
|
import { SESSIONS_VIEW_ID } from '@/shared/lib/workspace/left-dock';
|
|
47
48
|
import type { PanelNavStyle } from '@/shared/lib/workspace/panel-nav';
|
|
48
49
|
import { useLeftDock } from '@/client/hooks/workspace/left-dock';
|
|
@@ -149,6 +150,21 @@ export function LeftColumn({
|
|
|
149
150
|
const known = useMemo(() => new Set(catalog.map((panel) => panel.id)), [catalog]);
|
|
150
151
|
const tabsState = usePanelTabs('left', known, SESSIONS_VIEW_ID);
|
|
151
152
|
const tabsMode = railEnabled && navStyle === 'tabs';
|
|
153
|
+
// The same reveal rule as the right column: the sidebar's expand toggle (and
|
|
154
|
+
// `⌘B`) brings the column back, so it must bring a VIEW back rather than the
|
|
155
|
+
// catalog the strip shows on a fresh session. The session list is pinned, so
|
|
156
|
+
// this is the one column where the answer is always its own view.
|
|
157
|
+
const revealed = useRevealEdge(open);
|
|
158
|
+
useRevealPanelTab({
|
|
159
|
+
enabled: tabsMode,
|
|
160
|
+
revealed,
|
|
161
|
+
// The left column pins the session list, so it always has a view to reveal.
|
|
162
|
+
storedView: view,
|
|
163
|
+
home: tabsState.home,
|
|
164
|
+
chosenHome: tabsState.chosenHome,
|
|
165
|
+
openTab: tabsState.open,
|
|
166
|
+
known,
|
|
167
|
+
});
|
|
152
168
|
|
|
153
169
|
/**
|
|
154
170
|
* A view opened from a card must reach the BODY, not only the strip, so the
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* An explicit "open this view" wins over the strip's mirror in BOTH directions.
|
|
8
|
+
*
|
|
9
|
+
* The reported defect: on a session whose right strip already held `Files`, the
|
|
10
|
+
* Stats navbar readout added a `Resources` tab but left `Files` selected and
|
|
11
|
+
* drawn; the tab only appeared to work after switching chats and coming back.
|
|
12
|
+
* The cause was a second writer: a request writes `layout.activeRightPanel`
|
|
13
|
+
* before its tab is opened, so for one commit the stored view names `Resources`
|
|
14
|
+
* while the strip still says `Files`. The mirror effect read that as a strip
|
|
15
|
+
* choice and requested `Files` back, and the next commit repeated the exchange
|
|
16
|
+
* in the other direction — an open/pending request that also re-applied after a
|
|
17
|
+
* session switch, which is how the tab landed in the next chat too.
|
|
18
|
+
*
|
|
19
|
+
* The claim is the PAIR: after a request settles, the stored selection and the
|
|
20
|
+
* strip's active tab name the SAME view, and no request is left pending.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, test } from 'bun:test';
|
|
24
|
+
import { h, render } from 'preact';
|
|
25
|
+
import { act } from 'preact/test-utils';
|
|
26
|
+
import { Window } from 'happy-dom';
|
|
27
|
+
import { Group } from '@/client/components/layout/desktop-layout/resizer';
|
|
28
|
+
import { RightColumn } from '@/client/components/layout/desktop-layout/RightColumn';
|
|
29
|
+
import { SessionStateProvider } from '@/client/components/common/session-state-provider/index';
|
|
30
|
+
import { useSessionState } from '@/client/hooks/workspace/session-state';
|
|
31
|
+
import { useRightOpenRequest, type RightOpenRequest } from '@/client/hooks/workspace/right-open-request';
|
|
32
|
+
import type { ResolvedPanel } from '@/client/components/workspace/plugin-panel/catalog';
|
|
33
|
+
import {
|
|
34
|
+
getSessionState,
|
|
35
|
+
getSessionValue,
|
|
36
|
+
hydrateSession,
|
|
37
|
+
resetSessionStateStore,
|
|
38
|
+
} from '@/shared/lib/workspace/session-state/store';
|
|
39
|
+
import { installDomGlobals, restoreDomGlobals } from '@/test-support/pristine-globals';
|
|
40
|
+
|
|
41
|
+
const FILES = 'files';
|
|
42
|
+
const STATS = 'plugin:stats:rightPanel';
|
|
43
|
+
|
|
44
|
+
let container: HTMLElement;
|
|
45
|
+
let requestPanel: ((panelKey: string) => void) | null = null;
|
|
46
|
+
let request: RightOpenRequest | null = null;
|
|
47
|
+
|
|
48
|
+
function panel(id: string, label: string, builtin: boolean): ResolvedPanel {
|
|
49
|
+
return {
|
|
50
|
+
id,
|
|
51
|
+
side: 'right',
|
|
52
|
+
title: `${label} — title`,
|
|
53
|
+
label,
|
|
54
|
+
name: builtin ? '' : 'Stats',
|
|
55
|
+
builtin,
|
|
56
|
+
requiresWorkspace: false,
|
|
57
|
+
liveWhileHidden: false,
|
|
58
|
+
minWidth: 200,
|
|
59
|
+
defaultWidth: 420,
|
|
60
|
+
defaultFraction: 0.3,
|
|
61
|
+
render: () => h('div', { 'data-body': id }, `${label} body`),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const CATALOG = [panel(FILES, 'Files', true), panel(STATS, 'Resources', false)];
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The desktop layout's own wiring, reduced to what the two effects read: the
|
|
69
|
+
* restored selection, its request handle, and the rail's toggle-on-select rule.
|
|
70
|
+
*/
|
|
71
|
+
function Harness() {
|
|
72
|
+
const [activeRightPanel, setActiveRightPanel] = useSessionState<string>('layout.activeRightPanel', FILES);
|
|
73
|
+
const [showRightPanel, setShowRightPanel] = useSessionState<boolean>('layout.showRightPanel', true);
|
|
74
|
+
const handle = useRightOpenRequest(setActiveRightPanel);
|
|
75
|
+
requestPanel = handle.requestPanel;
|
|
76
|
+
request = handle.request;
|
|
77
|
+
|
|
78
|
+
const onSelectPanel = (id: string) => {
|
|
79
|
+
if (activeRightPanel === id && showRightPanel) {
|
|
80
|
+
setShowRightPanel(false);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
setShowRightPanel(true);
|
|
84
|
+
handle.requestPanel(id);
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
return h(
|
|
88
|
+
Group,
|
|
89
|
+
{ orientation: 'horizontal', children: h(RightColumn, {
|
|
90
|
+
panelRef: { current: null },
|
|
91
|
+
open: showRightPanel,
|
|
92
|
+
width: 420,
|
|
93
|
+
minWidth: 200,
|
|
94
|
+
maxWidth: undefined,
|
|
95
|
+
catalog: CATALOG,
|
|
96
|
+
shownPanel: activeRightPanel,
|
|
97
|
+
selectedPanel: activeRightPanel,
|
|
98
|
+
activePanelFound: true,
|
|
99
|
+
hasActiveContext: false,
|
|
100
|
+
refreshKey: 0,
|
|
101
|
+
onRefresh: () => {},
|
|
102
|
+
onOpenFile: () => {},
|
|
103
|
+
onClose: () => {},
|
|
104
|
+
navStyle: 'tabs',
|
|
105
|
+
onSelectPanel,
|
|
106
|
+
openRequest: handle.request,
|
|
107
|
+
}) },
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** Render the provider on a session id and drain the load's promise chain. */
|
|
112
|
+
async function show(sessionId: string): Promise<void> {
|
|
113
|
+
await act(async () => {
|
|
114
|
+
render(h(SessionStateProvider, { sessionId, children: h(Harness, null) }), container);
|
|
115
|
+
});
|
|
116
|
+
await drain();
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
async function drain(): Promise<void> {
|
|
120
|
+
for (let i = 0; i < 20; i += 1) await act(async () => {});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function activeTab(): string | null {
|
|
124
|
+
return container.querySelector('[role="tab"][aria-selected="true"]')?.getAttribute('data-panel-tab') ?? null;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
beforeAll(() => {
|
|
128
|
+
installDomGlobals(new Window({ url: 'http://localhost' }));
|
|
129
|
+
const target = globalThis as unknown as Record<string, unknown>;
|
|
130
|
+
target.fetch = async (input: unknown, init?: { method?: string }) => {
|
|
131
|
+
const method = init?.method ?? 'GET';
|
|
132
|
+
const sessionId = String(input).split('/sessions/')[1]?.split('/')[0] ?? 'x';
|
|
133
|
+
if (method === 'POST') return new Response(JSON.stringify({ success: true }), { status: 200 });
|
|
134
|
+
return new Response(
|
|
135
|
+
JSON.stringify({ sessionId, state: { ...(getSessionState(sessionId) ?? {}) } }),
|
|
136
|
+
{ status: 200 },
|
|
137
|
+
);
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
afterAll(() => {
|
|
142
|
+
restoreDomGlobals();
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
beforeEach(() => {
|
|
146
|
+
resetSessionStateStore();
|
|
147
|
+
requestPanel = null;
|
|
148
|
+
request = null;
|
|
149
|
+
container = document.createElement('div');
|
|
150
|
+
document.body.appendChild(container);
|
|
151
|
+
hydrateSession('s-a', {
|
|
152
|
+
'layout.rightPanelTabs': { tabs: [FILES], active: FILES, home: false },
|
|
153
|
+
'layout.activeRightPanel': FILES,
|
|
154
|
+
'layout.showRightPanel': true,
|
|
155
|
+
});
|
|
156
|
+
hydrateSession('s-b', {});
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
afterEach(() => {
|
|
160
|
+
render(null, container);
|
|
161
|
+
container.remove();
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
describe('an explicit open request beside the strip mirror', () => {
|
|
165
|
+
test('the requested view is the one stored AND the one drawn, and nothing stays pending', async () => {
|
|
166
|
+
await show('s-a');
|
|
167
|
+
expect(activeTab()).toBe(FILES);
|
|
168
|
+
|
|
169
|
+
await act(async () => {
|
|
170
|
+
requestPanel?.(STATS);
|
|
171
|
+
});
|
|
172
|
+
await drain();
|
|
173
|
+
|
|
174
|
+
// The race this test exists for: on the buggy code the two writers keep
|
|
175
|
+
// swapping, so the stored selection and the drawn tab disagree in every
|
|
176
|
+
// commit — whichever parity the drains happen to land on.
|
|
177
|
+
expect(getSessionValue<{ active: string }>('s-a', 'layout.rightPanelTabs')?.active).toBe(STATS);
|
|
178
|
+
expect(activeTab()).toBe(STATS);
|
|
179
|
+
expect(getSessionValue<string>('s-a', 'layout.activeRightPanel')).toBe(STATS);
|
|
180
|
+
expect(container.textContent).toContain('Resources body');
|
|
181
|
+
|
|
182
|
+
// A pending request would be re-applied by the next commit (and by the next
|
|
183
|
+
// session). Settled means the nonce stops moving.
|
|
184
|
+
const settled = request?.nonce;
|
|
185
|
+
await drain();
|
|
186
|
+
expect(request?.nonce).toBe(settled);
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
test('a request that settled under one session is not replayed in the next', async () => {
|
|
190
|
+
await show('s-a');
|
|
191
|
+
await act(async () => {
|
|
192
|
+
requestPanel?.(STATS);
|
|
193
|
+
});
|
|
194
|
+
await drain();
|
|
195
|
+
|
|
196
|
+
await show('s-b');
|
|
197
|
+
|
|
198
|
+
// A still-pending nonce would open `Resources` here on the switch commit —
|
|
199
|
+
// the reported tab in every chat. A fresh session owns no tab and no pick.
|
|
200
|
+
expect(container.querySelectorAll('[role="tab"]').length).toBe(0);
|
|
201
|
+
expect(getSessionValue('s-b', 'layout.rightPanelTabs')).toBeUndefined();
|
|
202
|
+
expect(getSessionValue('s-b', 'layout.activeRightPanel')).toBeUndefined();
|
|
203
|
+
});
|
|
204
|
+
});
|
|
@@ -41,7 +41,9 @@ import { PanelTabsColumn } from '@/client/components/workspace/panel-tabs';
|
|
|
41
41
|
import { usePanelDropTarget } from '@/client/hooks/workspace/panel-drop-target';
|
|
42
42
|
import { useLeftDock } from '@/client/hooks/workspace/left-dock';
|
|
43
43
|
import { usePanelTabs } from '@/client/hooks/workspace/panel-tabs';
|
|
44
|
+
import { useRevealEdge, useRevealPanelTab } from '@/client/hooks/workspace/panel-tabs-reveal';
|
|
44
45
|
import { useSessionStateContext } from '@/client/hooks/workspace/session-state/context';
|
|
46
|
+
import { getSessionValue } from '@/shared/lib/workspace/session-state/store';
|
|
45
47
|
import { resolvePanelNav, type PanelNavStyle } from '@/shared/lib/workspace/panel-nav';
|
|
46
48
|
|
|
47
49
|
export interface RightColumnProps {
|
|
@@ -119,6 +121,25 @@ export function RightColumn({
|
|
|
119
121
|
// stored tab instead of rendering an empty body.
|
|
120
122
|
const known = new Set(catalog.map((panel) => panel.id));
|
|
121
123
|
const tabsState = usePanelTabs('right', known, null);
|
|
124
|
+
// A column REVEALED from the navbar's toggle (or `⌥⌘J`) must show a view, not
|
|
125
|
+
// the catalog: the button's promise is "bring the panel back", and the home
|
|
126
|
+
// page is a fresh session's empty state rather than something the click asked
|
|
127
|
+
// for. The Stats readout, which names a panel, already opened one — this is
|
|
128
|
+
// the same answer for the click that names no view. See `panel-tabs-reveal`.
|
|
129
|
+
const revealed = useRevealEdge(open);
|
|
130
|
+
// The view this session PICKED, not the fallback `files`: a fresh chat has
|
|
131
|
+
// never stored one, and treating the fallback as a pick is what opened the
|
|
132
|
+
// file explorer in every new session.
|
|
133
|
+
const storedView = getSessionValue<string>(sessionId, 'layout.activeRightPanel') ?? null;
|
|
134
|
+
useRevealPanelTab({
|
|
135
|
+
enabled: tabsMode,
|
|
136
|
+
revealed,
|
|
137
|
+
storedView,
|
|
138
|
+
home: tabsState.home,
|
|
139
|
+
chosenHome: tabsState.chosenHome,
|
|
140
|
+
openTab: tabsState.open,
|
|
141
|
+
known,
|
|
142
|
+
});
|
|
122
143
|
// In tabs mode the OPEN set is the mounted set; under the rail it is the
|
|
123
144
|
// whole catalog (minus plugins, which were never kept mounted).
|
|
124
145
|
const openIds = new Set(tabsState.tabs);
|
|
@@ -130,21 +151,6 @@ export function RightColumn({
|
|
|
130
151
|
// would mark a view active behind the catalog, and a view that re-reads on
|
|
131
152
|
// activation would fetch for a page nobody is looking at.
|
|
132
153
|
const effectivePanel = tabsMode ? (tabsState.home ? null : tabsState.active) : shownPanel;
|
|
133
|
-
// Opening a tab from the home page happens through the strip, which writes the
|
|
134
|
-
// hook; the effect above then mirrors it into the stored selection. `pinned`
|
|
135
|
-
// is null here, so `active` is the user's own choice and may be `null`.
|
|
136
|
-
useEffect(() => {
|
|
137
|
-
if (!tabsMode || tabsState.home || tabsState.active === null) return;
|
|
138
|
-
if (tabsState.active !== shownPanel) onSelectPanel?.(tabsState.active);
|
|
139
|
-
}, [tabsMode, tabsState.home, tabsState.active, shownPanel, onSelectPanel]);
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* The OTHER direction, and it listens to a REQUEST rather than to
|
|
143
|
-
* `shownPanel` — see `openRequest`. A restored selection is not an opening:
|
|
144
|
-
* this column's default is the home page, so the only thing that may add a
|
|
145
|
-
* tab without the user pressing something in the strip is a caller that
|
|
146
|
-
* asked for a view by name.
|
|
147
|
-
*/
|
|
148
154
|
const { open: openTab } = tabsState;
|
|
149
155
|
/**
|
|
150
156
|
* Each request is applied ONCE, tracked by its nonce.
|
|
@@ -158,6 +164,37 @@ export function RightColumn({
|
|
|
158
164
|
const appliedRequest = useRef<number | null>(null);
|
|
159
165
|
const requestKey = openRequest?.panelKey;
|
|
160
166
|
const requestNonce = openRequest?.nonce;
|
|
167
|
+
/**
|
|
168
|
+
* A request that has not been applied yet is AHEAD of the strip: it writes
|
|
169
|
+
* `layout.activeRightPanel` in its event handler, while the tab it names is
|
|
170
|
+
* only opened by the effect below. For that commit `shownPanel` names the
|
|
171
|
+
* requested view and `tabsState.active` names the one the user is leaving —
|
|
172
|
+
* the mirror effect would read that as a strip choice and request the OLD
|
|
173
|
+
* view right back. The two then alternate every commit: measured on a session
|
|
174
|
+
* whose strip held `Files`, clicking the Stats readout added `Resources` but
|
|
175
|
+
* left `Files` selected and drawn, and the still-pending request re-applied
|
|
176
|
+
* after a session switch — the tab appeared in the next chat too.
|
|
177
|
+
*/
|
|
178
|
+
const requestPending = requestNonce !== undefined && appliedRequest.current !== requestNonce;
|
|
179
|
+
// Opening a tab from the home page happens through the strip, which writes the
|
|
180
|
+
// hook; the effect above then mirrors it into the stored selection. `pinned`
|
|
181
|
+
// is null here, so `active` is the user's own choice and may be `null`.
|
|
182
|
+
useEffect(() => {
|
|
183
|
+
if (!tabsMode || tabsState.home || tabsState.active === null) return;
|
|
184
|
+
if (tabsState.active === shownPanel) return;
|
|
185
|
+
// The divergence a pending request creates is not a strip choice; only the
|
|
186
|
+
// request may answer it, and it does so in the effect below.
|
|
187
|
+
if (requestPending) return;
|
|
188
|
+
onSelectPanel?.(tabsState.active);
|
|
189
|
+
}, [tabsMode, tabsState.home, tabsState.active, shownPanel, onSelectPanel, requestPending]);
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* The OTHER direction, and it listens to a REQUEST rather than to
|
|
193
|
+
* `shownPanel` — see `openRequest`. A restored selection is not an opening:
|
|
194
|
+
* this column's default is the home page, so the only thing that may add a
|
|
195
|
+
* tab without the user pressing something in the strip is a caller that
|
|
196
|
+
* asked for a view by name.
|
|
197
|
+
*/
|
|
161
198
|
useEffect(() => {
|
|
162
199
|
if (!tabsMode || requestKey === undefined || requestNonce === undefined) return;
|
|
163
200
|
if (appliedRequest.current === requestNonce) return;
|
|
@@ -87,7 +87,7 @@ export function ToolbarOverflowMenu({
|
|
|
87
87
|
onClick={() => setOpen(!open)}
|
|
88
88
|
className={`inline-flex items-center justify-center transition-colors cursor-pointer ${
|
|
89
89
|
mobile
|
|
90
|
-
? 'w-9.5 h-9.5 rounded-xl border
|
|
90
|
+
? 'w-9.5 h-9.5 rounded-xl border shadow-xs'
|
|
91
91
|
: 'w-7 h-7 rounded border'
|
|
92
92
|
} ${
|
|
93
93
|
open
|
|
@@ -19,7 +19,6 @@ import { useDialogBehaviour } from '@/client/hooks/ui/dialog-behaviour';
|
|
|
19
19
|
import { UPDATE_POPUP_OPEN_EVENT } from '@/shared/lib/updates/popup-state';
|
|
20
20
|
import type { UpdateTarget } from '@/shared/types/updates';
|
|
21
21
|
import { MAX_WIDTH as CARD_MAX_WIDTH } from '@/client/components/workspace/model-dropdown/popover-metrics';
|
|
22
|
-
import { safeAreaPadding } from '@/shared/lib/ui/safe-area';
|
|
23
22
|
|
|
24
23
|
export interface AboutModalProps {
|
|
25
24
|
isOpen: boolean;
|
|
@@ -101,12 +100,11 @@ export function AboutModal({ isOpen, onClose, updates, onToast }: AboutModalProp
|
|
|
101
100
|
|
|
102
101
|
Full-bleed on a phone was the bug: `h-full w-full` with no gutters put
|
|
103
102
|
the header at the viewport's top edge, which a `viewport-fit: cover`
|
|
104
|
-
surface draws UNDER the phone's status bar. The scrim's
|
|
105
|
-
`
|
|
106
|
-
desktop keeps its FIXED 880px two-column card. */}
|
|
103
|
+
surface draws UNDER the phone's status bar. The scrim's gutter is the
|
|
104
|
+
shared `.modal-safe` rule in `tailwind.css`, the same one every other
|
|
105
|
+
dialog takes. The desktop keeps its FIXED 880px two-column card. */}
|
|
107
106
|
<div
|
|
108
|
-
className="fixed inset-0 modal-scrim z-50 flex items-center justify-center md:backdrop-blur-[2px] animate-in fade-in duration-200"
|
|
109
|
-
style={safeAreaPadding()}
|
|
107
|
+
className="fixed inset-0 modal-scrim z-50 flex items-center justify-center modal-safe md:backdrop-blur-[2px] animate-in fade-in duration-200"
|
|
110
108
|
onClick={onClose}
|
|
111
109
|
>
|
|
112
110
|
<div
|
|
@@ -136,7 +136,7 @@ function NewWorkspaceForm({
|
|
|
136
136
|
};
|
|
137
137
|
|
|
138
138
|
return (
|
|
139
|
-
<div className="fixed inset-0 modal-scrim z-50 flex items-center justify-center
|
|
139
|
+
<div className="fixed inset-0 modal-scrim z-50 flex items-center justify-center modal-safe">
|
|
140
140
|
<div className="glass-overlay bg-paper border border-ink/10 rounded-lg shadow-xl w-[30rem] max-w-full max-h-full overflow-y-auto flex flex-col">
|
|
141
141
|
<div className="flex justify-between items-center px-4 pt-4 pb-2 border-b border-ink/10">
|
|
142
142
|
<h3 className="font-semibold text-sm">New Workspace</h3>
|
|
@@ -128,7 +128,7 @@ export function SchedulerModal({
|
|
|
128
128
|
|
|
129
129
|
return (
|
|
130
130
|
<div
|
|
131
|
-
className="fixed inset-0 modal-scrim backdrop-blur-[2px] z-50 flex items-center justify-center
|
|
131
|
+
className="fixed inset-0 modal-scrim backdrop-blur-[2px] z-50 flex items-center justify-center modal-safe"
|
|
132
132
|
onClick={busy ? undefined : onClose}
|
|
133
133
|
role="dialog"
|
|
134
134
|
aria-modal="true"
|
|
@@ -3,6 +3,7 @@ import { useSearchParams } from '@/client/lib/router/search-params';
|
|
|
3
3
|
import { clearBranchParams, newSessionParams } from '@/client/lib/router/branch-params';
|
|
4
4
|
import { useKabmoEvent } from '@/client/hooks/ui/window-event';
|
|
5
5
|
import { useMobileBackStack } from '@/client/hooks/workspace/mobile-back';
|
|
6
|
+
import { useMobileDrawerReveals, type MobileScreen } from '@/client/components/mobile/mobile-drawer-reveals';
|
|
6
7
|
import type { JournalDiffRef, SettingsCategoryId } from '@/shared/types';
|
|
7
8
|
import { MobileMainView } from '@/client/components/mobile/MainView';
|
|
8
9
|
import { WindowAura } from '@/client/components/layout/WindowAura';
|
|
@@ -24,19 +25,13 @@ import { PluginBootstrap } from '@/client/lib/plugins/bootstrap';
|
|
|
24
25
|
import { mobileEditorFileFrom, mobileProbeTabs, type MobileEditorFile } from '@/client/components/mobile/open-file-payload';
|
|
25
26
|
import { useLeftDock } from '@/client/hooks/workspace/left-dock';
|
|
26
27
|
import { useSessionStateContext } from '@/client/hooks/workspace/session-state/context';
|
|
27
|
-
import { setSessionKey, getSessionValue } from '@/shared/lib/workspace/session-state/store';
|
|
28
|
-
import { DEFAULT_RIGHT_PANEL_TYPE } from '@/shared/lib/workspace/right-panels';
|
|
29
|
-
import { armTerminalSoftKeyboard } from '@/client/components/workspace/terminal-panel/soft-keyboard';
|
|
30
28
|
import { startWorktreeSession } from '@/client/components/mobile/worktree-session';
|
|
31
|
-
import { OPEN_PANEL_EVENT, phoneDrawerForPanel, type OpenPanelDetail } from '@/shared/lib/workspace/panel-open';
|
|
32
29
|
|
|
33
30
|
interface MobileLayoutWrapperProps {
|
|
34
31
|
onDesktopToggle?: () => void;
|
|
35
32
|
appSettings?: Record<string, any>;
|
|
36
33
|
}
|
|
37
34
|
|
|
38
|
-
export type MobileScreen = 'main' | 'session' | 'right';
|
|
39
|
-
|
|
40
35
|
export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: MobileLayoutWrapperProps) {
|
|
41
36
|
const { folders, isMock } = useSidebarData();
|
|
42
37
|
// The placement state the panel-open event resolves against, and the session
|
|
@@ -51,6 +46,10 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
51
46
|
const folderId = folderParam ? (Number.isNaN(Number(folderParam)) ? folderParam : Number(folderParam)) : null;
|
|
52
47
|
|
|
53
48
|
const [currentScreen, setCurrentScreen] = useState<MobileScreen>('main');
|
|
49
|
+
// The two drawers as SCREENS: which one a request opens, and whether that
|
|
50
|
+
// request was a header REVEAL (which must show a view, not the catalog). One
|
|
51
|
+
// hook, because a named open and a header press are the same two facts.
|
|
52
|
+
const drawers = useMobileDrawerReveals({ dock, sessionId: stateSessionId, currentScreen, setCurrentScreen });
|
|
54
53
|
const [mobileEditorFile, setMobileEditorFile] = useState<MobileEditorFile | null>(null);
|
|
55
54
|
const [mobileDiff, setMobileDiff] = useState<{ path: string; status?: string; staged?: boolean; repo?: string; root?: string; journal?: JournalDiffRef } | null>(null);
|
|
56
55
|
// Bumped whenever a write lands so the workspace panels (explorer, git,
|
|
@@ -149,32 +148,6 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
149
148
|
// transcript opens behind the drawer and the tap reads as a no-op.
|
|
150
149
|
useKabmoEvent('omp:view-subagent', () => setCurrentScreen('main'));
|
|
151
150
|
|
|
152
|
-
/**
|
|
153
|
-
* A plugin's navbar readout asking for its own panel. A phone has no rail, so
|
|
154
|
-
* "show this panel" is two decisions — which DRAWER reaches it and which chip
|
|
155
|
-
* inside it — both answered by `phoneDrawerForPanel` from the PLACEMENT, never
|
|
156
|
-
* from the panel's slot. The tab is written through the store because the
|
|
157
|
-
* drawer mounts on this screen change and reads the stored tab; an `editor`
|
|
158
|
-
* takeover resolves to null and the click does nothing rather than opening a
|
|
159
|
-
* drawer that cannot show it.
|
|
160
|
-
*/
|
|
161
|
-
useKabmoEvent(OPEN_PANEL_EVENT, (event) => {
|
|
162
|
-
const panelKey = (event as CustomEvent<OpenPanelDetail>).detail?.panelKey;
|
|
163
|
-
if (!panelKey) return;
|
|
164
|
-
const drawer = phoneDrawerForPanel(panelKey, dock);
|
|
165
|
-
if (!drawer) return;
|
|
166
|
-
// Same gesture rule as the header's button: arm the keyboard before the
|
|
167
|
-
// terminal mounts, but never for the view already on screen (it is focused).
|
|
168
|
-
const stored = getSessionValue<string>(stateSessionId, 'layout.mobileRightPanel');
|
|
169
|
-
if (drawer === 'right' && (currentScreen !== 'right' || stored !== panelKey)) {
|
|
170
|
-
armTerminalSoftKeyboard(panelKey);
|
|
171
|
-
}
|
|
172
|
-
// The phone's two drawers are SCREENS, not columns: the session screen
|
|
173
|
-
// draws the left dock and the right screen draws the panel drawer.
|
|
174
|
-
setSessionKey(stateSessionId, drawer === 'left' ? 'layout.mobileLeftPanel' : 'layout.mobileRightPanel', panelKey);
|
|
175
|
-
setCurrentScreen(drawer === 'left' ? 'session' : 'right');
|
|
176
|
-
});
|
|
177
|
-
|
|
178
151
|
// Settings requests (e.g. the model dropdown asking for Settings → Providers
|
|
179
152
|
// when no provider is configured) arrive on the same global channel the
|
|
180
153
|
// desktop layout listens on. SettingsModal itself only reads the payload and
|
|
@@ -235,15 +208,6 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
235
208
|
if (next) setMobileEditorFile(next);
|
|
236
209
|
}, [activeProjectPath]);
|
|
237
210
|
|
|
238
|
-
// The right drawer is a SCREEN: opening it is the tap that can summon the
|
|
239
|
-
// keyboard, but the terminal mounts after it. Arm it for the tab the drawer
|
|
240
|
-
// will open on; the drawer releases it if another view resolves.
|
|
241
|
-
const handleOpenRightSidebar = useCallback(() => {
|
|
242
|
-
const stored = getSessionValue<string>(stateSessionId, 'layout.mobileRightPanel') ?? DEFAULT_RIGHT_PANEL_TYPE;
|
|
243
|
-
armTerminalSoftKeyboard(stored);
|
|
244
|
-
setCurrentScreen('right');
|
|
245
|
-
}, [stateSessionId]);
|
|
246
|
-
|
|
247
211
|
return (
|
|
248
212
|
<div
|
|
249
213
|
data-testid="app-root"
|
|
@@ -274,8 +238,8 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
274
238
|
activeSessionId={sessionId}
|
|
275
239
|
onSelectSession={handleSelectSession}
|
|
276
240
|
onNewSession={handleNewSession}
|
|
277
|
-
onOpenSessionSidebar={
|
|
278
|
-
onOpenRightSidebar={
|
|
241
|
+
onOpenSessionSidebar={drawers.openSessionDrawer}
|
|
242
|
+
onOpenRightSidebar={drawers.openRightDrawer}
|
|
279
243
|
appSettings={appSettings}
|
|
280
244
|
/>
|
|
281
245
|
</div>
|
|
@@ -294,6 +258,7 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
294
258
|
refreshKey={refreshKey}
|
|
295
259
|
onRefresh={handleWorkspaceChanged}
|
|
296
260
|
onOpenFile={handleOpenFile}
|
|
261
|
+
revealSignal={drawers.left}
|
|
297
262
|
/>
|
|
298
263
|
</div>
|
|
299
264
|
|
|
@@ -312,6 +277,7 @@ export function MobileLayoutWrapper({ onDesktopToggle, appSettings = {} }: Mobil
|
|
|
312
277
|
onRefresh={handleWorkspaceChanged}
|
|
313
278
|
onOpenFile={handleOpenFile}
|
|
314
279
|
onClose={() => setCurrentScreen('main')}
|
|
280
|
+
revealSignal={drawers.right}
|
|
315
281
|
/>
|
|
316
282
|
</div>
|
|
317
283
|
)}
|