@nivora/matrix 0.3.7 → 0.3.9
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +6 -6
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/react-loadable-manifest.json +6 -6
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/matrix/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/releases/[id]/page.js +3 -3
- package/.next/server/app/releases/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/releases/page.js +3 -3
- package/.next/server/app/releases/page_client-reference-manifest.js +1 -1
- package/.next/server/app/specs/[id]/page.js +1 -1
- package/.next/server/app/specs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/archive/page.js +2 -2
- package/.next/server/app/traceability/archive/page.js.nft.json +1 -1
- package/.next/server/app/traceability/archive/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/fs/[id]/page.js +3 -3
- package/.next/server/app/traceability/fs/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/fs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/fs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/risk/[id]/page.js +1 -1
- package/.next/server/app/traceability/risk/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/risk/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/risk/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/urs/[id]/page.js +2 -2
- package/.next/server/app/traceability/urs/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/urs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/urs/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +6 -6
- package/.next/server/chunks/115.js +1 -0
- package/.next/server/chunks/930.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/444-150a194fd05ab19b.js +1 -0
- package/.next/static/chunks/579.7253319e999e172d.js +1 -0
- package/.next/static/chunks/app/releases/[id]/{page-fc4810ad78aacc05.js → page-afa3f1c28d6c7765.js} +1 -1
- package/.next/static/chunks/app/releases/page-59506110e5faba1f.js +1 -0
- package/.next/static/chunks/app/specs/[id]/page-c533ddcd6fff787a.js +1 -0
- package/.next/static/chunks/app/traceability/archive/page-2ce8716b9833a881.js +1 -0
- package/.next/static/chunks/app/traceability/fs/[id]/{page-74b333bf6fee2124.js → page-1aae1d2fb97895e3.js} +2 -2
- package/.next/static/chunks/app/traceability/risk/[id]/page-bb6c699a60a4a7e6.js +1 -0
- package/.next/static/chunks/app/traceability/urs/[id]/page-5e3bf9709c3d0937.js +1 -0
- package/.next/static/chunks/{webpack-fdd24ee937b83737.js → webpack-7c5c48f4e751caa0.js} +1 -1
- package/bin/cli.js +39 -2
- package/bin/cli.ts +10 -0
- package/package.json +4 -3
- package/.next/server/chunks/14.js +0 -1
- package/.next/server/chunks/2.js +0 -1
- package/.next/static/chunks/444-1331cf1713bba53d.js +0 -1
- package/.next/static/chunks/918.8613117e214693b1.js +0 -1
- package/.next/static/chunks/app/releases/page-ea3a4e53452c06a7.js +0 -1
- package/.next/static/chunks/app/specs/[id]/page-f178b6b820cd72a2.js +0 -1
- package/.next/static/chunks/app/traceability/archive/page-935f11cdeb06e469.js +0 -1
- package/.next/static/chunks/app/traceability/risk/[id]/page-5f453b802c3b94c1.js +0 -1
- package/.next/static/chunks/app/traceability/urs/[id]/page-fcbf0f20c12adc8c.js +0 -1
- /package/.next/static/{N8nz88V5gLBgFu2wLdIIn → MaKq1Re1ae59Q6-jV_l8J}/_buildManifest.js +0 -0
- /package/.next/static/{N8nz88V5gLBgFu2wLdIIn → MaKq1Re1ae59Q6-jV_l8J}/_ssgManifest.js +0 -0
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
4:I[7121,[],""]
|
|
5
5
|
5:I[4581,[],""]
|
|
6
6
|
:HL["/_next/static/css/2693864a24fbccd0.css","style"]
|
|
7
|
-
0:{"buildId":"
|
|
7
|
+
0:{"buildId":"MaKq1Re1ae59Q6-jV_l8J","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2693864a24fbccd0.css","precedence":"next"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"children":["$","div",null,{"className":"layout","children":[["$","aside",null,{"className":"sidebar","children":[["$","div",null,{"className":"sidebar-header","children":[["$","h1",null,{"style":{"fontSize":"1.25rem","fontWeight":700,"margin":0},"children":"GAMP 5"}],["$","span",null,{"style":{"fontSize":"0.75rem","color":"var(--text-secondary)"},"children":"V-Model System"}]]}],["$","nav",null,{"className":"sidebar-nav","children":["$","ul",null,{"style":{"listStyle":"none","padding":0,"margin":0},"children":[["$","li",null,{"children":["$","$L2",null,{"href":"/","className":"nav-link","children":[["$","span",null,{"children":"📊"}],["$","span",null,{"children":"Dashboard"}]]}]}],["$","$L3",null,{"label":"Specs","icon":"📑","storageKey":"specs","items":[{"href":"/traceability","label":"Search","icon":"🔍"},{"href":"/traceability/urs","label":"URS","icon":"📋"},{"href":"/traceability/fs","label":"Functional Specs","icon":"⚙️"},{"href":"/traceability/risk","label":"Risk Assessments","icon":"⚠️"},{"href":"/traceability/archive","label":"Archive","icon":"🗑️"}]}],["$","li",null,{"children":["$","$L2",null,{"href":"/releases","className":"nav-link","children":[["$","span",null,{"children":"📦"}],["$","span",null,{"children":"Releases"}]]}]}]]}]}],["$","div",null,{"style":{"marginTop":"2rem","paddingTop":"2rem","borderTop":"1px solid var(--border)"},"children":[["$","div",null,{"style":{"fontSize":"0.75rem","color":"var(--text-secondary)"},"children":"GAMP 5 Compliant"}],["$","div",null,{"style":{"fontSize":"0.75rem","color":"var(--text-secondary)","marginTop":"0.25rem"},"children":"21 CFR Part 11 Ready"}]]}]]}],["$","main",null,{"className":"main-content","children":["$","$L4",null,{"parallelRouterKey":"children","template":["$","$L5",null,{}]}]}]]}]}]}]]}],"loading":null,"isPartial":false}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[484,[],"OutletBoundary"]
|
|
3
3
|
3:"$Sreact.suspense"
|
|
4
|
-
0:{"buildId":"
|
|
4
|
+
0:{"buildId":"MaKq1Re1ae59Q6-jV_l8J","rsc":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
|
|
5
5
|
4:null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[7121,[],""]
|
|
3
3
|
3:I[4581,[],""]
|
|
4
|
-
0:{"buildId":"
|
|
4
|
+
0:{"buildId":"MaKq1Re1ae59Q6-jV_l8J","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
:HL["/_next/static/css/2693864a24fbccd0.css","style"]
|
|
2
|
-
0:{"buildId":"
|
|
2
|
+
0:{"buildId":"MaKq1Re1ae59Q6-jV_l8J","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"_not-found","paramType":null,"paramKey":"_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/matrix/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/matrix/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"27015","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"20466","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"44204","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"62386","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"33227","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"66783","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"1900","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"31630","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"93291","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"15651","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"21007","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"29532","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/nav-section.tsx":{"id":1864,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":9659,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":8362,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","258","static/chunks/app/matrix/page-b2418abb52a7acd8.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":7637,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":707,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/matrix-client.tsx":{"id":4425,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/archive/client.tsx":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/urs/[id]/client.tsx":{"id":9910,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/fs/[id]/client.tsx":{"id":1090,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/risk/[id]/client.tsx":{"id":7804,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/2693864a24fbccd0.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/page":[]},"rscModuleMapping":{"484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"17250","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"50596","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"40946","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"97652","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"65100","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"62005","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"19665","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"59216","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"47831","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"29575","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"23318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"89737","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"27015","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"20466","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"44204","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"62386","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"33227","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"66783","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"1900","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"31630","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"93291","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"15651","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"21007","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"29532","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/nav-section.tsx":{"id":1864,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":9659,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":8362,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":7637,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":707,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/matrix-client.tsx":{"id":4425,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/archive/client.tsx":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/urs/[id]/client.tsx":{"id":9910,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/fs/[id]/client.tsx":{"id":1090,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/risk/[id]/client.tsx":{"id":7804,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/2693864a24fbccd0.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[]},"rscModuleMapping":{"484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"17250","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"50596","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"40946","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"97652","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"65100","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"62005","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"19665","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"59216","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"47831","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"29575","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"23318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"89737","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -231,7 +231,7 @@ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__
|
|
|
231
231
|
`).run(b.version??c.version,b.name??c.name,b.status??c.status,e,b.notes??c.notes,a),g(a)}(a,b);return(0,e.revalidatePath)("/releases"),(0,e.revalidatePath)(`/releases/${a}`),c}async function j(a,b){for(let c of b)!function(a,b){let c=(0,f.Lf)(),d=(0,f.lg)();c.query(`
|
|
232
232
|
INSERT OR IGNORE INTO release_fs (release_id, fs_id, added_at)
|
|
233
233
|
VALUES (?, ?, ?)
|
|
234
|
-
`).run(a,b,d)}(a,c);(0,e.revalidatePath)(`/releases/${a}`)}async function k(a,b){(0,f.Lf)().query("DELETE FROM release_fs WHERE release_id = ? AND fs_id = ?").run(a,b),(0,e.revalidatePath)(`/releases/${a}`)}(0,c(89337).D)([h,i,j,k]),(0,d.A)(h,"40b34d659b6e19c64205864590dbbec4661bfb750a",null),(0,d.A)(i,"607b0f23ca52a339f5ca09e94106942cf1d0755d46",null),(0,d.A)(j,"605919bed9319f4ac008f74b22c97e0c63da7bb619",null),(0,d.A)(k,"609898cd6c7fa5d0cbeb6ec7bb969714438b992b2b",null)},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29575:(a,b,c)=>{"use strict";c.d(b,{ReleaseDetailClient:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReleaseDetailClient() from the server but ReleaseDetailClient is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx","ReleaseDetailClient")},32171:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(19121).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?g.RedirectType.push:g.RedirectType.replace,f.RedirectStatusCode.TemporaryRedirect)}function k(a,b=g.RedirectType.replace){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},32434:(a,b,c)=>{"use strict";c.d(b,{ReleaseDetailClient:()=>m});var d=c(48249),e=c(67484),f=c(2116),g=c.n(f),h=c(99829);let i=(0,h.createServerReference)("607b0f23ca52a339f5ca09e94106942cf1d0755d46",h.callServer,void 0,h.findSourceMapURL,"updateReleaseAction"),j=(0,h.createServerReference)("605919bed9319f4ac008f74b22c97e0c63da7bb619",h.callServer,void 0,h.findSourceMapURL,"tagFSToReleaseAction"),k=(0,h.createServerReference)("609898cd6c7fa5d0cbeb6ec7bb969714438b992b2b",h.callServer,void 0,h.findSourceMapURL,"untagFSFromReleaseAction"),l=(0,h.createServerReference)("401e475e76e01c8920a594f269c3a817488de63850",h.callServer,void 0,h.findSourceMapURL,"createDefectAction");function m({release:a,taggedFS:b,availableFS:c,testRuns:f,defects:h}){let[m,n]=(0,e.useState)(!1),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)([]),[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)({isOpen:!1}),[w,x]=(0,e.useState)({title:"",description:"",status:"open"}),[y,z]=(0,e.useState)({titleError:!1,descriptionError:!1}),[A,B]=(0,e.useTransition)(),[C,D]=(0,e.useState)({version:a.version,name:a.name,status:a.status,notes:a.notes||""}),E={planning:{bg:"rgba(168, 85, 247, 0.1)",color:"#a855f7"},testing:{bg:"rgba(59, 130, 246, 0.1)",color:"#3b82f6"},released:{bg:"rgba(34, 197, 94, 0.1)",color:"#22c55e"}}[a.status];return(0,d.jsxs)("div",{style:{maxWidth:"1200px",margin:"0 auto",padding:"2rem"},children:[(0,d.jsx)("div",{style:{marginBottom:"1.5rem"},children:(0,d.jsx)(g(),{href:"/releases",style:{color:"var(--text-secondary)",textDecoration:"none"},children:"← Back to Releases"})}),(0,d.jsxs)("header",{style:{marginBottom:"2rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"0.5rem"},children:[(0,d.jsxs)("code",{style:{fontSize:"1.5rem",fontWeight:700,color:E.color},children:[" ",a.id," "]}),(0,d.jsxs)("span",{style:{fontSize:"1.25rem",fontWeight:600},children:["v",a.version]}),(0,d.jsx)("span",{className:"badge",style:{background:E.bg,color:E.color,padding:"0.5rem 1rem"},children:a.status}),(0,d.jsx)("button",{onClick:()=>n(!m),className:"btn btn-primary",style:{marginLeft:"auto"},children:m?"Cancel":"✏️ Edit"})]}),(0,d.jsx)("h1",{style:{fontSize:"2rem",fontWeight:700},children:a.name}),(0,d.jsxs)("p",{style:{color:"var(--text-secondary)"},children:["Created ",a.created_at,a.released_at&&` • Released ${a.released_at}`]})]}),m&&(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",children:"Edit Release"}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr 1fr",gap:"1rem",marginBottom:"1rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Version"}),(0,d.jsx)("input",{type:"text",value:C.version,onChange:a=>D({...C,version:a.target.value}),className:"input"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Name"}),(0,d.jsx)("input",{type:"text",value:C.name,onChange:a=>D({...C,name:a.target.value}),className:"input"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Status"}),(0,d.jsxs)("select",{value:C.status,onChange:a=>D({...C,status:a.target.value}),className:"input",children:[(0,d.jsx)("option",{value:"planning",children:"Planning"}),(0,d.jsx)("option",{value:"testing",children:"Testing"}),(0,d.jsx)("option",{value:"released",children:"Released"})]})]})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Notes"}),(0,d.jsx)("textarea",{value:C.notes,onChange:a=>D({...C,notes:a.target.value}),rows:3,className:"input",style:{resize:"vertical"}})]}),(0,d.jsx)("button",{onClick:()=>{B(async()=>{await i(a.id,C),n(!1)})},className:"btn btn-primary",disabled:A,children:A?"Saving...":"Save Changes"})]}),a.notes&&!m&&(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",children:"\uD83D\uDCDD Notes"}),(0,d.jsx)("p",{style:{color:"var(--text-secondary)",whiteSpace:"pre-wrap"},children:a.notes})]}),(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem",borderLeft:"4px solid var(--error)"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsxs)("h2",{className:"card-title",children:["\uD83D\uDEA8 Defects & Deviations (",h.length,")"]}),(0,d.jsx)("button",{className:"btn",onClick:()=>{v({isOpen:!0,testResultId:void 0,fsId:void 0,scenarioName:void 0}),x({title:"",description:"",status:"open"})},children:"+ Log Defect"})]}),0===h.length?(0,d.jsx)("p",{style:{color:"var(--text-secondary)"},children:"No defects logged. Any failed tests must be resolved or logged as a defect."}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.75rem"},children:h.map(a=>(0,d.jsxs)("div",{style:{padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px",borderLeft:"open"===a.status?"3px solid red":"3px solid green"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"0.5rem"},children:[(0,d.jsxs)("div",{style:{fontWeight:600},children:[a.id,": ",a.title]}),(0,d.jsx)("div",{className:"badge",style:{background:"open"===a.status?"rgba(239, 68, 68, 0.1)":"rgba(34, 197, 94, 0.1)",color:"open"===a.status?"var(--error)":"var(--success)"},children:a.status.toUpperCase()})]}),(0,d.jsx)("div",{style:{fontSize:"0.875rem",color:"var(--text-secondary)",whiteSpace:"pre-wrap"},children:a.description}),a.test_result_id&&(0,d.jsxs)("div",{style:{marginTop:"0.5rem",fontSize:"0.75rem",color:"var(--warning)"},children:["Linked to failed test result #",a.test_result_id]})]},a.id))})]}),(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsxs)("h2",{className:"card-title",style:{margin:0},children:["⚙️ Features (",b.length,")"]}),(0,d.jsx)("button",{onClick:()=>p(!0),className:"btn",disabled:0===c.length,children:"+ Add Features"})]}),o&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsx)("div",{style:{marginBottom:"0.5rem",fontWeight:500},children:"Select features to add:"}),(0,d.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem",marginBottom:"1rem"},children:c.map(a=>(0,d.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"0.5rem",cursor:"pointer"},children:[(0,d.jsx)("input",{type:"checkbox",checked:q.includes(a.id),onChange:b=>{b.target.checked?r([...q,a.id]):r(q.filter(b=>b!==a.id))}}),(0,d.jsx)("code",{style:{color:"var(--warning)"},children:a.id}),(0,d.jsx)("span",{children:a.title})]},a.id))}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{onClick:()=>{p(!1),r([])},className:"btn",children:"Cancel"}),(0,d.jsx)("button",{onClick:()=>{0!==q.length&&B(async()=>{await j(a.id,q),p(!1),r([])})},className:"btn btn-primary",disabled:A||0===q.length,children:A?"Adding...":`Add ${q.length} Feature${1!==q.length?"s":""}`})]})]}),0===b.length?(0,d.jsx)("p",{style:{color:"var(--text-secondary)"},children:"No features tagged yet. Add features to track them in this release."}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.5rem"},children:b.map(b=>(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",padding:"0.75rem 1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)(g(),{href:`/specs/${b.id}`,style:{flex:1,textDecoration:"none"},children:[(0,d.jsx)("code",{style:{fontWeight:600,color:"var(--warning)",marginRight:"0.75rem"},children:b.id}),(0,d.jsx)("span",{style:{color:"var(--text-primary)"},children:b.title}),(0,d.jsxs)("span",{style:{marginLeft:"0.75rem",color:"var(--text-secondary)",fontSize:"0.875rem"},children:[b.scenario_count," scenarios"]})]}),(0,d.jsx)("button",{onClick:()=>{var c;return c=b.id,void B(async()=>{await k(a.id,c)})},className:"btn",style:{padding:"0.25rem 0.5rem",fontSize:"0.75rem"},disabled:A,children:"\xd7"})]},b.id))})]}),(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("h2",{className:"card-title",children:["\uD83E\uDDEA Test Runs (",f.length,")"]}),0===f.length?(0,d.jsxs)("p",{style:{color:"var(--text-secondary)"},children:["No test runs yet. Import Cucumber results: ",(0,d.jsxs)("code",{children:["matrix release import-results results.json -r ",a.id]})]}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.75rem"},children:f.map(a=>{let b=a.total>0?a.passed/a.total*100:0,c=s===a.id;return(0,d.jsxs)("div",{style:{padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>t(c?null:a.id),children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{fontWeight:600,marginBottom:"0.25rem"},children:[a.failed>0?"❌":"✅"," Run #",a.id," ",c?"\uD83D\uDD3D":"▶"]}),(0,d.jsxs)("div",{style:{fontSize:"0.875rem",color:"var(--text-secondary)"},children:[a.run_date," • ",a.source]})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"1rem",textAlign:"center"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{fontWeight:700,color:"var(--success)"},children:a.passed}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Passed"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{fontWeight:700,color:"var(--error)"},children:a.failed}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Failed"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{fontWeight:700,color:100===b?"var(--success)":b>=80?"var(--warning)":"var(--error)"},children:[b.toFixed(0),"%"]}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Pass Rate"})]})]})]}),c&&(0,d.jsx)("div",{style:{marginTop:"1rem",paddingTop:"1rem",borderTop:"1px solid var(--border)"},children:(0,d.jsx)("p",{style:{fontStyle:"italic",color:"var(--text-secondary)"},children:"Detailed results view would go here. For now, check the console logs or database for failure details."})})]},a.id)})})]}),u.isOpen&&(0,d.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:100},children:(0,d.jsxs)("div",{className:"card",style:{width:"500px",maxWidth:"90%"},children:[(0,d.jsx)("h2",{className:"card-title",children:"Log Defect / Deviation"}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("label",{style:{display:"block",marginBottom:"0.5rem"},children:["Title ",(0,d.jsx)("span",{style:{color:"var(--error)"},children:"*"})]}),(0,d.jsx)("input",{className:"input",value:w.title,onChange:a=>{x({...w,title:a.target.value}),a.target.value&&z(a=>({...a,titleError:!1}))},placeholder:"Defect summary",style:y.titleError?{borderColor:"var(--error)",boxShadow:"0 0 0 2px rgba(239, 68, 68, 0.2)"}:{}}),y.titleError&&(0,d.jsx)("div",{style:{color:"var(--error)",fontSize:"0.75rem",marginTop:"0.25rem"},children:"Title is required"})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("label",{style:{display:"block",marginBottom:"0.5rem"},children:["Description & Root Cause ",(0,d.jsx)("span",{style:{color:"var(--error)"},children:"*"})]}),(0,d.jsx)("textarea",{className:"input",rows:5,value:w.description,onChange:a=>{x({...w,description:a.target.value}),a.target.value&&z(a=>({...a,descriptionError:!1}))},placeholder:"Describe the failure, root cause, and why it is acceptable (if deviating) or mitigation plan.",style:y.descriptionError?{borderColor:"var(--error)",boxShadow:"0 0 0 2px rgba(239, 68, 68, 0.2)"}:{}}),y.descriptionError&&(0,d.jsx)("div",{style:{color:"var(--error)",fontSize:"0.75rem",marginTop:"0.25rem"},children:"Description is required"})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsx)("label",{style:{display:"block",marginBottom:"0.5rem"},children:"Status"}),(0,d.jsxs)("select",{className:"input",value:w.status,onChange:a=>x({...w,status:a.target.value}),children:[(0,d.jsx)("option",{value:"open",children:"Open (Needs Fix)"}),(0,d.jsx)("option",{value:"resolved",children:"Resolved (Fixed)"}),(0,d.jsx)("option",{value:"accepted",children:"Accepted (Permanent Deviation)"})]})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",justifyContent:"flex-end"},children:[(0,d.jsx)("button",{className:"btn",onClick:()=>{v({isOpen:!1}),z({titleError:!1,descriptionError:!1})},children:"Cancel"}),(0,d.jsx)("button",{className:"btn btn-primary",onClick:()=>{let b=!w.title.trim(),c=!w.description.trim();b||c?z({titleError:b,descriptionError:c}):B(async()=>{try{await l({releaseId:a.id,testResultId:u.testResultId,title:w.title,description:w.description,status:w.status}),v({isOpen:!1}),x({title:"",description:"",status:"open"})}catch(a){console.error("Failed to create defect:",a),alert("Failed to create defect. Check console for details.")}})},disabled:A,children:A?"Logging...":"Log Defect"})]})]})})]})}},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},44057:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},46193:a=>{"use strict";a.exports=require("node:string_decoder")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},52283:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},56122:(a,b,c)=>{Promise.resolve().then(c.bind(c,29575))},57075:a=>{"use strict";a.exports=require("node:stream")},57558:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"401e475e76e01c8920a594f269c3a817488de63850":()=>h,"40b34d659b6e19c64205864590dbbec4661bfb750a":()=>d.Y7,"602516c9aa99d08cb59896c66b474b98569ca83bd7":()=>j,"605919bed9319f4ac008f74b22c97e0c63da7bb619":()=>d.Id,"607b0f23ca52a339f5ca09e94106942cf1d0755d46":()=>d.Lk,"609898cd6c7fa5d0cbeb6ec7bb969714438b992b2b":()=>d.ct,"707c0c5a080ba7709768605f61b7950639c93a2f64":()=>i});var d=c(14494),e=c(95349),f=c(42650),g=c(624);async function h(a){var b,c;let d,e,h,i;b={release_id:a.releaseId,test_result_id:a.testResultId,title:a.title,description:a.description,status:a.status},d=(0,g.Lf)(),e=(0,g.lg)(),h=d.query("SELECT id FROM defect").all(),i=(0,g.$C)("DEF",h.map(a=>a.id)),d.query(`
|
|
234
|
+
`).run(a,b,d)}(a,c);(0,e.revalidatePath)(`/releases/${a}`)}async function k(a,b){(0,f.Lf)().query("DELETE FROM release_fs WHERE release_id = ? AND fs_id = ?").run(a,b),(0,e.revalidatePath)(`/releases/${a}`)}(0,c(89337).D)([h,i,j,k]),(0,d.A)(h,"4032e4c63e9708f9951b34294da5343c6e9edaebf4",null),(0,d.A)(i,"600ce7f313d5ecb7d3db53231f0a44b50b81dccd64",null),(0,d.A)(j,"60c1a8588a42506fc7207e212994af131dac993464",null),(0,d.A)(k,"60eae144bde175784300d226f8c375febed07e3a2d",null)},15651:(a,b,c)=>{"use strict";c.d(b,{ReleaseDetailClient:()=>m});var d=c(48249),e=c(67484),f=c(2116),g=c.n(f),h=c(99829);let i=(0,h.createServerReference)("600ce7f313d5ecb7d3db53231f0a44b50b81dccd64",h.callServer,void 0,h.findSourceMapURL,"updateReleaseAction"),j=(0,h.createServerReference)("60c1a8588a42506fc7207e212994af131dac993464",h.callServer,void 0,h.findSourceMapURL,"tagFSToReleaseAction"),k=(0,h.createServerReference)("60eae144bde175784300d226f8c375febed07e3a2d",h.callServer,void 0,h.findSourceMapURL,"untagFSFromReleaseAction"),l=(0,h.createServerReference)("402646414f6f91777cc50513d607f5197fbf821ee5",h.callServer,void 0,h.findSourceMapURL,"createDefectAction");function m({release:a,taggedFS:b,availableFS:c,testRuns:f,defects:h}){let[m,n]=(0,e.useState)(!1),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)([]),[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)({isOpen:!1}),[w,x]=(0,e.useState)({title:"",description:"",status:"open"}),[y,z]=(0,e.useState)({titleError:!1,descriptionError:!1}),[A,B]=(0,e.useTransition)(),[C,D]=(0,e.useState)({version:a.version,name:a.name,status:a.status,notes:a.notes||""}),E={planning:{bg:"rgba(168, 85, 247, 0.1)",color:"#a855f7"},testing:{bg:"rgba(59, 130, 246, 0.1)",color:"#3b82f6"},released:{bg:"rgba(34, 197, 94, 0.1)",color:"#22c55e"}}[a.status];return(0,d.jsxs)("div",{style:{maxWidth:"1200px",margin:"0 auto",padding:"2rem"},children:[(0,d.jsx)("div",{style:{marginBottom:"1.5rem"},children:(0,d.jsx)(g(),{href:"/releases",style:{color:"var(--text-secondary)",textDecoration:"none"},children:"← Back to Releases"})}),(0,d.jsxs)("header",{style:{marginBottom:"2rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"0.5rem"},children:[(0,d.jsxs)("code",{style:{fontSize:"1.5rem",fontWeight:700,color:E.color},children:[" ",a.id," "]}),(0,d.jsxs)("span",{style:{fontSize:"1.25rem",fontWeight:600},children:["v",a.version]}),(0,d.jsx)("span",{className:"badge",style:{background:E.bg,color:E.color,padding:"0.5rem 1rem"},children:a.status}),(0,d.jsx)("button",{onClick:()=>n(!m),className:"btn btn-primary",style:{marginLeft:"auto"},children:m?"Cancel":"✏️ Edit"})]}),(0,d.jsx)("h1",{style:{fontSize:"2rem",fontWeight:700},children:a.name}),(0,d.jsxs)("p",{style:{color:"var(--text-secondary)"},children:["Created ",a.created_at,a.released_at&&` • Released ${a.released_at}`]})]}),m&&(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",children:"Edit Release"}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr 1fr",gap:"1rem",marginBottom:"1rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Version"}),(0,d.jsx)("input",{type:"text",value:C.version,onChange:a=>D({...C,version:a.target.value}),className:"input"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Name"}),(0,d.jsx)("input",{type:"text",value:C.name,onChange:a=>D({...C,name:a.target.value}),className:"input"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Status"}),(0,d.jsxs)("select",{value:C.status,onChange:a=>D({...C,status:a.target.value}),className:"input",children:[(0,d.jsx)("option",{value:"planning",children:"Planning"}),(0,d.jsx)("option",{value:"testing",children:"Testing"}),(0,d.jsx)("option",{value:"released",children:"Released"})]})]})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsx)("label",{style:{display:"block",fontWeight:500,marginBottom:"0.5rem"},children:"Notes"}),(0,d.jsx)("textarea",{value:C.notes,onChange:a=>D({...C,notes:a.target.value}),rows:3,className:"input",style:{resize:"vertical"}})]}),(0,d.jsx)("button",{onClick:()=>{B(async()=>{await i(a.id,C),n(!1)})},className:"btn btn-primary",disabled:A,children:A?"Saving...":"Save Changes"})]}),a.notes&&!m&&(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsx)("h2",{className:"card-title",children:"\uD83D\uDCDD Notes"}),(0,d.jsx)("p",{style:{color:"var(--text-secondary)",whiteSpace:"pre-wrap"},children:a.notes})]}),(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem",borderLeft:"4px solid var(--error)"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsxs)("h2",{className:"card-title",children:["\uD83D\uDEA8 Defects & Deviations (",h.length,")"]}),(0,d.jsx)("button",{className:"btn",onClick:()=>{v({isOpen:!0,testResultId:void 0,fsId:void 0,scenarioName:void 0}),x({title:"",description:"",status:"open"})},children:"+ Log Defect"})]}),0===h.length?(0,d.jsx)("p",{style:{color:"var(--text-secondary)"},children:"No defects logged. Any failed tests must be resolved or logged as a defect."}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.75rem"},children:h.map(a=>(0,d.jsxs)("div",{style:{padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px",borderLeft:"open"===a.status?"3px solid red":"3px solid green"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:"0.5rem"},children:[(0,d.jsxs)("div",{style:{fontWeight:600},children:[a.id,": ",a.title]}),(0,d.jsx)("div",{className:"badge",style:{background:"open"===a.status?"rgba(239, 68, 68, 0.1)":"rgba(34, 197, 94, 0.1)",color:"open"===a.status?"var(--error)":"var(--success)"},children:a.status.toUpperCase()})]}),(0,d.jsx)("div",{style:{fontSize:"0.875rem",color:"var(--text-secondary)",whiteSpace:"pre-wrap"},children:a.description}),a.test_result_id&&(0,d.jsxs)("div",{style:{marginTop:"0.5rem",fontSize:"0.75rem",color:"var(--warning)"},children:["Linked to failed test result #",a.test_result_id]})]},a.id))})]}),(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsxs)("h2",{className:"card-title",style:{margin:0},children:["⚙️ Features (",b.length,")"]}),(0,d.jsx)("button",{onClick:()=>p(!0),className:"btn",disabled:0===c.length,children:"+ Add Features"})]}),o&&(0,d.jsxs)("div",{style:{marginBottom:"1rem",padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsx)("div",{style:{marginBottom:"0.5rem",fontWeight:500},children:"Select features to add:"}),(0,d.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:"0.5rem",marginBottom:"1rem"},children:c.map(a=>(0,d.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:"0.5rem",cursor:"pointer"},children:[(0,d.jsx)("input",{type:"checkbox",checked:q.includes(a.id),onChange:b=>{b.target.checked?r([...q,a.id]):r(q.filter(b=>b!==a.id))}}),(0,d.jsx)("code",{style:{color:"var(--warning)"},children:a.id}),(0,d.jsx)("span",{children:a.title})]},a.id))}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{onClick:()=>{p(!1),r([])},className:"btn",children:"Cancel"}),(0,d.jsx)("button",{onClick:()=>{0!==q.length&&B(async()=>{await j(a.id,q),p(!1),r([])})},className:"btn btn-primary",disabled:A||0===q.length,children:A?"Adding...":`Add ${q.length} Feature${1!==q.length?"s":""}`})]})]}),0===b.length?(0,d.jsx)("p",{style:{color:"var(--text-secondary)"},children:"No features tagged yet. Add features to track them in this release."}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.5rem"},children:b.map(b=>(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",padding:"0.75rem 1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)(g(),{href:`/specs/${b.id}`,style:{flex:1,textDecoration:"none"},children:[(0,d.jsx)("code",{style:{fontWeight:600,color:"var(--warning)",marginRight:"0.75rem"},children:b.id}),(0,d.jsx)("span",{style:{color:"var(--text-primary)"},children:b.title}),(0,d.jsxs)("span",{style:{marginLeft:"0.75rem",color:"var(--text-secondary)",fontSize:"0.875rem"},children:[b.scenario_count," scenarios"]})]}),(0,d.jsx)("button",{onClick:()=>{var c;return c=b.id,void B(async()=>{await k(a.id,c)})},className:"btn",style:{padding:"0.25rem 0.5rem",fontSize:"0.75rem"},disabled:A,children:"\xd7"})]},b.id))})]}),(0,d.jsxs)("div",{className:"card",children:[(0,d.jsxs)("h2",{className:"card-title",children:["\uD83E\uDDEA Test Runs (",f.length,")"]}),0===f.length?(0,d.jsxs)("p",{style:{color:"var(--text-secondary)"},children:["No test runs yet. Import Cucumber results: ",(0,d.jsxs)("code",{children:["matrix release import-results results.json -r ",a.id]})]}):(0,d.jsx)("div",{style:{display:"grid",gap:"0.75rem"},children:f.map(a=>{let b=a.total>0?a.passed/a.total*100:0,c=s===a.id;return(0,d.jsxs)("div",{style:{padding:"1rem",background:"var(--bg-hover)",borderRadius:"8px"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer"},onClick:()=>t(c?null:a.id),children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{fontWeight:600,marginBottom:"0.25rem"},children:[a.failed>0?"❌":"✅"," Run #",a.id," ",c?"\uD83D\uDD3D":"▶"]}),(0,d.jsxs)("div",{style:{fontSize:"0.875rem",color:"var(--text-secondary)"},children:[a.run_date," • ",a.source]})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"1rem",textAlign:"center"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{fontWeight:700,color:"var(--success)"},children:a.passed}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Passed"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{fontWeight:700,color:"var(--error)"},children:a.failed}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Failed"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{fontWeight:700,color:100===b?"var(--success)":b>=80?"var(--warning)":"var(--error)"},children:[b.toFixed(0),"%"]}),(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Pass Rate"})]})]})]}),c&&(0,d.jsx)("div",{style:{marginTop:"1rem",paddingTop:"1rem",borderTop:"1px solid var(--border)"},children:(0,d.jsx)("p",{style:{fontStyle:"italic",color:"var(--text-secondary)"},children:"Detailed results view would go here. For now, check the console logs or database for failure details."})})]},a.id)})})]}),u.isOpen&&(0,d.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:100},children:(0,d.jsxs)("div",{className:"card",style:{width:"500px",maxWidth:"90%"},children:[(0,d.jsx)("h2",{className:"card-title",children:"Log Defect / Deviation"}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("label",{style:{display:"block",marginBottom:"0.5rem"},children:["Title ",(0,d.jsx)("span",{style:{color:"var(--error)"},children:"*"})]}),(0,d.jsx)("input",{className:"input",value:w.title,onChange:a=>{x({...w,title:a.target.value}),a.target.value&&z(a=>({...a,titleError:!1}))},placeholder:"Defect summary",style:y.titleError?{borderColor:"var(--error)",boxShadow:"0 0 0 2px rgba(239, 68, 68, 0.2)"}:{}}),y.titleError&&(0,d.jsx)("div",{style:{color:"var(--error)",fontSize:"0.75rem",marginTop:"0.25rem"},children:"Title is required"})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsxs)("label",{style:{display:"block",marginBottom:"0.5rem"},children:["Description & Root Cause ",(0,d.jsx)("span",{style:{color:"var(--error)"},children:"*"})]}),(0,d.jsx)("textarea",{className:"input",rows:5,value:w.description,onChange:a=>{x({...w,description:a.target.value}),a.target.value&&z(a=>({...a,descriptionError:!1}))},placeholder:"Describe the failure, root cause, and why it is acceptable (if deviating) or mitigation plan.",style:y.descriptionError?{borderColor:"var(--error)",boxShadow:"0 0 0 2px rgba(239, 68, 68, 0.2)"}:{}}),y.descriptionError&&(0,d.jsx)("div",{style:{color:"var(--error)",fontSize:"0.75rem",marginTop:"0.25rem"},children:"Description is required"})]}),(0,d.jsxs)("div",{style:{marginBottom:"1rem"},children:[(0,d.jsx)("label",{style:{display:"block",marginBottom:"0.5rem"},children:"Status"}),(0,d.jsxs)("select",{className:"input",value:w.status,onChange:a=>x({...w,status:a.target.value}),children:[(0,d.jsx)("option",{value:"open",children:"Open (Needs Fix)"}),(0,d.jsx)("option",{value:"resolved",children:"Resolved (Fixed)"}),(0,d.jsx)("option",{value:"accepted",children:"Accepted (Permanent Deviation)"})]})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem",justifyContent:"flex-end"},children:[(0,d.jsx)("button",{className:"btn",onClick:()=>{v({isOpen:!1}),z({titleError:!1,descriptionError:!1})},children:"Cancel"}),(0,d.jsx)("button",{className:"btn btn-primary",onClick:()=>{let b=!w.title.trim(),c=!w.description.trim();b||c?z({titleError:b,descriptionError:c}):B(async()=>{try{await l({releaseId:a.id,testResultId:u.testResultId,title:w.title,description:w.description,status:w.status}),v({isOpen:!1}),x({title:"",description:"",status:"open"})}catch(a){console.error("Failed to create defect:",a),alert("Failed to create defect. Check console for details.")}})},disabled:A,children:A?"Logging...":"Log Defect"})]})]})})]})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29575:(a,b,c)=>{"use strict";c.d(b,{ReleaseDetailClient:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReleaseDetailClient() from the server but ReleaseDetailClient is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx","ReleaseDetailClient")},32171:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(81494),g=c(52220),h=c(19121).actionAsyncStorage;function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Object.defineProperty(Error(g.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h?.getStore()?.isAction?g.RedirectType.push:g.RedirectType.replace,f.RedirectStatusCode.TemporaryRedirect)}function k(a,b=g.RedirectType.replace){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},33873:a=>{"use strict";a.exports=require("path")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},44057:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},46193:a=>{"use strict";a.exports=require("node:string_decoder")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},52283:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return f}});let d=c(7638),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=e,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},56122:(a,b,c)=>{Promise.resolve().then(c.bind(c,29575))},57075:a=>{"use strict";a.exports=require("node:stream")},58851:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"402646414f6f91777cc50513d607f5197fbf821ee5":()=>h,"4032e4c63e9708f9951b34294da5343c6e9edaebf4":()=>d.Y7,"600ce7f313d5ecb7d3db53231f0a44b50b81dccd64":()=>d.Lk,"60c1a8588a42506fc7207e212994af131dac993464":()=>d.Id,"60e8f3b52959c27fcf08ef0fe9cdb4cd6e73d52279":()=>j,"60eae144bde175784300d226f8c375febed07e3a2d":()=>d.ct,"708113fdc3aa718e0a9dc503b2dde134113ff884f7":()=>i});var d=c(14494),e=c(95349),f=c(42650),g=c(624);async function h(a){var b,c;let d,e,h,i;b={release_id:a.releaseId,test_result_id:a.testResultId,title:a.title,description:a.description,status:a.status},d=(0,g.Lf)(),e=(0,g.lg)(),h=d.query("SELECT id FROM defect").all(),i=(0,g.$C)("DEF",h.map(a=>a.id)),d.query(`
|
|
235
235
|
INSERT INTO defect (id, release_id, test_result_id, title, description, status, created_at, updated_at)
|
|
236
236
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?)
|
|
237
237
|
`).run(i,b.release_id,b.test_result_id||null,b.title,b.description,b.status||"open",e,e),(c=b.release_id,(0,g.Lf)().query(`
|
|
@@ -242,7 +242,7 @@ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__
|
|
|
242
242
|
UPDATE defect SET
|
|
243
243
|
title = ?, description = ?, status = ?, updated_at = ?
|
|
244
244
|
WHERE id = ?
|
|
245
|
-
`).run(c.title??h.title,c.description??h.description,c.status??h.status,e,a),d.query("SELECT * FROM defect WHERE id = ?").get(a)),(0,f.revalidatePath)(`/releases/${b}`)}async function j(a,b){(0,g.Lf)().query("DELETE FROM defect WHERE id = ?").run(a),(0,f.revalidatePath)(`/releases/${b}`)}(0,c(89337).D)([h,i,j]),(0,e.A)(h,"
|
|
245
|
+
`).run(c.title??h.title,c.description??h.description,c.status??h.status,e,a),d.query("SELECT * FROM defect WHERE id = ?").get(a)),(0,f.revalidatePath)(`/releases/${b}`)}async function j(a,b){(0,g.Lf)().query("DELETE FROM defect WHERE id = ?").run(a),(0,f.revalidatePath)(`/releases/${b}`)}(0,c(89337).D)([h,i,j]),(0,e.A)(h,"402646414f6f91777cc50513d607f5197fbf821ee5",null),(0,e.A)(i,"708113fdc3aa718e0a9dc503b2dde134113ff884f7",null),(0,e.A)(j,"60e8f3b52959c27fcf08ef0fe9cdb4cd6e73d52279",null)},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66610:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return h.RedirectType},forbidden:function(){return j.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return k.unauthorized},unstable_isUnrecognizedActionError:function(){return m},unstable_rethrow:function(){return l.unstable_rethrow}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(10381),g=c(32171),h=c(52220),i=c(52283),j=c(92606),k=c(44057),l=c(98621);function m(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},78474:a=>{"use strict";a.exports=require("node:events")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87079:(a,b,c)=>{"use strict";c.d(b,{Cd:()=>e,U:()=>f,g5:()=>g});var d=c(94547);function e(){let a=(0,d.Lf)();return a.query(`
|
|
246
246
|
SELECT r.*,
|
|
247
247
|
(SELECT COUNT(*) FROM release_fs WHERE release_id = r.id) as fs_count,
|
|
248
248
|
(SELECT COUNT(*) FROM test_run WHERE release_id = r.id) as test_runs
|
|
@@ -254,4 +254,4 @@ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__
|
|
|
254
254
|
ORDER BY run_date DESC LIMIT 1
|
|
255
255
|
`).get(b.id);return{...b,latest_pass_rate:c&&c.total>0?c.passed/c.total*100:null}})}function f(a){return(0,d.Lf)().query("SELECT * FROM release WHERE id = ?").get(a)}function g(a){return(0,d.Lf)().query(`
|
|
256
256
|
SELECT fs_id FROM release_fs WHERE release_id = ? ORDER BY added_at
|
|
257
|
-
`).all(a).map(a=>a.fs_id)}},90402:(a,b,c)=>{Promise.resolve().then(c.bind(c,
|
|
257
|
+
`).all(a).map(a=>a.fs_id)}},90402:(a,b,c)=>{Promise.resolve().then(c.bind(c,15651))},91970:(a,b,c)=>{"use strict";var d=c(66610);c.o(d,"notFound")&&c.d(b,{notFound:function(){return d.notFound}})},92606:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(7638).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},98621:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(108).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,471,391,390,476,658,733],()=>b(b.s=9018));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/releases/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/releases/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"27015","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"20466","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"44204","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"62386","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"33227","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"66783","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"1900","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"31630","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"93291","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"15651","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"2116","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"21007","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"29532","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/node_modules/next/dist/esm/client/app-dir/link.js":{"id":8500,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","974","static/chunks/app/page-b6683055d30b04b4.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/globals.css":{"id":1743,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/nav-section.tsx":{"id":1864,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","177","static/chunks/app/layout-0f51af36ad0921db.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/releases-client.tsx":{"id":9659,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","549","static/chunks/app/releases/page-59506110e5faba1f.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/release-detail-client.tsx":{"id":8362,"name":"*","chunks":["500","static/chunks/500-b84d19d842172eba.js","41","static/chunks/app/releases/%5Bid%5D/page-afa3f1c28d6c7765.js"],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/matrix/client.tsx":{"id":2716,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/risk-detail-client.tsx":{"id":7637,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/scenario-list.tsx":{"id":8169,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/specs/[id]/urs-detail-client.tsx":{"id":707,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/matrix-client.tsx":{"id":4425,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/archive/client.tsx":{"id":4547,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/urs/[id]/client.tsx":{"id":9910,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/fs/[id]/client.tsx":{"id":1090,"name":"*","chunks":[],"async":false},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/risk/[id]/client.tsx":{"id":7804,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/matthew/Code/github/p11o/machine/docs/src/":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/layout":[{"inlined":false,"path":"static/css/2693864a24fbccd0.css"}],"/Users/matthew/Code/github/p11o/machine/docs/src/app/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/page":[],"/Users/matthew/Code/github/p11o/machine/docs/src/app/releases/[id]/page":[]},"rscModuleMapping":{"484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"707":{"*":{"id":"17250","name":"*","chunks":[],"async":false}},"1090":{"*":{"id":"50596","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"1864":{"*":{"id":"40946","name":"*","chunks":[],"async":false}},"2716":{"*":{"id":"97652","name":"*","chunks":[],"async":false}},"4425":{"*":{"id":"65100","name":"*","chunks":[],"async":false}},"4547":{"*":{"id":"62005","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"7637":{"*":{"id":"19665","name":"*","chunks":[],"async":false}},"7804":{"*":{"id":"59216","name":"*","chunks":[],"async":false}},"8169":{"*":{"id":"47831","name":"*","chunks":[],"async":false}},"8362":{"*":{"id":"29575","name":"*","chunks":[],"async":false}},"8500":{"*":{"id":"23318","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"9659":{"*":{"id":"4618","name":"*","chunks":[],"async":false}},"9910":{"*":{"id":"89737","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|