@snagset/server 0.1.33 → 0.1.34

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.
Files changed (72) hide show
  1. package/dist/routes/activity.js +8 -6
  2. package/dist/routes/activity.js.map +1 -1
  3. package/dist/routes/threads.js +43 -15
  4. package/dist/routes/threads.js.map +1 -1
  5. package/dist/routes/widget.js +94 -21
  6. package/dist/routes/widget.js.map +1 -1
  7. package/package.json +1 -1
  8. package/static/dashboard/assets/{CompositeItem-H1Z2RNQW.js → CompositeItem-DOjAZOIw.js} +1 -1
  9. package/static/dashboard/assets/{ConfirmDialog-B_HO7qAV.js → ConfirmDialog-YHdRCMuk.js} +1 -1
  10. package/static/dashboard/assets/{CopyButton-BcFPdquT.js → CopyButton-BPFFhzYZ.js} +1 -1
  11. package/static/dashboard/assets/{FieldItemContext-D0Q4rB94.js → FieldItemContext-CvuTIqbu.js} +1 -1
  12. package/static/dashboard/assets/{InstallTag-wMa_lFPt.js → InstallTag-Dyle6Z7u.js} +1 -1
  13. package/static/dashboard/assets/{SaveState-DbiBWPbj.js → SaveState-zx4IRIWV.js} +1 -1
  14. package/static/dashboard/assets/{_app-CFqEeTw9.js → _app-BT2PvVrr.js} +1 -1
  15. package/static/dashboard/assets/{_app-CwVAgS6y.js → _app-CATs1X1F.js} +1 -1
  16. package/static/dashboard/assets/{activity-CRFVOJcj.js → activity-Ja8jqvTl.js} +1 -1
  17. package/static/dashboard/assets/{arrow-left-SbuaKLN8.js → arrow-left-D-J1WDaF.js} +1 -1
  18. package/static/dashboard/assets/{avatar-CyWjapbD.js → avatar-JYCiU767.js} +1 -1
  19. package/static/dashboard/assets/{badge-DZ45gt2t.js → badge-NV2UvVlq.js} +1 -1
  20. package/static/dashboard/assets/{card-rZNT8AAn.js → card-PWIpee1m.js} +1 -1
  21. package/static/dashboard/assets/{check-DFzW0E5F.js → check-fUN7a3GX.js} +1 -1
  22. package/static/dashboard/assets/{chevron-right-DNlmYM1H.js → chevron-right-D_gtsnlu.js} +1 -1
  23. package/static/dashboard/assets/{copy-CkgrfFiF.js → copy-ZBdagSqO.js} +1 -1
  24. package/static/dashboard/assets/{dialog-cAVg5CWG.js → dialog-B_kwIiUp.js} +1 -1
  25. package/static/dashboard/assets/{dropdown-menu-CROz9CD7.js → dropdown-menu-D5UGpMWY.js} +1 -1
  26. package/static/dashboard/assets/{image-off-dbox0Nj9.js → image-off-kQWiBpm4.js} +1 -1
  27. package/static/dashboard/assets/{index-NqrbvfSo.js → index-BCjjK9dr.js} +3 -3
  28. package/static/dashboard/assets/index-D6Jv0m8R.css +1 -0
  29. package/static/dashboard/assets/{invite-D3vU1POj.js → invite-Cn7ntzp8.js} +1 -1
  30. package/static/dashboard/assets/{label-CZtxPKnA.js → label-CU7jvj5k.js} +1 -1
  31. package/static/dashboard/assets/{layout-grid-CpSrFghR.js → layout-grid-DgutVVEL.js} +1 -1
  32. package/static/dashboard/assets/me-ttfbX4Cb.js +1 -0
  33. package/static/dashboard/assets/{parts-CMVHppEZ.js → parts-Oxy1krsw.js} +1 -1
  34. package/static/dashboard/assets/{plus-DvNJzVbr.js → plus-Cl722ZH_.js} +1 -1
  35. package/static/dashboard/assets/s._site-DI7lRsnw.js +1 -0
  36. package/static/dashboard/assets/s._site.comments-BLiaZNHo.js +54 -0
  37. package/static/dashboard/assets/{s._site.reviewers-sTkqblNS.js → s._site.reviewers-BuxVEObS.js} +1 -1
  38. package/static/dashboard/assets/{s._site.settings-BSKudlWC.js → s._site.settings-BLyC2Ix8.js} +1 -1
  39. package/static/dashboard/assets/{setup-ByemjiPq.js → setup-BUjOodJm.js} +1 -1
  40. package/static/dashboard/assets/{sign-in-C79cXPom.js → sign-in-CppGynIo.js} +1 -1
  41. package/static/dashboard/assets/{sign-up-Dg-EW0Ud.js → sign-up-BGy3UTxi.js} +1 -1
  42. package/static/dashboard/assets/{sites-DhF1WGvp.js → sites-CzRwDpMY.js} +1 -1
  43. package/static/dashboard/assets/studio-BJa7hKy2.js +1 -0
  44. package/static/dashboard/assets/{studio-oojSa61E.js → studio-DepK2GJ4.js} +1 -1
  45. package/static/dashboard/assets/{studio.index-CfkqMX5I.js → studio.index-C4hVZYkE.js} +1 -1
  46. package/static/dashboard/assets/{studio.integrations-C8ze7wcK.js → studio.integrations-2-WJQjiK.js} +1 -1
  47. package/static/dashboard/assets/{studio.members-BIR4VTee.js → studio.members-CMxEJYg1.js} +1 -1
  48. package/static/dashboard/assets/{sun-CCV5_Xwg.js → sun-DDSRise2.js} +1 -1
  49. package/static/dashboard/assets/{switch-pKWkWBSh.js → switch-L2_Pf-6w.js} +1 -1
  50. package/static/dashboard/assets/{table-BSlgpUtG.js → table-fR4tWQ4-.js} +1 -1
  51. package/static/dashboard/assets/{useAriaLabelledBy-BSt0Y1vn.js → useAriaLabelledBy-Bk7BENOF.js} +1 -1
  52. package/static/dashboard/assets/{useBaseQuery-BQZrcHmw.js → useBaseQuery-CoqlgX-x.js} +1 -1
  53. package/static/dashboard/assets/useQuery-6QR_MT4t.js +1 -0
  54. package/static/dashboard/assets/useRender-BybHPfHo.js +1 -0
  55. package/static/dashboard/assets/{useValueChanged-DKD8Vs7J.js → useValueChanged-BhvEiD3-.js} +1 -1
  56. package/static/dashboard/assets/{users-BH5_IfoG.js → users-STxJg0L8.js} +1 -1
  57. package/static/dashboard/assets/{welcome-BJqfqWXr.js → welcome-D7-mGhDy.js} +1 -1
  58. package/static/dashboard/assets/{widget-signin-D6LOaizs.js → widget-signin-jj3P3IbD.js} +1 -1
  59. package/static/dashboard/assets/{you-Bf2lJYxa.js → you-BMCOM6zE.js} +1 -1
  60. package/static/dashboard/assets/{zod-B-woswyx.js → zod-DbWDuTiO.js} +1 -1
  61. package/static/dashboard/index.html +2 -2
  62. package/static/widget/build.json +4 -0
  63. package/static/widget/snag.dock.js +4 -4
  64. package/static/widget/snag.js +1 -1
  65. package/static/widget/snag.runtime.js +2 -2
  66. package/static/dashboard/assets/index-BzWDSuyB.css +0 -1
  67. package/static/dashboard/assets/me-DuZzYTr0.js +0 -1
  68. package/static/dashboard/assets/s._site-1B1JBClP.js +0 -1
  69. package/static/dashboard/assets/s._site.comments-Pt7LgqE2.js +0 -54
  70. package/static/dashboard/assets/studio-D2RgHnii.js +0 -1
  71. package/static/dashboard/assets/useQuery-Ce8K2e88.js +0 -1
  72. package/static/dashboard/assets/useRender-CLH8yHqZ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{u as pt,a as gt,b as ht,c as I,r as o,d as z,e as le,g as ft,j as e,B as J,f as w,h as se,m as be,E as xt,i as ve,k as ge,l as mt,n as bt,o as ne,S as vt,p as Z,q as jt,L as _,s as yt,t as _e,M as St,v as wt,w as Nt,x as Ct,y as kt,O as Tt}from"./index-NqrbvfSo.js";import{u as He}from"./useQuery-Ce8K2e88.js";import{T as Pt,i as ze,a as Rt,D as Mt,b as Et,c as Ot,X as Dt,d as It,e as At,f as _t,g as Ht,R as zt,p as Lt,h as $t,j as Bt,k as Ft,P as Ut,l as qt,u as Gt,m as Vt,n as Kt,o as Yt,q as Wt,r as Xt,s as Qt,t as Jt,v as Zt,w as es,x as ts,y as ss,z as ns,A as as,F as rs,B as os,C as is,E as Le,G as $e,H as Be,I as ls,J as ds,K as cs}from"./dialog-cAVg5CWG.js";import{c as B,n as Fe,g as us,a as he,t as ps,d as gs,i as hs,u as fs,b as de,L as xs,I as ms}from"./label-CZtxPKnA.js";import{g as fe,u as bs,a as vs,b as js,s as ys,c as Ss,d as ws,e as Ns,f as Cs,h as ks,S as Ue,E as Q,D as ae,i as re,j as oe,k as je,l as ee,m as D,n as V,o as Ts,p as ce}from"./dropdown-menu-CROz9CD7.js";import{u as qe}from"./useRender-CLH8yHqZ.js";import{A as Ps,a as Rs}from"./avatar-CyWjapbD.js";import{S as Ms,i as Es,a as Os}from"./labels--UUyt9uB.js";import{u as Ge}from"./me-DuZzYTr0.js";import{L as te}from"./layout-grid-CpSrFghR.js";import{U as xe}from"./users-BH5_IfoG.js";import{c as Ds}from"./update-duXzIzFS.js";import{P as Ve}from"./plus-DvNJzVbr.js";import{M as Is,S as As,a as _s}from"./sun-CCV5_Xwg.js";import"./useBaseQuery-BQZrcHmw.js";import"./check-DFzW0E5F.js";import"./CompositeItem-H1Z2RNQW.js";import"./useValueChanged-DKD8Vs7J.js";function Hs(t){const s=pt({warn:t?.router===void 0}),n=t?.router||s;return gt(n.stores.__store,ht(t,n))}/**
1
+ import{u as pt,a as gt,b as ht,c as I,r as o,d as z,e as le,g as ft,j as e,B as J,f as w,h as se,m as be,E as xt,i as ve,k as ge,l as mt,n as bt,o as ne,S as vt,p as Z,q as jt,L as _,s as yt,t as _e,M as St,v as wt,w as Nt,x as Ct,y as kt,O as Tt}from"./index-BCjjK9dr.js";import{u as He}from"./useQuery-6QR_MT4t.js";import{T as Pt,i as ze,a as Rt,D as Mt,b as Et,c as Ot,X as Dt,d as It,e as At,f as _t,g as Ht,R as zt,p as Lt,h as $t,j as Bt,k as Ft,P as Ut,l as qt,u as Gt,m as Vt,n as Kt,o as Yt,q as Wt,r as Xt,s as Qt,t as Jt,v as Zt,w as es,x as ts,y as ss,z as ns,A as as,F as rs,B as os,C as is,E as Le,G as $e,H as Be,I as ls,J as ds,K as cs}from"./dialog-B_kwIiUp.js";import{c as B,n as Fe,g as us,a as he,t as ps,d as gs,i as hs,u as fs,b as de,L as xs,I as ms}from"./label-CU7jvj5k.js";import{g as fe,u as bs,a as vs,b as js,s as ys,c as Ss,d as ws,e as Ns,f as Cs,h as ks,S as Ue,E as Q,D as ae,i as re,j as oe,k as je,l as ee,m as D,n as V,o as Ts,p as ce}from"./dropdown-menu-D5UGpMWY.js";import{u as qe}from"./useRender-BybHPfHo.js";import{A as Ps,a as Rs}from"./avatar-JYCiU767.js";import{S as Ms,i as Es,a as Os}from"./labels--UUyt9uB.js";import{u as Ge}from"./me-ttfbX4Cb.js";import{L as te}from"./layout-grid-DgutVVEL.js";import{U as xe}from"./users-STxJg0L8.js";import{c as Ds}from"./update-duXzIzFS.js";import{P as Ve}from"./plus-Cl722ZH_.js";import{M as Is,S as As,a as _s}from"./sun-DDSRise2.js";import"./useBaseQuery-CoqlgX-x.js";import"./check-fUN7a3GX.js";import"./CompositeItem-DOjAZOIw.js";import"./useValueChanged-BhvEiD3-.js";function Hs(t){const s=pt({warn:t?.router===void 0}),n=t?.router||s;return gt(n.stores.__store,ht(t,n))}/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{Q as g,T as f,U as p,o as v,j as e,B as m,V as N,L as j,W as P}from"./index-NqrbvfSo.js";import{Q as y,u as b}from"./useBaseQuery-BQZrcHmw.js";import{P as w,S}from"./parts-CMVHppEZ.js";import{b as R,c as E,S as k}from"./labels--UUyt9uB.js";import{u as F}from"./me-DuZzYTr0.js";import"./card-rZNT8AAn.js";var M=class extends y{constructor(s,r){super(s,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s){s._type="infinite",super.setOptions(s)}getOptimisticResult(s){return s._type="infinite",super.getOptimisticResult(s)}fetchNextPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"backward"}}})}createResult(s,r){const{state:i}=s,l=super.createResult(s,r),{isFetching:o,isRefetching:n,isError:u,isRefetchError:d}=l,t=i.fetchMeta?.fetchMore?.direction,c=u&&t==="forward",a=o&&t==="forward",h=u&&t==="backward",x=o&&t==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:f(r,i.data),hasPreviousPage:g(r,i.data),isFetchNextPageError:c,isFetchingNextPage:a,isFetchPreviousPageError:h,isFetchingPreviousPage:x,isRefetchError:d&&!c&&!h,isRefetching:n&&!a&&!x}}};function A(s,r){return b(s,M)}const T=[{value:"unresolved",label:"Needs attention"},...E.map(s=>({value:s,label:k[s]})),{value:"all",label:"Everything"}];function C(s,r=new Date){const i=new Date(s),l=n=>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),o=Math.round((l(r)-l(i))/864e5);return o<=0?"Today":o===1?"Yesterday":o<7?i.toLocaleDateString(void 0,{weekday:"long"}):i.toLocaleDateString(void 0,{day:"numeric",month:"long"})}function U(){const s=F(),{status:r="unresolved",site:i}=p.useSearch(),l=v({from:"/activity"}),o=t=>void l({search:c=>({...c,...t}),replace:!0}),n=A(P(r,i)),u=n.data?.pages.flatMap(t=>t.data)??[],d=[];for(const t of u){const c=C(t.updatedAt),a=d[d.length-1];a?.day===c?a.rows.push(t):d.push({day:c,rows:[t]})}return e.jsxs("div",{className:"flex flex-col gap-5 p-7",children:[e.jsx(w,{title:"Activity",sub:`Every site, newest first${i?"":" — all of them"}`}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[T.map(t=>e.jsx(m,{size:"sm",variant:r===t.value?"default":"outline",onClick:()=>o({status:t.value}),children:t.label},t.value)),e.jsx("div",{className:"flex-1"}),e.jsxs("label",{className:"flex items-center gap-2 text-[13px] text-muted-foreground",children:["Site",e.jsxs("select",{"aria-label":"Site",value:i??"",onChange:t=>o({site:t.target.value||void 0}),className:"h-8 rounded-md border border-input bg-background px-2.5 text-[13px] text-foreground",children:[e.jsx("option",{value:"",children:"All sites"}),s.projects.map(t=>e.jsx("option",{value:t.uid,children:t.name},t.uid))]})]})]}),n.isPending&&e.jsx(N,{rows:4}),n.isError&&e.jsx("p",{className:"m-0 text-[13px] text-destructive",children:"Could not read the feed. Reload to try again."}),n.isSuccess&&u.length===0&&e.jsx("p",{className:"m-0 text-[13px] text-muted-foreground",children:r==="resolved"?"Nothing has been resolved yet — this is where finished comments go.":r==="unresolved"?"Nothing needs attention. Every comment on every site is resolved.":"No comments yet on any site."}),d.map(({day:t,rows:c})=>e.jsxs("section",{className:"flex flex-col gap-2",children:[e.jsx("h2",{className:"m-0 text-[12px] font-medium uppercase tracking-wide text-muted-foreground",children:t}),e.jsx("ul",{className:"m-0 flex list-none flex-col gap-1.5 p-0",children:c.map(a=>e.jsx("li",{children:e.jsxs(j,{to:"/s/$site/comments",params:{site:a.site.uid},search:{thread:a.key},className:"flex flex-col gap-1 rounded-md border border-border px-3 py-2.5 no-underline transition-colors hover:bg-muted/60",children:[e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1 text-[13px]",children:[e.jsx(S,{status:a.status}),e.jsx("span",{className:"font-medium text-foreground",children:a.site.name}),e.jsx("code",{className:"font-mono text-[12px] text-muted-foreground",children:a.route}),e.jsx("span",{className:"flex-1"}),e.jsx("span",{className:"text-[12px] text-muted-foreground",children:R(a.updatedAt)})]}),a.latest?.body&&e.jsxs("span",{className:"line-clamp-2 text-[13px] text-foreground",children:[e.jsxs("span",{className:"text-muted-foreground",children:[a.latest.author??a.createdBy.name,": "]}),a.latest.body]}),e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2 text-[12px] text-muted-foreground",children:[e.jsx("span",{className:"font-mono",children:a.key}),e.jsx("span",{children:"·"}),e.jsxs("span",{children:[a.commentCount," ",a.commentCount===1?"comment":"comments"]}),a.assignee&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsx("span",{children:a.assignee})]})]})]})},a.id))})]},t)),n.hasNextPage&&e.jsx("div",{children:e.jsx(m,{variant:"outline",size:"sm",disabled:n.isFetchingNextPage,onClick:()=>void n.fetchNextPage(),children:n.isFetchingNextPage?"Reading…":"Show older"})})]})}export{U as component};
1
+ import{Q as g,T as f,U as p,o as v,j as e,B as m,V as N,L as j,W as P}from"./index-BCjjK9dr.js";import{Q as y,u as b}from"./useBaseQuery-CoqlgX-x.js";import{P as w,S}from"./parts-Oxy1krsw.js";import{b as R,c as E,S as k}from"./labels--UUyt9uB.js";import{u as F}from"./me-ttfbX4Cb.js";import"./card-PWIpee1m.js";var M=class extends y{constructor(s,r){super(s,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s){s._type="infinite",super.setOptions(s)}getOptimisticResult(s){return s._type="infinite",super.getOptimisticResult(s)}fetchNextPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"backward"}}})}createResult(s,r){const{state:i}=s,l=super.createResult(s,r),{isFetching:o,isRefetching:n,isError:u,isRefetchError:d}=l,t=i.fetchMeta?.fetchMore?.direction,c=u&&t==="forward",a=o&&t==="forward",h=u&&t==="backward",x=o&&t==="backward";return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:f(r,i.data),hasPreviousPage:g(r,i.data),isFetchNextPageError:c,isFetchingNextPage:a,isFetchPreviousPageError:h,isFetchingPreviousPage:x,isRefetchError:d&&!c&&!h,isRefetching:n&&!a&&!x}}};function A(s,r){return b(s,M)}const T=[{value:"unresolved",label:"Needs attention"},...E.map(s=>({value:s,label:k[s]})),{value:"all",label:"Everything"}];function C(s,r=new Date){const i=new Date(s),l=n=>new Date(n.getFullYear(),n.getMonth(),n.getDate()).getTime(),o=Math.round((l(r)-l(i))/864e5);return o<=0?"Today":o===1?"Yesterday":o<7?i.toLocaleDateString(void 0,{weekday:"long"}):i.toLocaleDateString(void 0,{day:"numeric",month:"long"})}function U(){const s=F(),{status:r="unresolved",site:i}=p.useSearch(),l=v({from:"/activity"}),o=t=>void l({search:c=>({...c,...t}),replace:!0}),n=A(P(r,i)),u=n.data?.pages.flatMap(t=>t.data)??[],d=[];for(const t of u){const c=C(t.updatedAt),a=d[d.length-1];a?.day===c?a.rows.push(t):d.push({day:c,rows:[t]})}return e.jsxs("div",{className:"flex flex-col gap-5 p-7",children:[e.jsx(w,{title:"Activity",sub:`Every site, newest first${i?"":" — all of them"}`}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[T.map(t=>e.jsx(m,{size:"sm",variant:r===t.value?"default":"outline",onClick:()=>o({status:t.value}),children:t.label},t.value)),e.jsx("div",{className:"flex-1"}),e.jsxs("label",{className:"flex items-center gap-2 text-[13px] text-muted-foreground",children:["Site",e.jsxs("select",{"aria-label":"Site",value:i??"",onChange:t=>o({site:t.target.value||void 0}),className:"h-8 rounded-md border border-input bg-background px-2.5 text-[13px] text-foreground",children:[e.jsx("option",{value:"",children:"All sites"}),s.projects.map(t=>e.jsx("option",{value:t.uid,children:t.name},t.uid))]})]})]}),n.isPending&&e.jsx(N,{rows:4}),n.isError&&e.jsx("p",{className:"m-0 text-[13px] text-destructive",children:"Could not read the feed. Reload to try again."}),n.isSuccess&&u.length===0&&e.jsx("p",{className:"m-0 text-[13px] text-muted-foreground",children:r==="resolved"?"Nothing has been resolved yet — this is where finished comments go.":r==="unresolved"?"Nothing needs attention. Every comment on every site is resolved.":"No comments yet on any site."}),d.map(({day:t,rows:c})=>e.jsxs("section",{className:"flex flex-col gap-2",children:[e.jsx("h2",{className:"m-0 text-[12px] font-medium uppercase tracking-wide text-muted-foreground",children:t}),e.jsx("ul",{className:"m-0 flex list-none flex-col gap-1.5 p-0",children:c.map(a=>e.jsx("li",{children:e.jsxs(j,{to:"/s/$site/comments",params:{site:a.site.uid},search:{thread:a.key},className:"flex flex-col gap-1 rounded-md border border-border px-3 py-2.5 no-underline transition-colors hover:bg-muted/60",children:[e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1 text-[13px]",children:[e.jsx(S,{status:a.status}),e.jsx("span",{className:"font-medium text-foreground",children:a.site.name}),e.jsx("code",{className:"font-mono text-[12px] text-muted-foreground",children:a.route}),e.jsx("span",{className:"flex-1"}),e.jsx("span",{className:"text-[12px] text-muted-foreground",children:R(a.updatedAt)})]}),a.latest?.body&&e.jsxs("span",{className:"line-clamp-2 text-[13px] text-foreground",children:[e.jsxs("span",{className:"text-muted-foreground",children:[a.latest.author??a.createdBy.name,": "]}),a.latest.body]}),e.jsxs("span",{className:"flex flex-wrap items-center gap-x-2 text-[12px] text-muted-foreground",children:[e.jsx("span",{className:"font-mono",children:a.key}),e.jsx("span",{children:"·"}),e.jsxs("span",{children:[a.commentCount," ",a.commentCount===1?"comment":"comments"]}),a.assignee&&e.jsxs(e.Fragment,{children:[e.jsx("span",{children:"·"}),e.jsx("span",{children:a.assignee})]})]})]})},a.id))})]},t)),n.hasNextPage&&e.jsx("div",{children:e.jsx(m,{variant:"outline",size:"sm",disabled:n.isFetchingNextPage,onClick:()=>void n.fetchNextPage(),children:n.isFetchingNextPage?"Reading…":"Show older"})})]})}export{U as component};
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-NqrbvfSo.js";/**
1
+ import{c as o}from"./index-BCjjK9dr.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{r as a,h as b,i as f,j as d,f as m}from"./index-NqrbvfSo.js";import{w as A}from"./dialog-cAVg5CWG.js";const x=a.createContext(void 0);function z(){const e=a.useContext(x);if(e===void 0)throw new Error(b(13));return e}const g={imageLoadingStatus:()=>null},R=a.forwardRef(function(t,r){const{className:v,render:p,style:s,...c}=t,[n,o]=a.useState("idle"),i={imageLoadingStatus:n},u=a.useMemo(()=>({imageLoadingStatus:n,setImageLoadingStatus:o}),[n,o]),l=f("span",t,{state:i,ref:r,props:c,stateAttributesMapping:g});return d.jsx(x.Provider,{value:u,children:l})}),k=a.forwardRef(function(t,r){const{className:v,render:p,delay:s=0,style:c,...n}=t,{imageLoadingStatus:o}=z(),[i,u]=a.useState(s===0),l=A();return a.useEffect(()=>(s>0?l.start(s,()=>u(!0)):u(!0),l.clear),[l,s]),f("span",t,{state:{imageLoadingStatus:o},ref:r,props:n,stateAttributesMapping:g,enabled:o!=="loaded"&&(s===0||i)})});function h({className:e,size:t="default",...r}){return d.jsx(R,{"data-slot":"avatar","data-size":t,className:m("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),...r})}function w({className:e,...t}){return d.jsx(k,{"data-slot":"avatar-fallback",className:m("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...t})}export{h as A,w as a};
1
+ import{r as a,h as b,i as f,j as d,f as m}from"./index-BCjjK9dr.js";import{w as A}from"./dialog-B_kwIiUp.js";const x=a.createContext(void 0);function z(){const e=a.useContext(x);if(e===void 0)throw new Error(b(13));return e}const g={imageLoadingStatus:()=>null},R=a.forwardRef(function(t,r){const{className:v,render:p,style:s,...c}=t,[n,o]=a.useState("idle"),i={imageLoadingStatus:n},u=a.useMemo(()=>({imageLoadingStatus:n,setImageLoadingStatus:o}),[n,o]),l=f("span",t,{state:i,ref:r,props:c,stateAttributesMapping:g});return d.jsx(x.Provider,{value:u,children:l})}),k=a.forwardRef(function(t,r){const{className:v,render:p,delay:s=0,style:c,...n}=t,{imageLoadingStatus:o}=z(),[i,u]=a.useState(s===0),l=A();return a.useEffect(()=>(s>0?l.start(s,()=>u(!0)):u(!0),l.clear),[l,s]),f("span",t,{state:{imageLoadingStatus:o},ref:r,props:n,stateAttributesMapping:g,enabled:o!=="loaded"&&(s===0||i)})});function h({className:e,size:t="default",...r}){return d.jsx(R,{"data-slot":"avatar","data-size":t,className:m("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),...r})}function w({className:e,...t}){return d.jsx(k,{"data-slot":"avatar-fallback",className:m("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...t})}export{h as A,w as a};
@@ -1 +1 @@
1
- import{m as a,f as n,n as o}from"./index-NqrbvfSo.js";import{u as d}from"./useRender-CLH8yHqZ.js";const s=o("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function v({className:r,variant:e="default",render:t,...i}){return d({defaultTagName:"span",props:a({className:n(s({variant:e}),r)},i),render:t,state:{slot:"badge",variant:e}})}export{v as B};
1
+ import{m as a,f as n,n as o}from"./index-BCjjK9dr.js";import{u as d}from"./useRender-BybHPfHo.js";const s=o("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function v({className:r,variant:e="default",render:t,...i}){return d({defaultTagName:"span",props:a({className:n(s({variant:e}),r)},i),render:t,state:{slot:"badge",variant:e}})}export{v as B};
@@ -1 +1 @@
1
- import{j as s,f as t}from"./index-NqrbvfSo.js";function c({className:a,size:d="default",...r}){return s.jsx("div",{"data-slot":"card","data-size":d,className:t("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...r})}export{c as C};
1
+ import{j as s,f as t}from"./index-BCjjK9dr.js";function c({className:a,size:d="default",...r}){return s.jsx("div",{"data-slot":"card","data-size":d,className:t("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",a),...r})}export{c as C};
@@ -1,4 +1,4 @@
1
- import{c}from"./index-NqrbvfSo.js";/**
1
+ import{c}from"./index-BCjjK9dr.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as o}from"./index-NqrbvfSo.js";/**
1
+ import{c as o}from"./index-BCjjK9dr.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c}from"./index-NqrbvfSo.js";/**
1
+ import{c}from"./index-BCjjK9dr.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as zn,at as Z,k as Pe,au as mt,aB as oe,aU as bt,r as l,aG as Jn,a4 as ke,e as q,l as Ze,d as N,h as zt,i as Ae,a5 as Qn,j as I,a6 as Jt,E as ve,aV as Zn,a7 as Pt,g as et,ax as ot,aw as er,aW as tr,aX as Qt,aY as nr,aC as rr,B as Zt,f as Fe}from"./index-NqrbvfSo.js";import{a as A,o as U,m as ge,c as Se,B as or,u as en,s as tn,y as yt,b as nn,w as rn,g as Ee,t as on,q as sn,n as sr,p as ir,i as ar}from"./label-CZtxPKnA.js";/**
1
+ import{c as zn,at as Z,k as Pe,au as mt,aB as oe,aU as bt,r as l,aG as Jn,a4 as ke,e as q,l as Ze,d as N,h as zt,i as Ae,a5 as Qn,j as I,a6 as Jt,E as ve,aV as Zn,a7 as Pt,g as et,ax as ot,aw as er,aW as tr,aX as Qt,aY as nr,aC as rr,B as Zt,f as Fe}from"./index-BCjjK9dr.js";import{a as A,o as U,m as ge,c as Se,B as or,u as en,s as tn,y as yt,b as nn,w as rn,g as Ee,t as on,q as sn,n as sr,p as ir,i as ar}from"./label-CU7jvj5k.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as zn,r as u,i as Fe,E as tt,ar as qt,k as se,as as $e,g as Pe,at as ke,au as We,av as on,aw as lt,ax as Et,ay as Vo,az as Un,aA as Wo,aB as rn,aC as Kn,aD as Dt,aE as Gn,aF as En,l as Ct,a6 as Yn,d as de,a4 as Xn,e as pe,aG as qn,h as ze,a8 as jo,a5 as Qn,m as it,a7 as $o,j as Q,aH as zo,f as ut}from"./index-NqrbvfSo.js";import{C as Uo}from"./check-DFzW0E5F.js";import{i as Je,Q as Qt,w as _e,S as Jn,U as Zn,V as Ko,W as ft,Y as Tt,Z as eo,_ as to,a as Te,$ as Go,a0 as Mt,a1 as Yo,a2 as Xo,T as Jt,a3 as Lt,a4 as qo,a5 as Zt,v as Re,a6 as Qo,a7 as Jo,a8 as Zo,a9 as Cn,aa as Ut,ab as Tn,ac as Ne,ad as mt,ae as er,af as Nt,ag as Ht,ah as no,ai as sn,aj as tr,ak as nr,al as or,am as rr,C as sr,O as ir,A as oo,an as cr,B as ar,ao as lr,ap as ur,aq as fr,ar as dr,as as pr,z as gr,at as mr,au as hr,av as xr,N as yr,R as vr,p as Rr,aw as ro,j as br,P as wr,l as Er,ax as so,m as Cr,n as Tr,ay as Mr,az as Or,aA as Sr,q as Pr,aB as Ir,F as Ar,r as kr,o as Fr,aC as Dr,aD as Lr,aE as Nr,aF as Hr,aG as Br,aH as _r,s as Vr,t as Wr,aI as Mn,aJ as On,aK as jr}from"./dialog-cAVg5CWG.js";import{t as cn,g as nt,c as ie,m as ct,o as Se,a as le,p as at,q as io,b as be,r as en,s as Ot,v as an,u as Bt,w as $r,x as st,k as zr,y as Sn,i as Ur,z as Kr}from"./label-CZtxPKnA.js";import{u as co,a as ao,C as Gr,b as Yr}from"./CompositeItem-H1Z2RNQW.js";import{u as Xr}from"./useValueChanged-DKD8Vs7J.js";/**
1
+ import{c as zn,r as u,i as Fe,E as tt,ar as qt,k as se,as as $e,g as Pe,at as ke,au as We,av as on,aw as lt,ax as Et,ay as Vo,az as Un,aA as Wo,aB as rn,aC as Kn,aD as Dt,aE as Gn,aF as En,l as Ct,a6 as Yn,d as de,a4 as Xn,e as pe,aG as qn,h as ze,a8 as jo,a5 as Qn,m as it,a7 as $o,j as Q,aH as zo,f as ut}from"./index-BCjjK9dr.js";import{C as Uo}from"./check-fUN7a3GX.js";import{i as Je,Q as Qt,w as _e,S as Jn,U as Zn,V as Ko,W as ft,Y as Tt,Z as eo,_ as to,a as Te,$ as Go,a0 as Mt,a1 as Yo,a2 as Xo,T as Jt,a3 as Lt,a4 as qo,a5 as Zt,v as Re,a6 as Qo,a7 as Jo,a8 as Zo,a9 as Cn,aa as Ut,ab as Tn,ac as Ne,ad as mt,ae as er,af as Nt,ag as Ht,ah as no,ai as sn,aj as tr,ak as nr,al as or,am as rr,C as sr,O as ir,A as oo,an as cr,B as ar,ao as lr,ap as ur,aq as fr,ar as dr,as as pr,z as gr,at as mr,au as hr,av as xr,N as yr,R as vr,p as Rr,aw as ro,j as br,P as wr,l as Er,ax as so,m as Cr,n as Tr,ay as Mr,az as Or,aA as Sr,q as Pr,aB as Ir,F as Ar,r as kr,o as Fr,aC as Dr,aD as Lr,aE as Nr,aF as Hr,aG as Br,aH as _r,s as Vr,t as Wr,aI as Mn,aJ as On,aK as jr}from"./dialog-B_kwIiUp.js";import{t as cn,g as nt,c as ie,m as ct,o as Se,a as le,p as at,q as io,b as be,r as en,s as Ot,v as an,u as Bt,w as $r,x as st,k as zr,y as Sn,i as Ur,z as Kr}from"./label-CU7jvj5k.js";import{u as co,a as ao,C as Gr,b as Yr}from"./CompositeItem-DOjAZOIw.js";import{u as Xr}from"./useValueChanged-BhvEiD3-.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-NqrbvfSo.js";/**
1
+ import{c as e}from"./index-BCjjK9dr.js";/**
2
2
  * @license lucide-react v1.39.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.