@dylanpiercey/work 0.0.133 → 0.0.134
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/_B-QvNFcB.js +2 -0
- package/dist/{_CdtfdUWD.js → _C04hN9Ui.js} +17 -17
- package/dist/_CmQFz3S6.js +2 -0
- package/dist/{_CM_NBV_t.js → _D2Ne8oPk.js} +1 -1
- package/dist/{_D--C0YAu.js → _DBPJnjxF.js} +50 -50
- package/dist/{_Dud_1oT_.js → _wkybTEDR.js} +12 -11
- package/dist/index.mjs +149 -149
- package/dist/public/assets/{_TK_KMjpE.js → _0Sd4iAaq.js} +1 -1
- package/dist/public/assets/_0Sd4iAaq.js.br +0 -0
- package/dist/public/assets/{_B-lfZPO52.js → _2XPzfLYp2.js} +1 -1
- package/dist/public/assets/_2XPzfLYp2.js.br +0 -0
- package/dist/public/assets/{_Dc180U8E.js → _38lLOyV4.js} +1 -1
- package/dist/public/assets/_38lLOyV4.js.br +0 -0
- package/dist/public/assets/{_BM_uVAuI.js → _3M8rHd9q.js} +1 -1
- package/dist/public/assets/_3M8rHd9q.js.br +0 -0
- package/dist/public/assets/{_DtTOv7W8.js → _57VaSNVh.js} +1 -1
- package/dist/public/assets/_57VaSNVh.js.br +0 -0
- package/dist/public/assets/{_B5jJoqyN2.js → _9k941mBT2.js} +1 -1
- package/dist/public/assets/_9k941mBT2.js.br +0 -0
- package/dist/public/assets/{_CcRIiU572.js → _B68ws5JM2.js} +1 -1
- package/dist/public/assets/_B68ws5JM2.js.br +0 -0
- package/dist/public/assets/{_CkHn_zcY2.js → _B8CJtOsm2.js} +1 -1
- package/dist/public/assets/_B8CJtOsm2.js.br +0 -0
- package/dist/public/assets/{_DNQyz1Dv.js → _B9J_gfIE.js} +1 -1
- package/dist/public/assets/_B9J_gfIE.js.br +0 -0
- package/dist/public/assets/{_D8lG_qkF.js → _BAI6pIEH.js} +1 -1
- package/dist/public/assets/_BAI6pIEH.js.br +0 -0
- package/dist/public/assets/{_DKgp50DK.js → _BCzjrlAy.js} +1 -1
- package/dist/public/assets/_BCzjrlAy.js.br +0 -0
- package/dist/public/assets/{_C605xYHH.js → _BOP03gps.js} +1 -1
- package/dist/public/assets/_BOP03gps.js.br +0 -0
- package/dist/public/assets/{_DOXVydQk.js → _BOmDUiov.js} +1 -1
- package/dist/public/assets/_BOmDUiov.js.br +0 -0
- package/dist/public/assets/{_Ct5fyf0T2.js → _BR7X2c7n2.js} +1 -1
- package/dist/public/assets/_BR7X2c7n2.js.br +0 -0
- package/dist/public/assets/{_CGqMpQCH2.js → _BV1EiprI2.js} +1 -1
- package/dist/public/assets/_BV1EiprI2.js.br +0 -0
- package/dist/public/assets/{_6ducUNCS.js → _BWm6t6g5.js} +1 -1
- package/dist/public/assets/_BWm6t6g5.js.br +0 -0
- package/dist/public/assets/{_DAzvTdol.js → _BXT4rVWU.js} +1 -1
- package/dist/public/assets/_BXT4rVWU.js.br +0 -0
- package/dist/public/assets/{_CsEEAWm6.js → _BdlhFWPk.js} +1 -1
- package/dist/public/assets/_BdlhFWPk.js.br +0 -0
- package/dist/public/assets/{_yQM2xxWk.js → _BhUQVKu8.js} +1 -1
- package/dist/public/assets/_BhUQVKu8.js.br +0 -0
- package/dist/public/assets/{_DC3RSJ1J.js → _Bjw4rVxX.js} +1 -1
- package/dist/public/assets/_Bjw4rVxX.js.br +0 -0
- package/dist/public/assets/{_D390gdTI.js → _Bpy8lJQH.js} +6 -6
- package/dist/public/assets/_Bpy8lJQH.js.br +0 -0
- package/dist/public/assets/{_DcGlariG.js → _BsFBQnPe.js} +1 -1
- package/dist/public/assets/_BsFBQnPe.js.br +0 -0
- package/dist/public/assets/{_BQOSbYm82.js → _BwsOUnJq2.js} +1 -1
- package/dist/public/assets/_BwsOUnJq2.js.br +0 -0
- package/dist/public/assets/{_BSnEbg6J2.js → _BzyjsnUO2.js} +1 -1
- package/dist/public/assets/_BzyjsnUO2.js.br +0 -0
- package/dist/public/assets/{_DE4TfPd_2.js → _C0TsHYWM2.js} +1 -1
- package/dist/public/assets/_C0TsHYWM2.js.br +0 -0
- package/dist/public/assets/{_BYCpNqiL.js → _C45W_Lp6.js} +1 -1
- package/dist/public/assets/_C45W_Lp6.js.br +0 -0
- package/dist/public/assets/{_WsvU9QbI.js → _C5N9J9W_.js} +1 -1
- package/dist/public/assets/_C5N9J9W_.js.br +0 -0
- package/dist/public/assets/{_DxyaUwtt.js → _C7yOUMH5.js} +1 -1
- package/dist/public/assets/_C7yOUMH5.js.br +0 -0
- package/dist/public/assets/{_BKCWqy_g.js → _C9FxJoow.js} +1 -1
- package/dist/public/assets/_C9FxJoow.js.br +0 -0
- package/dist/public/assets/{_CS8tE97O.js → _CIn4drK7.js} +1 -1
- package/dist/public/assets/_CIn4drK7.js.br +0 -0
- package/dist/public/assets/{_DFd_RThf2.js → _CJZ6lGU-2.js} +1 -1
- package/dist/public/assets/_CJZ6lGU-2.js.br +0 -0
- package/dist/public/assets/{_qSvlTqpM.js → _CMnrd6fU.js} +1 -1
- package/dist/public/assets/_CMnrd6fU.js.br +0 -0
- package/dist/public/assets/{_DKsD43Py2.js → _CPpT_bAp2.js} +1 -1
- package/dist/public/assets/_CPpT_bAp2.js.br +0 -0
- package/dist/public/assets/{_DSm3oEmt.js → _CUBLnmSA.js} +1 -1
- package/dist/public/assets/_CUBLnmSA.js.br +0 -0
- package/dist/public/assets/{_BmoA9RLw.js → _CUmRJQ35.js} +1 -1
- package/dist/public/assets/_CUmRJQ35.js.br +0 -0
- package/dist/public/assets/{_BitfBqfc.js → _CZZwvo0u.js} +1 -1
- package/dist/public/assets/_CZZwvo0u.js.br +0 -0
- package/dist/public/assets/{_DSAAEdBx.js → _C_bD7OU6.js} +1 -1
- package/dist/public/assets/_C_bD7OU6.js.br +0 -0
- package/dist/public/assets/{_CGFBnyeU2.js → _Ci6_nT4t2.js} +1 -1
- package/dist/public/assets/_Ci6_nT4t2.js.br +0 -0
- package/dist/public/assets/{_Bl4c1xqN.js → _CisgNUxd.js} +1 -1
- package/dist/public/assets/_CisgNUxd.js.br +0 -0
- package/dist/public/assets/{_DQLTL499.js → _Cj36gP3r.js} +1 -1
- package/dist/public/assets/_Cj36gP3r.js.br +0 -0
- package/dist/public/assets/{_CDqZkwOX.js → _CjUGol_X.js} +1 -1
- package/dist/public/assets/_CjUGol_X.js.br +0 -0
- package/dist/public/assets/{_Dti7zj_m2.js → _CoA5CmM72.js} +1 -1
- package/dist/public/assets/_CoA5CmM72.js.br +0 -0
- package/dist/public/assets/{_Cgn64O7y2.js → _CqiVQVB42.js} +1 -1
- package/dist/public/assets/_CqiVQVB42.js.br +0 -0
- package/dist/public/assets/{_Cr0d_-K72.js → _Ct4sne2O2.js} +1 -1
- package/dist/public/assets/{_-Y6OQk6f.js → _CunZWZvv.js} +1 -1
- package/dist/public/assets/_CunZWZvv.js.br +0 -0
- package/dist/public/assets/{_336Unliu.js → _D2zeYViB.js} +1 -1
- package/dist/public/assets/_D2zeYViB.js.br +0 -0
- package/dist/public/assets/{_Bt_7l3mX.js → _D3Hpj9Te.js} +1 -1
- package/dist/public/assets/_D3Hpj9Te.js.br +0 -0
- package/dist/public/assets/{_CwxbRHXQ.js → _DBUO8PvB.js} +1 -1
- package/dist/public/assets/_DBUO8PvB.js.br +0 -0
- package/dist/public/assets/{_fMd05DIW.js → _DFT7BTpC.js} +1 -1
- package/dist/public/assets/_DFT7BTpC.js.br +0 -0
- package/dist/public/assets/{_DJBRxKE2.js → _DQdzo5vx.js} +1 -1
- package/dist/public/assets/_DQdzo5vx.js.br +0 -0
- package/dist/public/assets/{_C16aaAR72.js → _DQqrsLS52.js} +1 -1
- package/dist/public/assets/_DQqrsLS52.js.br +0 -0
- package/dist/public/assets/{_DLPKGh342.js → _DR6v6KT22.js} +1 -1
- package/dist/public/assets/_DR6v6KT22.js.br +0 -0
- package/dist/public/assets/{_BdGb_NIH2.js → _DU8uUGV12.js} +1 -1
- package/dist/public/assets/_DU8uUGV12.js.br +0 -0
- package/dist/public/assets/{_D0zFtirx.js → _DWACLLAl.js} +5 -5
- package/dist/public/assets/_DWACLLAl.js.br +0 -0
- package/dist/public/assets/{_D-3qr50_.js → _DXSlYsr0.js} +1 -1
- package/dist/public/assets/_DXSlYsr0.js.br +0 -0
- package/dist/public/assets/{_CJKYak5x.js → _DaN82C7i.js} +1 -1
- package/dist/public/assets/_DaN82C7i.js.br +0 -0
- package/dist/public/assets/{_DQ8S5Jdr.js → _DlIwuzEd.js} +1 -1
- package/dist/public/assets/_DlIwuzEd.js.br +0 -0
- package/dist/public/assets/{_BL3Yqcs8.js → _Ds61v8vi.js} +1 -1
- package/dist/public/assets/_Ds61v8vi.js.br +0 -0
- package/dist/public/assets/{_D7VoWiP32.js → _Dse6xAP22.js} +1 -1
- package/dist/public/assets/_Dse6xAP22.js.br +0 -0
- package/dist/public/assets/{_Dp0X0OEj2.js → _DubxV47f2.js} +1 -1
- package/dist/public/assets/_DubxV47f2.js.br +0 -0
- package/dist/public/assets/{_DLCwd_Ai.js → _DupM9eEV.js} +1 -1
- package/dist/public/assets/{__e648QtL.js → _KOmqCPbm.js} +1 -1
- package/dist/public/assets/_KOmqCPbm.js.br +0 -0
- package/dist/public/assets/{_CnwEDX72.js → _NrBF2lTC.js} +1 -1
- package/dist/public/assets/_NrBF2lTC.js.br +0 -0
- package/dist/public/assets/{_BqJwQmzo2.js → _Nss91pW_2.js} +1 -1
- package/dist/public/assets/_Nss91pW_2.js.br +0 -0
- package/dist/public/assets/{_CeZ5Cp0c.js → _SlpmB-w5.js} +1 -1
- package/dist/public/assets/_SlpmB-w5.js.br +0 -0
- package/dist/public/assets/{_BWb8DQ89.js → _UuRzi2Pg.js} +1 -1
- package/dist/public/assets/_UuRzi2Pg.js.br +0 -0
- package/dist/public/assets/{_C3rX0kPY.js → _Yk-TslqA.js} +1 -1
- package/dist/public/assets/_Yk-TslqA.js.br +0 -0
- package/dist/public/assets/{_vCWVZzMf.js → _cBrUsk6q.js} +1 -1
- package/dist/public/assets/_cBrUsk6q.js.br +0 -0
- package/dist/public/assets/{_DWs8yHFx2.js → _d-TodGvp2.js} +1 -1
- package/dist/public/assets/_d-TodGvp2.js.br +0 -0
- package/dist/public/assets/{_hOk60eQo.js → _ghOVZPKq.js} +1 -1
- package/dist/public/assets/_ghOVZPKq.js.br +0 -0
- package/dist/public/assets/{_Czr_mCv6.js → _lhQ_uGs7.js} +1 -1
- package/dist/public/assets/_lhQ_uGs7.js.br +0 -0
- package/dist/public/assets/{_Co4DpOFA.js → _m0jpMRnx.js} +1 -1
- package/dist/public/assets/_m0jpMRnx.js.br +0 -0
- package/dist/public/assets/{_CsNc62Si.js → _mzG-3m6a.js} +1 -1
- package/dist/public/assets/_mzG-3m6a.js.br +0 -0
- package/dist/public/assets/{_sAQcXZ9h2.js → _nq_IIC6O2.js} +1 -1
- package/dist/public/assets/{_DRnRvLVd.js → _q9s2TQk5.js} +1 -1
- package/dist/public/assets/_q9s2TQk5.js.br +0 -0
- package/dist/public/assets/{_BCKvSty22.js → _sMtpt30w2.js} +1 -1
- package/dist/public/assets/_sMtpt30w2.js.br +0 -0
- package/dist/public/assets/{app-page-BkhB1v4W.css → app-page-CMazjI1P.css} +1 -1
- package/dist/public/assets/app-page-CMazjI1P.css.br +0 -0
- package/dist/public/assets/{diff-view-BZ8j55Fj.css → diff-view-BhaHll01.css} +1 -1
- package/dist/public/assets/diff-view-BhaHll01.css.br +0 -0
- package/dist/public/assets/new-DUxUh5q7.js +1 -0
- package/dist/public/assets/settings-DUxUh5q7.js +1 -0
- package/dist/public/assets/w-DUxUh5q7.js +1 -0
- package/dist/public/assets/w._-BpgzbM86.js +1 -0
- package/dist/public/assets/w._-DUxUh5q7.js +1 -0
- package/package.json +1 -1
- package/dist/_B4-5M9y6.js +0 -2
- package/dist/_DaZ1KKTE.js +0 -2
- package/dist/public/assets/_-Y6OQk6f.js.br +0 -0
- package/dist/public/assets/_336Unliu.js.br +0 -0
- package/dist/public/assets/_6ducUNCS.js.br +0 -0
- package/dist/public/assets/_B-lfZPO52.js.br +0 -0
- package/dist/public/assets/_B5jJoqyN2.js.br +0 -0
- package/dist/public/assets/_BCKvSty22.js.br +0 -0
- package/dist/public/assets/_BKCWqy_g.js.br +0 -0
- package/dist/public/assets/_BL3Yqcs8.js.br +0 -0
- package/dist/public/assets/_BM_uVAuI.js.br +0 -0
- package/dist/public/assets/_BQOSbYm82.js.br +0 -0
- package/dist/public/assets/_BSnEbg6J2.js.br +0 -0
- package/dist/public/assets/_BWb8DQ89.js.br +0 -0
- package/dist/public/assets/_BYCpNqiL.js.br +0 -0
- package/dist/public/assets/_BdGb_NIH2.js.br +0 -0
- package/dist/public/assets/_BitfBqfc.js.br +0 -0
- package/dist/public/assets/_Bl4c1xqN.js.br +0 -0
- package/dist/public/assets/_BmoA9RLw.js.br +0 -0
- package/dist/public/assets/_BqJwQmzo2.js.br +0 -0
- package/dist/public/assets/_Bt_7l3mX.js.br +0 -0
- package/dist/public/assets/_C16aaAR72.js.br +0 -0
- package/dist/public/assets/_C3rX0kPY.js.br +0 -0
- package/dist/public/assets/_C605xYHH.js.br +0 -0
- package/dist/public/assets/_CDqZkwOX.js.br +0 -0
- package/dist/public/assets/_CGFBnyeU2.js.br +0 -0
- package/dist/public/assets/_CGqMpQCH2.js.br +0 -0
- package/dist/public/assets/_CJKYak5x.js.br +0 -0
- package/dist/public/assets/_CS8tE97O.js.br +0 -0
- package/dist/public/assets/_CcRIiU572.js.br +0 -0
- package/dist/public/assets/_CeZ5Cp0c.js.br +0 -0
- package/dist/public/assets/_Cgn64O7y2.js.br +0 -0
- package/dist/public/assets/_CkHn_zcY2.js.br +0 -0
- package/dist/public/assets/_CnwEDX72.js.br +0 -0
- package/dist/public/assets/_Co4DpOFA.js.br +0 -0
- package/dist/public/assets/_CsEEAWm6.js.br +0 -0
- package/dist/public/assets/_CsNc62Si.js.br +0 -0
- package/dist/public/assets/_Ct5fyf0T2.js.br +0 -0
- package/dist/public/assets/_CwxbRHXQ.js.br +0 -0
- package/dist/public/assets/_Czr_mCv6.js.br +0 -0
- package/dist/public/assets/_D-3qr50_.js.br +0 -0
- package/dist/public/assets/_D0zFtirx.js.br +0 -0
- package/dist/public/assets/_D390gdTI.js.br +0 -0
- package/dist/public/assets/_D7VoWiP32.js.br +0 -0
- package/dist/public/assets/_D8lG_qkF.js.br +0 -0
- package/dist/public/assets/_DAzvTdol.js.br +0 -0
- package/dist/public/assets/_DC3RSJ1J.js.br +0 -0
- package/dist/public/assets/_DE4TfPd_2.js.br +0 -0
- package/dist/public/assets/_DFd_RThf2.js.br +0 -0
- package/dist/public/assets/_DJBRxKE2.js.br +0 -0
- package/dist/public/assets/_DKgp50DK.js.br +0 -0
- package/dist/public/assets/_DKsD43Py2.js.br +0 -0
- package/dist/public/assets/_DLPKGh342.js.br +0 -0
- package/dist/public/assets/_DNQyz1Dv.js.br +0 -0
- package/dist/public/assets/_DOXVydQk.js.br +0 -0
- package/dist/public/assets/_DQ8S5Jdr.js.br +0 -0
- package/dist/public/assets/_DQLTL499.js.br +0 -0
- package/dist/public/assets/_DRnRvLVd.js.br +0 -0
- package/dist/public/assets/_DSAAEdBx.js.br +0 -0
- package/dist/public/assets/_DSm3oEmt.js.br +0 -0
- package/dist/public/assets/_DWs8yHFx2.js.br +0 -0
- package/dist/public/assets/_Dc180U8E.js.br +0 -0
- package/dist/public/assets/_DcGlariG.js.br +0 -0
- package/dist/public/assets/_Dp0X0OEj2.js.br +0 -0
- package/dist/public/assets/_DtTOv7W8.js.br +0 -0
- package/dist/public/assets/_Dti7zj_m2.js.br +0 -0
- package/dist/public/assets/_DxyaUwtt.js.br +0 -0
- package/dist/public/assets/_TK_KMjpE.js.br +0 -0
- package/dist/public/assets/_WsvU9QbI.js.br +0 -0
- package/dist/public/assets/__e648QtL.js.br +0 -0
- package/dist/public/assets/_fMd05DIW.js.br +0 -0
- package/dist/public/assets/_hOk60eQo.js.br +0 -0
- package/dist/public/assets/_qSvlTqpM.js.br +0 -0
- package/dist/public/assets/_vCWVZzMf.js.br +0 -0
- package/dist/public/assets/_yQM2xxWk.js.br +0 -0
- package/dist/public/assets/app-page-BkhB1v4W.css.br +0 -0
- package/dist/public/assets/diff-view-BZ8j55Fj.css.br +0 -0
- package/dist/public/assets/new-DEzYPlB7.js +0 -1
- package/dist/public/assets/settings-DEzYPlB7.js +0 -1
- package/dist/public/assets/w-DEzYPlB7.js +0 -1
- package/dist/public/assets/w._-CYc55EZn.js +0 -1
- package/dist/public/assets/w._-DEzYPlB7.js +0 -1
|
@@ -1967,14 +1967,14 @@ function repoLabel(fullName) {
|
|
|
1967
1967
|
return fullName;
|
|
1968
1968
|
}
|
|
1969
1969
|
var toastKind = {
|
|
1970
|
-
error: "
|
|
1971
|
-
warn: "
|
|
1972
|
-
info: "
|
|
1970
|
+
error: "_bd",
|
|
1971
|
+
warn: "_be",
|
|
1972
|
+
info: "_bf"
|
|
1973
1973
|
};
|
|
1974
1974
|
var toastTitle = {
|
|
1975
|
-
error: "
|
|
1976
|
-
warn: "
|
|
1977
|
-
info: "
|
|
1975
|
+
error: "_bg",
|
|
1976
|
+
warn: "_bh",
|
|
1977
|
+
info: "_bi"
|
|
1978
1978
|
};
|
|
1979
1979
|
//#endregion
|
|
1980
1980
|
//#region src/tags/icons/icon-base.marko
|
|
@@ -2012,18 +2012,18 @@ var toast_default = _template("E", (input) => {
|
|
|
2012
2012
|
const kind = inputKind || "error";
|
|
2013
2013
|
const placement = inputPlacement || "float";
|
|
2014
2014
|
const placementClass = {
|
|
2015
|
-
float: "
|
|
2016
|
-
inline: "
|
|
2015
|
+
float: "_bb",
|
|
2016
|
+
inline: "_bc"
|
|
2017
2017
|
}[placement];
|
|
2018
2018
|
_html(`<div${_attr_class([
|
|
2019
|
-
"
|
|
2019
|
+
"_ba",
|
|
2020
2020
|
toastKind[kind],
|
|
2021
2021
|
placementClass,
|
|
2022
2022
|
inputClass
|
|
2023
2023
|
])} role=${kind === "error" ? "alert" : "status"}${_attrs_partial(htmlInput, {
|
|
2024
2024
|
class: 1,
|
|
2025
2025
|
role: 1
|
|
2026
|
-
}, "a", $scope0_id, "div")}><div${_attr_class("
|
|
2026
|
+
}, "a", $scope0_id, "div")}><div${_attr_class("_bj")}>`);
|
|
2027
2027
|
_if(() => {
|
|
2028
2028
|
if (title) {
|
|
2029
2029
|
const $scope1_id = _scope_id();
|
|
@@ -2035,7 +2035,7 @@ var toast_default = _template("E", (input) => {
|
|
|
2035
2035
|
_if(() => {
|
|
2036
2036
|
if (content) {
|
|
2037
2037
|
const $scope2_id = _scope_id();
|
|
2038
|
-
_html(`<div${_attr_class("
|
|
2038
|
+
_html(`<div${_attr_class("_bk")}>`);
|
|
2039
2039
|
_dynamic_tag($scope2_id, "b", content, {}, 0, 0, $sg__input_content);
|
|
2040
2040
|
_html("</div>");
|
|
2041
2041
|
$si__input_content && writeScope($scope2_id, { _: _scope_with_id($scope0_id) });
|
|
@@ -2046,7 +2046,7 @@ var toast_default = _template("E", (input) => {
|
|
|
2046
2046
|
_if(() => {
|
|
2047
2047
|
if (action || onDismiss) {
|
|
2048
2048
|
const $scope3_id = _scope_id();
|
|
2049
|
-
_html(`<div${_attr_class("
|
|
2049
|
+
_html(`<div${_attr_class("_bl")}>`);
|
|
2050
2050
|
_if(() => {
|
|
2051
2051
|
if (action) {
|
|
2052
2052
|
const $scope4_id = _scope_id();
|
|
@@ -2058,7 +2058,7 @@ var toast_default = _template("E", (input) => {
|
|
|
2058
2058
|
_if(() => {
|
|
2059
2059
|
if (onDismiss) {
|
|
2060
2060
|
const $scope5_id = _scope_id();
|
|
2061
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
2061
|
+
_html(`<button${_attr_class([iconBtnRow, "_bm"])} type=button title=Dismiss aria-label=Dismiss>`);
|
|
2062
2062
|
icon_xmark_default({ size: 14 });
|
|
2063
2063
|
_html(`</button>${_el_resume($scope5_id, "a")}`);
|
|
2064
2064
|
_script($scope5_id, "E0");
|
|
@@ -2173,8 +2173,8 @@ function theme() {
|
|
|
2173
2173
|
function setTheme(mode) {
|
|
2174
2174
|
set("theme", mode === "system" ? null : mode);
|
|
2175
2175
|
}
|
|
2176
|
-
var sectionCount = "
|
|
2177
|
-
var row = "
|
|
2176
|
+
var sectionCount = "_bz _H _I";
|
|
2177
|
+
var row = "_bK _bC";
|
|
2178
2178
|
var iconBtn = "_Z _j";
|
|
2179
2179
|
//#endregion
|
|
2180
2180
|
//#region src/tags/icons/icon-refresh.marko
|
|
@@ -2320,8 +2320,8 @@ var icon_sidebar_default = _template("kb", (input) => {
|
|
|
2320
2320
|
});
|
|
2321
2321
|
_serialize_if($scope0_reason, 0) && writeScope($scope0_id, { a: _existing_scope($childScope) });
|
|
2322
2322
|
});
|
|
2323
|
-
var findInput = "
|
|
2324
|
-
var findIconBtn = "
|
|
2323
|
+
var findInput = "_gL _l";
|
|
2324
|
+
var findIconBtn = "_gO _j";
|
|
2325
2325
|
//#endregion
|
|
2326
2326
|
//#region src/tags/icons/icon-arrow-down.marko
|
|
2327
2327
|
var icon_arrow_down_default = _template("J", (input) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { U as subscriberCount, V as publish, W as subscriberJoins, dt as all, ft as db, g as sessionStates, l as listSessions } from "./_BBmEhpPH.js";
|
|
2
|
-
import { A as portsByWorkspace, J as hostToken, K as forgetToken, M as headOid, Q as ownsBranch, R as repoParent, V as DEFAULT_HOST, Y as joinRepo, Z as splitRepo, h as listWorkspaces, o as pushFailureFor, q as graphqlUrl, z as swr } from "./
|
|
2
|
+
import { A as portsByWorkspace, J as hostToken, K as forgetToken, M as headOid, Q as ownsBranch, R as repoParent, V as DEFAULT_HOST, Y as joinRepo, Z as splitRepo, h as listWorkspaces, o as pushFailureFor, q as graphqlUrl, z as swr } from "./_wkybTEDR.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
//#region src/server/github-api.ts
|
|
5
5
|
/** Run a GraphQL query against one host.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as _attr_style, At as _subscribe, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, Et as _sep, G as _attr_class, H as tone, I as iconBtnLg, J as _attr_input_value, K as _attr_details_or_dialog_open, L as iconBtnRow, O as icon_xmark_default, Ot as _serialize_if, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, St as _scope_id, Tt as _script, W as _attr, X as _attr_option_value, _ as diffScope, a as fuzzy, b as setDiffPos, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, g as diffPos, gt as _html, h as diffFilter, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, n as findIconBtn, ot as _el, pt as _for_of, r as findInput, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, u as icon_back_default, v as diffTreeOpen, vt as _if, wt as _scope_with_id, x as setDiffScope, xt as _resume_branch, yt as _peek_scope_id } from "./
|
|
1
|
+
import { $ as _attr_style, At as _subscribe, Ct as _scope_reason, D as toast_default, Dt as _serialize_guard, Et as _sep, G as _attr_class, H as tone, I as iconBtnLg, J as _attr_input_value, K as _attr_details_or_dialog_open, L as iconBtnRow, O as icon_xmark_default, Ot as _serialize_if, Q as _attr_select_value, R as iconBtnXs, Rt as writeScope, St as _scope_id, Tt as _script, W as _attr, X as _attr_option_value, _ as diffScope, a as fuzzy, b as setDiffPos, bt as _resume, c as icon_arrow_up_default, ct as _el_resume, d as icon_refresh_default, dt as _existing_scope, g as diffPos, gt as _html, h as diffFilter, i as icon_sidebar_default, it as _content_resume, j as repoLabel, jt as _template, k as icon_base_default, kt as _set_serialize_reason, l as icon_chevron_right_default, lt as _escape, n as findIconBtn, ot as _el, pt as _for_of, r as findInput, s as icon_search_default, st as _el_read_error, t as icon_arrow_down_default, u as icon_back_default, v as diffTreeOpen, vt as _if, wt as _scope_with_id, x as setDiffScope, xt as _resume_branch, yt as _peek_scope_id } from "./_C04hN9Ui.js";
|
|
2
2
|
//#region src/client/router.ts
|
|
3
3
|
function urlFor(r) {
|
|
4
4
|
if (r.view === "settings") return "/settings";
|
|
@@ -242,7 +242,7 @@ function treeDirs(files) {
|
|
|
242
242
|
};
|
|
243
243
|
return build(root, "", "", -1);
|
|
244
244
|
}
|
|
245
|
-
var treeToggle = "
|
|
245
|
+
var treeToggle = "_ev _Z _j";
|
|
246
246
|
//#endregion
|
|
247
247
|
//#region src/tags/diff-send.marko
|
|
248
248
|
var diff_send_default = _template("j", (input) => {
|
|
@@ -252,7 +252,7 @@ var diff_send_default = _template("j", (input) => {
|
|
|
252
252
|
let sendTarget = null;
|
|
253
253
|
const sessions = input.sessions || [];
|
|
254
254
|
const sendPick = sessions.some((s) => s.id === sendTarget) ? sendTarget : sessions[0]?.id ?? null;
|
|
255
|
-
_html(`<span${_attr_class("
|
|
255
|
+
_html(`<span${_attr_class("_f0")}><button type=button${_attr_class("_o")} title="Copy comments as markdown">Copy${_el_resume($scope0_id, "c")}</button>${_el_resume($scope0_id, "b")}`);
|
|
256
256
|
_if(() => {
|
|
257
257
|
if (sessions.length === 1) {
|
|
258
258
|
const $scope1_id = _scope_id();
|
|
@@ -262,11 +262,11 @@ var diff_send_default = _template("j", (input) => {
|
|
|
262
262
|
return 0;
|
|
263
263
|
} else if (sessions.length) {
|
|
264
264
|
const $scope2_id = _scope_id();
|
|
265
|
-
_html(`<span${_attr_class("
|
|
265
|
+
_html(`<span${_attr_class("_f1")}><button type=button${_attr_class(["_p", "_f2"])}${_attr("disabled", sending)}>Send to${_el_resume($scope2_id, "c")}</button>${_el_resume($scope2_id, "b")}`);
|
|
266
266
|
_attr_select_value($scope2_id, "d", sendTarget, _resume((_new_sendTarget) => {
|
|
267
267
|
sendTarget = _new_sendTarget;
|
|
268
268
|
}, "j0", $scope2_id), () => {
|
|
269
|
-
_html(`<select${_attr_class("
|
|
269
|
+
_html(`<select${_attr_class("_f3")} aria-label="Send comments to session"${_attr("disabled", sending)}>`);
|
|
270
270
|
_for_of(sessions, (s) => {
|
|
271
271
|
const $scope3_id = _scope_id();
|
|
272
272
|
_html(`<option${_attr_option_value(s.id)}>${_escape(s.title || s.agent)}${_el_resume($scope3_id, "b", $sg__input_sessions)}</option>${_el_resume($scope3_id, "a", $sg__input_sessions)}`);
|
|
@@ -1848,9 +1848,9 @@ var diff_find_default = _template("i", (input) => {
|
|
|
1848
1848
|
el.select();
|
|
1849
1849
|
}, 0);
|
|
1850
1850
|
}, "i5", $scope0_id);
|
|
1851
|
-
_html(`<div${_attr_class(["
|
|
1851
|
+
_html(`<div${_attr_class(["_gK", !open && "_gJ"])} aria-hidden=${open ? "false" : "true"}><input${_attr_input_value($scope0_id, "b", query || "", _resume(function(v) {
|
|
1852
1852
|
type(v);
|
|
1853
|
-
}, "i0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("
|
|
1853
|
+
}, "i0", $scope0_id))}${_attr_class(findInput)} type=search enterkeyhint=search autocomplete=off tabindex=${open ? "0" : "-1"} placeholder="Find in review" aria-label="Find in review">${_el_resume($scope0_id, "b")}<span${_attr_class("_gN")}>${open && (query || "").trim() ? hits.length ? `${_escape(`${at + 1}`)}/${_escape(`${hits.length}`)}` : "0/0" : ""}${_el_resume($scope0_id, "d")}</span><button type=button${_attr_class(findIconBtn)} title="Previous match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
1854
1854
|
icon_arrow_up_default({ size: 14 });
|
|
1855
1855
|
_html(`</button>${_el_resume($scope0_id, "e")}<button type=button${_attr_class(findIconBtn)} title="Next match"${_attr("disabled", !hits.length || !open)} tabindex=${open ? "0" : "-1"}>`);
|
|
1856
1856
|
icon_arrow_down_default({ size: 14 });
|
|
@@ -2026,7 +2026,7 @@ var diff_file_default = _template("h", (input) => {
|
|
|
2026
2026
|
_scope_reason();
|
|
2027
2027
|
const $scope0_id = _scope_id();
|
|
2028
2028
|
_el($scope0_id, "h0");
|
|
2029
|
-
_html(`<div${_attr_class(["
|
|
2029
|
+
_html(`<div${_attr_class(["_h3", input.class])}></div>${_el_resume($scope0_id, "a")}`);
|
|
2030
2030
|
_script($scope0_id, "h1");
|
|
2031
2031
|
writeScope($scope0_id, {
|
|
2032
2032
|
e: input.file,
|
|
@@ -2434,7 +2434,7 @@ var review_section_default = _template("w", (input) => {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
_resume_branch($scope0_id);
|
|
2436
2436
|
});
|
|
2437
|
-
var fileFilter = "
|
|
2437
|
+
var fileFilter = "_h2 _l";
|
|
2438
2438
|
//#endregion
|
|
2439
2439
|
//#region src/tags/file-filter.marko
|
|
2440
2440
|
var file_filter_default = _template("n", (input) => {
|
|
@@ -2464,7 +2464,7 @@ var file_filter_default = _template("n", (input) => {
|
|
|
2464
2464
|
pending = v;
|
|
2465
2465
|
box.timer = setTimeout(flush, 150);
|
|
2466
2466
|
}, "n2", $scope0_id);
|
|
2467
|
-
_html(`<div${_attr_class("
|
|
2467
|
+
_html(`<div${_attr_class("_h1")}><input${_attr_input_value($scope0_id, "b", draft, _resume(function(v) {
|
|
2468
2468
|
type(v);
|
|
2469
2469
|
}, "n0", $scope0_id))}${_attr_class(fileFilter)} type=search placeholder="Filter files…" aria-label="Filter files">${_el_resume($scope0_id, "b")}</div>`);
|
|
2470
2470
|
_script($scope0_id, "n3");
|
|
@@ -2497,7 +2497,7 @@ var $content = (input) => {
|
|
|
2497
2497
|
_for_of(dir.dirs, (child) => {
|
|
2498
2498
|
const $scope1_id = _scope_id();
|
|
2499
2499
|
const shut = input.collapsed.has(input.collapsedKey(child.path));
|
|
2500
|
-
_html(`<div${_attr_class("
|
|
2500
|
+
_html(`<div${_attr_class("_gz")}><button type=button${_attr_class(["_gA", { ["_gr"]: shut }])}${_attr("title", child.path)}${_attr_style(`--depth:${child.depth}`)}><span${_attr_class("_gH")}>`);
|
|
2501
2501
|
_if(() => {
|
|
2502
2502
|
if (shut) {
|
|
2503
2503
|
const $scope4_id = _scope_id();
|
|
@@ -2511,7 +2511,7 @@ var $content = (input) => {
|
|
|
2511
2511
|
return 1;
|
|
2512
2512
|
}
|
|
2513
2513
|
}, $scope1_id, "c", $sg__input, $sg__input, $sg__input, "</span>", 1);
|
|
2514
|
-
_html(`<span${_attr_class("
|
|
2514
|
+
_html(`<span${_attr_class("_gB")}>${_escape(child.label)}${_el_resume($scope1_id, "e", $sg__input_dir)}/</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2515
2515
|
_if(() => {
|
|
2516
2516
|
if (!shut) {
|
|
2517
2517
|
const $scope2_id = _scope_id();
|
|
@@ -2558,11 +2558,11 @@ var $content = (input) => {
|
|
|
2558
2558
|
}, "path", $scope0_id, "a", $sg__input, $sg__input_dir, $sg__input_dir, 0, 1);
|
|
2559
2559
|
_for_of(dir.files, ({ file, name }) => {
|
|
2560
2560
|
const $scope3_id = _scope_id();
|
|
2561
|
-
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["
|
|
2561
|
+
_html(`<a${_attr("href", input.hrefFor(file.key))}${_attr_class(["_gD", { ["_gC"]: input.collapsedFiles?.has(file.key) }])}${input.collapsedFiles?.has(file.key) ? _attr("title", `${file.path} (folded — click to open)`) : _attr("title", file.path)}${_attr_style(`--depth:${dir.depth + 1}`)}><span${_attr_class("_gI")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope3_id, "c", $sg__input_dir)}</span>${_el_resume($scope3_id, "b", $sg__input_dir)}<span${_attr_class("_gE")}>${_escape(name)}${_el_resume($scope3_id, "e", $sg__input_dir)}</span>`);
|
|
2562
2562
|
_if(() => {
|
|
2563
2563
|
if (input.newKeys.has(file.key)) {
|
|
2564
2564
|
const $scope6_id = _scope_id();
|
|
2565
|
-
_html(`<span${_attr_class(["_y", "
|
|
2565
|
+
_html(`<span${_attr_class(["_y", "_gF"])} title="Changed since your last visit"></span>`);
|
|
2566
2566
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2567
2567
|
return 0;
|
|
2568
2568
|
}
|
|
@@ -2570,7 +2570,7 @@ var $content = (input) => {
|
|
|
2570
2570
|
_if(() => {
|
|
2571
2571
|
if (input.commentKeys.has(file.key)) {
|
|
2572
2572
|
const $scope7_id = _scope_id();
|
|
2573
|
-
_html(`<span${_attr_class("
|
|
2573
|
+
_html(`<span${_attr_class("_gG")}>`);
|
|
2574
2574
|
icon_comment_default({ size: 12 });
|
|
2575
2575
|
_html("</span>");
|
|
2576
2576
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
@@ -2628,7 +2628,7 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2628
2628
|
scope: input.scope ?? null,
|
|
2629
2629
|
file: key
|
|
2630
2630
|
}), "l0", $scope0_id);
|
|
2631
|
-
_html(`<aside${_attr_class(["
|
|
2631
|
+
_html(`<aside${_attr_class(["_gs", { ["_gr"]: input.open === false }])}><div${_attr_class("_gt")}>`);
|
|
2632
2632
|
_set_serialize_reason(2);
|
|
2633
2633
|
const $childScope = _peek_scope_id();
|
|
2634
2634
|
file_filter_default({
|
|
@@ -2637,18 +2637,18 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2637
2637
|
filter = _new_filter;
|
|
2638
2638
|
}, "l1", $scope0_id)
|
|
2639
2639
|
});
|
|
2640
|
-
_html(`</div><div${_attr_class("
|
|
2640
|
+
_html(`</div><div${_attr_class("_gu")}>`);
|
|
2641
2641
|
_if(() => {
|
|
2642
2642
|
if (!input.sections.length && filter) {
|
|
2643
2643
|
const $scope3_id = _scope_id();
|
|
2644
|
-
_html(`<p${_attr_class("
|
|
2644
|
+
_html(`<p${_attr_class("_gv")}>No files match.</p>`);
|
|
2645
2645
|
writeScope($scope3_id, {});
|
|
2646
2646
|
return 0;
|
|
2647
2647
|
}
|
|
2648
2648
|
}, $scope0_id, "e", 1, 1, 1, 0, 1);
|
|
2649
2649
|
_for_of(input.sections, (section) => {
|
|
2650
2650
|
const $scope1_id = _scope_id();
|
|
2651
|
-
_html(`<div${_attr_class("
|
|
2651
|
+
_html(`<div${_attr_class("_gw")}><button type=button${_attr_class(["_gx", { ["_gr"]: collapsedRepos.has(section.id) }])}><span${_attr_class("_gH")}>`);
|
|
2652
2652
|
_if(() => {
|
|
2653
2653
|
if (collapsedRepos.has(section.id)) {
|
|
2654
2654
|
const $scope4_id = _scope_id();
|
|
@@ -2662,12 +2662,12 @@ var diff_tree_default = _template("l", (input) => {
|
|
|
2662
2662
|
return 1;
|
|
2663
2663
|
}
|
|
2664
2664
|
}, $scope1_id, "c", 1, 1, 1, "</span>", 1);
|
|
2665
|
-
_html(`<span${_attr_class("
|
|
2665
|
+
_html(`<span${_attr_class("_gB")}>${_escape(section.label)}${_el_resume($scope1_id, "e", $sg__input_sections)}</span></button>${_el_resume($scope1_id, "b")}`);
|
|
2666
2666
|
_if(() => {
|
|
2667
2667
|
if (!collapsedRepos.has(section.id) || openedRepos.has(section.id)) {
|
|
2668
2668
|
const $scope2_id = _scope_id();
|
|
2669
2669
|
const root = treeDirs(section.files);
|
|
2670
|
-
_html(`<div${_attr_class("
|
|
2670
|
+
_html(`<div${_attr_class("_gy")}${_attr("hidden", collapsedRepos.has(section.id))}>`);
|
|
2671
2671
|
_set_serialize_reason(1);
|
|
2672
2672
|
const $childScope2 = _peek_scope_id();
|
|
2673
2673
|
diff_tree_dir_default({
|
|
@@ -2792,9 +2792,9 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2792
2792
|
_if(() => {
|
|
2793
2793
|
if (open) {
|
|
2794
2794
|
const $scope1_id = _scope_id();
|
|
2795
|
-
_html(`<div${_attr_class("
|
|
2795
|
+
_html(`<div${_attr_class("_gb")}></div>${_el_resume($scope1_id, "a")}<div${_attr_class("_gc")} role=dialog aria-label="Jump to file"><div${_attr_class("_gd")}><strong${_attr_class("_ga")}>Files</strong><span${_attr_class("_ge")}>${_escape(input.files.length)}${_el_resume($scope1_id, "f", $sg__input_files_length)}${_sep($sg__input_total__OR__input_files_length)}${input.files.length !== total ? ` / ${_escape(`${total}`)}` : ""}${_el_resume($scope1_id, "g", $sg__input_total__OR__input_files_length)}</span><button type=button${_attr_class([iconBtnLg, "_f_"])} title=Close aria-label=Close>`);
|
|
2796
2796
|
icon_xmark_default({ size: 16 });
|
|
2797
|
-
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("
|
|
2797
|
+
_html(`</button>${_el_resume($scope1_id, "h")}</div><div${_attr_class("_gm")}>`);
|
|
2798
2798
|
_set_serialize_reason(2);
|
|
2799
2799
|
const $childScope = _peek_scope_id();
|
|
2800
2800
|
file_filter_default({
|
|
@@ -2803,28 +2803,28 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2803
2803
|
filter = _new_filter;
|
|
2804
2804
|
}, "g1", $scope1_id)
|
|
2805
2805
|
});
|
|
2806
|
-
_html(`</div><div${_attr_class("
|
|
2806
|
+
_html(`</div><div${_attr_class("_gf")}>`);
|
|
2807
2807
|
_for_of(groups, (group) => {
|
|
2808
2808
|
const $scope2_id = _scope_id();
|
|
2809
|
-
_html(`<div${_attr_class("
|
|
2809
|
+
_html(`<div${_attr_class("_gg")}><div${_attr_class("_gh")}>${_escape(group.repo)}${_el_resume($scope2_id, "c", $sg__input_files)}</div>`);
|
|
2810
2810
|
_for_of(group.dirs, ({ dir, files }) => {
|
|
2811
2811
|
const $scope3_id = _scope_id();
|
|
2812
|
-
_html(`<div${_attr_class("
|
|
2812
|
+
_html(`<div${_attr_class("_gi")}>`);
|
|
2813
2813
|
_if(() => {
|
|
2814
2814
|
if (dir) {
|
|
2815
2815
|
const $scope5_id = _scope_id();
|
|
2816
|
-
_html(`<div${_attr_class("
|
|
2816
|
+
_html(`<div${_attr_class("_gk")}${_attr("title", dir)}><bdi>${_escape(dir)}${_el_resume($scope5_id, "b", $sg__input_files)}/</bdi></div>${_el_resume($scope5_id, "a", $sg__input_files)}`);
|
|
2817
2817
|
$si__input_files && writeScope($scope5_id, { _: _scope_with_id($scope3_id) });
|
|
2818
2818
|
return 0;
|
|
2819
2819
|
}
|
|
2820
2820
|
}, $scope3_id, "b", $sg__input_files, $sg__input_files, $sg__input_files, 0, 1);
|
|
2821
2821
|
_for_of(files, ({ file, name }) => {
|
|
2822
2822
|
const $scope4_id = _scope_id();
|
|
2823
|
-
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["
|
|
2823
|
+
_html(`<a${_attr("href", hrefFor(file.key))}${_attr_class(["_gj", "_w"])}><span${_attr_class("_gq")}${_attr("data-status", file.status)}>${_escape(file.status)}${_el_resume($scope4_id, "c", $sg__input_files)}</span>${_el_resume($scope4_id, "b", $sg__input_files)}<span${_attr_class("_gl")}><bdi>${_escape(name)}${_el_resume($scope4_id, "e", $sg__input_files)}</bdi></span>`);
|
|
2824
2824
|
_if(() => {
|
|
2825
2825
|
if (newKeys.has(file.key)) {
|
|
2826
2826
|
const $scope6_id = _scope_id();
|
|
2827
|
-
_html(`<span${_attr_class(["_y", "
|
|
2827
|
+
_html(`<span${_attr_class(["_y", "_go"])} title="Changed since your last visit"></span>`);
|
|
2828
2828
|
_serialize_if($scope0_reason, 1) && writeScope($scope6_id, {});
|
|
2829
2829
|
return 0;
|
|
2830
2830
|
}
|
|
@@ -2834,7 +2834,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2834
2834
|
const $scope7_id = _scope_id();
|
|
2835
2835
|
icon_comment_default({
|
|
2836
2836
|
size: 12,
|
|
2837
|
-
class: "
|
|
2837
|
+
class: "_gp"
|
|
2838
2838
|
});
|
|
2839
2839
|
_serialize_if($scope0_reason, 0) && writeScope($scope7_id, {});
|
|
2840
2840
|
return 0;
|
|
@@ -2859,7 +2859,7 @@ var diff_file_sheet_default = _template("g", (input) => {
|
|
|
2859
2859
|
_if(() => {
|
|
2860
2860
|
if (!input.files.length) {
|
|
2861
2861
|
const $scope8_id = _scope_id();
|
|
2862
|
-
_html(`<p${_attr_class("
|
|
2862
|
+
_html(`<p${_attr_class("_gn")}>No files match.</p>`);
|
|
2863
2863
|
$si__input_files_length && writeScope($scope8_id, {});
|
|
2864
2864
|
return 0;
|
|
2865
2865
|
}
|
|
@@ -3399,22 +3399,22 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3399
3399
|
collapsedRepos = /* @__PURE__ */ new Set([...collapsedRepos, id]);
|
|
3400
3400
|
}
|
|
3401
3401
|
}, "m35", $scope0_id);
|
|
3402
|
-
_html(`<div${_attr_class("
|
|
3402
|
+
_html(`<div${_attr_class("_es")}><div${_attr_class("_ex")}><div${_attr_class("_ey")}><div${_attr_class(["_eI", { ["_eH"]: !comments.length }])}>`);
|
|
3403
3403
|
_if(() => {
|
|
3404
3404
|
if (input.onExit) {
|
|
3405
3405
|
const $scope1_id = _scope_id();
|
|
3406
|
-
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "
|
|
3406
|
+
_html(`<a${_attr("href", `/w/${input.workspaceId}`)}${_attr_class([iconBtnRow, "_ez"])} title="Back to terminal (Esc)">`);
|
|
3407
3407
|
icon_back_default({ size: 14 });
|
|
3408
3408
|
_html(`</a>${_el_resume($scope1_id, "a", _serialize_guard($scope0_reason, 1))}`);
|
|
3409
3409
|
_serialize_if($scope0_reason, 0) && writeScope($scope1_id, { _: _serialize_if($scope0_reason, 1) && _scope_with_id($scope0_id) });
|
|
3410
3410
|
return 0;
|
|
3411
3411
|
}
|
|
3412
3412
|
}, $scope0_id, "e", _serialize_guard($scope0_reason, 0), _serialize_guard($scope0_reason, 4), 1, 0, 1);
|
|
3413
|
-
_html(`<h1${_attr_class("
|
|
3413
|
+
_html(`<h1${_attr_class("_eC")}>Review</h1>`);
|
|
3414
3414
|
_if(() => {
|
|
3415
3415
|
if (comments.length) {
|
|
3416
3416
|
const $scope5_id = _scope_id();
|
|
3417
|
-
_html(`<span${_attr_class("
|
|
3417
|
+
_html(`<span${_attr_class("_eB")}>${_escape(comments.length)}${_el_resume($scope5_id, "b")} comment<!>${comments.length === 1 ? "" : "s"}${_el_resume($scope5_id, "c")}</span>`);
|
|
3418
3418
|
writeScope($scope5_id, {});
|
|
3419
3419
|
return 0;
|
|
3420
3420
|
}
|
|
@@ -3422,7 +3422,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3422
3422
|
_if(() => {
|
|
3423
3423
|
if (comments.length) {
|
|
3424
3424
|
const $scope2_id = _scope_id();
|
|
3425
|
-
_html(`<span${_attr_class("
|
|
3425
|
+
_html(`<span${_attr_class("_eA")}>`);
|
|
3426
3426
|
_set_serialize_reason(_serialize_guard($scope0_reason, 5));
|
|
3427
3427
|
const $childScope = _peek_scope_id();
|
|
3428
3428
|
diff_send_default({
|
|
@@ -3435,14 +3435,14 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3435
3435
|
return 0;
|
|
3436
3436
|
}
|
|
3437
3437
|
}, $scope0_id, "h", 1, 1, 1, 0, 1);
|
|
3438
|
-
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("
|
|
3438
|
+
_html(`</div>${_el_resume($scope0_id, "d")}<div${_attr_class("_ew")}>`);
|
|
3439
3439
|
_if(() => {
|
|
3440
3440
|
if (hasFiles) {
|
|
3441
3441
|
const $scope12_id = _scope_id();
|
|
3442
3442
|
_html(`<button${_attr_class([
|
|
3443
3443
|
treeToggle,
|
|
3444
|
-
"
|
|
3445
|
-
{ ["
|
|
3444
|
+
"_eu",
|
|
3445
|
+
{ ["_et"]: treeOpen }
|
|
3446
3446
|
])} title=${treeOpen ? "\"Hide file tree\"" : "\"Show file tree\""}>`);
|
|
3447
3447
|
icon_sidebar_default({ size: 14 });
|
|
3448
3448
|
_html(`</button>${_el_resume($scope12_id, "a")}`);
|
|
@@ -3451,7 +3451,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3451
3451
|
return 0;
|
|
3452
3452
|
}
|
|
3453
3453
|
}, $scope0_id, "j", 1, 1, 1, 0, 1);
|
|
3454
|
-
_html(`<button${_attr_class([iconBtnRow, "
|
|
3454
|
+
_html(`<button${_attr_class([iconBtnRow, "_eu"])} title="Refresh diff"${_attr("disabled", loading)}>`);
|
|
3455
3455
|
_set_serialize_reason(1);
|
|
3456
3456
|
const $childScope2 = _peek_scope_id();
|
|
3457
3457
|
icon_refresh_default({
|
|
@@ -3462,19 +3462,19 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3462
3462
|
_if(() => {
|
|
3463
3463
|
if (hasFiles) {
|
|
3464
3464
|
const $scope13_id = _scope_id();
|
|
3465
|
-
_html(`<button${_attr_class(["_o", "
|
|
3465
|
+
_html(`<button${_attr_class(["_o", "_eR"])} title="Jump to file">Files (<!>${_escape(shownFiles.length)}${_el_resume($scope13_id, "b")})</button>${_el_resume($scope13_id, "a")}`);
|
|
3466
3466
|
_script($scope13_id, "m55");
|
|
3467
3467
|
writeScope($scope13_id, {});
|
|
3468
3468
|
return 0;
|
|
3469
3469
|
}
|
|
3470
3470
|
}, $scope0_id, "m", 1, 1, 1, 0, 1);
|
|
3471
|
-
_html(`<span${_attr_class(["_m", "
|
|
3471
|
+
_html(`<span${_attr_class(["_m", "_eJ"])}>`);
|
|
3472
3472
|
_attr_select_value($scope0_id, "o", scope, _resume(function(v) {
|
|
3473
3473
|
setScope(v);
|
|
3474
3474
|
}, "m0", $scope0_id), () => {
|
|
3475
|
-
_html(`<select${_attr_class(["_n", "
|
|
3475
|
+
_html(`<select${_attr_class(["_n", "_eK"])} aria-label="Review scope"${_attr("disabled", loading)}><option${_attr_option_value("committed")}>Committed</option><option${_attr_option_value("working")}>Working tree</option><option${_attr_option_value("dirty")}>Uncommitted</option></select>`);
|
|
3476
3476
|
});
|
|
3477
|
-
_html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["
|
|
3477
|
+
_html(`${_el_resume($scope0_id, "o")}</span><div${_attr_class(["_eF", { ["_eE"]: !findOpen }])}>`);
|
|
3478
3478
|
_set_serialize_reason(2);
|
|
3479
3479
|
const $childScope3 = _peek_scope_id();
|
|
3480
3480
|
diff_find_default({
|
|
@@ -3495,8 +3495,8 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3495
3495
|
const $scope14_id = _scope_id();
|
|
3496
3496
|
_html(`<button${_attr_class([
|
|
3497
3497
|
iconBtnRow,
|
|
3498
|
-
"
|
|
3499
|
-
"
|
|
3498
|
+
"_eD",
|
|
3499
|
+
"_eu"
|
|
3500
3500
|
])} title="Find in review (⌘/Ctrl+F)" aria-label="Find in review"${_attr("hidden", findOpen)}>`);
|
|
3501
3501
|
icon_search_default({ size: 14 });
|
|
3502
3502
|
_html(`</button>${_el_resume($scope14_id, "a")}`);
|
|
@@ -3505,7 +3505,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3505
3505
|
return 0;
|
|
3506
3506
|
}
|
|
3507
3507
|
}, $scope0_id, "r", 1, 1, 1, 0, 1);
|
|
3508
|
-
_html(`</div></div><div${_attr_class("
|
|
3508
|
+
_html(`</div></div><div${_attr_class("_eG")} data-diff-main>`);
|
|
3509
3509
|
_if(() => {
|
|
3510
3510
|
if (error) {
|
|
3511
3511
|
const $scope6_id = _scope_id();
|
|
@@ -3528,7 +3528,7 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3528
3528
|
_if(() => {
|
|
3529
3529
|
if (!repos && loading) {
|
|
3530
3530
|
const $scope15_id = _scope_id();
|
|
3531
|
-
_html(`<div${_attr_class("
|
|
3531
|
+
_html(`<div${_attr_class("_eM")} aria-hidden=true><div${_attr_class(["_eN", "_eO"])}></div><div${_attr_class(["_eN", "_eP"])}></div><div${_attr_class(["_eN", "_eQ"])}></div><div${_attr_class(["_eN", "_eP"])}></div><div${_attr_class(["_eN", "_eQ"])}></div></div>`);
|
|
3532
3532
|
writeScope($scope15_id, {});
|
|
3533
3533
|
return 0;
|
|
3534
3534
|
}
|
|
@@ -3559,12 +3559,12 @@ var diff_view_default = _template("m", (input) => {
|
|
|
3559
3559
|
_if(() => {
|
|
3560
3560
|
if (repos && !allFiles.length) {
|
|
3561
3561
|
const $scope11_id = _scope_id();
|
|
3562
|
-
_html(`<p${_attr_class("
|
|
3562
|
+
_html(`<p${_attr_class("_bJ")}>${repoList.some((r) => r.unborn) ? "No commits yet." : scope === "dirty" ? "Nothing uncommitted." : repoList.some((r) => r.pr) ? "No file changes on these PRs." : "No changes vs base."}${_el_resume($scope11_id, "b")}</p>`);
|
|
3563
3563
|
writeScope($scope11_id, {});
|
|
3564
3564
|
return 0;
|
|
3565
3565
|
} else if (repos && !shownFiles.length && !findState.hit) {
|
|
3566
3566
|
const $scope8_id = _scope_id();
|
|
3567
|
-
_html(`<p${_attr_class("
|
|
3567
|
+
_html(`<p${_attr_class("_bJ")}>${findState.query.trim() ? "No matches in review." : onlyNew && !fileFilter ? "Nothing changed since your last visit." : `No files match "${_escape(`${fileFilter}`)}".`}${_el_resume($scope8_id, "b")}</p>`);
|
|
3568
3568
|
writeScope($scope8_id, {});
|
|
3569
3569
|
return 1;
|
|
3570
3570
|
}
|
|
@@ -1005,7 +1005,7 @@ async function materializeWorkspace(id) {
|
|
|
1005
1005
|
repo.default_branch = defaultBranch;
|
|
1006
1006
|
db.prepare("UPDATE repos SET base_branch = ?, default_branch = ? WHERE workspace_id = ? AND full_name = ?").run(repo.base_branch, defaultBranch, id, repo.full_name);
|
|
1007
1007
|
}
|
|
1008
|
-
(await import("./
|
|
1008
|
+
(await import("./_CmQFz3S6.js")).muteAutoPush(repo.full_name, ws.branch);
|
|
1009
1009
|
await addWorkspaceWorktree(bare, path.join(ws.path, repo.worktree), ws.branch, repo.base_branch);
|
|
1010
1010
|
added.push(repo);
|
|
1011
1011
|
});
|
|
@@ -1490,16 +1490,16 @@ ${origin ? `- **Shared workspace:** \`${branch}\` is a lane on \`${origin}\`, an
|
|
|
1490
1490
|
rebase onto it. Never push to \`${origin}\` itself. Once \`${origin}\` has
|
|
1491
1491
|
landed and is gone from origin: \`git fetch --prune\`, rebase onto
|
|
1492
1492
|
\`origin/<base>\`, and retarget the PR (\`gh pr edit --base <base>\`).
|
|
1493
|
-
` : ""}- **Branches:** stay on \`${branch}\` and keep pushing it: one
|
|
1493
|
+
` : ""}- **Branches:** stay on \`${branch}\` and keep pushing it: one branch, more
|
|
1494
1494
|
commits. After it lands, \`git fetch\` and reset \`${branch}\` to
|
|
1495
1495
|
\`origin/<base>\` so the next change reuses this branch. Do not cut a
|
|
1496
1496
|
\`${branch}-<topic>\` just to start the next piece of work.
|
|
1497
1497
|
A topic lane is only for when \`${branch}\` must stay unmerged (a larger
|
|
1498
|
-
change) and you need a second
|
|
1498
|
+
change) and you need a second change on top of it. Then push every repo's
|
|
1499
1499
|
workspace branch first, cut from the parent
|
|
1500
1500
|
(\`git switch -c ${branch}-<topic> origin/${branch}\`), and keep the prefix.
|
|
1501
|
-
Only two levels: never \`${branch}-a-b\`. Tooling finds
|
|
1502
|
-
so a branch named anything else is invisible: never invent one.
|
|
1501
|
+
Only two levels: never \`${branch}-a-b\`. Tooling finds branches by that
|
|
1502
|
+
prefix, so a branch named anything else is invisible: never invent one.
|
|
1503
1503
|
- **Repos:**
|
|
1504
1504
|
${repoLines}
|
|
1505
1505
|
- **Repo agents files:** you **MUST** read a repo's \`AGENTS.md\` (or
|
|
@@ -1507,16 +1507,17 @@ ${repoLines}
|
|
|
1507
1507
|
- **No \`git stash\`:** every workspace using a repo shares one stash stack, so
|
|
1508
1508
|
a pop can take another workspace's work. Commit as you go; uncommitted
|
|
1509
1509
|
work isn't part of the review.
|
|
1510
|
-
- **Push:** \`git push -u origin HEAD\` in each repo
|
|
1511
|
-
Never commit on a base branch.
|
|
1510
|
+
- **Push:** \`git push -u origin HEAD\` in each repo — pushing the branch is
|
|
1511
|
+
how work goes up for review. Never commit on a base branch.
|
|
1512
1512
|
- **Rebase after merge:** when \`${branch}\` is still open and \`origin/<base>\`
|
|
1513
1513
|
moves, rebase onto it. A squash-merge does not move the fork point, so the
|
|
1514
1514
|
review keeps showing landed work until you do. On a topic lane, rebase onto
|
|
1515
1515
|
\`${branch}\` when the parent moves; after the parent merges: \`git fetch
|
|
1516
1516
|
--prune\`, rebase onto \`origin/<base>\`, and retarget (\`gh pr edit --base
|
|
1517
1517
|
<base>\`).
|
|
1518
|
-
- **PRs:** the
|
|
1519
|
-
|
|
1518
|
+
- **PRs:** the user opens PRs; never open one unless they ask. When they do:
|
|
1519
|
+
the description covers only what is in the diff, a few sentences on what
|
|
1520
|
+
changed and why. No verification logs or file-by-file detail. A topic
|
|
1520
1521
|
lane's PR is \`gh pr create --base ${branch}\`. GitHub will otherwise target
|
|
1521
1522
|
the repo default, and the local review will disagree with the files tab.
|
|
1522
1523
|
- **Ask \`work\` for facts:** the \`work\` CLI answers from the same data as
|
|
@@ -1639,7 +1640,7 @@ async function noteRemoteRef(fullName, branch, oid) {
|
|
|
1639
1640
|
if (await revParse(barePath(fullName), `refs/heads/${branch}`) !== oid) return;
|
|
1640
1641
|
rememberPushed(k, oid);
|
|
1641
1642
|
if (failures.delete(k)) {
|
|
1642
|
-
const { pokeStatusWatch } = await import("./
|
|
1643
|
+
const { pokeStatusWatch } = await import("./_B-QvNFcB.js");
|
|
1643
1644
|
pokeStatusWatch();
|
|
1644
1645
|
}
|
|
1645
1646
|
}
|
|
@@ -1704,7 +1705,7 @@ async function pushOnce(fullName, branch, bases) {
|
|
|
1704
1705
|
}
|
|
1705
1706
|
async function fail(k, why) {
|
|
1706
1707
|
failures.set(k, why);
|
|
1707
|
-
const { pokeStatusWatch } = await import("./
|
|
1708
|
+
const { pokeStatusWatch } = await import("./_B-QvNFcB.js");
|
|
1708
1709
|
pokeStatusWatch();
|
|
1709
1710
|
return why;
|
|
1710
1711
|
}
|