Created 10 detailed GitHub issues covering: - Project activation and management UI (#1-2) - Worker node coordination and visualization (#3-4) - Automated GitHub repository scanning (#5) - Intelligent model-to-issue matching (#6) - Multi-model task execution system (#7) - N8N workflow integration (#8) - Hive-Bzzz P2P bridge (#9) - Peer assistance protocol (#10) Each issue includes detailed specifications, acceptance criteria, technical implementation notes, and dependency mapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
291 lines
4.7 KiB
JavaScript
291 lines
4.7 KiB
JavaScript
// src/viewport/constants.ts
|
|
var e = "storybook/viewport", t = "viewport", o = `${e}/panel`, h = `${e}/tool`;
|
|
|
|
// src/viewport/defaults.ts
|
|
var p = {
|
|
iphone5: {
|
|
name: "iPhone 5",
|
|
styles: {
|
|
height: "568px",
|
|
width: "320px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone6: {
|
|
name: "iPhone 6",
|
|
styles: {
|
|
height: "667px",
|
|
width: "375px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone6p: {
|
|
name: "iPhone 6 Plus",
|
|
styles: {
|
|
height: "736px",
|
|
width: "414px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone8p: {
|
|
name: "iPhone 8 Plus",
|
|
styles: {
|
|
height: "736px",
|
|
width: "414px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphonex: {
|
|
name: "iPhone X",
|
|
styles: {
|
|
height: "812px",
|
|
width: "375px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphonexr: {
|
|
name: "iPhone XR",
|
|
styles: {
|
|
height: "896px",
|
|
width: "414px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphonexsmax: {
|
|
name: "iPhone XS Max",
|
|
styles: {
|
|
height: "896px",
|
|
width: "414px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphonese2: {
|
|
name: "iPhone SE (2nd generation)",
|
|
styles: {
|
|
height: "667px",
|
|
width: "375px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone12mini: {
|
|
name: "iPhone 12 mini",
|
|
styles: {
|
|
height: "812px",
|
|
width: "375px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone12: {
|
|
name: "iPhone 12",
|
|
styles: {
|
|
height: "844px",
|
|
width: "390px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone12promax: {
|
|
name: "iPhone 12 Pro Max",
|
|
styles: {
|
|
height: "926px",
|
|
width: "428px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphoneSE3: {
|
|
name: "iPhone SE 3rd generation",
|
|
styles: {
|
|
height: "667px",
|
|
width: "375px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone13: {
|
|
name: "iPhone 13",
|
|
styles: {
|
|
height: "844px",
|
|
width: "390px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone13pro: {
|
|
name: "iPhone 13 Pro",
|
|
styles: {
|
|
height: "844px",
|
|
width: "390px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone13promax: {
|
|
name: "iPhone 13 Pro Max",
|
|
styles: {
|
|
height: "926px",
|
|
width: "428px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone14: {
|
|
name: "iPhone 14",
|
|
styles: {
|
|
height: "844px",
|
|
width: "390px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone14pro: {
|
|
name: "iPhone 14 Pro",
|
|
styles: {
|
|
height: "852px",
|
|
width: "393px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
iphone14promax: {
|
|
name: "iPhone 14 Pro Max",
|
|
styles: {
|
|
height: "932px",
|
|
width: "430px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
ipad: {
|
|
name: "iPad",
|
|
styles: {
|
|
height: "1024px",
|
|
width: "768px"
|
|
},
|
|
type: "tablet"
|
|
},
|
|
ipad10p: {
|
|
name: "iPad Pro 10.5-in",
|
|
styles: {
|
|
height: "1112px",
|
|
width: "834px"
|
|
},
|
|
type: "tablet"
|
|
},
|
|
ipad11p: {
|
|
name: "iPad Pro 11-in",
|
|
styles: {
|
|
height: "1194px",
|
|
width: "834px"
|
|
},
|
|
type: "tablet"
|
|
},
|
|
ipad12p: {
|
|
name: "iPad Pro 12.9-in",
|
|
styles: {
|
|
height: "1366px",
|
|
width: "1024px"
|
|
},
|
|
type: "tablet"
|
|
},
|
|
galaxys5: {
|
|
name: "Galaxy S5",
|
|
styles: {
|
|
height: "640px",
|
|
width: "360px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
galaxys9: {
|
|
name: "Galaxy S9",
|
|
styles: {
|
|
height: "740px",
|
|
width: "360px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
nexus5x: {
|
|
name: "Nexus 5X",
|
|
styles: {
|
|
height: "660px",
|
|
width: "412px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
nexus6p: {
|
|
name: "Nexus 6P",
|
|
styles: {
|
|
height: "732px",
|
|
width: "412px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
pixel: {
|
|
name: "Pixel",
|
|
styles: {
|
|
height: "960px",
|
|
width: "540px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
pixelxl: {
|
|
name: "Pixel XL",
|
|
styles: {
|
|
height: "1280px",
|
|
width: "720px"
|
|
},
|
|
type: "mobile"
|
|
}
|
|
}, x = p, n = "responsive", l = {
|
|
mobile1: {
|
|
name: "Small mobile",
|
|
styles: {
|
|
height: "568px",
|
|
width: "320px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
mobile2: {
|
|
name: "Large mobile",
|
|
styles: {
|
|
height: "896px",
|
|
width: "414px"
|
|
},
|
|
type: "mobile"
|
|
},
|
|
tablet: {
|
|
name: "Tablet",
|
|
styles: {
|
|
height: "1112px",
|
|
width: "834px"
|
|
},
|
|
type: "tablet"
|
|
},
|
|
desktop: {
|
|
name: "Desktop",
|
|
styles: {
|
|
height: "1024px",
|
|
width: "1280px"
|
|
},
|
|
type: "desktop"
|
|
}
|
|
};
|
|
|
|
// src/viewport/preview.ts
|
|
import { definePreview as r } from "storybook/preview-api";
|
|
var w = {
|
|
[t]: { value: void 0, isRotated: !1 }
|
|
};
|
|
|
|
// src/viewport/responsiveViewport.tsx
|
|
var g = {
|
|
name: "Reset viewport",
|
|
styles: {
|
|
height: "100%",
|
|
width: "100%"
|
|
},
|
|
type: "desktop"
|
|
};
|
|
export {
|
|
e as ADDON_ID,
|
|
n as DEFAULT_VIEWPORT,
|
|
x as INITIAL_VIEWPORTS,
|
|
l as MINIMAL_VIEWPORTS,
|
|
o as PANEL_ID,
|
|
t as PARAM_KEY,
|
|
h as TOOL_ID,
|
|
w as initialGlobals,
|
|
g as responsiveViewport
|
|
};
|