@marimo-team/islands 0.25.2-dev0 → 0.25.2-dev100
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/{ConnectedDataExplorerComponent-C2d9ysUI.js → ConnectedDataExplorerComponent-BZmqc_F0.js} +11 -11
- package/dist/{ErrorBoundary-2usl042r.js → ErrorBoundary-Dcb6Zg4M.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-AFhOQTt8.js → abnfDiagram-VCTEODGH-C_Lmaa2j.js} +3 -3
- package/dist/{any-language-editor-CycIVIeP.js → any-language-editor-BFzqhOBR.js} +5 -5
- package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-BngksAAQ.js → architectureDiagram-5GKGNRK7-BKMataHB.js} +5 -5
- package/dist/{asciiarmor-GKQFJXQG.js → asciiarmor-BWNxzkG7.js} +1 -1
- package/dist/{asn1-BsSb7HP5.js → asn1-Bcn2QutK.js} +1 -1
- package/dist/assets/__vite-browser-external-BqAtzd2P.js +1 -0
- package/dist/assets/{worker-D7hWi02M.js → worker-Bf8dt6S-.js} +5 -5
- package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
- package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-BeHOjyDk.js} +9 -9
- package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
- package/dist/{button-DdXAm8iz.js → button-BtsM2UqM.js} +312 -283
- package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-Bao10t_O.js} +7 -7
- package/dist/{capabilities-B3ce_GNu.js → capabilities-A5jrzjCJ.js} +1 -1
- package/dist/{cells-Cv93oav_.js → cells-DZi0ioak.js} +4330 -4313
- package/dist/{channel-z7HZXHwv.js → channel-BxCkvUgE.js} +1 -1
- package/dist/{chat-ui-fVyVOhYN.js → chat-ui-CwOWzoSO.js} +46 -46
- package/dist/{check-B7cIK6gb.js → check-CNP79M3A.js} +1 -1
- package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-CH7Gpamd.js} +5 -5
- package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-AI7CvgKn.js} +1 -1
- package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BSvuTkX4.js} +1 -1
- package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-CLshwT9T.js} +1 -1
- package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-wnHcn-lH.js} +3 -3
- package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-7O2p8hut.js} +2 -2
- package/dist/{chunk-IMKFNOWR-UOVZuZVn.js → chunk-IMKFNOWR-Bu0Vh_Yi.js} +6 -6
- package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-B9_Alrxb.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-PeQPH2fD.js} +6 -6
- package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-D9twiFuU.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-BUiNs18s.js} +1 -1
- package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-D8S9NPCy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-CrEPyWy1.js → chunk-SHT3W25Y-B2dyNZ31.js} +8 -8
- package/dist/{chunk-SVP7TREG-uIyyySp6.js → chunk-SVP7TREG-D7UPvB10.js} +2 -2
- package/dist/{chunk-TICWLB2K-DdXM3eg6.js → chunk-TICWLB2K-BNaGoadd.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-Bbo2n384.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-xR8cGP0r.js +30 -0
- package/dist/{clike-E2lFbGVj.js → clike-CxK9W55Z.js} +1 -1
- package/dist/{clojure-Dn_K4RlK.js → clojure-Dzcvwpxk.js} +1 -1
- package/dist/{cmake-DpN2Top5.js → cmake-DYr-71zp.js} +1 -1
- package/dist/{cobol-Chf22-GM.js → cobol-DC3g37Kq.js} +1 -1
- package/dist/{code-visibility-rUDTB2Ce.js → code-visibility-DTB0i3UU.js} +6 -6
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-BVErJKjc.js → common-CaVEr6tY.js} +11801 -11503
- package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
- package/dist/{copy-icon-CLdENY__.js → copy-icon-BY7jgcaV.js} +3 -3
- package/dist/{crystal-DCM3yc4r.js → crystal-ih5ax5tQ.js} +1 -1
- package/dist/{css-DkZ9mMyI.js → css-CN_wP7_R.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-zknaAsGy.js → cynefinDiagram-5FMLGOSQ-CCDn4Z9e.js} +3 -3
- package/dist/{cypher-Drw_8U5I.js → cypher-CqGRcmZo.js} +1 -1
- package/dist/{d-CsVGcKMF.js → d-Cj0sOW2z.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-BhMOoMGJ.js → dagre-GXQ25YYZ-BJiUO_SV.js} +10 -10
- package/dist/{data-grid-overlay-editor-7ANmo9c-.js → data-grid-overlay-editor-BzTuqI2T.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-V5-Z-EDY.js → diagram-S7CK7UJ4-BZfxFNRR.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-qw8AjDal.js → diagram-UQ7AKVKN-1xcsiIMg.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-DPAWJ9Nw.js} +2 -2
- package/dist/{diagram-VX7I27RA-DfuqFb1E.js → diagram-VX7I27RA-DmRsnHYY.js} +5 -5
- package/dist/{diagram-Z3DM3KII-DpWwlYZB.js → diagram-Z3DM3KII--b49ryKx.js} +3 -3
- package/dist/{dialog-CgNq6y9-.js → dialog-CmExhUDI.js} +26 -26
- package/dist/{diff-CBikYCUF.js → diff-B_hUkiat.js} +1 -1
- package/dist/{dist-Df0wKI0F.js → dist-BK4Oj99o.js} +1 -1
- package/dist/{dist-BVGtK7Ht.js → dist-BLfKmR-l.js} +1 -1
- package/dist/{dist-B8D7McG3.js → dist-BMQf5zIS.js} +46 -46
- package/dist/{dist-C2KzV-vf.js → dist-BorMD-uX.js} +2 -2
- package/dist/{dist-Cs2FijYk.js → dist-BuaRHxOc.js} +2 -2
- package/dist/{dist-DPcEtqmG.js → dist-Bvs24R_E.js} +47 -47
- package/dist/{dist-lA1Cttkb.js → dist-C8fAKSH1.js} +41 -41
- package/dist/{dist-DszxuxS1.js → dist-CLdpGQVr.js} +2 -2
- package/dist/{dist-CO1AwwG_.js → dist-CN8zI-XC.js} +209 -209
- package/dist/{dist-D1PpnuZB.js → dist-CN_BeG2I.js} +1 -1
- package/dist/{dist-CPGxfVGX.js → dist-CSJ0MDRw.js} +1 -1
- package/dist/{dist-Cm3iAFMD.js → dist-CSbh1PNP.js} +3 -3
- package/dist/{dist-9x1ZRe-e.js → dist-Cg7gzw-a.js} +2 -2
- package/dist/{dist-B1vYLK28.js → dist-CkTTIdBe.js} +345 -345
- package/dist/{dist-BRxfaJgs.js → dist-CrSP_H1M.js} +296 -296
- package/dist/{dist-C2wDlYdD.js → dist-D-wwqlzJ.js} +2 -2
- package/dist/{dist-BtKIs9N-.js → dist-D6d86eNJ.js} +1 -1
- package/dist/{dist-DHOTQar0.js → dist-DBtSl3sf.js} +1 -1
- package/dist/{dist-KzZ7WELx.js → dist-DiDibOYr.js} +120 -120
- package/dist/{dist-Kxgjxakw.js → dist-DoE4XJBC.js} +1277 -1222
- package/dist/{dist-BHCHt1NI.js → dist-F8Ep36rk.js} +1 -1
- package/dist/{dist-C8xMLVYi.js → dist-OR1OnN-y.js} +44 -44
- package/dist/{dist-1HDa70oE.js → dist-PXYI_yuP.js} +3 -3
- package/dist/{dist-CMh_W4y4.js → dist-diIx5qJW.js} +2 -2
- package/dist/{dockerfile-DJnSntVB.js → dockerfile-D0VKN500.js} +2 -2
- package/dist/dropdown-menu-Cz4TdOJh.js +4678 -0
- package/dist/{dtd-BHa4v0Bn.js → dtd-B8FGSWWe.js} +1 -1
- package/dist/{dylan-BypL2Zz8.js → dylan-DbIBYIrw.js} +1 -1
- package/dist/{ebnf-5guncNu-.js → ebnf-D-YbYLdk.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-C20OnNMZ.js → ebnfDiagram-PWID7BFC-rSwVyh4y.js} +3 -3
- package/dist/{ecl-iRcVIKYZ.js → ecl-DBmkdWAd.js} +1 -1
- package/dist/{eiffel-BEqF9aU4.js → eiffel-CcWSDDzK.js} +1 -1
- package/dist/{elm-DYcfNE9c.js → elm-MC-b8a6C.js} +1 -1
- package/dist/{erDiagram-RLTQ6QDP-DBXLWO9v.js → erDiagram-RLTQ6QDP-Bfd3iAoC.js} +12 -12
- package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
- package/dist/error-banner-D30nA9nE.js +362 -0
- package/dist/{error-entries-DLl0XqoW.js → error-entries-BovkFYNy.js} +2 -2
- package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
- package/dist/{esm-h8f7-1CJ.js → esm-DAVrGVKP.js} +378 -372
- package/dist/{factor-3nzOwLuN.js → factor-Ys-13HOP.js} +2 -2
- package/dist/{fcl-C90TGnJJ.js → fcl-DnwditDr.js} +1 -1
- package/dist/{feedback-button-K1inEVfd.js → feedback-button-CHGz2EXX.js} +10 -10
- package/dist/flowDiagram-HODETNUW-D7IBKS12.js +16 -0
- package/dist/{formats-Cl_67ghI.js → formats-DhhbdyAH.js} +3 -3
- package/dist/{forth-DEaRrLUi.js → forth-DiMuIXFe.js} +1 -1
- package/dist/{fortran-Bv6JRUjY.js → fortran-hkrF2eM4.js} +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-B4m_YsKa.js} +2 -2
- package/dist/{gas-JNerWj3-.js → gas-DlhqN9k8.js} +1 -1
- package/dist/{gherkin-CSrl-H70.js → gherkin-0SlhEZ3t.js} +1 -1
- package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-QRBbvWXh.js} +2 -2
- package/dist/{glide-data-editor-D2fDO5aG.js → glide-data-editor-WxMsJlmb.js} +11 -11
- package/dist/{glide-utils-B3rUT5PI.js → glide-utils-BVJ4fkxX.js} +3 -3
- package/dist/{globals-NylFP0CX.js → globals-BROokniw.js} +3 -3
- package/dist/{groovy-X7euO_vE.js → groovy-YhcTMyvX.js} +1 -1
- package/dist/{haskell-C48Z70Az.js → haskell-CodLxrtT.js} +1 -1
- package/dist/{haxe-CAUWMmwR.js → haxe-CiRWNFkH.js} +1 -1
- package/dist/{html-to-image-CmkwfNkf.js → html-to-image-Cn1_16-x.js} +543 -565
- package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
- package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
- package/dist/{infoDiagram-27XIBGKW-ntpxMfrq.js → infoDiagram-27XIBGKW-DVQFYvhg.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-BllIlHE5.js → ishikawaDiagram-5VMMS53U-viPND-nm.js} +3 -3
- package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
- package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BeeJdJo3.js} +2 -2
- package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-GYtNMjtS.js → kanban-definition-UXKFOSKX-Dcl_ECO9.js} +9 -9
- package/dist/{label-BslhXqL6.js → label-DQO1jFjf.js} +96 -93
- package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
- package/dist/{loader-DEZSzvma.js → loader-Cm-ATtou.js} +1 -1
- package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
- package/dist/main.js +6966 -6827
- package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
- package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
- package/dist/{mermaid-Dnzoxjt1.js → mermaid-BfhcnSj-.js} +54 -54
- package/dist/{mindmap-definition-YA3MSWOX-Cth76xgH.js → mindmap-definition-YA3MSWOX-BdxxhF-5.js} +11 -11
- package/dist/{mirc-CqeibO3N.js → mirc-De9aSAZM.js} +1 -1
- package/dist/{mllike-D54QZYTP.js → mllike-BbugeaY_.js} +1 -1
- package/dist/{modelica-DuML2-8V.js → modelica-BjJwWw1F.js} +1 -1
- package/dist/{mscgen-CJmKwp3b.js → mscgen-DwiRH5ma.js} +1 -1
- package/dist/{mumps-DaVgFtkd.js → mumps--plbDM9o.js} +1 -1
- package/dist/{nginx-BXN1rqI0.js → nginx-C4Df7REc.js} +1 -1
- package/dist/{nsis-CMfRqf0V.js → nsis-fiiOqLc3.js} +7 -7
- package/dist/{ntriples-BiOGlMDR.js → ntriples-jV77I4k8.js} +1 -1
- package/dist/{number-overlay-editor-B4XyCoMu.js → number-overlay-editor-DCj0MZgn.js} +1 -1
- package/dist/{octave-CgVnzxKk.js → octave-Cztd01tF.js} +1 -1
- package/dist/{oz-B2mky97X.js → oz-Bl8o3BDl.js} +1 -1
- package/dist/{pascal-BoZhBf6s.js → pascal-BO5JqysR.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-Cu4uOXii.js → pegDiagram-XKGWAZYB-Du5p2s0w.js} +3 -3
- package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-Bh3eDa9s.js → pieDiagram-E7YTZNPT-DJg-SOIq.js} +3 -3
- package/dist/{pig-B2mB-01d.js → pig-BWGR8wZw.js} +1 -1
- package/dist/{powershell-D0zT88Aj.js → powershell-DT99xlz_.js} +1 -1
- package/dist/{process-output-CYN5E-iO.js → process-output-CUG57KRp.js} +4 -4
- package/dist/{properties-3_5qCgOj.js → properties-Q-rkxld0.js} +1 -1
- package/dist/{protobuf-Dgoxfi1H.js → protobuf-DKyWZbs7.js} +1 -1
- package/dist/{pug-CNRdd8oG.js → pug-42ZJUbEC.js} +2 -2
- package/dist/{puppet-DzILxZfz.js → puppet-B4UozHhh.js} +1 -1
- package/dist/purify.es-DMv5zIkJ.js +866 -0
- package/dist/{python-AfVdMn_l.js → python-DREjAV__.js} +1 -1
- package/dist/{q-C6p-CGWh.js → q-Bi63IpBO.js} +1 -1
- package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-keLfFx9f.js} +1 -1
- package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-DG-M6Rnc.js → railroadDiagram-O6MQD6OU-C0ojm-6_.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-DCwsThh0.js → requirementDiagram-BXWQKSXE-CNwNBmI3.js} +11 -11
- package/dist/{reveal-component-Dtm5GH3p.js → reveal-component-CSY54dq4.js} +10 -10
- package/dist/{rpm-Bx7FkjTO.js → rpm-DPb1DeKM.js} +1 -1
- package/dist/{ruby-BMzgq2bf.js → ruby-U7fZA4DP.js} +2 -2
- package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-Bh4EsJox.js} +1 -1
- package/dist/{sas-ClGVnK3F.js → sas-CLk1JpTn.js} +1 -1
- package/dist/{scheme-C0MXqXep.js → scheme-CT-2k2Tl.js} +1 -1
- package/dist/select-Bs-nmvm6.js +1344 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-CbXB1_PU.js → sequenceDiagram-WJ2MYXX4-DQaW5qBG.js} +4 -4
- package/dist/{shell-CiQZv6oG.js → shell-BLO7fcsk.js} +1 -1
- package/dist/{sieve-BiIMePvV.js → sieve-nG3C7WNH.js} +1 -1
- package/dist/{simple-mode-8ETW2RS6.js → simple-mode-C683Q7or.js} +1 -1
- package/dist/{smalltalk-9-llftyG.js → smalltalk-BROcZybA.js} +1 -1
- package/dist/{solr-CxCKEuwq.js → solr-mVltHNc5.js} +1 -1
- package/dist/{sparql-BRmy7pzx.js → sparql-Cv1Ksr4v.js} +1 -1
- package/dist/{spec-DQBRQSba.js → spec-DVsoMvYT.js} +116 -135
- package/dist/{spreadsheet-UCNUIGsn.js → spreadsheet-BwTnp5K_.js} +1 -1
- package/dist/{sql-D0hSGZ-H.js → sql-CjLt0122.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-A-Zf3Sb2.js → stateDiagram-D77RDMKH-BDa515QC.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-ChNddepZ.js +30 -0
- package/dist/{stex-UeT_Aofp.js → stex-Btf3omL8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{stylus-Fi4waA2H.js → stylus-Dt4VvLXL.js} +1 -1
- package/dist/{swift-NqPyaBye.js → swift-DHsn_CVI.js} +1 -1
- package/dist/{swimlanes-42K2YHIH-B_pMf0J4.js → swimlanes-42K2YHIH-M4IdGi8J.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-FUSwmzEp.js +30 -0
- package/dist/{swiper-component-IOUowglM.js → swiper-component-CpN-hewZ.js} +2 -2
- package/dist/{tcl-B4f0xfmM.js → tcl-CV0OLBOl.js} +1 -1
- package/dist/{textile-CnNbnPTe.js → textile-D320oKVM.js} +1 -1
- package/dist/{tiddlywiki-CSGSOg38.js → tiddlywiki-BVVNvfy4.js} +1 -1
- package/dist/{tiki-9F02WBA6.js → tiki-BF2aDPlB.js} +1 -1
- package/dist/{timeline-definition-24CTP7MA-DTXFjTTM.js → timeline-definition-24CTP7MA-DH-kvakg.js} +3 -3
- package/dist/{toDate-C67bxMWn.js → toDate-vEi5kTfY.js} +4 -5
- package/dist/{toast-DvY70eFX.js → toast-DfEpJedt.js} +157 -161
- package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
- package/dist/{tooltip-qB8NlSqV.js → tooltip-CuNWg2ay.js} +543 -579
- package/dist/{troff-DlfvveK1.js → troff-DQUFcClZ.js} +1 -1
- package/dist/{ttcn--YVSkGs_.js → ttcn-CQL1duJS.js} +1 -1
- package/dist/{ttcn-cfg-Bb1Knl_J.js → ttcn-cfg-BMmEFJPu.js} +1 -1
- package/dist/{turtle-DC24v1bz.js → turtle-C3esgsRr.js} +1 -1
- package/dist/{use-restore-focus-D5D9xEjZ.js → use-restore-focus-kmgwrL8q.js} +1833 -1625
- package/dist/{useAsyncData-BD6AStMt.js → useAsyncData-rkAlR_vh.js} +1 -1
- package/dist/{useDateFormatter-BXQGu86d.js → useDateFormatter-C-tz65rD.js} +52 -31
- package/dist/{useDeepCompareMemoize-D_HNdyvI.js → useDeepCompareMemoize-BlHFBj5_.js} +1 -1
- package/dist/{useIframeCapabilities-CVtNkI3Y.js → useIframeCapabilities-C1Bt04Iz.js} +1 -1
- package/dist/{useLifecycle-DPgiiwwU.js → useLifecycle-B68iY077.js} +3 -3
- package/dist/{useTheme-DzXmYZ5V.js → useTheme-BwSgeAFb.js} +2 -2
- package/dist/{vb-Dpc8vhvF.js → vb-RK1eDXRl.js} +1 -1
- package/dist/{vbscript-B-Y1XnZe.js → vbscript-BCOeM0de.js} +1 -1
- package/dist/{vega-component-tFOzgarw.js → vega-component-C-bPttRN.js} +9 -9
- package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-BPHjZo0R.js → vennDiagram-4TSXK5OY-d5g7XeiI.js} +3 -3
- package/dist/{verilog-DhiEaoUl.js → verilog-DqQTzVn8.js} +1 -1
- package/dist/{vhdl-D4X23YKO.js → vhdl-vQr2bfmi.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-6fTLYBuD.js → wardleyDiagram-VM6X3IG4-BfX3bSzR.js} +3 -3
- package/dist/{webidl-SyzNxWpJ.js → webidl-DzX7N40e.js} +1 -1
- package/dist/{xquery-BC2R4Hk6.js → xquery-Cw_Q_hGR.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-BYjwjrzE.js → xychartDiagram-S5SC5T6Z-C1QsLZg7.js} +5 -5
- package/dist/{yacas-DLNXPMmH.js → yacas-DiC4jJBE.js} +1 -1
- package/dist/{z80-CDXWHOO6.js → z80-CUOQDEJO.js} +1 -1
- package/package.json +24 -23
- package/src/__tests__/mount.test.ts +6 -6
- package/src/components/chat/__tests__/chat-history-popover.test.tsx +157 -0
- package/src/components/chat/chat-history-popover.tsx +98 -17
- package/src/components/chat/chat-panel.tsx +29 -0
- package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
- package/src/components/chat/tool-call/tool-result.tsx +3 -3
- package/src/components/data-table/TableTopBar.tsx +4 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +1111 -14
- package/src/components/data-table/__tests__/pagination.test.tsx +85 -1
- package/src/components/data-table/__tests__/schemas.test.ts +57 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +25 -0
- package/src/components/data-table/charts/__tests__/slider-field.test.tsx +54 -0
- package/src/components/data-table/charts/__tests__/spec.test.ts +26 -23
- package/src/components/data-table/charts/components/form-fields.tsx +3 -1
- package/src/components/data-table/charts/constants.ts +11 -10
- package/src/components/data-table/charts/types.ts +1 -0
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/export-actions.tsx +365 -81
- package/src/components/data-table/pagination.tsx +16 -2
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +11 -11
- package/src/components/data-table/schemas.ts +90 -14
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +32 -46
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +29 -40
- package/src/components/editor/actions/__tests__/useSetOutputsExpanded.test.ts +42 -0
- package/src/components/editor/actions/pair-with-agent-commands.ts +3 -4
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -7
- package/src/components/editor/actions/useNotebookActions.tsx +20 -0
- package/src/components/editor/actions/useRestartKernel.tsx +2 -2
- package/src/components/editor/actions/useSetOutputsExpanded.ts +67 -0
- package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +224 -17
- package/src/components/editor/alerts/connection-details.tsx +61 -0
- package/src/components/editor/alerts/connection-notice.tsx +46 -53
- package/src/components/editor/alerts/startup-progress.tsx +73 -129
- package/src/components/editor/app-container.tsx +2 -2
- package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +2 -2
- package/src/components/editor/cell/CreateCellButton.tsx +2 -2
- package/src/components/editor/cell/DeleteButton.tsx +2 -2
- package/src/components/editor/cell/RunButton.tsx +3 -3
- package/src/components/editor/cell/StopButton.tsx +2 -2
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +4 -4
- package/src/components/editor/chrome/components/feedback-button.tsx +3 -3
- package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +8 -8
- package/src/components/editor/chrome/panels/__tests__/{sandbox-details.test.tsx → runtime-details.test.tsx} +94 -22
- package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +4 -4
- package/src/components/editor/chrome/panels/packages-panel.tsx +8 -29
- package/src/components/editor/chrome/panels/{sandbox-details-state.ts → runtime-details-state.ts} +1 -1
- package/src/components/editor/chrome/panels/{sandbox-panel.tsx → runtime-panel.tsx} +38 -66
- package/src/components/editor/chrome/panels/runtime-status-toggle.tsx +56 -0
- package/src/components/editor/chrome/panels/sandbox-controller.tsx +2 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +3 -3
- package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +2 -2
- package/src/components/editor/controls/Controls.tsx +3 -3
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +2 -2
- package/src/components/editor/header/__tests__/status.test.tsx +4 -4
- package/src/components/editor/header/app-header.tsx +2 -2
- package/src/components/editor/header/status.tsx +3 -3
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/src/components/tracing/tracing.test.tsx +30 -30
- package/src/components/ui/__tests__/slider.test.tsx +37 -0
- package/src/components/ui/progress-stages.tsx +114 -0
- package/src/components/ui/slider.tsx +2 -0
- package/src/core/ai/__tests__/state.test.ts +120 -0
- package/src/core/ai/state.ts +36 -10
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +106 -5
- package/src/core/codemirror/lsp/notebook-lsp.ts +16 -2
- package/src/core/codemirror/readonly/__tests__/extension.test.ts +6 -6
- package/src/core/codemirror/readonly/extension.ts +2 -2
- package/src/core/config/pair.ts +0 -1
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +2 -2
- package/src/core/edit-app.tsx +21 -1
- package/src/core/export/hooks.ts +2 -2
- package/src/core/hotkeys/hotkeys.ts +12 -0
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/kernel/session.ts +9 -0
- package/src/core/network/__tests__/connection.test.ts +3 -3
- package/src/core/network/connection-notice.ts +5 -5
- package/src/core/network/connection.ts +9 -9
- package/src/core/network/requests-lazy.ts +2 -2
- package/src/core/packages/__tests__/useSandboxController.test.tsx +2 -2
- package/src/core/packages/useSandboxController.ts +6 -6
- package/src/core/runtime/__tests__/adapter.test.ts +6 -6
- package/src/core/runtime/adapter.ts +7 -7
- package/src/core/runtime/config.ts +2 -2
- package/src/core/saving/filename.ts +2 -2
- package/src/core/saving/save-component.tsx +5 -5
- package/src/core/saving/useAutoSave.ts +2 -2
- package/src/core/wasm/__tests__/bootstrap.test.ts +33 -1
- package/src/core/wasm/worker/bootstrap.ts +22 -3
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +30 -25
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +5 -5
- package/src/core/websocket/connection-utils.ts +21 -21
- package/src/core/websocket/types.ts +8 -9
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -22
- package/src/css/katex-css.test.ts +166 -0
- package/src/css/katex.min.css +169 -168
- package/src/mount.tsx +2 -2
- package/src/plugins/core/__test__/registerReactComponent.test.ts +55 -0
- package/src/plugins/core/registerReactComponent.tsx +3 -1
- package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +23 -2
- package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DateRangePlugin.tsx +5 -3
- package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DropdownPlugin.tsx +1 -1
- package/src/plugins/impl/FileBrowserPlugin.tsx +45 -15
- package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
- package/src/plugins/impl/NumberPlugin.tsx +1 -1
- package/src/plugins/impl/RadioPlugin.tsx +5 -1
- package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
- package/src/plugins/impl/SearchableSelect.tsx +1 -1
- package/src/plugins/impl/SliderPlugin.tsx +5 -1
- package/src/plugins/impl/SwitchPlugin.tsx +6 -1
- package/src/plugins/impl/TextAreaPlugin.tsx +23 -4
- package/src/plugins/impl/TextInputPlugin.tsx +10 -2
- package/src/plugins/impl/__test__/slider-labels.test.tsx +136 -0
- package/src/plugins/impl/__test__/text-labels.test.tsx +141 -0
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +65 -8
- package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +85 -2
- package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/common/labeled.tsx +9 -3
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +15 -3
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +0 -22
- package/src/stories/cell.stories.tsx +2 -2
- package/src/stories/dataframe.stories.tsx +7 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +5 -5
- package/src/stories/progress-stages.stories.tsx +62 -0
- package/src/stories/runtime-existing.stories.tsx +44 -0
- package/src/stories/runtime-maintenance.stories.tsx +40 -0
- package/src/stories/runtime-pixi.stories.tsx +28 -0
- package/src/stories/{sandbox.stories.tsx → runtime-story.tsx} +191 -152
- package/src/stories/runtime-uv.stories.tsx +56 -0
- package/dist/assets/__vite-browser-external-C9iR87Zl.js +0 -1
- package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +0 -30
- package/dist/dropdown-menu-CZy06LAq.js +0 -4502
- package/dist/error-banner-B94dcDmP.js +0 -391
- package/dist/flowDiagram-HODETNUW-DL52nMkt.js +0 -16
- package/dist/purify.es-DgKyQviY.js +0 -805
- package/dist/select-C6plhmZr.js +0 -970
- package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +0 -30
- package/src/components/editor/chrome/panels/sandbox-toggle.tsx +0 -52
|
@@ -5,7 +5,7 @@ import { useImperativeModal } from "@/components/modal/ImperativeModal";
|
|
|
5
5
|
import { AlertDialogDestructiveAction } from "@/components/ui/alert-dialog";
|
|
6
6
|
import { connectionAtom } from "@/core/network/connection";
|
|
7
7
|
import { useRequestClient } from "@/core/network/requests";
|
|
8
|
-
import {
|
|
8
|
+
import { ConnectionState } from "@/core/websocket/types";
|
|
9
9
|
import { reloadSafe } from "@/utils/reload-safe";
|
|
10
10
|
|
|
11
11
|
export function useRestartKernel() {
|
|
@@ -22,7 +22,7 @@ export function useRestartKernel() {
|
|
|
22
22
|
confirmAction: (
|
|
23
23
|
<AlertDialogDestructiveAction
|
|
24
24
|
onClick={async () => {
|
|
25
|
-
setConnection({ state:
|
|
25
|
+
setConnection({ state: ConnectionState.CLOSING });
|
|
26
26
|
await sendRestart();
|
|
27
27
|
reloadSafe();
|
|
28
28
|
}}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
|
|
3
|
+
import { useCallback } from "react";
|
|
4
|
+
import {
|
|
5
|
+
getNotebook,
|
|
6
|
+
type NotebookState,
|
|
7
|
+
useCellActions,
|
|
8
|
+
} from "@/core/cells/cells";
|
|
9
|
+
import type { CellId } from "@/core/cells/ids";
|
|
10
|
+
import { isOutputEmpty } from "@/core/cells/outputs";
|
|
11
|
+
import { useRequestClient } from "@/core/network/requests";
|
|
12
|
+
import type { CellConfig } from "@/core/network/types";
|
|
13
|
+
import { Objects } from "@/utils/objects";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The `expand_output` config changes needed to expand or clamp every output.
|
|
17
|
+
*
|
|
18
|
+
* Both actions skip cells without output, so their source isn't annotated
|
|
19
|
+
* with a config that has no effect.
|
|
20
|
+
*/
|
|
21
|
+
export function outputExpansionConfigs(
|
|
22
|
+
notebook: NotebookState,
|
|
23
|
+
expanded: boolean,
|
|
24
|
+
): Record<CellId, Partial<CellConfig>> {
|
|
25
|
+
const configs: Record<CellId, Partial<CellConfig>> = {};
|
|
26
|
+
for (const cellId of notebook.cellIds.inOrderIds) {
|
|
27
|
+
const cell = notebook.cellData[cellId];
|
|
28
|
+
if (
|
|
29
|
+
cell === undefined ||
|
|
30
|
+
(cell.config.expand_output ?? false) === expanded
|
|
31
|
+
) {
|
|
32
|
+
continue;
|
|
33
|
+
}
|
|
34
|
+
if (isOutputEmpty(notebook.cellRuntime[cellId]?.output)) {
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
configs[cellId] = { expand_output: expanded };
|
|
38
|
+
}
|
|
39
|
+
return configs;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Hook returning a callback that shows every cell's output in full, or clamps
|
|
44
|
+
* every output to a fixed height, by setting each cell's `expand_output` config.
|
|
45
|
+
*/
|
|
46
|
+
export const useSetOutputsExpanded = () => {
|
|
47
|
+
const { updateCellConfig } = useCellActions();
|
|
48
|
+
const { saveCellConfig } = useRequestClient();
|
|
49
|
+
|
|
50
|
+
return useCallback(
|
|
51
|
+
async (expanded: boolean) => {
|
|
52
|
+
const newConfigs = outputExpansionConfigs(getNotebook(), expanded);
|
|
53
|
+
|
|
54
|
+
const entries = Objects.entries(newConfigs);
|
|
55
|
+
if (entries.length === 0) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
await saveCellConfig({ configs: newConfigs });
|
|
60
|
+
|
|
61
|
+
for (const [cellId, config] of entries) {
|
|
62
|
+
updateCellConfig({ cellId, config });
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
[updateCellConfig, saveCellConfig],
|
|
66
|
+
);
|
|
67
|
+
};
|
|
@@ -8,16 +8,22 @@ import { alertAtom, getPackageAlert } from "@/core/alerts/state";
|
|
|
8
8
|
import { notebookAtom } from "@/core/cells/cells";
|
|
9
9
|
import { CellId } from "@/core/cells/ids";
|
|
10
10
|
import { AppConfigSchema } from "@/core/config/config-schema";
|
|
11
|
+
import { kernelStartupErrorAtom } from "@/core/errors/state";
|
|
11
12
|
import { connectionAtom } from "@/core/network/connection";
|
|
12
13
|
import { sandboxAtom, sandboxSyncAtom } from "@/core/packages/sandbox-state";
|
|
13
|
-
import { WebSocketClosedReason,
|
|
14
|
+
import { WebSocketClosedReason, ConnectionState } from "@/core/websocket/types";
|
|
14
15
|
import { chromeAtom } from "../../chrome/state";
|
|
16
|
+
import { runtimeDetailsExpandedAtom } from "../../chrome/panels/runtime-details-state";
|
|
15
17
|
import { ConnectionNotice } from "../connection-notice";
|
|
16
18
|
|
|
17
19
|
beforeEach(() => vi.useFakeTimers());
|
|
18
20
|
afterEach(() => vi.useRealTimers());
|
|
19
21
|
|
|
20
|
-
function mount(
|
|
22
|
+
function mount({
|
|
23
|
+
existingCells = false,
|
|
24
|
+
onRetry = vi.fn(),
|
|
25
|
+
canOpenPackages = true,
|
|
26
|
+
} = {}) {
|
|
21
27
|
const store = createStore();
|
|
22
28
|
store.set(sandboxAtom, {
|
|
23
29
|
backend: "pixi",
|
|
@@ -25,7 +31,7 @@ function mount(existingCells = false) {
|
|
|
25
31
|
filename: "notebook.py",
|
|
26
32
|
});
|
|
27
33
|
store.set(connectionAtom, {
|
|
28
|
-
state:
|
|
34
|
+
state: ConnectionState.CONNECTING,
|
|
29
35
|
phase: "preparing-environment",
|
|
30
36
|
});
|
|
31
37
|
if (existingCells) {
|
|
@@ -40,7 +46,8 @@ function mount(existingCells = false) {
|
|
|
40
46
|
<Provider store={store}>
|
|
41
47
|
<ConnectionNotice
|
|
42
48
|
appConfig={AppConfigSchema.parse({})}
|
|
43
|
-
onRetry={
|
|
49
|
+
onRetry={onRetry}
|
|
50
|
+
canOpenPackages={canOpenPackages}
|
|
44
51
|
/>
|
|
45
52
|
</Provider>,
|
|
46
53
|
);
|
|
@@ -57,13 +64,13 @@ it("shows both stages in an empty notebook, checks them off, then dismisses Read
|
|
|
57
64
|
expect(steps.getByText("Start kernel")).toBeInTheDocument();
|
|
58
65
|
act(() =>
|
|
59
66
|
store.set(connectionAtom, {
|
|
60
|
-
state:
|
|
67
|
+
state: ConnectionState.CONNECTING,
|
|
61
68
|
phase: "starting-kernel",
|
|
62
69
|
}),
|
|
63
70
|
);
|
|
64
71
|
expect(steps.getByText("Environment prepared")).toBeInTheDocument();
|
|
65
72
|
expect(steps.getByText("Starting kernel")).toBeInTheDocument();
|
|
66
|
-
act(() => store.set(connectionAtom, { state:
|
|
73
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
67
74
|
expect(
|
|
68
75
|
screen.getByRole("heading", { name: "Your notebook is ready" }),
|
|
69
76
|
).toBeInTheDocument();
|
|
@@ -78,8 +85,122 @@ it("shows both stages in an empty notebook, checks them off, then dismisses Read
|
|
|
78
85
|
).not.toBeInTheDocument();
|
|
79
86
|
});
|
|
80
87
|
|
|
88
|
+
it("uses the shared kernel stage for an ordinary connection and dismisses it when connected", () => {
|
|
89
|
+
const store = mount();
|
|
90
|
+
act(() => {
|
|
91
|
+
store.set(sandboxAtom, null);
|
|
92
|
+
store.set(connectionAtom, { state: ConnectionState.CONNECTING });
|
|
93
|
+
});
|
|
94
|
+
act(() => vi.advanceTimersByTime(500));
|
|
95
|
+
const stages = within(
|
|
96
|
+
screen.getByRole("list", {
|
|
97
|
+
name: "Notebook startup stages",
|
|
98
|
+
}),
|
|
99
|
+
);
|
|
100
|
+
expect(stages.getAllByRole("listitem")).toHaveLength(1);
|
|
101
|
+
expect(stages.getByText("Starting kernel")).toBeVisible();
|
|
102
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
103
|
+
expect(screen.queryByRole("region", { name: "Notebook startup" })).toBeNull();
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
it("shows connection status until a sandbox reports its startup phase", () => {
|
|
107
|
+
const store = mount();
|
|
108
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.CONNECTING }));
|
|
109
|
+
act(() => vi.advanceTimersByTime(500));
|
|
110
|
+
expect(screen.getByRole("heading", { name: "Connecting…" })).toBeVisible();
|
|
111
|
+
expect(screen.queryByRole("list")).not.toBeInTheDocument();
|
|
112
|
+
|
|
113
|
+
act(() =>
|
|
114
|
+
store.set(connectionAtom, {
|
|
115
|
+
state: ConnectionState.CLOSED,
|
|
116
|
+
code: WebSocketClosedReason.KERNEL_STARTUP_ERROR,
|
|
117
|
+
reason: "Kernel startup failed",
|
|
118
|
+
}),
|
|
119
|
+
);
|
|
120
|
+
expect(
|
|
121
|
+
screen.getByRole("heading", { name: "Kernel failed to start" }),
|
|
122
|
+
).toBeVisible();
|
|
123
|
+
expect(screen.queryByRole("list")).not.toBeInTheDocument();
|
|
124
|
+
|
|
125
|
+
act(() =>
|
|
126
|
+
store.set(connectionAtom, {
|
|
127
|
+
state: ConnectionState.CONNECTING,
|
|
128
|
+
phase: "preparing-environment",
|
|
129
|
+
}),
|
|
130
|
+
);
|
|
131
|
+
act(() => vi.advanceTimersByTime(500));
|
|
132
|
+
expect(screen.getByRole("list")).toHaveTextContent("Preparing environment");
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
it("shows kernel startup while sandbox metadata is loading, then adds environment preparation", () => {
|
|
136
|
+
const store = mount();
|
|
137
|
+
const sandbox = store.get(sandboxAtom);
|
|
138
|
+
act(() => store.set(sandboxAtom, null));
|
|
139
|
+
act(() => vi.advanceTimersByTime(500));
|
|
140
|
+
expect(screen.getByText("Starting kernel")).toBeVisible();
|
|
141
|
+
expect(screen.getAllByRole("listitem")).toHaveLength(1);
|
|
142
|
+
|
|
143
|
+
act(() => store.set(sandboxAtom, sandbox));
|
|
144
|
+
const stages = within(screen.getByRole("list"));
|
|
145
|
+
expect(stages.getByText("Preparing environment")).toBeVisible();
|
|
146
|
+
expect(stages.getByText("Start kernel")).toBeVisible();
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
it("shows ordinary environment preparation failures in the kernel stage", () => {
|
|
150
|
+
const store = mount();
|
|
151
|
+
act(() => store.set(sandboxAtom, null));
|
|
152
|
+
act(() => vi.advanceTimersByTime(500));
|
|
153
|
+
expect(screen.getByText("Starting kernel")).toBeVisible();
|
|
154
|
+
expect(screen.getAllByRole("listitem")).toHaveLength(1);
|
|
155
|
+
act(() => {
|
|
156
|
+
store.set(
|
|
157
|
+
kernelStartupErrorAtom,
|
|
158
|
+
"Configured Python environment is missing",
|
|
159
|
+
);
|
|
160
|
+
store.set(connectionAtom, {
|
|
161
|
+
state: ConnectionState.CLOSED,
|
|
162
|
+
phase: "preparing-environment",
|
|
163
|
+
code: WebSocketClosedReason.KERNEL_STARTUP_ERROR,
|
|
164
|
+
reason: "Kernel startup failed",
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
expect(screen.getByRole("listitem")).toHaveTextContent(
|
|
168
|
+
"Kernel failed to start",
|
|
169
|
+
);
|
|
170
|
+
expect(screen.getByRole("status")).toHaveTextContent(
|
|
171
|
+
"Kernel failed to start",
|
|
172
|
+
);
|
|
173
|
+
expect(screen.getByLabelText("Error details")).toHaveTextContent(
|
|
174
|
+
"Configured Python environment is missing",
|
|
175
|
+
);
|
|
176
|
+
});
|
|
177
|
+
|
|
178
|
+
it("reports the inline disclosure as expanded only when Packages and runtime details are open", () => {
|
|
179
|
+
const store = mount({ existingCells: true });
|
|
180
|
+
act(() => {
|
|
181
|
+
store.set(chromeAtom, (value) => ({
|
|
182
|
+
...value,
|
|
183
|
+
isSidebarOpen: true,
|
|
184
|
+
selectedPanel: "packages",
|
|
185
|
+
}));
|
|
186
|
+
store.set(runtimeDetailsExpandedAtom, false);
|
|
187
|
+
});
|
|
188
|
+
act(() => vi.advanceTimersByTime(500));
|
|
189
|
+
const toggle = screen.getByRole("button", { name: /Open Packages/ });
|
|
190
|
+
expect(toggle).toHaveAttribute("aria-expanded", "false");
|
|
191
|
+
fireEvent.click(toggle);
|
|
192
|
+
expect(toggle).toHaveAttribute("aria-expanded", "true");
|
|
193
|
+
act(() => store.set(runtimeDetailsExpandedAtom, false));
|
|
194
|
+
expect(toggle).toHaveAttribute("aria-expanded", "false");
|
|
195
|
+
act(() => {
|
|
196
|
+
store.set(runtimeDetailsExpandedAtom, true);
|
|
197
|
+
store.set(chromeAtom, (value) => ({ ...value, isSidebarOpen: false }));
|
|
198
|
+
});
|
|
199
|
+
expect(toggle).toHaveAttribute("aria-expanded", "false");
|
|
200
|
+
});
|
|
201
|
+
|
|
81
202
|
it("opens Packages from the minimal inline status when cells exist", () => {
|
|
82
|
-
const store = mount(true);
|
|
203
|
+
const store = mount({ existingCells: true });
|
|
83
204
|
act(() => vi.advanceTimersByTime(500));
|
|
84
205
|
expect(screen.queryByRole("list")).not.toBeInTheDocument();
|
|
85
206
|
fireEvent.click(screen.getByRole("button", { name: /Open Packages/ }));
|
|
@@ -87,14 +208,100 @@ it("opens Packages from the minimal inline status when cells exist", () => {
|
|
|
87
208
|
isSidebarOpen: true,
|
|
88
209
|
selectedPanel: "packages",
|
|
89
210
|
});
|
|
90
|
-
act(() => store.set(connectionAtom, { state:
|
|
211
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
91
212
|
expect(screen.getByRole("status")).toHaveTextContent(/^Ready$/);
|
|
92
213
|
});
|
|
93
214
|
|
|
215
|
+
it("uses an inline notice for an existing ordinary notebook, opens collapsed details, and offers retry on failure", () => {
|
|
216
|
+
const onRetry = vi.fn();
|
|
217
|
+
const store = mount({ existingCells: true, onRetry });
|
|
218
|
+
act(() => {
|
|
219
|
+
store.set(sandboxAtom, null);
|
|
220
|
+
store.set(connectionAtom, { state: ConnectionState.CONNECTING });
|
|
221
|
+
store.set(runtimeDetailsExpandedAtom, false);
|
|
222
|
+
});
|
|
223
|
+
act(() => vi.advanceTimersByTime(500));
|
|
224
|
+
const statusRow = screen.getByRole("region", {
|
|
225
|
+
name: "Notebook startup",
|
|
226
|
+
}).parentElement;
|
|
227
|
+
fireEvent.click(screen.getByRole("button", { name: /Open Packages/ }));
|
|
228
|
+
expect(store.get(chromeAtom)).toMatchObject({
|
|
229
|
+
isSidebarOpen: true,
|
|
230
|
+
selectedPanel: "packages",
|
|
231
|
+
});
|
|
232
|
+
expect(store.get(runtimeDetailsExpandedAtom)).toBe(true);
|
|
233
|
+
act(() =>
|
|
234
|
+
store.set(connectionAtom, {
|
|
235
|
+
state: ConnectionState.CLOSED,
|
|
236
|
+
code: WebSocketClosedReason.KERNEL_STARTUP_ERROR,
|
|
237
|
+
reason: "Kernel startup failed",
|
|
238
|
+
}),
|
|
239
|
+
);
|
|
240
|
+
expect(
|
|
241
|
+
screen.getByRole("button", {
|
|
242
|
+
name: /Kernel failed to start Open Packages/,
|
|
243
|
+
}),
|
|
244
|
+
).toBeVisible();
|
|
245
|
+
fireEvent.click(screen.getByRole("button", { name: "Try again" }));
|
|
246
|
+
expect(onRetry).toHaveBeenCalledOnce();
|
|
247
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
248
|
+
expect(screen.queryByRole("region", { name: "Notebook startup" })).toBeNull();
|
|
249
|
+
expect(statusRow).not.toBeInTheDocument();
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
it.each([
|
|
253
|
+
{ existingCells: false, sandbox: false },
|
|
254
|
+
{ existingCells: true, sandbox: false },
|
|
255
|
+
{ existingCells: false, sandbox: true },
|
|
256
|
+
{ existingCells: true, sandbox: true },
|
|
257
|
+
])(
|
|
258
|
+
"keeps errors in the notebook without chrome (cells=$existingCells, sandbox=$sandbox)",
|
|
259
|
+
({ existingCells, sandbox }) => {
|
|
260
|
+
const onRetry = vi.fn();
|
|
261
|
+
const store = mount({ existingCells, onRetry, canOpenPackages: false });
|
|
262
|
+
act(() => {
|
|
263
|
+
if (!sandbox) {
|
|
264
|
+
store.set(sandboxAtom, null);
|
|
265
|
+
}
|
|
266
|
+
store.set(connectionAtom, {
|
|
267
|
+
state: ConnectionState.CONNECTING,
|
|
268
|
+
phase: "starting-kernel",
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
act(() => vi.advanceTimersByTime(500));
|
|
272
|
+
expect(screen.getByText("Starting kernel")).toBeVisible();
|
|
273
|
+
expect(screen.getByRole("status")).toHaveTextContent("Starting kernel…");
|
|
274
|
+
expect(screen.queryByRole("button")).not.toBeInTheDocument();
|
|
275
|
+
|
|
276
|
+
act(() => {
|
|
277
|
+
store.set(kernelStartupErrorAtom, "Could not import the runtime");
|
|
278
|
+
store.set(connectionAtom, {
|
|
279
|
+
state: ConnectionState.CLOSED,
|
|
280
|
+
phase: "starting-kernel",
|
|
281
|
+
code: WebSocketClosedReason.KERNEL_STARTUP_ERROR,
|
|
282
|
+
reason: "Kernel startup failed",
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
expect(screen.getByLabelText("Error details")).toHaveTextContent(
|
|
286
|
+
"Could not import the runtime",
|
|
287
|
+
);
|
|
288
|
+
expect(screen.getByRole("status")).toHaveTextContent(
|
|
289
|
+
"Kernel failed to start",
|
|
290
|
+
);
|
|
291
|
+
expect(
|
|
292
|
+
screen.queryByRole("button", { name: /Open Packages/ }),
|
|
293
|
+
).not.toBeInTheDocument();
|
|
294
|
+
if (!sandbox) {
|
|
295
|
+
fireEvent.click(screen.getByRole("button", { name: "Try again" }));
|
|
296
|
+
}
|
|
297
|
+
expect(onRetry).toHaveBeenCalledTimes(sandbox ? 0 : 1);
|
|
298
|
+
},
|
|
299
|
+
);
|
|
300
|
+
|
|
94
301
|
it("does not flash Ready for a startup that finished before the notice appeared", () => {
|
|
95
|
-
const store = mount(true);
|
|
302
|
+
const store = mount({ existingCells: true });
|
|
96
303
|
act(() => vi.advanceTimersByTime(200));
|
|
97
|
-
act(() => store.set(connectionAtom, { state:
|
|
304
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
98
305
|
expect(screen.queryByRole("status")).not.toBeInTheDocument();
|
|
99
306
|
act(() => vi.advanceTimersByTime(2000));
|
|
100
307
|
expect(screen.queryByRole("status")).not.toBeInTheDocument();
|
|
@@ -103,11 +310,11 @@ it("does not flash Ready for a startup that finished before the notice appeared"
|
|
|
103
310
|
it("replaces Ready with a new attempt and never dismisses a failure", () => {
|
|
104
311
|
const store = mount();
|
|
105
312
|
act(() => vi.advanceTimersByTime(500));
|
|
106
|
-
act(() => store.set(connectionAtom, { state:
|
|
313
|
+
act(() => store.set(connectionAtom, { state: ConnectionState.OPEN }));
|
|
107
314
|
act(() => vi.advanceTimersByTime(1000));
|
|
108
315
|
act(() =>
|
|
109
316
|
store.set(connectionAtom, {
|
|
110
|
-
state:
|
|
317
|
+
state: ConnectionState.CONNECTING,
|
|
111
318
|
phase: "starting-kernel",
|
|
112
319
|
}),
|
|
113
320
|
);
|
|
@@ -115,7 +322,7 @@ it("replaces Ready with a new attempt and never dismisses a failure", () => {
|
|
|
115
322
|
expect(screen.getByText("Starting kernel")).toBeInTheDocument();
|
|
116
323
|
act(() =>
|
|
117
324
|
store.set(connectionAtom, {
|
|
118
|
-
state:
|
|
325
|
+
state: ConnectionState.CLOSED,
|
|
119
326
|
code: WebSocketClosedReason.KERNEL_STARTUP_ERROR,
|
|
120
327
|
phase: "starting-kernel",
|
|
121
328
|
reason: "Kernel startup failed",
|
|
@@ -128,9 +335,9 @@ it("replaces Ready with a new attempt and never dismisses a failure", () => {
|
|
|
128
335
|
});
|
|
129
336
|
|
|
130
337
|
it("shows a sync as a single operation, without pretending to restart the kernel", () => {
|
|
131
|
-
const store = mount(true);
|
|
338
|
+
const store = mount({ existingCells: true });
|
|
132
339
|
act(() => {
|
|
133
|
-
store.set(connectionAtom, { state:
|
|
340
|
+
store.set(connectionAtom, { state: ConnectionState.OPEN });
|
|
134
341
|
store.set(sandboxSyncAtom, { kind: "running" });
|
|
135
342
|
});
|
|
136
343
|
act(() => vi.advanceTimersByTime(500));
|
|
@@ -141,7 +348,7 @@ it("shows a sync as a single operation, without pretending to restart the kernel
|
|
|
141
348
|
});
|
|
142
349
|
|
|
143
350
|
it("restores syncing in the existing status and stays quiet for a completed snapshot", () => {
|
|
144
|
-
const store = mount(true);
|
|
351
|
+
const store = mount({ existingCells: true });
|
|
145
352
|
const operation: EnvironmentOperation = {
|
|
146
353
|
operation_id: "sync",
|
|
147
354
|
action: "sync",
|
|
@@ -162,7 +369,7 @@ it("restores syncing in the existing status and stays quiet for a completed snap
|
|
|
162
369
|
},
|
|
163
370
|
}));
|
|
164
371
|
act(() => {
|
|
165
|
-
store.set(connectionAtom, { state:
|
|
372
|
+
store.set(connectionAtom, { state: ConnectionState.OPEN });
|
|
166
373
|
restore({ kind: "succeeded" });
|
|
167
374
|
});
|
|
168
375
|
act(() => vi.advanceTimersByTime(2000));
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
import type { PropsWithChildren } from "react";
|
|
3
|
+
import type { DisplayConnectionNotice } from "@/core/network/useConnectionNotice";
|
|
4
|
+
import { cn } from "@/utils/cn";
|
|
5
|
+
import {
|
|
6
|
+
ConnectionStatusIcon,
|
|
7
|
+
hasStartupStages,
|
|
8
|
+
StartupProgress,
|
|
9
|
+
} from "./startup-progress";
|
|
10
|
+
|
|
11
|
+
export function ConnectionErrorOutput({ error }: { error: string }) {
|
|
12
|
+
return (
|
|
13
|
+
<pre
|
|
14
|
+
tabIndex={0}
|
|
15
|
+
aria-label="Error details"
|
|
16
|
+
className="mt-3 p-3 rounded border bg-muted/30 text-xs text-muted-foreground whitespace-pre min-w-0 max-w-full max-h-52 overflow-auto"
|
|
17
|
+
>
|
|
18
|
+
{error}
|
|
19
|
+
</pre>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export function ConnectionDetails({
|
|
24
|
+
notice,
|
|
25
|
+
surface = "sidebar",
|
|
26
|
+
children,
|
|
27
|
+
}: PropsWithChildren<{
|
|
28
|
+
notice: DisplayConnectionNotice;
|
|
29
|
+
surface?: "notebook" | "sidebar";
|
|
30
|
+
}>) {
|
|
31
|
+
const showSteps = hasStartupStages(notice);
|
|
32
|
+
const failed = !notice.pending && !notice.ready;
|
|
33
|
+
return (
|
|
34
|
+
<div className="min-w-0 text-sm">
|
|
35
|
+
{showSteps ? (
|
|
36
|
+
<StartupProgress notice={notice} surface={surface} />
|
|
37
|
+
) : (
|
|
38
|
+
<div className="flex items-center gap-2" role="status">
|
|
39
|
+
<ConnectionStatusIcon notice={notice} />
|
|
40
|
+
<h2
|
|
41
|
+
className={cn(
|
|
42
|
+
surface === "notebook" && "text-base",
|
|
43
|
+
failed ? "font-medium text-(--red-11)" : "text-foreground",
|
|
44
|
+
)}
|
|
45
|
+
>
|
|
46
|
+
{notice.title}
|
|
47
|
+
</h2>
|
|
48
|
+
</div>
|
|
49
|
+
)}
|
|
50
|
+
{(failed || (!showSteps && surface === "notebook")) && (
|
|
51
|
+
<p className={cn("mt-2", failed && "text-foreground")}>
|
|
52
|
+
{notice.description}
|
|
53
|
+
</p>
|
|
54
|
+
)}
|
|
55
|
+
{notice.error && (surface === "sidebar" || !notice.sandbox) && (
|
|
56
|
+
<ConnectionErrorOutput error={notice.error} />
|
|
57
|
+
)}
|
|
58
|
+
{children}
|
|
59
|
+
</div>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
-
import { useAtomValue } from "jotai";
|
|
2
|
+
import { useAtom, useAtomValue } from "jotai";
|
|
3
3
|
import { ArrowRightIcon, ChevronRightIcon } from "lucide-react";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { Button } from "@/components/ui/button";
|
|
@@ -8,25 +8,31 @@ import type { AppConfig } from "@/core/config/config-schema";
|
|
|
8
8
|
import { connectionAtom } from "@/core/network/connection";
|
|
9
9
|
import { useConnectionNotice } from "@/core/network/useConnectionNotice";
|
|
10
10
|
import { sandboxAtom } from "@/core/packages/sandbox-state";
|
|
11
|
-
import {
|
|
11
|
+
import { ConnectionState } from "@/core/websocket/types";
|
|
12
12
|
import { useInterval } from "@/hooks/useInterval";
|
|
13
13
|
import { cn } from "@/utils/cn";
|
|
14
|
-
import {
|
|
14
|
+
import { runtimeDetailsExpandedAtom } from "../chrome/panels/runtime-details-state";
|
|
15
15
|
import { chromeAtom, useChromeActions } from "../chrome/state";
|
|
16
16
|
import { VerticalLayoutWrapper } from "../renderers/vertical-layout/vertical-layout-wrapper";
|
|
17
|
-
import {
|
|
17
|
+
import { ConnectionDetails } from "./connection-details";
|
|
18
|
+
import { ConnectionStatusIcon, hasStartupStages } from "./startup-progress";
|
|
18
19
|
|
|
19
20
|
export const ConnectionNotice = ({
|
|
20
21
|
appConfig,
|
|
21
22
|
onRetry,
|
|
23
|
+
canOpenPackages = true,
|
|
22
24
|
}: {
|
|
23
25
|
appConfig: AppConfig;
|
|
24
26
|
onRetry: () => void;
|
|
27
|
+
canOpenPackages?: boolean;
|
|
25
28
|
}) => {
|
|
26
29
|
const notice = useConnectionNotice();
|
|
27
30
|
const connection = useAtomValue(connectionAtom);
|
|
28
31
|
const hasCells = useAtomValue(hasCellsAtom);
|
|
29
32
|
const sandbox = useAtomValue(sandboxAtom);
|
|
33
|
+
const [detailsExpanded, setDetailsExpanded] = useAtom(
|
|
34
|
+
runtimeDetailsExpandedAtom,
|
|
35
|
+
);
|
|
30
36
|
const chrome = useAtomValue(chromeAtom);
|
|
31
37
|
const packagesOpen =
|
|
32
38
|
(chrome.isSidebarOpen && chrome.selectedPanel === "packages") ||
|
|
@@ -36,48 +42,60 @@ export const ConnectionNotice = ({
|
|
|
36
42
|
|
|
37
43
|
// Reconnection uses the footer indicator while existing cells stay visible.
|
|
38
44
|
const reconnecting =
|
|
39
|
-
connection.state ===
|
|
45
|
+
connection.state === ConnectionState.CONNECTING &&
|
|
40
46
|
connection.phase === "reconnecting";
|
|
41
47
|
|
|
42
|
-
|
|
48
|
+
const openDetails = () => {
|
|
49
|
+
setDetailsExpanded(true);
|
|
50
|
+
openApplication("packages");
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
if (!notice && !sandbox?.backend) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (hasCells && canOpenPackages) {
|
|
43
58
|
const title =
|
|
44
59
|
notice?.ready && notice.kind === "startup" ? "Ready" : notice?.title;
|
|
45
60
|
return (
|
|
46
61
|
<VerticalLayoutWrapper
|
|
47
62
|
appConfig={appConfig}
|
|
48
|
-
//
|
|
63
|
+
// Sandboxes retain this row for subsequent environment syncs.
|
|
49
64
|
className="shrink-0 h-12 pb-0 sm:pb-0 print:hidden"
|
|
50
65
|
innerClassName="pb-0 sm:pb-0 pr-4"
|
|
51
66
|
>
|
|
52
67
|
{notice && !reconnecting && (
|
|
53
|
-
<section
|
|
68
|
+
<section
|
|
69
|
+
aria-label="Notebook startup"
|
|
70
|
+
className="flex items-center gap-4"
|
|
71
|
+
>
|
|
54
72
|
<button
|
|
55
73
|
type="button"
|
|
56
|
-
onClick={
|
|
74
|
+
onClick={openDetails}
|
|
57
75
|
aria-label={`${title} Open Packages`}
|
|
58
|
-
aria-expanded={packagesOpen}
|
|
76
|
+
aria-expanded={packagesOpen && detailsExpanded}
|
|
59
77
|
className="flex h-6 items-center gap-2 whitespace-nowrap text-xs text-muted-foreground hover:text-foreground rounded focus-visible:outline-2 focus-visible:outline-ring"
|
|
60
78
|
>
|
|
61
79
|
<ConnectionStatusIcon notice={notice} />
|
|
62
80
|
<output>{title}</output>
|
|
63
81
|
<ChevronRightIcon className="size-3" aria-hidden={true} />
|
|
64
82
|
</button>
|
|
83
|
+
{!notice.pending && !notice.ready && !notice.sandbox && (
|
|
84
|
+
<Button variant="text" size="xs" onClick={onRetry}>
|
|
85
|
+
Try again
|
|
86
|
+
</Button>
|
|
87
|
+
)}
|
|
65
88
|
</section>
|
|
66
89
|
)}
|
|
67
90
|
</VerticalLayoutWrapper>
|
|
68
91
|
);
|
|
69
92
|
}
|
|
70
93
|
|
|
71
|
-
if (!notice
|
|
94
|
+
if (!notice) {
|
|
72
95
|
return null;
|
|
73
96
|
}
|
|
74
97
|
|
|
75
|
-
const showSteps =
|
|
76
|
-
notice.sandbox &&
|
|
77
|
-
notice.kind === "startup" &&
|
|
78
|
-
(notice.ready ||
|
|
79
|
-
notice.phase === "preparing-environment" ||
|
|
80
|
-
notice.phase === "starting-kernel");
|
|
98
|
+
const showSteps = hasStartupStages(notice);
|
|
81
99
|
return (
|
|
82
100
|
<VerticalLayoutWrapper
|
|
83
101
|
appConfig={appConfig}
|
|
@@ -87,51 +105,26 @@ export const ConnectionNotice = ({
|
|
|
87
105
|
<section
|
|
88
106
|
aria-label="Notebook startup"
|
|
89
107
|
className={cn(
|
|
90
|
-
"text-muted-foreground",
|
|
91
|
-
hasCells
|
|
92
|
-
? "mt-4 mb-8 border rounded-lg px-5 py-5"
|
|
93
|
-
: "max-w-md mx-auto mt-16 sm:mt-24 px-4",
|
|
94
|
-
hasCells && !notice.pending && "border-(--red-7)",
|
|
108
|
+
"text-muted-foreground max-w-md mx-auto px-4",
|
|
109
|
+
hasCells ? "mt-4 mb-8" : "mt-16 sm:mt-24",
|
|
95
110
|
)}
|
|
96
111
|
>
|
|
97
|
-
{showSteps
|
|
98
|
-
<
|
|
99
|
-
) : (
|
|
100
|
-
<div role="status" className="flex items-center gap-2.5">
|
|
101
|
-
<ConnectionStatusIcon notice={notice} />
|
|
102
|
-
<h2
|
|
103
|
-
className={cn(
|
|
104
|
-
"text-base",
|
|
105
|
-
notice.pending || notice.ready
|
|
106
|
-
? "font-normal text-foreground"
|
|
107
|
-
: "font-medium text-(--red-11)",
|
|
108
|
-
)}
|
|
109
|
-
>
|
|
110
|
-
{notice.title}
|
|
111
|
-
</h2>
|
|
112
|
-
</div>
|
|
112
|
+
{!canOpenPackages && showSteps && (
|
|
113
|
+
<output className="sr-only">{notice.title}</output>
|
|
113
114
|
)}
|
|
115
|
+
<ConnectionDetails
|
|
116
|
+
notice={notice}
|
|
117
|
+
surface={canOpenPackages ? "notebook" : "sidebar"}
|
|
118
|
+
/>
|
|
114
119
|
<div className={showSteps ? "mt-8" : "ml-6.5"}>
|
|
115
|
-
{!showSteps && (
|
|
116
|
-
<p
|
|
117
|
-
className={cn(
|
|
118
|
-
"mt-3 text-sm leading-7",
|
|
119
|
-
!notice.pending && "text-foreground",
|
|
120
|
-
)}
|
|
121
|
-
>
|
|
122
|
-
{notice.description}
|
|
123
|
-
</p>
|
|
124
|
-
)}
|
|
125
|
-
{!notice.sandbox && notice.error && (
|
|
126
|
-
<SandboxErrorOutput error={notice.error} />
|
|
127
|
-
)}
|
|
128
120
|
<div
|
|
129
121
|
className={cn(
|
|
130
122
|
"flex flex-wrap items-center gap-x-6 gap-y-3",
|
|
131
123
|
showSteps ? "border-t border-border/60 pt-4" : "mt-5",
|
|
132
124
|
)}
|
|
133
125
|
>
|
|
134
|
-
{
|
|
126
|
+
{canOpenPackages &&
|
|
127
|
+
!notice.ready &&
|
|
135
128
|
!packagesOpen &&
|
|
136
129
|
(notice.sandbox || notice.pending) && (
|
|
137
130
|
<Button
|
|
@@ -141,7 +134,7 @@ export const ConnectionNotice = ({
|
|
|
141
134
|
"p-0 text-xs gap-1.5",
|
|
142
135
|
showSteps ? "h-6" : "h-auto",
|
|
143
136
|
)}
|
|
144
|
-
onClick={
|
|
137
|
+
onClick={openDetails}
|
|
145
138
|
>
|
|
146
139
|
{notice.pending ? "View setup details" : "Open Packages"}
|
|
147
140
|
<ArrowRightIcon className="size-3" aria-hidden={true} />
|