UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 26.4 kB
{"ast":null,"code":"var _jsxFileName = \"/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/src/screens/TemplatesScreen.tsx\";\nimport React, { useState } from 'react';\nimport ScrollView from \"react-native-web/dist/exports/ScrollView\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { Card, Title, Paragraph, FAB, List, IconButton, Searchbar, Chip, Portal, Modal, TextInput, Button } from 'react-native-paper';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { addTemplate, removeTemplate } from \"../store/templatesSlice\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport function TemplatesScreen() {\n const dispatch = useDispatch();\n const templates = useSelector(state => state.templates.templates);\n const [searchQuery, setSearchQuery] = useState('');\n const [showAddModal, setShowAddModal] = useState(false);\n const [newTemplate, setNewTemplate] = useState({\n url: '',\n name: '',\n branch: 'main',\n subDirectory: '',\n description: ''\n });\n const filteredTemplates = templates.filter(template => template.name.toLowerCase().includes(searchQuery.toLowerCase()) || template.url.toLowerCase().includes(searchQuery.toLowerCase()));\n const handleAddTemplate = () => {\n const template = {\n id: Date.now().toString(),\n url: newTemplate.url,\n name: newTemplate.name,\n branch: newTemplate.branch,\n subDirectory: newTemplate.subDirectory || undefined,\n description: newTemplate.description || undefined\n };\n dispatch(addTemplate(template));\n setNewTemplate({\n url: '',\n name: '',\n branch: 'main',\n subDirectory: '',\n description: ''\n });\n setShowAddModal(false);\n };\n const handleRemoveTemplate = id => {\n dispatch(removeTemplate(id));\n };\n return _jsxDEV(View, {\n style: styles.container,\n children: [_jsxDEV(View, {\n style: styles.searchContainer,\n children: _jsxDEV(Searchbar, {\n placeholder: \"Search templates...\",\n onChangeText: setSearchQuery,\n value: searchQuery,\n style: styles.searchbar\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 63,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 62,\n columnNumber: 7\n }, this), _jsxDEV(ScrollView, {\n style: styles.scrollView,\n children: filteredTemplates.map(template => _jsxDEV(Card, {\n style: styles.card,\n children: _jsxDEV(Card.Content, {\n children: [_jsxDEV(View, {\n style: styles.cardHeader,\n children: [_jsxDEV(View, {\n style: styles.cardTitle,\n children: [_jsxDEV(Title, {\n children: template.name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 77,\n columnNumber: 19\n }, this), template.description && _jsxDEV(Paragraph, {\n children: template.description\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 79,\n columnNumber: 21\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 76,\n columnNumber: 17\n }, this), _jsxDEV(IconButton, {\n icon: \"delete\",\n mode: \"contained\",\n onPress: () => handleRemoveTemplate(template.id)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 82,\n columnNumber: 17\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 75,\n columnNumber: 15\n }, this), _jsxDEV(List.Item, {\n title: \"Repository URL\",\n description: template.url,\n left: props => _jsxDEV(List.Icon, Object.assign({}, props, {\n icon: \"github\"\n }), void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 92,\n columnNumber: 34\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 89,\n columnNumber: 15\n }, this), _jsxDEV(View, {\n style: styles.chipContainer,\n children: [_jsxDEV(Chip, {\n mode: \"outlined\",\n compact: true,\n children: [\"Branch: \", template.branch || 'main']\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 96,\n columnNumber: 17\n }, this), template.subDirectory && _jsxDEV(Chip, {\n mode: \"outlined\",\n compact: true,\n style: styles.chip,\n children: [\"Subdir: \", template.subDirectory]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 100,\n columnNumber: 19\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 95,\n columnNumber: 15\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 74,\n columnNumber: 13\n }, this)\n }, template.id, false, {\n fileName: _jsxFileName,\n lineNumber: 73,\n columnNumber: 11\n }, this))\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 71,\n columnNumber: 7\n }, this), _jsxDEV(FAB, {\n style: styles.fab,\n icon: \"plus\",\n onPress: () => setShowAddModal(true)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 110,\n columnNumber: 7\n }, this), _jsxDEV(Portal, {\n children: _jsxDEV(Modal, {\n visible: showAddModal,\n onDismiss: () => setShowAddModal(false),\n contentContainerStyle: styles.modal,\n children: [_jsxDEV(Title, {\n children: \"Add New Template\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 122,\n columnNumber: 11\n }, this), _jsxDEV(TextInput, {\n label: \"Template Name\",\n value: newTemplate.name,\n onChangeText: text => setNewTemplate(Object.assign({}, newTemplate, {\n name: text\n })),\n style: styles.input\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 124,\n columnNumber: 11\n }, this), _jsxDEV(TextInput, {\n label: \"Repository URL\",\n value: newTemplate.url,\n onChangeText: text => setNewTemplate(Object.assign({}, newTemplate, {\n url: text\n })),\n style: styles.input\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 131,\n columnNumber: 11\n }, this), _jsxDEV(TextInput, {\n label: \"Branch (optional)\",\n value: newTemplate.branch,\n onChangeText: text => setNewTemplate(Object.assign({}, newTemplate, {\n branch: text\n })),\n style: styles.input\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 138,\n columnNumber: 11\n }, this), _jsxDEV(TextInput, {\n label: \"Subdirectory (optional)\",\n value: newTemplate.subDirectory,\n onChangeText: text => setNewTemplate(Object.assign({}, newTemplate, {\n subDirectory: text\n })),\n style: styles.input\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 145,\n columnNumber: 11\n }, this), _jsxDEV(TextInput, {\n label: \"Description (optional)\",\n value: newTemplate.description,\n onChangeText: text => setNewTemplate(Object.assign({}, newTemplate, {\n description: text\n })),\n style: styles.input,\n multiline: true\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 152,\n columnNumber: 11\n }, this), _jsxDEV(View, {\n style: styles.modalButtons,\n children: [_jsxDEV(Button, {\n mode: \"outlined\",\n onPress: () => setShowAddModal(false),\n children: \"Cancel\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 161,\n columnNumber: 13\n }, this), _jsxDEV(Button, {\n mode: \"contained\",\n onPress: handleAddTemplate,\n disabled: !newTemplate.name || !newTemplate.url,\n children: \"Add Template\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 164,\n columnNumber: 13\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 160,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 117,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 116,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 61,\n columnNumber: 5\n }, this);\n}\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: '#f5f5f5'\n },\n searchContainer: {\n padding: 16,\n paddingBottom: 8\n },\n searchbar: {\n elevation: 4\n },\n scrollView: {\n flex: 1,\n padding: 16,\n paddingTop: 8\n },\n card: {\n marginBottom: 16\n },\n cardHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'flex-start'\n },\n cardTitle: {\n flex: 1\n },\n chipContainer: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n marginTop: 8\n },\n chip: {\n marginLeft: 8\n },\n fab: {\n position: 'absolute',\n margin: 16,\n right: 0,\n bottom: 0\n },\n modal: {\n backgroundColor: 'white',\n padding: 20,\n margin: 20,\n borderRadius: 8\n },\n input: {\n marginBottom: 16\n },\n modalButtons: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n marginTop: 16\n }\n});","map":{"version":3,"names":["React","useState","ScrollView","StyleSheet","View","Card","Title","Paragraph","FAB","List","IconButton","Searchbar","Chip","Portal","Modal","TextInput","Button","useSelector","useDispatch","addTemplate","removeTemplate","jsxDEV","_jsxDEV","TemplatesScreen","dispatch","templates","state","searchQuery","setSearchQuery","showAddModal","setShowAddModal","newTemplate","setNewTemplate","url","name","branch","subDirectory","description","filteredTemplates","filter","template","toLowerCase","includes","handleAddTemplate","id","Date","now","toString","undefined","handleRemoveTemplate","style","styles","container","children","searchContainer","placeholder","onChangeText","value","searchbar","fileName","_jsxFileName","lineNumber","columnNumber","scrollView","map","card","Content","cardHeader","cardTitle","icon","mode","onPress","Item","title","left","props","Icon","Object","assign","chipContainer","compact","chip","fab","visible","onDismiss","contentContainerStyle","modal","label","text","input","multiline","modalButtons","disabled","create","flex","backgroundColor","padding","paddingBottom","elevation","paddingTop","marginBottom","flexDirection","justifyContent","alignItems","flexWrap","marginTop","marginLeft","position","margin","right","bottom","borderRadius"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/src/screens/TemplatesScreen.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport { ScrollView, StyleSheet, View } from 'react-native';\nimport { \n Card, \n Title, \n Paragraph, \n FAB, \n List, \n IconButton, \n Searchbar,\n Chip,\n Portal,\n Modal,\n TextInput,\n Button\n} from 'react-native-paper';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { RootState } from '../store';\nimport { addTemplate, removeTemplate } from '../store/templatesSlice';\nimport { MobileTemplateRepository } from '../types';\n\nexport function TemplatesScreen() {\n const dispatch = useDispatch();\n const templates = useSelector((state: RootState) => state.templates.templates);\n \n const [searchQuery, setSearchQuery] = useState('');\n const [showAddModal, setShowAddModal] = useState(false);\n const [newTemplate, setNewTemplate] = useState({\n url: '',\n name: '',\n branch: 'main',\n subDirectory: '',\n description: '',\n });\n\n const filteredTemplates = templates.filter(template =>\n template.name.toLowerCase().includes(searchQuery.toLowerCase()) ||\n template.url.toLowerCase().includes(searchQuery.toLowerCase())\n );\n\n const handleAddTemplate = () => {\n const template: MobileTemplateRepository = {\n id: Date.now().toString(),\n url: newTemplate.url,\n name: newTemplate.name,\n branch: newTemplate.branch,\n subDirectory: newTemplate.subDirectory || undefined,\n description: newTemplate.description || undefined,\n };\n \n dispatch(addTemplate(template));\n setNewTemplate({ url: '', name: '', branch: 'main', subDirectory: '', description: '' });\n setShowAddModal(false);\n };\n\n const handleRemoveTemplate = (id: string) => {\n dispatch(removeTemplate(id));\n };\n\n return (\n <View style={styles.container}>\n <View style={styles.searchContainer}>\n <Searchbar\n placeholder=\"Search templates...\"\n onChangeText={setSearchQuery}\n value={searchQuery}\n style={styles.searchbar}\n />\n </View>\n\n <ScrollView style={styles.scrollView}>\n {filteredTemplates.map((template) => (\n <Card key={template.id} style={styles.card}>\n <Card.Content>\n <View style={styles.cardHeader}>\n <View style={styles.cardTitle}>\n <Title>{template.name}</Title>\n {template.description && (\n <Paragraph>{template.description}</Paragraph>\n )}\n </View>\n <IconButton\n icon=\"delete\"\n mode=\"contained\"\n onPress={() => handleRemoveTemplate(template.id)}\n />\n </View>\n \n <List.Item\n title=\"Repository URL\"\n description={template.url}\n left={(props) => <List.Icon {...props} icon=\"github\" />}\n />\n \n <View style={styles.chipContainer}>\n <Chip mode=\"outlined\" compact>\n Branch: {template.branch || 'main'}\n </Chip>\n {template.subDirectory && (\n <Chip mode=\"outlined\" compact style={styles.chip}>\n Subdir: {template.subDirectory}\n </Chip>\n )}\n </View>\n </Card.Content>\n </Card>\n ))}\n </ScrollView>\n\n <FAB\n style={styles.fab}\n icon=\"plus\"\n onPress={() => setShowAddModal(true)}\n />\n\n <Portal>\n <Modal\n visible={showAddModal}\n onDismiss={() => setShowAddModal(false)}\n contentContainerStyle={styles.modal}\n >\n <Title>Add New Template</Title>\n \n <TextInput\n label=\"Template Name\"\n value={newTemplate.name}\n onChangeText={(text) => setNewTemplate({ ...newTemplate, name: text })}\n style={styles.input}\n />\n \n <TextInput\n label=\"Repository URL\"\n value={newTemplate.url}\n onChangeText={(text) => setNewTemplate({ ...newTemplate, url: text })}\n style={styles.input}\n />\n \n <TextInput\n label=\"Branch (optional)\"\n value={newTemplate.branch}\n onChangeText={(text) => setNewTemplate({ ...newTemplate, branch: text })}\n style={styles.input}\n />\n \n <TextInput\n label=\"Subdirectory (optional)\"\n value={newTemplate.subDirectory}\n onChangeText={(text) => setNewTemplate({ ...newTemplate, subDirectory: text })}\n style={styles.input}\n />\n \n <TextInput\n label=\"Description (optional)\"\n value={newTemplate.description}\n onChangeText={(text) => setNewTemplate({ ...newTemplate, description: text })}\n style={styles.input}\n multiline\n />\n \n <View style={styles.modalButtons}>\n <Button mode=\"outlined\" onPress={() => setShowAddModal(false)}>\n Cancel\n </Button>\n <Button \n mode=\"contained\" \n onPress={handleAddTemplate}\n disabled={!newTemplate.name || !newTemplate.url}\n >\n Add Template\n </Button>\n </View>\n </Modal>\n </Portal>\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: '#f5f5f5',\n },\n searchContainer: {\n padding: 16,\n paddingBottom: 8,\n },\n searchbar: {\n elevation: 4,\n },\n scrollView: {\n flex: 1,\n padding: 16,\n paddingTop: 8,\n },\n card: {\n marginBottom: 16,\n },\n cardHeader: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n },\n cardTitle: {\n flex: 1,\n },\n chipContainer: {\n flexDirection: 'row',\n flexWrap: 'wrap',\n marginTop: 8,\n },\n chip: {\n marginLeft: 8,\n },\n fab: {\n position: 'absolute',\n margin: 16,\n right: 0,\n bottom: 0,\n },\n modal: {\n backgroundColor: 'white',\n padding: 20,\n margin: 20,\n borderRadius: 8,\n },\n input: {\n marginBottom: 16,\n },\n modalButtons: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n margin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B,GAAG,EAAE;IACHyB,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE;EACV,CAAC;EACDxB,KAAK,EAAE;IACLS,eAAe,EAAE,OAAO;IACxBC,OAAO,EAAE,EAAE;IACXY,MAAM,EAAE,EAAE;IACVG,YAAY,EAAE;EAChB,CAAC;EACDtB,KAAK,EAAE;IACLW,YAAY,EAAE;EAChB,CAAC;EACDT,YAAY,EAAE;IACZU,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/BG,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}