{
  "name": "drawer-github",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/saas/app/integrations/integrations.contents.html",
  "slots": [],
  "nested": [
    "icon-text-row"
  ],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-github\" side=\"right\" size=\"md\">\n  <header>\n    <span slot=\"icon\">\n      <avatar-ui icon=\"github-logo\"></avatar-ui>\n    </span>\n    <span slot=\"heading\">\n      <text-ui strong>GitHub</text-ui>\n      <badge-ui text=\"Connected\" variant=\"success\"></badge-ui>\n    </span>\n    <span slot=\"action\"></span>\n  </header>\n  <section>\n    <text-ui color=\"subtle\" size=\"sm\">acme-corp · 14 repositories synced</text-ui>\n  </section>\n  <section>\n    <col-ui gap=\"4\">\n      <grid-ui columns=\"1 2@sm\" gap=\"3\">\n        <card-ui\n          ><section><stat-ui label=\"Webhooks delivered\" value=\"8,420\" change=\"+142 today\" trend=\"up\"></stat-ui></section\n        ></card-ui>\n        <card-ui\n          ><section><stat-ui label=\"Last delivery\" value=\"12s ago\" change=\"pull_request.opened\"></stat-ui></section\n        ></card-ui>\n      </grid-ui>\n      <divider-ui></divider-ui>\n      <field-ui label=\"Organization\">\n        <input-ui value=\"acme-corp\" readonly></input-ui>\n      </field-ui>\n      <field-ui label=\"Installation ID\">\n        <input-ui value=\"42189873\" readonly></input-ui>\n      </field-ui>\n      <field-ui label=\"Sync scope\">\n        <select-ui value=\"selected\">\n          <option value=\"all\">All 47 repositories in the org</option>\n          <option value=\"selected\">Selected repositories (14)</option>\n          <option value=\"public\">Public repositories only</option>\n        </select-ui>\n      </field-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Sync events</text-ui>\n        <field-ui label=\"Pull requests opened, merged, closed\" inline>\n          <check-ui checked></check-ui>\n        </field-ui>\n        <field-ui label=\"Issues opened, closed, commented\" inline>\n          <check-ui checked></check-ui>\n        </field-ui>\n        <field-ui label=\"Releases published\" inline>\n          <check-ui checked></check-ui>\n        </field-ui>\n        <field-ui label=\"Check runs (CI status)\" inline>\n          <check-ui></check-ui>\n        </field-ui>\n        <field-ui label=\"Deployments\" inline>\n          <check-ui></check-ui>\n        </field-ui>\n        <field-ui label=\"Discussions\" inline>\n          <check-ui></check-ui>\n        </field-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>Synced repositories</text-ui>\n        <list-ui divider>\n          <list-item-ui>\n            <row-ui gap=\"2\" align=\"center\" grow><!-- nested: icon-text-row --></row-ui>\n          </list-item-ui>\n          <list-item-ui>\n            <row-ui gap=\"2\" align=\"center\" grow>\n              <icon-ui name=\"git-branch\"></icon-ui>\n              <text-ui grow>acme-corp/api</text-ui>\n              <text-ui color=\"subtle\">18m ago</text-ui>\n            </row-ui>\n          </list-item-ui>\n          <list-item-ui>\n            <row-ui gap=\"2\" align=\"center\" grow>\n              <icon-ui name=\"git-branch\"></icon-ui>\n              <text-ui grow>acme-corp/mobile</text-ui>\n              <text-ui color=\"subtle\">2h ago</text-ui>\n            </row-ui>\n          </list-item-ui>\n          <list-item-ui>\n            <row-ui gap=\"2\" align=\"center\" grow>\n              <icon-ui name=\"git-branch\"></icon-ui>\n              <text-ui grow>acme-corp/infra</text-ui>\n              <text-ui color=\"subtle\">Yesterday</text-ui>\n            </row-ui>\n          </list-item-ui>\n        </list-ui>\n        <button-ui text=\"Manage repositories\" variant=\"outline\" icon=\"gear\" stretch></button-ui>\n      </col-ui>\n    </col-ui>\n  </section>\n  <footer slot=\"footer\">\n    <grid-ui>\n      <button-ui text=\"Cancel\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n      <button-ui text=\"Disconnect\" icon=\"plug\" color=\"danger\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n      <button-ui text=\"Save changes\" variant=\"primary\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n    </grid-ui>\n  </footer>\n</drawer-ui>",
  "source": "apps/saas/app/integrations/integrations.contents.html",
  "metadata": {
    "domain": "settings",
    "description": "GitHub integration setup drawer — connect repository for issue and PR syncing.",
    "keywords": [
      "drawer",
      "github",
      "integration",
      "connect",
      "repository",
      "issues",
      "pull",
      "requests"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "github-logo"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "GitHub"
    },
    {
      "id": "badge",
      "component": "Badge",
      "text": "Connected",
      "variant": "success"
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "heading",
      "children": [
        "text-3",
        "badge"
      ]
    },
    {
      "id": "text-4",
      "component": "Text",
      "variant": "body",
      "slot": "action"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2",
        "text-4"
      ]
    },
    {
      "id": "text-5",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "acme-corp · 14 repositories synced"
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "stat",
      "component": "Stat",
      "change": "+142 today",
      "label": "Webhooks delivered",
      "trend": "up",
      "value": "8,420"
    },
    {
      "id": "section-3",
      "component": "Section",
      "children": [
        "column-2"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "children": [
        "stat"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "section-3"
      ]
    },
    {
      "id": "stat-2",
      "component": "Stat",
      "change": "pull_request.opened",
      "label": "Last delivery",
      "value": "12s ago"
    },
    {
      "id": "section-4",
      "component": "Section",
      "children": [
        "column-3"
      ]
    },
    {
      "id": "column-3",
      "component": "Column",
      "children": [
        "stat-2"
      ]
    },
    {
      "id": "card-2",
      "component": "Card",
      "children": [
        "section-4"
      ]
    },
    {
      "id": "grid",
      "component": "Grid",
      "columns": "1 2@sm",
      "gap": "3",
      "children": [
        "card",
        "card-2"
      ]
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "input",
      "component": "Input",
      "readonly": true,
      "value": "acme-corp"
    },
    {
      "id": "field",
      "component": "Field",
      "label": "Organization",
      "children": [
        "input"
      ]
    },
    {
      "id": "input-2",
      "component": "Input",
      "readonly": true,
      "value": "42189873"
    },
    {
      "id": "field-2",
      "component": "Field",
      "label": "Installation ID",
      "children": [
        "input-2"
      ]
    },
    {
      "id": "choice-picker",
      "component": "ChoicePicker",
      "value": "selected",
      "options": [
        {
          "value": "all",
          "label": "All 47 repositories in the org"
        },
        {
          "value": "selected",
          "label": "Selected repositories (14)"
        },
        {
          "value": "public",
          "label": "Public repositories only"
        }
      ]
    },
    {
      "id": "field-3",
      "component": "Field",
      "label": "Sync scope",
      "children": [
        "choice-picker"
      ]
    },
    {
      "id": "divider-2",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "Sync events"
    },
    {
      "id": "check-box",
      "component": "CheckBox",
      "checked": true
    },
    {
      "id": "field-4",
      "component": "Field",
      "inline": true,
      "label": "Pull requests opened, merged, closed",
      "children": [
        "check-box"
      ]
    },
    {
      "id": "check-box-2",
      "component": "CheckBox",
      "checked": true
    },
    {
      "id": "field-5",
      "component": "Field",
      "inline": true,
      "label": "Issues opened, closed, commented",
      "children": [
        "check-box-2"
      ]
    },
    {
      "id": "check-box-3",
      "component": "CheckBox",
      "checked": true
    },
    {
      "id": "field-6",
      "component": "Field",
      "inline": true,
      "label": "Releases published",
      "children": [
        "check-box-3"
      ]
    },
    {
      "id": "check-box-4",
      "component": "CheckBox"
    },
    {
      "id": "field-7",
      "component": "Field",
      "inline": true,
      "label": "Check runs (CI status)",
      "children": [
        "check-box-4"
      ]
    },
    {
      "id": "check-box-5",
      "component": "CheckBox"
    },
    {
      "id": "field-8",
      "component": "Field",
      "inline": true,
      "label": "Deployments",
      "children": [
        "check-box-5"
      ]
    },
    {
      "id": "check-box-6",
      "component": "CheckBox"
    },
    {
      "id": "field-9",
      "component": "Field",
      "inline": true,
      "label": "Discussions",
      "children": [
        "check-box-6"
      ]
    },
    {
      "id": "column-4",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-6",
        "field-4",
        "field-5",
        "field-6",
        "field-7",
        "field-8",
        "field-9"
      ]
    },
    {
      "id": "divider-3",
      "component": "Divider"
    },
    {
      "id": "text-7",
      "component": "Text",
      "strong": true,
      "textContent": "Synced repositories"
    },
    {
      "id": "git-branch",
      "component": "Icon",
      "name": "git-branch"
    },
    {
      "id": "text-8",
      "component": "Text",
      "textContent": "acme-corp/web"
    },
    {
      "id": "text-9",
      "component": "Text",
      "color": "subtle",
      "textContent": "2m ago"
    },
    {
      "id": "row-2",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "grow": true,
      "children": [
        "git-branch",
        "text-8",
        "text-9"
      ]
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "grow": true,
      "children": [
        "row-2"
      ]
    },
    {
      "id": "list-item",
      "component": "ListItem",
      "children": [
        "row"
      ]
    },
    {
      "id": "icon",
      "component": "Icon",
      "name": "git-branch"
    },
    {
      "id": "text-10",
      "component": "Text",
      "textContent": "acme-corp/api"
    },
    {
      "id": "text-11",
      "component": "Text",
      "color": "subtle",
      "textContent": "18m ago"
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "grow": true,
      "children": [
        "icon",
        "text-10",
        "text-11"
      ]
    },
    {
      "id": "list-item-2",
      "component": "ListItem",
      "children": [
        "row-3"
      ]
    },
    {
      "id": "icon-2",
      "component": "Icon",
      "name": "git-branch"
    },
    {
      "id": "text-12",
      "component": "Text",
      "textContent": "acme-corp/mobile"
    },
    {
      "id": "text-13",
      "component": "Text",
      "color": "subtle",
      "textContent": "2h ago"
    },
    {
      "id": "row-4",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "grow": true,
      "children": [
        "icon-2",
        "text-12",
        "text-13"
      ]
    },
    {
      "id": "list-item-3",
      "component": "ListItem",
      "children": [
        "row-4"
      ]
    },
    {
      "id": "icon-3",
      "component": "Icon",
      "name": "git-branch"
    },
    {
      "id": "text-14",
      "component": "Text",
      "textContent": "acme-corp/infra"
    },
    {
      "id": "text-15",
      "component": "Text",
      "color": "subtle",
      "textContent": "Yesterday"
    },
    {
      "id": "row-5",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "grow": true,
      "children": [
        "icon-3",
        "text-14",
        "text-15"
      ]
    },
    {
      "id": "list-item-4",
      "component": "ListItem",
      "children": [
        "row-5"
      ]
    },
    {
      "id": "list",
      "component": "List",
      "divider": true,
      "children": [
        "list-item",
        "list-item-2",
        "list-item-3",
        "list-item-4"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "gear",
      "stretch": true,
      "text": "Manage repositories",
      "variant": "outline"
    },
    {
      "id": "column-5",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-7",
        "list",
        "button"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "grid",
        "divider",
        "field",
        "field-2",
        "field-3",
        "divider-2",
        "column-4",
        "divider-3",
        "column-5"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button-2",
      "component": "Button",
      "text": "Cancel",
      "variant": "ghost"
    },
    {
      "id": "button-3",
      "component": "Button",
      "color": "danger",
      "icon": "plug",
      "text": "Disconnect"
    },
    {
      "id": "button-4",
      "component": "Button",
      "text": "Save changes",
      "variant": "primary"
    },
    {
      "id": "grid-2",
      "component": "Grid",
      "children": [
        "button-2",
        "button-3",
        "button-4"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid-2"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
