repo_name
stringlengths 11
64
| message
stringlengths 1
3.54k
| files
dict | file_tree_before
listlengths 0
1.52k
| index
int64 0
2.21k
| conversations
listlengths 2
2
|
---|---|---|---|---|---|
artfrol/adai-connect
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
feat: Implement one-page website
Implement the one-page website with the specified content and sections.
|
{
"changed": [
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/AdvertisersSection.tsx",
"src/components/CodeExample.tsx",
"src/components/DevelopersSection.tsx",
"src/components/Footer.tsx",
"src/components/Header.tsx",
"src/components/Hero.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nfeat: Implement one-page website\n\nImplement the one-page website with the specified content and sections.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/AdvertisersSection.tsx\",\n \"src/components/CodeExample.tsx\",\n \"src/components/DevelopersSection.tsx\",\n \"src/components/Footer.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/Hero.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Visual edit in Lovable
Edited UI in Lovable
|
{
"changed": [
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nVisual edit in Lovable\n\nEdited UI in Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Visual edit in Lovable
Edited UI in Lovable
|
{
"changed": [
"src/components/Footer.tsx",
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nVisual edit in Lovable\n\nEdited UI in Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\",\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Add "Monetize my AI app" button
Add a new button to the Hero section.
|
{
"changed": [
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd \"Monetize my AI app\" button\n\nAdd a new button to the Hero section.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Add new icon
Add a new icon component.
|
{
"changed": [
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd new icon\n\nAdd a new icon component.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Remove unused icon
Remove the RocketIcon component from the Hero component.
|
{
"changed": [
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove unused icon\n\nRemove the RocketIcon component from the Hero component.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Visual edit in Lovable
Edited UI in Lovable
|
{
"changed": [
"src/components/CodeExample.tsx",
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nVisual edit in Lovable\n\nEdited UI in Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/CodeExample.tsx\",\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Remove simple integration section
|
{
"changed": [
"src/components/DevelopersSection.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove simple integration section\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/DevelopersSection.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Reverted to edit edt-96e4e3eb-79bd-4b91-af4e-ae64e4aab738: "Visual edit in Lovable
Edited UI in Lovable"
|
{
"changed": [
"src/components/DevelopersSection.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nReverted to edit edt-96e4e3eb-79bd-4b91-af4e-ae64e4aab738: \"Visual edit in Lovable\n\nEdited UI in Lovable\"\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/DevelopersSection.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Visual edit in Lovable
Edited UI in Lovable
|
{
"changed": [
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 10 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nVisual edit in Lovable\n\nEdited UI in Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Visual edit in Lovable
Edited UI in Lovable
|
{
"changed": [
"src/components/Footer.tsx",
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 11 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nVisual edit in Lovable\n\nEdited UI in Lovable\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\",\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Update Footer.tsx
|
{
"changed": [
"src/components/Footer.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 12 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Footer.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Update Footer.tsx
|
{
"changed": [
"src/components/Footer.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 13 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Footer.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Update DevelopersSection.tsx
|
{
"changed": [
"src/components/DevelopersSection.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 14 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate DevelopersSection.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/DevelopersSection.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Update AdvertisersSection.tsx
|
{
"changed": [
"src/components/AdvertisersSection.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 15 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate AdvertisersSection.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AdvertisersSection.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Update Hero.tsx
|
{
"changed": [
"src/components/Hero.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 16 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Hero.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Hero.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
Fix Footer.tsx
|
{
"changed": [
"src/components/Footer.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 17 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix Footer.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
website build
|
{
"changed": [
"src/components/AdvertisersSection.tsx"
],
"created": [
"dist/assets/index-DoUr1TXp.css",
"dist/assets/index-EI3-d-j7.js",
"dist/favicon.ico",
"dist/index.html",
"dist/placeholder.svg",
"dist/robots.txt"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 18 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nwebsite build\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AdvertisersSection.tsx\"\n ],\n \"created\": [\n \"dist/assets/index-DoUr1TXp.css\",\n \"dist/assets/index-EI3-d-j7.js\",\n \"dist/favicon.ico\",\n \"dist/index.html\",\n \"dist/placeholder.svg\",\n \"dist/robots.txt\"\n ],\n \"deleted\": []\n}"
}
] |
artfrol/adai-connect
|
clean app
|
{
"changed": [
"package.json"
],
"created": [],
"deleted": [
"dist/assets/index-DoUr1TXp.css",
"dist/assets/index-EI3-d-j7.js",
"dist/favicon.ico",
"dist/index.html",
"dist/placeholder.svg",
"dist/robots.txt"
]
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "dist/assets/index-DoUr1TXp.css",
"selectors": [
"text-muted-foreground",
"focus",
".overflow-x-hidden",
"grid-cols-2",
".first",
"border-sidebar-border",
".bg-sidebar-border",
"p-0",
".left-",
".mt-2",
".text-white",
".recharts-sector",
".tracking-tight",
".pb-4",
"bottom-40",
".recharts-cartesian-grid_line",
".px-8",
".mr-2",
".pt-8",
"text-sidebar-accent-foreground",
".justify-center",
"grid-cols-3",
".mt-4",
".rounded-md",
".mt-24",
".p-",
".opacity-0",
"last-child",
".py-0",
".text-sidebar-foreground",
".neo-glass",
".group-hover",
".inset-x-0",
".px-2",
".grow-0",
".right-2",
".overflow-auto",
"bg-primary",
".delay-500",
".w-7",
".pointer-events-none",
".ring-0",
".ring-offset-background",
".h-svh",
".flex-col",
"enter",
".w-11",
".bg-foreground",
".gap-8",
"sub",
".gap-4",
"border-r",
".pr-2",
".border-dashed",
"top-auto",
".mb-4",
".day-range-end",
"m-2",
".mb-2",
".pt-4",
".has-",
".top-2",
".recharts-surface",
".recharts-rectangle",
".group-",
".min-h-",
".max-w-lg",
"progress",
".opacity-50",
"object",
"max-w-sm",
".align-middle",
"right-40",
".outline",
".border-t",
".caption-bottom",
".bg-gray-100",
".mb-16",
".text-current",
"grid-cols-4",
".max-h-",
".rounded-lg",
"fieldset",
".transition-colors",
"bottom-12",
".text-2xl",
".border-b",
"textarea",
".w-8",
".mb-8",
".pt-1",
".pt-28",
".grow",
".rounded-tl-sm",
".aspect-video",
".underline-offset-4",
"top-1",
".mb-1",
".top-",
".sm",
"text-foreground",
"div",
"size-8",
".recharts-tooltip-cursor",
"#fff",
".w-1",
"#ffffff4d",
".group",
".h-3",
".overflow-hidden",
"first-child",
".zoom-in-95",
".ml-1",
"cursor-w-resize",
".translate-y-",
".w-9",
".leading-tight",
".h-6",
".p-4",
".rounded-t-",
".top-4",
".text-3xl",
".bg-sidebar",
".basis-full",
".font-semibold",
".focus-within",
".items-center",
"strong",
".w-72",
"hover",
".text-primary",
"mx-1",
".p-0",
".h-full",
"ml-2",
".py-2",
"bottom-0",
".right-4",
".transition-all",
".bg-background",
".py-4",
".py-3",
".recharts-reference-line_",
"text-red-300",
"small",
"text-left",
"top-40",
"cursor-e-resize",
".mt-auto",
".lg",
"backdrop",
".w-px",
"dialog",
".w-10",
".ring-ring",
".fade-in-80",
".bg-border",
"p",
".flex-1",
".max-w-",
".justify-between",
".pointer-events-auto",
".outline-none",
"menu",
".text-foreground",
".min-w-",
".min-w-5",
".w-",
"span",
"webkit-outer-spin-button",
".max-h-96",
".recharts-layer",
"shadow",
"focus-visible",
"flex",
"select",
".bottom-0",
".glass",
".break-words",
".underline",
".delay-300",
".px-1",
"accordion-down",
".w-3",
"#fffc",
".recharts-curve",
".left-0",
".aria-selected",
".pr-8",
".flex-grow",
".left-2",
".group-data-",
"border-border",
".disabled",
".bg-primary",
".recharts-reference-line",
"after",
".inset-0",
".whitespace-nowrap",
"webkit-search-decoration",
".max-w-2xl",
".max-w-max",
".list-none",
".active",
".space-y-2",
"disabled",
".filter",
".border-l",
".inline-flex",
"webkit-file-upload-button",
".px-3",
".ring-sidebar-ring",
".fade-in-0",
".border-t-transparent",
".fill-current",
".rounded-full",
".invisible",
".space-y-8",
"tr",
"block",
".inset-y-0",
"h6",
".py-12",
"rounded-lg",
".bg-black",
".grid",
".toast",
".bg-",
"active",
".select-none",
"text-6xl",
".transform",
"text",
".size-4",
".cursor-pointer",
".space-x-4",
".text-5xl",
".group-focus-within",
".shadow-sm",
".border-",
".w-full",
"#fff6",
".border-r",
"left-40",
".top-3",
".border-input",
".px-5",
".font-normal",
"accordion-up",
".rounded-sm",
".border-2",
".absolute",
".border-primary",
".text-base",
".h-4",
".flex",
".text-popover-foreground",
".transition-opacity",
"opacity-0",
".peer-hover",
".h-2",
".duration-300",
".block",
".bg-muted",
"root",
"left-0",
".text-xl",
".sr-only",
".translate-x-",
".mt-12",
".py-6",
"#e5e7eb",
".w-2",
".w-6",
"pre",
".ml-auto",
".text-muted-foreground",
"opacity-70",
".blur-3xl",
"sup",
".min-w-0",
".file",
".font-medium",
".p-3",
"button",
"html",
"mt-4",
".text-sm",
".table",
"border-l",
".border-none",
".bg-destructive",
".ease-in-out",
".h-auto",
".pb-3",
"w-0",
"opacity-100",
".hover",
".p-2",
".text-",
".translate-x-px",
"placeholder",
"translate-x-0",
"p-2",
".h-8",
".hidden",
".touch-none",
"ml-4",
".flex-wrap",
".data-",
"pr-8",
".from-transparent",
".w-64",
".section-padding",
".top-full",
".border-transparent",
".border-destructive",
".h-9",
"moz-ui-invalid",
".visible",
".cursor-default",
".border",
".mb-20",
".opacity-60",
".text-xs",
"summary",
".aria-disabled",
".mx-2",
".text-gray-600",
".focus-visible",
".h-11",
".text-destructive",
".bg-secondary",
"text-5xl",
".animate-pulse",
"#ffffffe6",
".bg-card",
".pb-16",
".z-",
"moz-focusring",
".bg-blue-300",
".z-10",
"focus-within",
"w-auto",
".gap-1",
".items-start",
"rounded-xl",
".rotate-45",
".space-y-4",
".pt-0",
".last",
".gap-6",
".recharts-cartesian-axis-tick_text",
"top-12",
".bg-accent",
".opacity-70",
"right-12",
"flex-col",
".mx-auto",
".tabular-nums",
"text-2xl",
".bg-white",
".bg-transparent",
".h-10",
".after",
".border-collapse",
"table",
"left-2",
".w-4",
".transition-transform",
".z-50",
".opacity-90",
"left-12",
".translate-y-8",
".right-1",
".font-mono",
".items-end",
".h-px",
"ml-0",
".bg-gradient-to-b",
".shadow-lg",
"right-4",
"right-2",
".left-1",
".p-1",
"legend",
".h-5",
".recharts-polar-grid",
".destructive",
".duration-200",
".py-20",
"video",
".dark",
".com",
"cursor-not-allowed",
".max-w-7xl",
".border-border",
"flex-row",
"text-sm",
"bg-background",
"to",
".border-l-transparent",
".to-blue-50",
".items-stretch",
".shadow-xl",
".overflow-y-auto",
".leading-none",
".my-1",
".text-blue-500",
".right-0",
".pl-8",
".pt-3",
".interactive-btn",
"shadow-lg",
".shadow-md",
".text-destructive-foreground",
".pl-2",
".z-20",
".flex-row",
"mt-0",
".opacity-100",
"#dc2626",
".min-h-svh",
".md",
".w-auto",
".text-secondary-foreground",
".animate-in",
".h-7",
".ring-2",
".delay-700",
".peer-data-",
"a",
".my-0",
".right-3",
".recharts-dot",
".peer-disabled",
"moz-placeholder",
"text-4xl",
"hr",
".relative",
".pl-4",
".aspect-square",
"mt-8",
".h-1",
".shadow-",
".mx-3",
".px-4",
".text-4xl",
".recharts-polar-grid_",
".w-0",
".font-bold",
"border",
"pulse",
".gap-2",
".tracking-widest",
"svg",
".transition-",
".space-y-1",
".duration-1000",
"file-selector-button",
".rotate-90",
"right-0",
".recharts-cartesian-axis-tick",
".bg-popover",
".shadow-none",
"hidden",
"#ccc",
"text-primary-foreground",
".max-w-4xl",
".text-primary-foreground",
".focus",
".border-sidebar-border",
".duration-700",
"justify-end",
"exit",
".text-accent-foreground",
".shrink-0",
".toaster",
"host",
".text-card-foreground",
".googleapis",
".top-0",
"translate-x-px",
".flex-col-reverse",
".h-12",
"bg-muted",
".border-y",
".top-1",
".day-outside",
".w-max",
".space-x-1",
".rounded-",
".text-gradient",
".p-6",
".transition",
"rotate-180",
".recharts-cartesian-grid",
".text-center",
".h-",
".text-lg",
".max-h-screen",
".recharts-radial-bar-background-sector",
".ease-linear",
".text-left",
".w-5",
".py-1",
"overflow-hidden",
".fixed",
".min-h-screen",
"body",
".min-h-0",
".group-has-",
"absolute",
".placeholder",
".peer",
".bg-blue-100",
".mt-1"
]
},
{
"functions": [
"ic",
"Js",
"T",
"q",
"W",
"ke",
"ii",
"_",
"rv",
"n",
"r",
"rf",
"hv",
"Wr",
"cf",
"Ba",
"pf",
"mv",
"Ha",
"vv",
"el",
"Ni",
"si",
"gv",
"hf",
"mf",
"t",
"o",
"m",
"E",
"C",
"$",
"D",
"U",
"K",
"R",
"Zn",
"Lr",
"Rv",
"_v",
"Ov",
"Ie",
"Ka",
"Ya",
"Zr",
"ao",
"rl",
"Av",
"Dl",
"jv",
"kn",
"Cf",
"Mv",
"ai",
"kf",
"Vi",
"zl",
"fc",
"Pf",
"Fl",
"pc",
"$l",
"gr",
"Ul",
"hc",
"bf",
"mc",
"Tf",
"Bl",
"ko",
"Rf",
"_f",
"Vl",
"Wl",
"Za",
"vc",
"Of",
"Af",
"jf",
"Mf",
"Lf",
"Po",
"Dv",
"Fv",
"$v",
"Jn",
"If",
"gc",
"Uv",
"Df",
"zf",
"Qv",
"Gv",
"co",
"Ki",
"Xv",
"qv",
"Gl",
"Bf",
"il",
"Go",
"Zv",
"eu",
"Vf",
"wc",
"eo",
"eg",
"Yf",
"_i",
"xc",
"tg",
"to",
"No",
"ng",
"rg",
"nu",
"ql",
"Gf",
"Xf",
"Ai",
"pi",
"Sc",
"et",
"vg",
"iu",
"Zf",
"Jf",
"Ng",
"Rg",
"Tc",
"ep",
"Og",
"Cs",
"Ag",
"Rc",
"np",
"jg",
"Mg",
"Lg",
"Ig",
"Dg",
"_o",
"_c",
"Oc",
"rp",
"op",
"lu",
"zg",
"Ac",
"hi",
"ks",
"_n",
"Mc",
"dp",
"oe",
"hl",
"Oo",
"fp",
"ml",
"Ao",
"Xi",
"or",
"Lc",
"Ic",
"vi",
"qi",
"na",
"Kg",
"vl",
"wn",
"zc",
"In",
"qo",
"cr",
"Ps",
"On",
"ie",
"te",
"Ir",
"$e",
"Zi",
"Fc",
"pp",
"Ji",
"$c",
"hp",
"Xg",
"An",
"Mn",
"mp",
"au",
"uu",
"vp",
"Uc",
"sa",
"la",
"Bc",
"gi",
"gp",
"Dr",
"cu",
"ro",
"yi",
"Vc",
"yp",
"i",
"s",
"l",
"a",
"u",
"d",
"f",
"c",
"g",
"w",
"v",
"x",
"fu",
"pu",
"aa",
"Sr",
"st",
"hu",
"xp",
"Vt",
"mu",
"Sp",
"$t",
"xn",
"ji",
"Wc",
"os",
"Hc",
"zn",
"vu",
"Fr",
"Ep",
"gu",
"is",
"yu",
"Pe",
"wu",
"xu",
"Su",
"kt",
"lt",
"Do",
"xl",
"Sl",
"Cp",
"kp",
"Pp",
"bp",
"Tp",
"Np",
"Rp",
"Qc",
"zo",
"_p",
"Li",
"Ts",
"Kc",
"Eu",
"Op",
"Ap",
"jp",
"Mp",
"Cu",
"Lp",
"Ip",
"Dp",
"Jg",
"zp",
"ey",
"ty",
"Fp",
"$p",
"Up",
"ct",
"ua",
"Yc",
"Bp",
"Gc",
"ca",
"$r",
"El",
"da",
"Vp",
"Wp",
"Xc",
"qc",
"Zc",
"Ae",
"Jc",
"ed",
"Hp",
"Qp",
"Kp",
"fa",
"td",
"pa",
"Yp",
"nd",
"ma",
"Gp",
"ku",
"wi",
"ly",
"rd",
"Cl",
"Xp",
"Ii",
"Wt",
"ay",
"oo",
"be",
"uy",
"cy",
"mr",
"ga",
"fy",
"wo",
"Rs",
"ya",
"eh",
"th",
"id",
"wa",
"xa",
"Jt",
"nh",
"sd",
"ut",
"rh",
"Ct",
"py",
"oh",
"ld",
"ad",
"ud",
"Me",
"En",
"vt",
"Ue",
"ih",
"Ca",
"ka",
"my",
"ln",
"cd",
"Nu",
"Gn",
"Ru",
"Vn",
"sh",
"lh",
"_u",
"ds",
"vy",
"gy",
"ah",
"uh",
"Ln",
"yy",
"Er",
"dd",
"fe",
"wy",
"ch",
"xy",
"Sy",
"fh",
"Ey",
"ot",
"Ou",
"Cy",
"Cn",
"Fi",
"Wn",
"Os",
"kl",
"Pl",
"ky",
"Au",
"Py",
"ph",
"hh",
"As",
"fs",
"fd",
"ju",
"by",
"Mu",
"js",
"Lu",
"Ms",
"pd",
"Ty",
"Ls",
"vh",
"Ay",
"md",
"jy",
"Eo",
"My",
"Ly",
"ve",
"Iy",
"wh",
"yt",
"Dy",
"zy",
"xh",
"Fy",
"$y",
"Uy",
"By",
"Sh",
"Vy",
"Eh",
"Ot",
"Hy",
"b",
"Xy",
"qy",
"gd",
"Ph",
"t0",
"Du",
"n0",
"Ci",
"r0",
"o0",
"i0",
"Nh",
"p",
"h",
"onClose",
"Q",
"w0",
"Fh",
"ki",
"yd",
"E0",
"C0",
"k0",
"Nl",
"Qh",
"Kh",
"wd",
"Yh",
"b0",
"Gh",
"Kr",
"M0",
"qh",
"L0",
"I0",
"_a",
"Ed",
"D0",
"z0",
"F0",
"get",
"set",
"$0",
"U0",
"B0",
"W0",
"H0",
"Jh",
"Q0",
"re",
"Mt",
"en",
"Cr",
"Rl",
"so",
"ew",
"V",
"tn",
"nw",
"rw",
"iw",
"sw",
"lo",
"Yr",
"lw",
"tm",
"aw",
"uw",
"cw",
"I",
"A",
"H",
"j",
"k",
"z",
"L",
"_e",
"mw",
"ww",
"xw",
"Ew",
"Tw",
"constructor",
"Rw",
"_w",
"Aw",
"jw",
"Pi",
"Uw",
"Bw",
"tv",
"kd",
"Vw",
"Ww",
"Tn",
"Aa",
"Ht",
"Qt",
"Gr",
"Bu",
"Vu",
"Nn",
"Wu",
"Yw",
"Gw",
"ja",
"Xw",
"qw",
"hs",
"Zw",
"lm",
"ms",
"Pd",
"Jw",
"Uo",
"ex",
"fn",
"tx",
"bd",
"Td",
"nx",
"rx",
"ox",
"ix",
"sx",
"lx",
"Fs",
"Xr",
"qe",
"jt",
"am",
"wt",
"At",
"Nd",
"ei",
"ax",
"$s",
"Hu",
"ux",
"Qu",
"Br",
"xt",
"Us",
"Rn",
"um",
"Bo",
"Ma",
"cm",
"Ku",
"kr",
"dm",
"dx",
"qn",
"fx",
"px",
"La",
"hx",
"mx",
"vx",
"Rd",
"fm",
"gx",
"yx",
"wx",
"xx",
"_l",
"_d",
"pm",
"Sx",
"Ex",
"kx",
"Px",
"Ax",
"vs",
"hm",
"Ad",
"Ol",
"jx",
"Mx",
"Lx",
"Ix",
"Dx",
"zx",
"Fx",
"$x",
"Ux",
"Wx",
"Hx",
"Qx",
"Xx",
"qx",
"Pm",
"Nm",
"c1",
"d1",
"f1",
"p1",
"h1",
"m1",
"subscribe",
"hasListeners",
"onSubscribe",
"onUnsubscribe",
"dt",
"w1",
"x1",
"S1",
"Md",
"E1",
"Ld",
"Id",
"Xu",
"Vo",
"Wo",
"Mm",
"Dd",
"Da",
"zd",
"C1",
"k1",
"P1",
"b1",
"Lm",
"setEventListener",
"setFocused",
"onFocus",
"isFocused",
"setOnline",
"isOnline",
"R1",
"_1",
"Dm",
"Al",
"Fm",
"O1",
"destroy",
"scheduleGc",
"updateGcTime",
"clearGcTimeout",
"meta",
"promise",
"setOptions",
"optionalRemove",
"setData",
"setState",
"cancel",
"reset",
"isActive",
"isDisabled",
"isStale",
"isStaleByTime",
"onOnline",
"addObserver",
"removeObserver",
"getObserversCount",
"invalidate",
"fetch",
"j1",
"M1",
"build",
"add",
"remove",
"clear",
"getAll",
"find",
"findAll",
"notify",
"continue",
"execute",
"D1",
"canRun",
"runNext",
"resumePausedMutations",
"Ti",
"Fd",
"$d",
"F1",
"mount",
"unmount",
"isFetching",
"isMutating",
"getQueryData",
"ensureQueryData",
"getQueriesData",
"setQueryData",
"setQueriesData",
"getQueryState",
"removeQueries",
"resetQueries",
"cancelQueries",
"invalidateQueries",
"refetchQueries",
"fetchQuery",
"prefetchQuery",
"fetchInfiniteQuery",
"prefetchInfiniteQuery",
"ensureInfiniteQueryData",
"getQueryCache",
"getMutationCache",
"getDefaultOptions",
"setDefaultOptions",
"setQueryDefaults",
"getQueryDefaults",
"setMutationDefaults",
"getMutationDefaults",
"defaultQueryOptions",
"defaultMutationOptions",
"B1",
"ys",
"V1",
"Be",
"Um",
"W1",
"Bd",
"za",
"Bm",
"Qs",
"H1",
"action",
"location",
"listen",
"createHref",
"encodeLocation",
"go",
"Q1",
"K1",
"Vm",
"Wm",
"Y1",
"Wd",
"tS",
"nS",
"rS",
"Hd",
"oS",
"iS",
"Hm",
"Pr",
"sS",
"lS",
"ws",
"Zu",
"Gm",
"dS",
"fS",
"pS",
"getDerivedStateFromError",
"getDerivedStateFromProps",
"componentDidCatch",
"render",
"vS",
"gS",
"yS",
"wS",
"xS",
"SS",
"$a",
"ES",
"CS",
"Ua",
"bS",
"TS",
"RS",
"LS",
"IS",
"DS",
"zS",
"FS",
"e",
"$S",
"BS"
],
"keys": null,
"path": "dist/assets/index-EI3-d-j7.js",
"selectors": null
}
] | 19 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nclean app\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"dist/assets/index-DoUr1TXp.css\",\n \"selectors\": [\n \"text-muted-foreground\",\n \"focus\",\n \".overflow-x-hidden\",\n \"grid-cols-2\",\n \".first\",\n \"border-sidebar-border\",\n \".bg-sidebar-border\",\n \"p-0\",\n \".left-\",\n \".mt-2\",\n \".text-white\",\n \".recharts-sector\",\n \".tracking-tight\",\n \".pb-4\",\n \"bottom-40\",\n \".recharts-cartesian-grid_line\",\n \".px-8\",\n \".mr-2\",\n \".pt-8\",\n \"text-sidebar-accent-foreground\",\n \".justify-center\",\n \"grid-cols-3\",\n \".mt-4\",\n \".rounded-md\",\n \".mt-24\",\n \".p-\",\n \".opacity-0\",\n \"last-child\",\n \".py-0\",\n \".text-sidebar-foreground\",\n \".neo-glass\",\n \".group-hover\",\n \".inset-x-0\",\n \".px-2\",\n \".grow-0\",\n \".right-2\",\n \".overflow-auto\",\n \"bg-primary\",\n \".delay-500\",\n \".w-7\",\n \".pointer-events-none\",\n \".ring-0\",\n \".ring-offset-background\",\n \".h-svh\",\n \".flex-col\",\n \"enter\",\n \".w-11\",\n \".bg-foreground\",\n \".gap-8\",\n \"sub\",\n \".gap-4\",\n \"border-r\",\n \".pr-2\",\n \".border-dashed\",\n \"top-auto\",\n \".mb-4\",\n \".day-range-end\",\n \"m-2\",\n \".mb-2\",\n \".pt-4\",\n \".has-\",\n \".top-2\",\n \".recharts-surface\",\n \".recharts-rectangle\",\n \".group-\",\n \".min-h-\",\n \".max-w-lg\",\n \"progress\",\n \".opacity-50\",\n \"object\",\n \"max-w-sm\",\n \".align-middle\",\n \"right-40\",\n \".outline\",\n \".border-t\",\n \".caption-bottom\",\n \".bg-gray-100\",\n \".mb-16\",\n \".text-current\",\n \"grid-cols-4\",\n \".max-h-\",\n \".rounded-lg\",\n \"fieldset\",\n \".transition-colors\",\n \"bottom-12\",\n \".text-2xl\",\n \".border-b\",\n \"textarea\",\n \".w-8\",\n \".mb-8\",\n \".pt-1\",\n \".pt-28\",\n \".grow\",\n \".rounded-tl-sm\",\n \".aspect-video\",\n \".underline-offset-4\",\n \"top-1\",\n \".mb-1\",\n \".top-\",\n \".sm\",\n \"text-foreground\",\n \"div\",\n \"size-8\",\n \".recharts-tooltip-cursor\",\n \"#fff\",\n \".w-1\",\n \"#ffffff4d\",\n \".group\",\n \".h-3\",\n \".overflow-hidden\",\n \"first-child\",\n \".zoom-in-95\",\n \".ml-1\",\n \"cursor-w-resize\",\n \".translate-y-\",\n \".w-9\",\n \".leading-tight\",\n \".h-6\",\n \".p-4\",\n \".rounded-t-\",\n \".top-4\",\n \".text-3xl\",\n \".bg-sidebar\",\n \".basis-full\",\n \".font-semibold\",\n \".focus-within\",\n \".items-center\",\n \"strong\",\n \".w-72\",\n \"hover\",\n \".text-primary\",\n \"mx-1\",\n \".p-0\",\n \".h-full\",\n \"ml-2\",\n \".py-2\",\n \"bottom-0\",\n \".right-4\",\n \".transition-all\",\n \".bg-background\",\n \".py-4\",\n \".py-3\",\n \".recharts-reference-line_\",\n \"text-red-300\",\n \"small\",\n \"text-left\",\n \"top-40\",\n \"cursor-e-resize\",\n \".mt-auto\",\n \".lg\",\n \"backdrop\",\n \".w-px\",\n \"dialog\",\n \".w-10\",\n \".ring-ring\",\n \".fade-in-80\",\n \".bg-border\",\n \"p\",\n \".flex-1\",\n \".max-w-\",\n \".justify-between\",\n \".pointer-events-auto\",\n \".outline-none\",\n \"menu\",\n \".text-foreground\",\n \".min-w-\",\n \".min-w-5\",\n \".w-\",\n \"span\",\n \"webkit-outer-spin-button\",\n \".max-h-96\",\n \".recharts-layer\",\n \"shadow\",\n \"focus-visible\",\n \"flex\",\n \"select\",\n \".bottom-0\",\n \".glass\",\n \".break-words\",\n \".underline\",\n \".delay-300\",\n \".px-1\",\n \"accordion-down\",\n \".w-3\",\n \"#fffc\",\n \".recharts-curve\",\n \".left-0\",\n \".aria-selected\",\n \".pr-8\",\n \".flex-grow\",\n \".left-2\",\n \".group-data-\",\n \"border-border\",\n \".disabled\",\n \".bg-primary\",\n \".recharts-reference-line\",\n \"after\",\n \".inset-0\",\n \".whitespace-nowrap\",\n \"webkit-search-decoration\",\n \".max-w-2xl\",\n \".max-w-max\",\n \".list-none\",\n \".active\",\n \".space-y-2\",\n \"disabled\",\n \".filter\",\n \".border-l\",\n \".inline-flex\",\n \"webkit-file-upload-button\",\n \".px-3\",\n \".ring-sidebar-ring\",\n \".fade-in-0\",\n \".border-t-transparent\",\n \".fill-current\",\n \".rounded-full\",\n \".invisible\",\n \".space-y-8\",\n \"tr\",\n \"block\",\n \".inset-y-0\",\n \"h6\",\n \".py-12\",\n \"rounded-lg\",\n \".bg-black\",\n \".grid\",\n \".toast\",\n \".bg-\",\n \"active\",\n \".select-none\",\n \"text-6xl\",\n \".transform\",\n \"text\",\n \".size-4\",\n \".cursor-pointer\",\n \".space-x-4\",\n \".text-5xl\",\n \".group-focus-within\",\n \".shadow-sm\",\n \".border-\",\n \".w-full\",\n \"#fff6\",\n \".border-r\",\n \"left-40\",\n \".top-3\",\n \".border-input\",\n \".px-5\",\n \".font-normal\",\n \"accordion-up\",\n \".rounded-sm\",\n \".border-2\",\n \".absolute\",\n \".border-primary\",\n \".text-base\",\n \".h-4\",\n \".flex\",\n \".text-popover-foreground\",\n \".transition-opacity\",\n \"opacity-0\",\n \".peer-hover\",\n \".h-2\",\n \".duration-300\",\n \".block\",\n \".bg-muted\",\n \"root\",\n \"left-0\",\n \".text-xl\",\n \".sr-only\",\n \".translate-x-\",\n \".mt-12\",\n \".py-6\",\n \"#e5e7eb\",\n \".w-2\",\n \".w-6\",\n \"pre\",\n \".ml-auto\",\n \".text-muted-foreground\",\n \"opacity-70\",\n \".blur-3xl\",\n \"sup\",\n \".min-w-0\",\n \".file\",\n \".font-medium\",\n \".p-3\",\n \"button\",\n \"html\",\n \"mt-4\",\n \".text-sm\",\n \".table\",\n \"border-l\",\n \".border-none\",\n \".bg-destructive\",\n \".ease-in-out\",\n \".h-auto\",\n \".pb-3\",\n \"w-0\",\n \"opacity-100\",\n \".hover\",\n \".p-2\",\n \".text-\",\n \".translate-x-px\",\n \"placeholder\",\n \"translate-x-0\",\n \"p-2\",\n \".h-8\",\n \".hidden\",\n \".touch-none\",\n \"ml-4\",\n \".flex-wrap\",\n \".data-\",\n \"pr-8\",\n \".from-transparent\",\n \".w-64\",\n \".section-padding\",\n \".top-full\",\n \".border-transparent\",\n \".border-destructive\",\n \".h-9\",\n \"moz-ui-invalid\",\n \".visible\",\n \".cursor-default\",\n \".border\",\n \".mb-20\",\n \".opacity-60\",\n \".text-xs\",\n \"summary\",\n \".aria-disabled\",\n \".mx-2\",\n \".text-gray-600\",\n \".focus-visible\",\n \".h-11\",\n \".text-destructive\",\n \".bg-secondary\",\n \"text-5xl\",\n \".animate-pulse\",\n \"#ffffffe6\",\n \".bg-card\",\n \".pb-16\",\n \".z-\",\n \"moz-focusring\",\n \".bg-blue-300\",\n \".z-10\",\n \"focus-within\",\n \"w-auto\",\n \".gap-1\",\n \".items-start\",\n \"rounded-xl\",\n \".rotate-45\",\n \".space-y-4\",\n \".pt-0\",\n \".last\",\n \".gap-6\",\n \".recharts-cartesian-axis-tick_text\",\n \"top-12\",\n \".bg-accent\",\n \".opacity-70\",\n \"right-12\",\n \"flex-col\",\n \".mx-auto\",\n \".tabular-nums\",\n \"text-2xl\",\n \".bg-white\",\n \".bg-transparent\",\n \".h-10\",\n \".after\",\n \".border-collapse\",\n \"table\",\n \"left-2\",\n \".w-4\",\n \".transition-transform\",\n \".z-50\",\n \".opacity-90\",\n \"left-12\",\n \".translate-y-8\",\n \".right-1\",\n \".font-mono\",\n \".items-end\",\n \".h-px\",\n \"ml-0\",\n \".bg-gradient-to-b\",\n \".shadow-lg\",\n \"right-4\",\n \"right-2\",\n \".left-1\",\n \".p-1\",\n \"legend\",\n \".h-5\",\n \".recharts-polar-grid\",\n \".destructive\",\n \".duration-200\",\n \".py-20\",\n \"video\",\n \".dark\",\n \".com\",\n \"cursor-not-allowed\",\n \".max-w-7xl\",\n \".border-border\",\n \"flex-row\",\n \"text-sm\",\n \"bg-background\",\n \"to\",\n \".border-l-transparent\",\n \".to-blue-50\",\n \".items-stretch\",\n \".shadow-xl\",\n \".overflow-y-auto\",\n \".leading-none\",\n \".my-1\",\n \".text-blue-500\",\n \".right-0\",\n \".pl-8\",\n \".pt-3\",\n \".interactive-btn\",\n \"shadow-lg\",\n \".shadow-md\",\n \".text-destructive-foreground\",\n \".pl-2\",\n \".z-20\",\n \".flex-row\",\n \"mt-0\",\n \".opacity-100\",\n \"#dc2626\",\n \".min-h-svh\",\n \".md\",\n \".w-auto\",\n \".text-secondary-foreground\",\n \".animate-in\",\n \".h-7\",\n \".ring-2\",\n \".delay-700\",\n \".peer-data-\",\n \"a\",\n \".my-0\",\n \".right-3\",\n \".recharts-dot\",\n \".peer-disabled\",\n \"moz-placeholder\",\n \"text-4xl\",\n \"hr\",\n \".relative\",\n \".pl-4\",\n \".aspect-square\",\n \"mt-8\",\n \".h-1\",\n \".shadow-\",\n \".mx-3\",\n \".px-4\",\n \".text-4xl\",\n \".recharts-polar-grid_\",\n \".w-0\",\n \".font-bold\",\n \"border\",\n \"pulse\",\n \".gap-2\",\n \".tracking-widest\",\n \"svg\",\n \".transition-\",\n \".space-y-1\",\n \".duration-1000\",\n \"file-selector-button\",\n \".rotate-90\",\n \"right-0\",\n \".recharts-cartesian-axis-tick\",\n \".bg-popover\",\n \".shadow-none\",\n \"hidden\",\n \"#ccc\",\n \"text-primary-foreground\",\n \".max-w-4xl\",\n \".text-primary-foreground\",\n \".focus\",\n \".border-sidebar-border\",\n \".duration-700\",\n \"justify-end\",\n \"exit\",\n \".text-accent-foreground\",\n \".shrink-0\",\n \".toaster\",\n \"host\",\n \".text-card-foreground\",\n \".googleapis\",\n \".top-0\",\n \"translate-x-px\",\n \".flex-col-reverse\",\n \".h-12\",\n \"bg-muted\",\n \".border-y\",\n \".top-1\",\n \".day-outside\",\n \".w-max\",\n \".space-x-1\",\n \".rounded-\",\n \".text-gradient\",\n \".p-6\",\n \".transition\",\n \"rotate-180\",\n \".recharts-cartesian-grid\",\n \".text-center\",\n \".h-\",\n \".text-lg\",\n \".max-h-screen\",\n \".recharts-radial-bar-background-sector\",\n \".ease-linear\",\n \".text-left\",\n \".w-5\",\n \".py-1\",\n \"overflow-hidden\",\n \".fixed\",\n \".min-h-screen\",\n \"body\",\n \".min-h-0\",\n \".group-has-\",\n \"absolute\",\n \".placeholder\",\n \".peer\",\n \".bg-blue-100\",\n \".mt-1\"\n ]\n },\n {\n \"functions\": [\n \"ic\",\n \"Js\",\n \"T\",\n \"q\",\n \"W\",\n \"ke\",\n \"ii\",\n \"_\",\n \"rv\",\n \"n\",\n \"r\",\n \"rf\",\n \"hv\",\n \"Wr\",\n \"cf\",\n \"Ba\",\n \"pf\",\n \"mv\",\n \"Ha\",\n \"vv\",\n \"el\",\n \"Ni\",\n \"si\",\n \"gv\",\n \"hf\",\n \"mf\",\n \"t\",\n \"o\",\n \"m\",\n \"E\",\n \"C\",\n \"$\",\n \"D\",\n \"U\",\n \"K\",\n \"R\",\n \"Zn\",\n \"Lr\",\n \"Rv\",\n \"_v\",\n \"Ov\",\n \"Ie\",\n \"Ka\",\n \"Ya\",\n \"Zr\",\n \"ao\",\n \"rl\",\n \"Av\",\n \"Dl\",\n \"jv\",\n \"kn\",\n \"Cf\",\n \"Mv\",\n \"ai\",\n \"kf\",\n \"Vi\",\n \"zl\",\n \"fc\",\n \"Pf\",\n \"Fl\",\n \"pc\",\n \"$l\",\n \"gr\",\n \"Ul\",\n \"hc\",\n \"bf\",\n \"mc\",\n \"Tf\",\n \"Bl\",\n \"ko\",\n \"Rf\",\n \"_f\",\n \"Vl\",\n \"Wl\",\n \"Za\",\n \"vc\",\n \"Of\",\n \"Af\",\n \"jf\",\n \"Mf\",\n \"Lf\",\n \"Po\",\n \"Dv\",\n \"Fv\",\n \"$v\",\n \"Jn\",\n \"If\",\n \"gc\",\n \"Uv\",\n \"Df\",\n \"zf\",\n \"Qv\",\n \"Gv\",\n \"co\",\n \"Ki\",\n \"Xv\",\n \"qv\",\n \"Gl\",\n \"Bf\",\n \"il\",\n \"Go\",\n \"Zv\",\n \"eu\",\n \"Vf\",\n \"wc\",\n \"eo\",\n \"eg\",\n \"Yf\",\n \"_i\",\n \"xc\",\n \"tg\",\n \"to\",\n \"No\",\n \"ng\",\n \"rg\",\n \"nu\",\n \"ql\",\n \"Gf\",\n \"Xf\",\n \"Ai\",\n \"pi\",\n \"Sc\",\n \"et\",\n \"vg\",\n \"iu\",\n \"Zf\",\n \"Jf\",\n \"Ng\",\n \"Rg\",\n \"Tc\",\n \"ep\",\n \"Og\",\n \"Cs\",\n \"Ag\",\n \"Rc\",\n \"np\",\n \"jg\",\n \"Mg\",\n \"Lg\",\n \"Ig\",\n \"Dg\",\n \"_o\",\n \"_c\",\n \"Oc\",\n \"rp\",\n \"op\",\n \"lu\",\n \"zg\",\n \"Ac\",\n \"hi\",\n \"ks\",\n \"_n\",\n \"Mc\",\n \"dp\",\n \"oe\",\n \"hl\",\n \"Oo\",\n \"fp\",\n \"ml\",\n \"Ao\",\n \"Xi\",\n \"or\",\n \"Lc\",\n \"Ic\",\n \"vi\",\n \"qi\",\n \"na\",\n \"Kg\",\n \"vl\",\n \"wn\",\n \"zc\",\n \"In\",\n \"qo\",\n \"cr\",\n \"Ps\",\n \"On\",\n \"ie\",\n \"te\",\n \"Ir\",\n \"$e\",\n \"Zi\",\n \"Fc\",\n \"pp\",\n \"Ji\",\n \"$c\",\n \"hp\",\n \"Xg\",\n \"An\",\n \"Mn\",\n \"mp\",\n \"au\",\n \"uu\",\n \"vp\",\n \"Uc\",\n \"sa\",\n \"la\",\n \"Bc\",\n \"gi\",\n \"gp\",\n \"Dr\",\n \"cu\",\n \"ro\",\n \"yi\",\n \"Vc\",\n \"yp\",\n \"i\",\n \"s\",\n \"l\",\n \"a\",\n \"u\",\n \"d\",\n \"f\",\n \"c\",\n \"g\",\n \"w\",\n \"v\",\n \"x\",\n \"fu\",\n \"pu\",\n \"aa\",\n \"Sr\",\n \"st\",\n \"hu\",\n \"xp\",\n \"Vt\",\n \"mu\",\n \"Sp\",\n \"$t\",\n \"xn\",\n \"ji\",\n \"Wc\",\n \"os\",\n \"Hc\",\n \"zn\",\n \"vu\",\n \"Fr\",\n \"Ep\",\n \"gu\",\n \"is\",\n \"yu\",\n \"Pe\",\n \"wu\",\n \"xu\",\n \"Su\",\n \"kt\",\n \"lt\",\n \"Do\",\n \"xl\",\n \"Sl\",\n \"Cp\",\n \"kp\",\n \"Pp\",\n \"bp\",\n \"Tp\",\n \"Np\",\n \"Rp\",\n \"Qc\",\n \"zo\",\n \"_p\",\n \"Li\",\n \"Ts\",\n \"Kc\",\n \"Eu\",\n \"Op\",\n \"Ap\",\n \"jp\",\n \"Mp\",\n \"Cu\",\n \"Lp\",\n \"Ip\",\n \"Dp\",\n \"Jg\",\n \"zp\",\n \"ey\",\n \"ty\",\n \"Fp\",\n \"$p\",\n \"Up\",\n \"ct\",\n \"ua\",\n \"Yc\",\n \"Bp\",\n \"Gc\",\n \"ca\",\n \"$r\",\n \"El\",\n \"da\",\n \"Vp\",\n \"Wp\",\n \"Xc\",\n \"qc\",\n \"Zc\",\n \"Ae\",\n \"Jc\",\n \"ed\",\n \"Hp\",\n \"Qp\",\n \"Kp\",\n \"fa\",\n \"td\",\n \"pa\",\n \"Yp\",\n \"nd\",\n \"ma\",\n \"Gp\",\n \"ku\",\n \"wi\",\n \"ly\",\n \"rd\",\n \"Cl\",\n \"Xp\",\n \"Ii\",\n \"Wt\",\n \"ay\",\n \"oo\",\n \"be\",\n \"uy\",\n \"cy\",\n \"mr\",\n \"ga\",\n \"fy\",\n \"wo\",\n \"Rs\",\n \"ya\",\n \"eh\",\n \"th\",\n \"id\",\n \"wa\",\n \"xa\",\n \"Jt\",\n \"nh\",\n \"sd\",\n \"ut\",\n \"rh\",\n \"Ct\",\n \"py\",\n \"oh\",\n \"ld\",\n \"ad\",\n \"ud\",\n \"Me\",\n \"En\",\n \"vt\",\n \"Ue\",\n \"ih\",\n \"Ca\",\n \"ka\",\n \"my\",\n \"ln\",\n \"cd\",\n \"Nu\",\n \"Gn\",\n \"Ru\",\n \"Vn\",\n \"sh\",\n \"lh\",\n \"_u\",\n \"ds\",\n \"vy\",\n \"gy\",\n \"ah\",\n \"uh\",\n \"Ln\",\n \"yy\",\n \"Er\",\n \"dd\",\n \"fe\",\n \"wy\",\n \"ch\",\n \"xy\",\n \"Sy\",\n \"fh\",\n \"Ey\",\n \"ot\",\n \"Ou\",\n \"Cy\",\n \"Cn\",\n \"Fi\",\n \"Wn\",\n \"Os\",\n \"kl\",\n \"Pl\",\n \"ky\",\n \"Au\",\n \"Py\",\n \"ph\",\n \"hh\",\n \"As\",\n \"fs\",\n \"fd\",\n \"ju\",\n \"by\",\n \"Mu\",\n \"js\",\n \"Lu\",\n \"Ms\",\n \"pd\",\n \"Ty\",\n \"Ls\",\n \"vh\",\n \"Ay\",\n \"md\",\n \"jy\",\n \"Eo\",\n \"My\",\n \"Ly\",\n \"ve\",\n \"Iy\",\n \"wh\",\n \"yt\",\n \"Dy\",\n \"zy\",\n \"xh\",\n \"Fy\",\n \"$y\",\n \"Uy\",\n \"By\",\n \"Sh\",\n \"Vy\",\n \"Eh\",\n \"Ot\",\n \"Hy\",\n \"b\",\n \"Xy\",\n \"qy\",\n \"gd\",\n \"Ph\",\n \"t0\",\n \"Du\",\n \"n0\",\n \"Ci\",\n \"r0\",\n \"o0\",\n \"i0\",\n \"Nh\",\n \"p\",\n \"h\",\n \"onClose\",\n \"Q\",\n \"w0\",\n \"Fh\",\n \"ki\",\n \"yd\",\n \"E0\",\n \"C0\",\n \"k0\",\n \"Nl\",\n \"Qh\",\n \"Kh\",\n \"wd\",\n \"Yh\",\n \"b0\",\n \"Gh\",\n \"Kr\",\n \"M0\",\n \"qh\",\n \"L0\",\n \"I0\",\n \"_a\",\n \"Ed\",\n \"D0\",\n \"z0\",\n \"F0\",\n \"get\",\n \"set\",\n \"$0\",\n \"U0\",\n \"B0\",\n \"W0\",\n \"H0\",\n \"Jh\",\n \"Q0\",\n \"re\",\n \"Mt\",\n \"en\",\n \"Cr\",\n \"Rl\",\n \"so\",\n \"ew\",\n \"V\",\n \"tn\",\n \"nw\",\n \"rw\",\n \"iw\",\n \"sw\",\n \"lo\",\n \"Yr\",\n \"lw\",\n \"tm\",\n \"aw\",\n \"uw\",\n \"cw\",\n \"I\",\n \"A\",\n \"H\",\n \"j\",\n \"k\",\n \"z\",\n \"L\",\n \"_e\",\n \"mw\",\n \"ww\",\n \"xw\",\n \"Ew\",\n \"Tw\",\n \"constructor\",\n \"Rw\",\n \"_w\",\n \"Aw\",\n \"jw\",\n \"Pi\",\n \"Uw\",\n \"Bw\",\n \"tv\",\n \"kd\",\n \"Vw\",\n \"Ww\",\n \"Tn\",\n \"Aa\",\n \"Ht\",\n \"Qt\",\n \"Gr\",\n \"Bu\",\n \"Vu\",\n \"Nn\",\n \"Wu\",\n \"Yw\",\n \"Gw\",\n \"ja\",\n \"Xw\",\n \"qw\",\n \"hs\",\n \"Zw\",\n \"lm\",\n \"ms\",\n \"Pd\",\n \"Jw\",\n \"Uo\",\n \"ex\",\n \"fn\",\n \"tx\",\n \"bd\",\n \"Td\",\n \"nx\",\n \"rx\",\n \"ox\",\n \"ix\",\n \"sx\",\n \"lx\",\n \"Fs\",\n \"Xr\",\n \"qe\",\n \"jt\",\n \"am\",\n \"wt\",\n \"At\",\n \"Nd\",\n \"ei\",\n \"ax\",\n \"$s\",\n \"Hu\",\n \"ux\",\n \"Qu\",\n \"Br\",\n \"xt\",\n \"Us\",\n \"Rn\",\n \"um\",\n \"Bo\",\n \"Ma\",\n \"cm\",\n \"Ku\",\n \"kr\",\n \"dm\",\n \"dx\",\n \"qn\",\n \"fx\",\n \"px\",\n \"La\",\n \"hx\",\n \"mx\",\n \"vx\",\n \"Rd\",\n \"fm\",\n \"gx\",\n \"yx\",\n \"wx\",\n \"xx\",\n \"_l\",\n \"_d\",\n \"pm\",\n \"Sx\",\n \"Ex\",\n \"kx\",\n \"Px\",\n \"Ax\",\n \"vs\",\n \"hm\",\n \"Ad\",\n \"Ol\",\n \"jx\",\n \"Mx\",\n \"Lx\",\n \"Ix\",\n \"Dx\",\n \"zx\",\n \"Fx\",\n \"$x\",\n \"Ux\",\n \"Wx\",\n \"Hx\",\n \"Qx\",\n \"Xx\",\n \"qx\",\n \"Pm\",\n \"Nm\",\n \"c1\",\n \"d1\",\n \"f1\",\n \"p1\",\n \"h1\",\n \"m1\",\n \"subscribe\",\n \"hasListeners\",\n \"onSubscribe\",\n \"onUnsubscribe\",\n \"dt\",\n \"w1\",\n \"x1\",\n \"S1\",\n \"Md\",\n \"E1\",\n \"Ld\",\n \"Id\",\n \"Xu\",\n \"Vo\",\n \"Wo\",\n \"Mm\",\n \"Dd\",\n \"Da\",\n \"zd\",\n \"C1\",\n \"k1\",\n \"P1\",\n \"b1\",\n \"Lm\",\n \"setEventListener\",\n \"setFocused\",\n \"onFocus\",\n \"isFocused\",\n \"setOnline\",\n \"isOnline\",\n \"R1\",\n \"_1\",\n \"Dm\",\n \"Al\",\n \"Fm\",\n \"O1\",\n \"destroy\",\n \"scheduleGc\",\n \"updateGcTime\",\n \"clearGcTimeout\",\n \"meta\",\n \"promise\",\n \"setOptions\",\n \"optionalRemove\",\n \"setData\",\n \"setState\",\n \"cancel\",\n \"reset\",\n \"isActive\",\n \"isDisabled\",\n \"isStale\",\n \"isStaleByTime\",\n \"onOnline\",\n \"addObserver\",\n \"removeObserver\",\n \"getObserversCount\",\n \"invalidate\",\n \"fetch\",\n \"j1\",\n \"M1\",\n \"build\",\n \"add\",\n \"remove\",\n \"clear\",\n \"getAll\",\n \"find\",\n \"findAll\",\n \"notify\",\n \"continue\",\n \"execute\",\n \"D1\",\n \"canRun\",\n \"runNext\",\n \"resumePausedMutations\",\n \"Ti\",\n \"Fd\",\n \"$d\",\n \"F1\",\n \"mount\",\n \"unmount\",\n \"isFetching\",\n \"isMutating\",\n \"getQueryData\",\n \"ensureQueryData\",\n \"getQueriesData\",\n \"setQueryData\",\n \"setQueriesData\",\n \"getQueryState\",\n \"removeQueries\",\n \"resetQueries\",\n \"cancelQueries\",\n \"invalidateQueries\",\n \"refetchQueries\",\n \"fetchQuery\",\n \"prefetchQuery\",\n \"fetchInfiniteQuery\",\n \"prefetchInfiniteQuery\",\n \"ensureInfiniteQueryData\",\n \"getQueryCache\",\n \"getMutationCache\",\n \"getDefaultOptions\",\n \"setDefaultOptions\",\n \"setQueryDefaults\",\n \"getQueryDefaults\",\n \"setMutationDefaults\",\n \"getMutationDefaults\",\n \"defaultQueryOptions\",\n \"defaultMutationOptions\",\n \"B1\",\n \"ys\",\n \"V1\",\n \"Be\",\n \"Um\",\n \"W1\",\n \"Bd\",\n \"za\",\n \"Bm\",\n \"Qs\",\n \"H1\",\n \"action\",\n \"location\",\n \"listen\",\n \"createHref\",\n \"encodeLocation\",\n \"go\",\n \"Q1\",\n \"K1\",\n \"Vm\",\n \"Wm\",\n \"Y1\",\n \"Wd\",\n \"tS\",\n \"nS\",\n \"rS\",\n \"Hd\",\n \"oS\",\n \"iS\",\n \"Hm\",\n \"Pr\",\n \"sS\",\n \"lS\",\n \"ws\",\n \"Zu\",\n \"Gm\",\n \"dS\",\n \"fS\",\n \"pS\",\n \"getDerivedStateFromError\",\n \"getDerivedStateFromProps\",\n \"componentDidCatch\",\n \"render\",\n \"vS\",\n \"gS\",\n \"yS\",\n \"wS\",\n \"xS\",\n \"SS\",\n \"$a\",\n \"ES\",\n \"CS\",\n \"Ua\",\n \"bS\",\n \"TS\",\n \"RS\",\n \"LS\",\n \"IS\",\n \"DS\",\n \"zS\",\n \"FS\",\n \"e\",\n \"$S\",\n \"BS\"\n ],\n \"keys\": null,\n \"path\": \"dist/assets/index-EI3-d-j7.js\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package.json\"\n ],\n \"created\": [],\n \"deleted\": [\n \"dist/assets/index-DoUr1TXp.css\",\n \"dist/assets/index-EI3-d-j7.js\",\n \"dist/favicon.ico\",\n \"dist/index.html\",\n \"dist/placeholder.svg\",\n \"dist/robots.txt\"\n ]\n}"
}
] |
artfrol/adai-connect
|
clean up
|
{
"changed": [
"src/App.tsx"
],
"created": [],
"deleted": [
"src/pages/NotFound.tsx"
]
}
|
[
{
"functions": null,
"keys": [
"name",
"homepage",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".googleapis",
"body",
"root",
".neo-glass",
"webkit-scrollbar",
".text-balance",
".com",
".section-padding",
"html",
".no-scrollbar",
".text-gradient",
"base",
"utilities",
".interactive-btn",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DevelopersSection"
],
"keys": null,
"path": "src/components/DevelopersSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"CodeExample"
],
"keys": null,
"path": "src/components/CodeExample.tsx",
"selectors": null
},
{
"functions": [
"AdvertisersSection"
],
"keys": null,
"path": "src/components/AdvertisersSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleAnchorClick"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 20 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nclean up\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"homepage\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".googleapis\",\n \"body\",\n \"root\",\n \".neo-glass\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \".section-padding\",\n \"html\",\n \".no-scrollbar\",\n \".text-gradient\",\n \"base\",\n \"utilities\",\n \".interactive-btn\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DevelopersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/DevelopersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CodeExample\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CodeExample.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AdvertisersSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AdvertisersSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleAnchorClick\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\"\n ],\n \"created\": [],\n \"deleted\": [\n \"src/pages/NotFound.tsx\"\n ]\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Add landing page
Implement a landing page for the ifthar meet up.
|
{
"changed": [
"src/App.css",
"src/index.css",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"tailwind.config.ts"
],
"created": [
"src/assets/hero-pattern.png",
"src/components/AboutSection.tsx",
"src/components/Footer.tsx",
"src/components/Header.tsx",
"src/components/Hero.tsx",
"src/components/LocationSection.tsx",
"src/components/RSVPSection.tsx",
"src/components/ScheduleSection.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd landing page\n\nImplement a landing page for the ifthar meet up.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.css\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/assets/hero-pattern.png\",\n \"src/components/AboutSection.tsx\",\n \"src/components/Footer.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/LocationSection.tsx\",\n \"src/components/RSVPSection.tsx\",\n \"src/components/ScheduleSection.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Add program coordinator and interns
Add Muhammed Anshid & Muhammed Munawwir as program coordinators.
|
{
"changed": [
"src/App.css",
"src/pages/Index.tsx"
],
"created": [
"src/components/CoordinatorsSection.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".glass-nav",
".googleapis",
"body",
"root",
".glass-card",
".com",
"#f5f0e6",
".fade-in-section",
".scroll-indicator",
"base",
".is-visible",
".gold-shimmer",
"#d4af37"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd program coordinator and interns\n\nAdd Muhammed Anshid & Muhammed Munawwir as program coordinators.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".glass-nav\",\n \".googleapis\",\n \"body\",\n \"root\",\n \".glass-card\",\n \".com\",\n \"#f5f0e6\",\n \".fade-in-section\",\n \".scroll-indicator\",\n \"base\",\n \".is-visible\",\n \".gold-shimmer\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.css\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/CoordinatorsSection.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Refactor: Improve landing page content
Improve the landing page content to be more funny and add images.
|
{
"changed": [
"src/components/AboutSection.tsx",
"src/components/CoordinatorsSection.tsx",
"src/components/Hero.tsx",
"src/components/LocationSection.tsx",
"src/index.css"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".glass-nav",
".googleapis",
"body",
"root",
".glass-card",
".com",
"#f5f0e6",
".fade-in-section",
".scroll-indicator",
"base",
".is-visible",
".gold-shimmer",
"#d4af37"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Improve landing page content\n\nImprove the landing page content to be more funny and add images.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".glass-nav\",\n \".googleapis\",\n \"body\",\n \"root\",\n \".glass-card\",\n \".com\",\n \"#f5f0e6\",\n \".fade-in-section\",\n \".scroll-indicator\",\n \"base\",\n \".is-visible\",\n \".gold-shimmer\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AboutSection.tsx\",\n \"src/components/CoordinatorsSection.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/LocationSection.tsx\",\n \"src/index.css\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Add eligibility check and MERN stack section
Implement eligibility check on form submission and add a section about MERN stack.
|
{
"changed": [
"src/components/RSVPSection.tsx",
"src/pages/Index.tsx"
],
"created": [
"src/components/MERNQuizSection.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".glass-nav",
".googleapis",
"body",
"float-reverse",
"root",
".glass-card",
".com",
"#f5f0e6",
".animate-float-reverse",
".fade-in-section",
".scroll-indicator",
"float",
"base",
".animate-float",
".is-visible",
".gold-shimmer",
"#d4af37"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd eligibility check and MERN stack section\n\nImplement eligibility check on form submission and add a section about MERN stack.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".glass-nav\",\n \".googleapis\",\n \"body\",\n \"float-reverse\",\n \"root\",\n \".glass-card\",\n \".com\",\n \"#f5f0e6\",\n \".animate-float-reverse\",\n \".fade-in-section\",\n \".scroll-indicator\",\n \"float\",\n \"base\",\n \".animate-float\",\n \".is-visible\",\n \".gold-shimmer\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/RSVPSection.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/MERNQuizSection.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Fix: Improve mobile responsiveness
Improve mobile responsiveness across the application.
|
{
"changed": [
"src/components/Header.tsx",
"src/components/RSVPSection.tsx",
"src/index.css",
"src/pages/Index.tsx"
],
"created": [
"src/components/MobileMenu.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".glass-nav",
".googleapis",
"body",
"float-reverse",
"root",
".glass-card",
".com",
"#f5f0e6",
".animate-float-reverse",
".fade-in-section",
".scroll-indicator",
"float",
"base",
".animate-float",
".is-visible",
".gold-shimmer",
"#d4af37"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Improve mobile responsiveness\n\nImprove mobile responsiveness across the application.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".glass-nav\",\n \".googleapis\",\n \"body\",\n \"float-reverse\",\n \"root\",\n \".glass-card\",\n \".com\",\n \"#f5f0e6\",\n \".animate-float-reverse\",\n \".fade-in-section\",\n \".scroll-indicator\",\n \"float\",\n \"base\",\n \".animate-float\",\n \".is-visible\",\n \".gold-shimmer\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/RSVPSection.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/MobileMenu.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Fix: Improve mobile UI and quiz view
Refactor mobile UI and quiz section for better responsiveness and user experience.
|
{
"changed": [
"src/components/AboutSection.tsx",
"src/components/Header.tsx",
"src/components/Hero.tsx",
"src/components/MERNQuizSection.tsx",
"src/index.css"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-float",
"#d4af37",
"section",
".scroll-indicator",
"base",
".container",
".googleapis",
"root",
".fade-in-section",
"float",
"#f5f0e6",
".gold-shimmer",
".glass-nav",
"body",
".glass-card",
".animate-float-reverse",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Improve mobile UI and quiz view\n\nRefactor mobile UI and quiz section for better responsiveness and user experience.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".googleapis\",\n \"root\",\n \".fade-in-section\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".glass-nav\",\n \"body\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AboutSection.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/MERNQuizSection.tsx\",\n \"src/index.css\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Update Muhammed Anshid's avatar
Replaced the avatar image for Muhammed Anshid in the CoordinatorsSection.
|
{
"changed": [
"src/components/CoordinatorsSection.tsx"
],
"created": [
"public/lovable-uploads/a02496b2-0319-478a-ac8c-7292108f0407.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Muhammed Anshid's avatar\n\nReplaced the avatar image for Muhammed Anshid in the CoordinatorsSection.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/CoordinatorsSection.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/a02496b2-0319-478a-ac8c-7292108f0407.png\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Add coordinator and group photo
Update coordinator image and add a group photo to the landing page.
|
{
"changed": [
"src/components/CoordinatorsSection.tsx",
"src/components/Hero.tsx"
],
"created": [
"public/lovable-uploads/0f67d32b-aa18-493c-9408-5f0d35779f5f.png",
"public/lovable-uploads/da56bf1f-2f84-4673-af01-f299db445932.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd coordinator and group photo\n\nUpdate coordinator image and add a group photo to the landing page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/CoordinatorsSection.tsx\",\n \"src/components/Hero.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/0f67d32b-aa18-493c-9408-5f0d35779f5f.png\",\n \"public/lovable-uploads/da56bf1f-2f84-4673-af01-f299db445932.png\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Refactor: Update landing page with memories
Update the landing page to showcase memories of the Ifthar gathering. Replace the RSVP form and MERN quiz with a display of event memories, including group photos and selfies.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/components/Hero.tsx",
"src/components/ScheduleSection.tsx",
"src/pages/Index.tsx"
],
"created": [
"public/lovable-uploads/2946c6d3-241a-4109-8f47-f960db770f45.png",
"public/lovable-uploads/b4d5b7c8-7b7d-4c34-ba4d-cd1b84e91e6d.png",
"src/components/MemoriesSection.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToRSVP"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Update landing page with memories\n\nUpdate the landing page to showcase memories of the Ifthar gathering. Replace the RSVP form and MERN quiz with a display of event memories, including group photos and selfies.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToRSVP\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/components/Hero.tsx\",\n \"src/components/ScheduleSection.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/2946c6d3-241a-4109-8f47-f960db770f45.png\",\n \"public/lovable-uploads/b4d5b7c8-7b7d-4c34-ba4d-cd1b84e91e6d.png\",\n \"src/components/MemoriesSection.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Refactor: Update memories section and remove schedule
- Removed schedule section and replaced with memories.
- Updated group photo.
|
{
"changed": [
"src/components/CoordinatorsSection.tsx",
"src/components/Hero.tsx",
"src/components/MemoriesSection.tsx",
"src/components/ScheduleSection.tsx",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 10 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Update memories section and remove schedule\n\n- Removed schedule section and replaced with memories.\n- Updated group photo.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/CoordinatorsSection.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/MemoriesSection.tsx\",\n \"src/components/ScheduleSection.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Refactor: Update event details and images
- Replaced group photos with the provided image throughout the site.
- Modified the "About the Event" section to reflect the team's food preparation and decoration efforts.
- Removed contact information from event details.
|
{
"changed": [
"src/components/AboutSection.tsx",
"src/components/CoordinatorsSection.tsx",
"src/components/Hero.tsx",
"src/components/MemoriesSection.tsx",
"src/components/ScheduleSection.tsx",
"src/pages/Index.tsx"
],
"created": [
"public/lovable-uploads/26ac864a-6c40-4056-81b6-6bdec9910905.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 11 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Update event details and images\n\n- Replaced group photos with the provided image throughout the site.\n- Modified the \"About the Event\" section to reflect the team's food preparation and decoration efforts.\n- Removed contact information from event details.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AboutSection.tsx\",\n \"src/components/CoordinatorsSection.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/MemoriesSection.tsx\",\n \"src/components/ScheduleSection.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/26ac864a-6c40-4056-81b6-6bdec9910905.png\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Refactor: Update event details and team photo
- Updated the "Where and When" section to reflect a completed event.
- Replaced the team photo with a new image.
|
{
"changed": [
"src/components/CoordinatorsSection.tsx",
"src/components/LocationSection.tsx"
],
"created": [
"public/lovable-uploads/1de8a9bd-fd73-4fe3-915c-750e649a7f97.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 12 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Update event details and team photo\n\n- Updated the \"Where and When\" section to reflect a completed event.\n- Replaced the team photo with a new image.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/CoordinatorsSection.tsx\",\n \"src/components/LocationSection.tsx\"\n ],\n \"created\": [\n \"public/lovable-uploads/1de8a9bd-fd73-4fe3-915c-750e649a7f97.png\"\n ],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Remove "When & Where" section
Remove the "When & Where" section from the LocationSection component.
|
{
"changed": [
"src/components/MobileMenu.tsx",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 13 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove \"When & Where\" section\n\nRemove the \"When & Where\" section from the LocationSection component.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/MobileMenu.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Add YouTube short and UI updates
- Added a YouTube short to the memories section.
- Changed the "Learn More" button to "About Event" in the hero section.
- Updated the navigation bar: changed "Schedule" to "Experience", removed "Location" and "RSVP".
|
{
"changed": [
"src/components/Header.tsx",
"src/components/Hero.tsx",
"src/components/MemoriesSection.tsx",
"src/components/MobileMenu.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 14 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd YouTube short and UI updates\n\n- Added a YouTube short to the memories section.\n- Changed the \"Learn More\" button to \"About Event\" in the hero section.\n- Updated the navigation bar: changed \"Schedule\" to \"Experience\", removed \"Location\" and \"RSVP\".\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/Hero.tsx\",\n \"src/components/MemoriesSection.tsx\",\n \"src/components/MobileMenu.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
Update Footer.tsx
|
{
"changed": [
"src/components/Footer.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 15 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate Footer.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Footer.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
akilsalam/ifthar-gathering-portal
|
changes in logo
|
{
"changed": [
"index.html"
],
"created": [
"public/Tech Logo.png"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"before",
".coordinator-card",
".coordinator-quote",
"hover",
"after",
"#d4af37"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"h2",
"a",
"float-reverse",
".com",
"html",
".space-y-6",
"h1",
".animate-fadeIn",
".animate-float",
"#d4af37",
"section",
".form-inputs",
"slideUp",
"from",
"to",
".scroll-indicator",
"base",
".container",
".animate-slideUp",
".googleapis",
".radio-option",
"fadeIn",
"root",
".fade-in-section",
".text-2xs",
"float",
"#f5f0e6",
".gold-shimmer",
".py-20",
".glass-nav",
"body",
"shimmer",
".glass-card",
".animate-float-reverse",
".grid-cols-2",
".is-visible"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"MemoriesSection"
],
"keys": null,
"path": "src/components/MemoriesSection.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"AboutSection"
],
"keys": null,
"path": "src/components/AboutSection.tsx",
"selectors": null
},
{
"functions": [
"ScheduleSection"
],
"keys": null,
"path": "src/components/ScheduleSection.tsx",
"selectors": null
},
{
"functions": [
"CoordinatorsSection"
],
"keys": null,
"path": "src/components/CoordinatorsSection.tsx",
"selectors": null
},
{
"functions": [
"RSVPSection",
"handleSubmit"
],
"keys": null,
"path": "src/components/RSVPSection.tsx",
"selectors": null
},
{
"functions": [
"MERNQuizSection",
"handleAnswerSelect",
"handleNextQuestion",
"handlePreviousQuestion",
"handleSubmitQuiz"
],
"keys": null,
"path": "src/components/MERNQuizSection.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"scrollToSection",
"handleMobileNavigation"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"FC",
"handleMouseMove",
"scrollToMemories"
],
"keys": null,
"path": "src/components/Hero.tsx",
"selectors": null
},
{
"functions": [
"LocationSection"
],
"keys": null,
"path": "src/components/LocationSection.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 16 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nchanges in logo\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"before\",\n \".coordinator-card\",\n \".coordinator-quote\",\n \"hover\",\n \"after\",\n \"#d4af37\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"h2\",\n \"a\",\n \"float-reverse\",\n \".com\",\n \"html\",\n \".space-y-6\",\n \"h1\",\n \".animate-fadeIn\",\n \".animate-float\",\n \"#d4af37\",\n \"section\",\n \".form-inputs\",\n \"slideUp\",\n \"from\",\n \"to\",\n \".scroll-indicator\",\n \"base\",\n \".container\",\n \".animate-slideUp\",\n \".googleapis\",\n \".radio-option\",\n \"fadeIn\",\n \"root\",\n \".fade-in-section\",\n \".text-2xs\",\n \"float\",\n \"#f5f0e6\",\n \".gold-shimmer\",\n \".py-20\",\n \".glass-nav\",\n \"body\",\n \"shimmer\",\n \".glass-card\",\n \".animate-float-reverse\",\n \".grid-cols-2\",\n \".is-visible\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MemoriesSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MemoriesSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AboutSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AboutSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ScheduleSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ScheduleSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CoordinatorsSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CoordinatorsSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RSVPSection\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/RSVPSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MERNQuizSection\",\n \"handleAnswerSelect\",\n \"handleNextQuestion\",\n \"handlePreviousQuestion\",\n \"handleSubmitQuiz\"\n ],\n \"keys\": null,\n \"path\": \"src/components/MERNQuizSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"scrollToSection\",\n \"handleMobileNavigation\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"FC\",\n \"handleMouseMove\",\n \"scrollToMemories\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Hero.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LocationSection\"\n ],\n \"keys\": null,\n \"path\": \"src/components/LocationSection.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"index.html\"\n ],\n \"created\": [\n \"public/Tech Logo.png\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Add initial workout app structure
Implement the basic structure and features for the workout management web application, including authentication, dashboard, exercise management, workout creation, performance tracking, workout history, settings, notifications, data export, and accessibility features.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/AnimatedTransition.tsx",
"src/components/Layout.tsx",
"src/components/Navbar.tsx",
"src/pages/Dashboard.tsx",
"src/pages/Exercises.tsx",
"src/pages/History.tsx",
"src/pages/Login.tsx",
"src/pages/Profile.tsx",
"src/pages/Workouts.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd initial workout app structure\n\nImplement the basic structure and features for the workout management web application, including authentication, dashboard, exercise management, workout creation, performance tracking, workout history, settings, notifications, data export, and accessibility features.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/AnimatedTransition.tsx\",\n \"src/components/Layout.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/pages/Exercises.tsx\",\n \"src/pages/History.tsx\",\n \"src/pages/Login.tsx\",\n \"src/pages/Profile.tsx\",\n \"src/pages/Workouts.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Fix: Import Bell icon
Import the Bell icon from lucide-react to resolve the ReferenceError in Profile.tsx.
|
{
"changed": [
"src/pages/Profile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Import Bell icon\n\nImport the Bell icon from lucide-react to resolve the ReferenceError in Profile.tsx.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Profile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Implement user authentication
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/components/Navbar.tsx",
"src/pages/Login.tsx"
],
"created": [
"src/contexts/AuthContext.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login",
"handleLogin"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement user authentication\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"handleLogin\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [\n \"src/contexts/AuthContext.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Fix: Authentication with specific credentials
Fixes an issue where authentication with the provided credentials was failing.
|
{
"changed": [
"src/contexts/AuthContext.tsx",
"src/pages/Login.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login",
"onLoginSubmit",
"onRegisterSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Authentication with specific credentials\n\nFixes an issue where authentication with the provided credentials was failing.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"onLoginSubmit\",\n \"onRegisterSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/contexts/AuthContext.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Fix: Implement registration and verification
Fixes registration flow and adds email verification after registration.
|
{
"changed": [
"src/contexts/AuthContext.tsx",
"src/pages/Login.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login",
"onLoginSubmit",
"onRegisterSubmit"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Implement registration and verification\n\nFixes registration flow and adds email verification after registration.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"onLoginSubmit\",\n \"onRegisterSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/contexts/AuthContext.tsx\",\n \"src/pages/Login.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Refactor: Split Login page into smaller components
Refactor the Login page into smaller, reusable components to improve code organization and readability.
|
{
"changed": [
"src/pages/Login.tsx"
],
"created": [
"src/pages/login/LoginContainer.tsx",
"src/pages/login/LoginForm.tsx",
"src/pages/login/LoginHeader.tsx",
"src/pages/login/RegisterForm.tsx",
"src/pages/login/VerificationForm.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"verifyEmail",
"resendVerificationEmail",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login",
"onLoginSubmit",
"onRegisterSubmit",
"onVerificationSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Split Login page into smaller components\n\nRefactor the Login page into smaller, reusable components to improve code organization and readability.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"verifyEmail\",\n \"resendVerificationEmail\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\",\n \"onLoginSubmit\",\n \"onRegisterSubmit\",\n \"onVerificationSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Login.tsx\"\n ],\n \"created\": [\n \"src/pages/login/LoginContainer.tsx\",\n \"src/pages/login/LoginForm.tsx\",\n \"src/pages/login/LoginHeader.tsx\",\n \"src/pages/login/RegisterForm.tsx\",\n \"src/pages/login/VerificationForm.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Update AuthContext.tsx
|
{
"changed": [
"src/contexts/AuthContext.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"verifyEmail",
"resendVerificationEmail",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate AuthContext.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"verifyEmail\",\n \"resendVerificationEmail\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/contexts/AuthContext.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Update AuthContext.tsx
|
{
"changed": [
"src/contexts/AuthContext.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"logout",
"verifyEmail",
"resendVerificationEmail",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate AuthContext.tsx\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"logout\",\n \"verifyEmail\",\n \"resendVerificationEmail\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/contexts/AuthContext.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Connect to Supabase project
Add Supabase configuration and types to the project.
|
{
"changed": [
"package-lock.json",
"package.json"
],
"created": [
"src/integrations/supabase/client.ts",
"src/integrations/supabase/types.ts",
"supabase/config.toml"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"verifyEmail",
"resendVerificationEmail",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 9 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect to Supabase project\n\nAdd Supabase configuration and types to the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"verifyEmail\",\n \"resendVerificationEmail\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\"\n ],\n \"created\": [\n \"src/integrations/supabase/client.ts\",\n \"src/integrations/supabase/types.ts\",\n \"supabase/config.toml\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Run SQL script
No description needed.
|
{
"changed": [
"src/App.tsx",
"src/contexts/AuthContext.tsx",
"src/integrations/supabase/types.ts",
"src/pages/login/RegisterForm.tsx"
],
"created": [
"src/contexts/WorkoutsContext.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"AuthProvider",
"checkUser",
"login",
"register",
"verifyEmail",
"resendVerificationEmail",
"logout",
"useAuth"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 10 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRun SQL script\n\nNo description needed.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AuthProvider\",\n \"checkUser\",\n \"login\",\n \"register\",\n \"verifyEmail\",\n \"resendVerificationEmail\",\n \"logout\",\n \"useAuth\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/contexts/AuthContext.tsx\",\n \"src/integrations/supabase/types.ts\",\n \"src/pages/login/RegisterForm.tsx\"\n ],\n \"created\": [\n \"src/contexts/WorkoutsContext.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
feat: Implement workout management
- Create workout table on Supabase.
- Implement create, retrieve, and delete workout functionalities.
|
{
"changed": [
"src/components/Navbar.tsx",
"src/pages/Workouts.tsx"
],
"created": [
"src/components/CreateWorkoutForm.tsx",
"src/components/WorkoutsList.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"fetchProfile",
"updateProfile",
"login",
"if"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"fetchWorkouts",
"if"
],
"keys": null,
"path": "src/contexts/WorkoutsContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts",
"handleCreateWorkout",
"handleCancelCreate",
"handleAddExercise",
"handleRemoveExercise",
"handleSaveWorkout",
"handleUpdateExercise",
"onDragEnd"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll",
"isActive"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
}
] | 11 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nfeat: Implement workout management\n\n- Create workout table on Supabase.\n- Implement create, retrieve, and delete workout functionalities.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchProfile\",\n \"updateProfile\",\n \"login\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchWorkouts\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/WorkoutsContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\",\n \"handleCreateWorkout\",\n \"handleCancelCreate\",\n \"handleAddExercise\",\n \"handleRemoveExercise\",\n \"handleSaveWorkout\",\n \"handleUpdateExercise\",\n \"onDragEnd\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\",\n \"isActive\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Navbar.tsx\",\n \"src/pages/Workouts.tsx\"\n ],\n \"created\": [\n \"src/components/CreateWorkoutForm.tsx\",\n \"src/components/WorkoutsList.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Fix: Create workout button not working
Fixes the "Create Workout" button functionality.
|
{
"changed": [
"src/App.tsx",
"src/hooks/use-mobile.tsx",
"src/pages/Workouts.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"ProtectedRoute",
"AppRoutes",
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"fetchProfile",
"updateProfile",
"login",
"if"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"fetchWorkouts",
"if"
],
"keys": null,
"path": "src/contexts/WorkoutsContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"WorkoutsList",
"handleDeleteWorkout"
],
"keys": null,
"path": "src/components/WorkoutsList.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"handleSubmit"
],
"keys": null,
"path": "src/components/CreateWorkoutForm.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
}
] | 12 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Create workout button not working\n\nFixes the \"Create Workout\" button functionality.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"ProtectedRoute\",\n \"AppRoutes\",\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchProfile\",\n \"updateProfile\",\n \"login\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchWorkouts\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/WorkoutsContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WorkoutsList\",\n \"handleDeleteWorkout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WorkoutsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CreateWorkoutForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/hooks/use-mobile.tsx\",\n \"src/pages/Workouts.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Felice-Mondo/train-tuner-app
|
Fix: Resolve Supabase client import error
This commit addresses an issue related to the Supabase client import.
|
{
"changed": [
"src/App.tsx",
"src/components/Navbar.tsx",
"src/contexts/AuthContext.tsx",
"src/hooks/use-mobile.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
".scrollbar-hide",
"root",
"webkit-scrollbar",
".text-balance",
".shadow-soft",
".shadow-strong",
"html",
".glass-dark",
".dark",
"base",
"utilities",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"fetchProfile",
"updateProfile",
"login",
"if"
],
"keys": null,
"path": "src/contexts/AuthContext.tsx",
"selectors": null
},
{
"functions": [
"fetchWorkouts",
"if"
],
"keys": null,
"path": "src/contexts/WorkoutsContext.tsx",
"selectors": null
},
{
"functions": [
"AnimatedTransition"
],
"keys": null,
"path": "src/components/AnimatedTransition.tsx",
"selectors": null
},
{
"functions": [
"WorkoutsList",
"handleDeleteWorkout"
],
"keys": null,
"path": "src/components/WorkoutsList.tsx",
"selectors": null
},
{
"functions": [
"Layout"
],
"keys": null,
"path": "src/components/Layout.tsx",
"selectors": null
},
{
"functions": [
"handleSubmit"
],
"keys": null,
"path": "src/components/CreateWorkoutForm.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useMobile",
"checkIfMobile"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Profile",
"handleSaveProfile",
"handleSavePreferences",
"handleSaveNotifications",
"handleUploadAvatar",
"handleExportData"
],
"keys": null,
"path": "src/pages/Profile.tsx",
"selectors": null
},
{
"functions": [
"Login"
],
"keys": null,
"path": "src/pages/Login.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Workouts"
],
"keys": null,
"path": "src/pages/Workouts.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Exercises",
"resetForm",
"handleOpenAddDialog",
"handleEdit",
"handleDelete",
"handleDuplicate",
"handleSaveExercise",
"toggleMuscle"
],
"keys": null,
"path": "src/pages/Exercises.tsx",
"selectors": null
},
{
"functions": [
"History",
"handleViewDetails",
"handleExport"
],
"keys": null,
"path": "src/pages/History.tsx",
"selectors": null
},
{
"functions": [
"RegisterForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/RegisterForm.tsx",
"selectors": null
},
{
"functions": [
"VerificationForm",
"onSubmit",
"handleResendCode"
],
"keys": null,
"path": "src/pages/login/VerificationForm.tsx",
"selectors": null
},
{
"functions": [
"LoginForm",
"onSubmit"
],
"keys": null,
"path": "src/pages/login/LoginForm.tsx",
"selectors": null
}
] | 13 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve Supabase client import error\n\nThis commit addresses an issue related to the Supabase client import.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \".scrollbar-hide\",\n \"root\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".shadow-soft\",\n \".shadow-strong\",\n \"html\",\n \".glass-dark\",\n \".dark\",\n \"base\",\n \"utilities\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchProfile\",\n \"updateProfile\",\n \"login\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/AuthContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"fetchWorkouts\",\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/WorkoutsContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AnimatedTransition\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AnimatedTransition.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"WorkoutsList\",\n \"handleDeleteWorkout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WorkoutsList.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Layout\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Layout.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/components/CreateWorkoutForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useMobile\",\n \"checkIfMobile\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Profile\",\n \"handleSaveProfile\",\n \"handleSavePreferences\",\n \"handleSaveNotifications\",\n \"handleUploadAvatar\",\n \"handleExportData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Profile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Login\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Login.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Workouts\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Workouts.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Exercises\",\n \"resetForm\",\n \"handleOpenAddDialog\",\n \"handleEdit\",\n \"handleDelete\",\n \"handleDuplicate\",\n \"handleSaveExercise\",\n \"toggleMuscle\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Exercises.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"History\",\n \"handleViewDetails\",\n \"handleExport\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/History.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"RegisterForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/RegisterForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"VerificationForm\",\n \"onSubmit\",\n \"handleResendCode\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/VerificationForm.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LoginForm\",\n \"onSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/login/LoginForm.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/contexts/AuthContext.tsx\",\n \"src/hooks/use-mobile.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
letentvish/enterprise-solution-multipliers
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
letentvish/enterprise-solution-multipliers
|
feat: Implement Enterprise Solutions page
This commit implements the "Enterprise Solutions" sub-page for the Multiplierskraft website, adhering to the provided design specifications. It includes the header, about us, key offerings, industry focus, customer showcase, service catalog, value proposition, contact section, and footer, all styled with a dark theme, blue-orange accents, neumorphic effects, and animations. The page is responsive and optimized for accessibility.
|
{
"changed": [
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/Footer.tsx",
"src/components/Navbar.tsx",
"src/pages/EnterpriseSolutions.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nfeat: Implement Enterprise Solutions page\n\nThis commit implements the \"Enterprise Solutions\" sub-page for the Multiplierskraft website, adhering to the provided design specifications. It includes the header, about us, key offerings, industry focus, customer showcase, service catalog, value proposition, contact section, and footer, all styled with a dark theme, blue-orange accents, neumorphic effects, and animations. The page is responsive and optimized for accessibility.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/Footer.tsx\",\n \"src/components/Navbar.tsx\",\n \"src/pages/EnterpriseSolutions.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
letentvish/enterprise-solution-multipliers
|
Add missing sections
Implement the missing sections in the Enterprise Solutions page.
|
{
"changed": [
"src/App.tsx",
"src/index.css",
"tailwind.config.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".enterprise-gradient",
"a",
"webkit-scrollbar",
".com",
".card-hover",
".btn-primary",
"components",
".badge",
".section-description",
"webkit-scrollbar-thumb",
".text-glow",
".icon-bounce",
"base",
".btn-secondary",
".googleapis",
"root",
".neumorphic-card",
"hover",
"webkit-scrollbar-track",
".section-title",
"body",
".nav-link",
".hero-gradient",
".dark",
".floating-particle"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"EnterpriseSolutions",
"createParticles"
],
"keys": null,
"path": "src/pages/EnterpriseSolutions.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd missing sections\n\nImplement the missing sections in the Enterprise Solutions page.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".enterprise-gradient\",\n \"a\",\n \"webkit-scrollbar\",\n \".com\",\n \".card-hover\",\n \".btn-primary\",\n \"components\",\n \".badge\",\n \".section-description\",\n \"webkit-scrollbar-thumb\",\n \".text-glow\",\n \".icon-bounce\",\n \"base\",\n \".btn-secondary\",\n \".googleapis\",\n \"root\",\n \".neumorphic-card\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".section-title\",\n \"body\",\n \".nav-link\",\n \".hero-gradient\",\n \".dark\",\n \".floating-particle\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EnterpriseSolutions\",\n \"createParticles\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/EnterpriseSolutions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/index.css\",\n \"tailwind.config.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
letentvish/enterprise-solution-multipliers
|
Add basic content and layout
Implement the basic layout and content for the landing page, including navigation, hero section, and footer.
|
{
"changed": [
"src/pages/EnterpriseSolutions.tsx",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"#FFC107",
"webkit-scrollbar",
".academic-gradient",
".btn-primary",
"#E0E0E0",
"#B0B0C0",
"#D2D2D2",
"pulseSlow",
"slideUp",
".section-description",
"from",
"to",
".text-glow",
".animate-fade-in-fast",
".icon-bounce",
"base",
"bounce",
".bg-gradient-hero",
".btn-secondary",
".individual-gradient",
"fadeIn",
"root",
".neumorphic-card",
"hover",
"floatParticle",
".section-title",
"#FFD54F",
"body",
".animate-pulse-subtle",
".animate-fade-in",
".animate-slide-up",
".bg-gradient-enterprise",
".nav-link",
"#FFCA28",
"#FFB300",
".shadow-neumorphic",
".dark",
".scrollbar-none",
".floating-particle"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/Navbar.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"EnterpriseSolutions",
"createParticles"
],
"keys": null,
"path": "src/pages/EnterpriseSolutions.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd basic content and layout\n\nImplement the basic layout and content for the landing page, including navigation, hero section, and footer.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"#FFC107\",\n \"webkit-scrollbar\",\n \".academic-gradient\",\n \".btn-primary\",\n \"#E0E0E0\",\n \"#B0B0C0\",\n \"#D2D2D2\",\n \"pulseSlow\",\n \"slideUp\",\n \".section-description\",\n \"from\",\n \"to\",\n \".text-glow\",\n \".animate-fade-in-fast\",\n \".icon-bounce\",\n \"base\",\n \"bounce\",\n \".bg-gradient-hero\",\n \".btn-secondary\",\n \".individual-gradient\",\n \"fadeIn\",\n \"root\",\n \".neumorphic-card\",\n \"hover\",\n \"floatParticle\",\n \".section-title\",\n \"#FFD54F\",\n \"body\",\n \".animate-pulse-subtle\",\n \".animate-fade-in\",\n \".animate-slide-up\",\n \".bg-gradient-enterprise\",\n \".nav-link\",\n \"#FFCA28\",\n \"#FFB300\",\n \".shadow-neumorphic\",\n \".dark\",\n \".scrollbar-none\",\n \".floating-particle\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"EnterpriseSolutions\",\n \"createParticles\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/EnterpriseSolutions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/EnterpriseSolutions.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/og-image.png",
"public/placeholder.svg",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/og-image.png\",\n \"public/placeholder.svg\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Implement news application
Implement a news application that delivers stock and business news in a simplified manner, understandable even by a 10-year-old. The application will also use AI to predict the potential economic and other impacts of the news.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/AIAnalysis.tsx",
"src/components/Footer.tsx",
"src/components/Header.tsx",
"src/components/NewsCard.tsx",
"src/components/NewsGrid.tsx",
"src/components/StockTicker.tsx",
"src/pages/NewsDetail.tsx",
"src/utils/aiService.ts",
"src/utils/newsService.ts",
"src/utils/stocksService.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement news application\n\nImplement a news application that delivers stock and business news in a simplified manner, understandable even by a 10-year-old. The application will also use AI to predict the potential economic and other impacts of the news.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/AIAnalysis.tsx\",\n \"src/components/Footer.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/NewsCard.tsx\",\n \"src/components/NewsGrid.tsx\",\n \"src/components/StockTicker.tsx\",\n \"src/pages/NewsDetail.tsx\",\n \"src/utils/aiService.ts\",\n \"src/utils/newsService.ts\",\n \"src/utils/stocksService.ts\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Enhance news and stock data
\
Implement interactive news and stock data with country information and important world news.
|
{
"changed": [
"src/components/NewsGrid.tsx",
"src/components/StockTicker.tsx",
"src/pages/Index.tsx",
"src/utils/newsService.ts",
"src/utils/stocksService.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"loadData"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nEnhance news and stock data\n\n\\\nImplement interactive news and stock data with country information and important world news.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"loadData\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsGrid.tsx\",\n \"src/components/StockTicker.tsx\",\n \"src/pages/Index.tsx\",\n \"src/utils/newsService.ts\",\n \"src/utils/stocksService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Resolve TypeScript errors
The type NewsItem was updated to include the optional property 'country' to resolve TypeScript errors.
|
{
"changed": [
"src/components/NewsCard.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve TypeScript errors\n\nThe type NewsItem was updated to include the optional property 'country' to resolve TypeScript errors.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsCard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Add country information
The code was changed to include country information.
|
{
"changed": [
"src/components/NewsGrid.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd country information\n\nThe code was changed to include country information.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsGrid.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Enhance country filter
Improves the country filter by adding flag icons next to the country names.
|
{
"changed": [
"src/components/NewsGrid.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleClickOutside"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nEnhance country filter\n\nImproves the country filter by adding flag icons next to the country names.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleClickOutside\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsGrid.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Update code based on prompt
Updates the code according to the user's prompt.
|
{
"changed": [
"src/components/NewsCard.tsx",
"src/components/NewsGrid.tsx"
],
"created": [
"src/components/SourceBadge.tsx",
"src/components/SourceFilter.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUpdate code based on prompt\n\nUpdates the code according to the user's prompt.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsCard.tsx\",\n \"src/components/NewsGrid.tsx\"\n ],\n \"created\": [\n \"src/components/SourceBadge.tsx\",\n \"src/components/SourceFilter.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Connect news API
|
{
"changed": [
"src/utils/newsService.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nConnect news API\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/utils/newsService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Add subpage routes
Add routes for markets, stocks, learn, and other subpages.
|
{
"changed": [
"src/App.tsx",
"src/components/Header.tsx"
],
"created": [
"src/pages/About.tsx",
"src/pages/Contact.tsx",
"src/pages/Learn.tsx",
"src/pages/Markets.tsx",
"src/pages/Stocks.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd subpage routes\n\nAdd routes for markets, stocks, learn, and other subpages.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/Header.tsx\"\n ],\n \"created\": [\n \"src/pages/About.tsx\",\n \"src/pages/Contact.tsx\",\n \"src/pages/Learn.tsx\",\n \"src/pages/Markets.tsx\",\n \"src/pages/Stocks.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Image loading and button functionality
Fixes image loading issues, implements "Get Started" page, and adds functionality to the bell icon.
|
{
"changed": [
"src/App.tsx",
"src/components/Header.tsx",
"src/pages/Index.tsx"
],
"created": [
"src/components/NotificationPanel.tsx",
"src/hooks/useNotifications.tsx",
"src/pages/GetStarted.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Image loading and button functionality\n\nFixes image loading issues, implements \"Get Started\" page, and adds functionality to the bell icon.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/Header.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/NotificationPanel.tsx\",\n \"src/hooks/useNotifications.tsx\",\n \"src/pages/GetStarted.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Remove Get Started from header
Remove the "Get Started" link from the header navigation.
|
{
"changed": [
"src/components/Header.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 10 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove Get Started from header\n\nRemove the \"Get Started\" link from the header navigation.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Refactor: Implement real news fetching
This commit refactors the news fetching logic to use a real news API instead of mock data. It updates the `fetchLatestNews`, `fetchNewsByCategory`, `fetchNewsByCountry`, and `fetchNewsById` functions in `src/utils/newsService.ts` to interact with the News API. It also includes error handling and fallback mechanisms to ensure the application functions correctly even if the API is unavailable.
|
{
"changed": [
"src/pages/Index.tsx",
"src/utils/newsService.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 11 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Implement real news fetching\n\nThis commit refactors the news fetching logic to use a real news API instead of mock data. It updates the `fetchLatestNews`, `fetchNewsByCategory`, `fetchNewsByCountry`, and `fetchNewsById` functions in `src/utils/newsService.ts` to interact with the News API. It also includes error handling and fallback mechanisms to ensure the application functions correctly even if the API is unavailable.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Index.tsx\",\n \"src/utils/newsService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Resolve type error in Index.tsx
The error "Type '"warning"' is not assignable to type '"default" | "destructive"'" indicates an issue with the `variant` prop of the `Alert` component in `src/pages/Index.tsx`. This commit addresses the type mismatch by ensuring the correct variant is used.
|
{
"changed": [
"src/components/ui/alert.tsx",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 12 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve type error in Index.tsx\n\nThe error \"Type '\"warning\"' is not assignable to type '\"default\" | \"destructive\"'\" indicates an issue with the `variant` prop of the `Alert` component in `src/pages/Index.tsx`. This commit addresses the type mismatch by ensuring the correct variant is used.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ui/alert.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Add news API key
Add the provided API key to the application.
|
{
"changed": [
"src/utils/newsService.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 13 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd news API key\n\nAdd the provided API key to the application.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/utils/newsService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Refactor: Improve code suggestions
Improve code suggestions based on feedback.
|
{
"changed": [
"src/components/NewsGrid.tsx",
"src/hooks/use-toast.ts",
"src/pages/Index.tsx"
],
"created": [
"src/components/ApiErrorAlert.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 14 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Improve code suggestions\n\nImprove code suggestions based on feedback.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/NewsGrid.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [\n \"src/components/ApiErrorAlert.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Import ToasterToast from toast component
The ToasterToast type was not being imported correctly, causing a build error. This commit fixes the import statement to correctly import the type from the toast component.
|
{
"changed": [
"src/components/ui/toast.tsx",
"src/components/ui/use-toast.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 15 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Import ToasterToast from toast component\n\nThe ToasterToast type was not being imported correctly, causing a build error. This commit fixes the import statement to correctly import the type from the toast component.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/use-toast.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Remove invalid toast properties
Remove the `duration` and `variant` properties from the `toast` calls in `NewsGrid.tsx`, `useNotifications.tsx`, and `Index.tsx` as they are not valid properties for the `toast` function.
|
{
"changed": [
"src/components/ui/toast.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-toast.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 16 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Remove invalid toast properties\n\nRemove the `duration` and `variant` properties from the `toast` calls in `NewsGrid.tsx`, `useNotifications.tsx`, and `Index.tsx` as they are not valid properties for the `toast` function.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-toast.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Toaster component variant type error
The Toaster component was throwing a type error related to the `variant` prop. This commit fixes the error by ensuring the `variant` prop is correctly typed as `"default" | "destructive"`.
|
{
"changed": [
"src/components/ui/toast.tsx",
"src/hooks/use-toast.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 17 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Toaster component variant type error\n\nThe Toaster component was throwing a type error related to the `variant` prop. This commit fixes the error by ensuring the `variant` prop is correctly typed as `\"default\" | \"destructive\"`.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ui/toast.tsx\",\n \"src/hooks/use-toast.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Refactor: Remove unused code
|
{
"changed": [
"src/App.tsx",
"src/components/Header.tsx",
"src/components/ui/toast.tsx",
"src/hooks/use-toast.ts"
],
"created": [
"src/components/NotificationCenter.tsx",
"src/pages/Notifications.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"Header",
"handleScroll",
"toggleMenu"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 18 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Remove unused code\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"handleScroll\",\n \"toggleMenu\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/hooks/use-toast.ts\"\n ],\n \"created\": [\n \"src/components/NotificationCenter.tsx\",\n \"src/pages/Notifications.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Resolve 'useMediaQuery' import error
The error indicates that the `useMediaQuery` function is not exported from the `use-mobile.tsx` file. This commit addresses the issue by either exporting the function or correcting the import statement in `Header.tsx`.
|
{
"changed": [
"src/components/Header.tsx",
"src/components/NotificationCenter.tsx",
"src/pages/Notifications.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getNotificationIcon",
"getNotificationTypeLabel"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 19 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Resolve 'useMediaQuery' import error\n\nThe error indicates that the `useMediaQuery` function is not exported from the `use-mobile.tsx` file. This commit addresses the issue by either exporting the function or correcting the import statement in `Header.tsx`.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getNotificationIcon\",\n \"getNotificationTypeLabel\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/Header.tsx\",\n \"src/components/NotificationCenter.tsx\",\n \"src/pages/Notifications.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Refactor: Replace API key and update warnings
- Removed the hardcoded API key from the news service.
- Updated the API error alert to indicate the use of sample data and provide context about the limitations of the free API plan.
- Modified the `fetchLatestNews` and `fetchNewsByCategory` functions to fallback to mock data when the API request fails.
- Added a check to determine if mock data is being used and display the appropriate warning message.
|
{
"changed": [
"src/components/ApiErrorAlert.tsx",
"src/pages/Index.tsx",
"src/utils/newsService.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 20 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Replace API key and update warnings\n\n- Removed the hardcoded API key from the news service.\n- Updated the API error alert to indicate the use of sample data and provide context about the limitations of the free API plan.\n- Modified the `fetchLatestNews` and `fetchNewsByCategory` functions to fallback to mock data when the API request fails.\n- Added a check to determine if mock data is being used and display the appropriate warning message.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ApiErrorAlert.tsx\",\n \"src/pages/Index.tsx\",\n \"src/utils/newsService.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Add auto-close to ApiErrorAlert
Adds an auto-close feature to the ApiErrorAlert component after 5 minutes.
|
{
"changed": [
"src/components/ApiErrorAlert.tsx",
"src/pages/Index.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 21 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Add auto-close to ApiErrorAlert\n\nAdds an auto-close feature to the ApiErrorAlert component after 5 minutes.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/ApiErrorAlert.tsx\",\n \"src/pages/Index.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Add portfolio feature
Implement portfolio functionality for stock selection and news integration.
|
{
"changed": [
"src/App.tsx",
"src/utils/stocksService.ts"
],
"created": [
"src/pages/Portfolio.tsx",
"src/utils/portfolioService.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 22 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd portfolio feature\n\nImplement portfolio functionality for stock selection and news integration.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/utils/stocksService.ts\"\n ],\n \"created\": [\n \"src/pages/Portfolio.tsx\",\n \"src/utils/portfolioService.ts\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Refactor: Exclude API files
Exclude files containing "Api" from the project.
|
{
"changed": [
"src/App.tsx",
"src/index.css",
"src/utils/portfolioService.ts"
],
"created": [
"src/components/AlertsChecker.tsx",
"src/components/HeaderActions.tsx",
"src/components/StockAlertsManager.tsx",
"src/components/StockChart.tsx",
"src/components/StockPriceAlertForm.tsx",
"src/components/ThemeModeToggle.tsx",
"src/components/ThemeProvider.tsx",
"src/components/WatchlistButton.tsx",
"src/components/WatchlistPanel.tsx",
"src/utils/stockAlertsService.ts",
"src/utils/watchlistService.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
".page-transition-exit",
"webkit-scrollbar",
".text-balance",
".com",
"html",
".glass-dark",
".card-hover",
"components",
".page-transition-exit-active",
".ticker-container",
"webkit-scrollbar-thumb",
"h6",
"base",
".googleapis",
"root",
"hover",
"webkit-scrollbar-track",
".page-transition-enter-active",
"body",
".ticker-content",
".glass"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"getPortfolio"
],
"keys": null,
"path": "src/utils/portfolioService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Portfolio",
"loadPortfolioData",
"handleRefresh",
"handleAddStock",
"handleRemoveStock",
"formatCurrency",
"formatPercentage"
],
"keys": null,
"path": "src/pages/Portfolio.tsx",
"selectors": null
}
] | 23 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Exclude API files\n\nExclude files containing \"Api\" from the project.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-balance\",\n \".com\",\n \"html\",\n \".glass-dark\",\n \".card-hover\",\n \"components\",\n \".page-transition-exit-active\",\n \".ticker-container\",\n \"webkit-scrollbar-thumb\",\n \"h6\",\n \"base\",\n \".googleapis\",\n \"root\",\n \"hover\",\n \"webkit-scrollbar-track\",\n \".page-transition-enter-active\",\n \"body\",\n \".ticker-content\",\n \".glass\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getPortfolio\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/portfolioService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Portfolio\",\n \"loadPortfolioData\",\n \"handleRefresh\",\n \"handleAddStock\",\n \"handleRemoveStock\",\n \"formatCurrency\",\n \"formatPercentage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Portfolio.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/utils/portfolioService.ts\"\n ],\n \"created\": [\n \"src/components/AlertsChecker.tsx\",\n \"src/components/HeaderActions.tsx\",\n \"src/components/StockAlertsManager.tsx\",\n \"src/components/StockChart.tsx\",\n \"src/components/StockPriceAlertForm.tsx\",\n \"src/components/ThemeModeToggle.tsx\",\n \"src/components/ThemeProvider.tsx\",\n \"src/components/WatchlistButton.tsx\",\n \"src/components/WatchlistPanel.tsx\",\n \"src/utils/stockAlertsService.ts\",\n \"src/utils/watchlistService.ts\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Remove portfolio, about, and contact pages
Removed the portfolio, about, and contact pages from the application.
|
{
"changed": [
"src/App.tsx",
"src/components/Footer.tsx",
"src/components/Header.tsx",
"src/pages/Portfolio.tsx"
],
"created": [
"src/components/PortfolioGuide.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
"fadeIn",
".bg-finance-negative",
"root",
".bg-finance-positive",
".text-finance-neutral",
"hover",
".text-finance-positive",
"from",
"to",
".bg-finance-neutral",
".card-hover",
"ticker",
".text-finance-negative",
".dark",
".animate-fadeIn",
"base",
".animate-ticker"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useTheme",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeProvider.tsx",
"selectors": null
},
{
"functions": [
"AlertsChecker",
"checkAlerts"
],
"keys": null,
"path": "src/components/AlertsChecker.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"loadWatchlist",
"handleRemove",
"startEditingNote",
"saveNote"
],
"keys": null,
"path": "src/components/WatchlistPanel.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"loadAlerts",
"handleToggleStatus",
"handleRemoveAlert"
],
"keys": null,
"path": "src/components/StockAlertsManager.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"formatData"
],
"keys": null,
"path": "src/components/StockChart.tsx",
"selectors": null
},
{
"functions": [
"HeaderActions"
],
"keys": null,
"path": "src/components/HeaderActions.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"getWatchlist",
"addToWatchlist",
"isInWatchlist"
],
"keys": null,
"path": "src/utils/watchlistService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"getPortfolio",
"getPortfolioSummary"
],
"keys": null,
"path": "src/utils/portfolioService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Portfolio",
"loadPortfolioData",
"handleRefresh",
"handleAddStock",
"handleRemoveStock",
"formatCurrency",
"formatPercentage"
],
"keys": null,
"path": "src/pages/Portfolio.tsx",
"selectors": null
}
] | 24 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRemove portfolio, about, and contact pages\n\nRemoved the portfolio, about, and contact pages from the application.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \"fadeIn\",\n \".bg-finance-negative\",\n \"root\",\n \".bg-finance-positive\",\n \".text-finance-neutral\",\n \"hover\",\n \".text-finance-positive\",\n \"from\",\n \"to\",\n \".bg-finance-neutral\",\n \".card-hover\",\n \"ticker\",\n \".text-finance-negative\",\n \".dark\",\n \".animate-fadeIn\",\n \"base\",\n \".animate-ticker\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useTheme\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertsChecker\",\n \"checkAlerts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AlertsChecker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadWatchlist\",\n \"handleRemove\",\n \"startEditingNote\",\n \"saveNote\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WatchlistPanel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadAlerts\",\n \"handleToggleStatus\",\n \"handleRemoveAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockAlertsManager.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockChart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"HeaderActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/HeaderActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getWatchlist\",\n \"addToWatchlist\",\n \"isInWatchlist\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/watchlistService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getPortfolio\",\n \"getPortfolioSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/portfolioService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Portfolio\",\n \"loadPortfolioData\",\n \"handleRefresh\",\n \"handleAddStock\",\n \"handleRemoveStock\",\n \"formatCurrency\",\n \"formatPercentage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Portfolio.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/Footer.tsx\",\n \"src/components/Header.tsx\",\n \"src/pages/Portfolio.tsx\"\n ],\n \"created\": [\n \"src/components/PortfolioGuide.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: Portfolio UI and functionality
- Changed portfolio language to English.
- Reduced the API error alert time to 5 seconds.
- Added functionality to add stocks to the portfolio.
|
{
"changed": [
"src/components/AlertsChecker.tsx",
"src/components/ApiErrorAlert.tsx",
"src/components/PortfolioGuide.tsx",
"src/pages/Portfolio.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
"fadeIn",
".bg-finance-negative",
"root",
".bg-finance-positive",
".text-finance-neutral",
"hover",
".text-finance-positive",
"from",
"to",
".bg-finance-neutral",
".card-hover",
"ticker",
".text-finance-negative",
".dark",
".animate-fadeIn",
"base",
".animate-ticker"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useTheme",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeProvider.tsx",
"selectors": null
},
{
"functions": [
"AlertsChecker",
"checkAlerts"
],
"keys": null,
"path": "src/components/AlertsChecker.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"loadWatchlist",
"handleRemove",
"startEditingNote",
"saveNote"
],
"keys": null,
"path": "src/components/WatchlistPanel.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"loadAlerts",
"handleToggleStatus",
"handleRemoveAlert"
],
"keys": null,
"path": "src/components/StockAlertsManager.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"formatData"
],
"keys": null,
"path": "src/components/StockChart.tsx",
"selectors": null
},
{
"functions": [
"HeaderActions"
],
"keys": null,
"path": "src/components/HeaderActions.tsx",
"selectors": null
},
{
"functions": [
"PortfolioGuide"
],
"keys": null,
"path": "src/components/PortfolioGuide.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"getWatchlist",
"addToWatchlist",
"isInWatchlist"
],
"keys": null,
"path": "src/utils/watchlistService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"getPortfolio",
"getPortfolioSummary"
],
"keys": null,
"path": "src/utils/portfolioService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Portfolio",
"loadPortfolioData",
"handleRefresh",
"handleAddStock",
"handleRemoveStock",
"formatCurrency",
"formatPercentage"
],
"keys": null,
"path": "src/pages/Portfolio.tsx",
"selectors": null
}
] | 25 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Portfolio UI and functionality\n\n- Changed portfolio language to English.\n- Reduced the API error alert time to 5 seconds.\n- Added functionality to add stocks to the portfolio.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \"fadeIn\",\n \".bg-finance-negative\",\n \"root\",\n \".bg-finance-positive\",\n \".text-finance-neutral\",\n \"hover\",\n \".text-finance-positive\",\n \"from\",\n \"to\",\n \".bg-finance-neutral\",\n \".card-hover\",\n \"ticker\",\n \".text-finance-negative\",\n \".dark\",\n \".animate-fadeIn\",\n \"base\",\n \".animate-ticker\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useTheme\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertsChecker\",\n \"checkAlerts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AlertsChecker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadWatchlist\",\n \"handleRemove\",\n \"startEditingNote\",\n \"saveNote\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WatchlistPanel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadAlerts\",\n \"handleToggleStatus\",\n \"handleRemoveAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockAlertsManager.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockChart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"HeaderActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/HeaderActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PortfolioGuide\"\n ],\n \"keys\": null,\n \"path\": \"src/components/PortfolioGuide.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getWatchlist\",\n \"addToWatchlist\",\n \"isInWatchlist\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/watchlistService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getPortfolio\",\n \"getPortfolioSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/portfolioService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Portfolio\",\n \"loadPortfolioData\",\n \"handleRefresh\",\n \"handleAddStock\",\n \"handleRemoveStock\",\n \"formatCurrency\",\n \"formatPercentage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Portfolio.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AlertsChecker.tsx\",\n \"src/components/ApiErrorAlert.tsx\",\n \"src/components/PortfolioGuide.tsx\",\n \"src/pages/Portfolio.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
aakash-makhloga/news-nugget-wizard-47
|
Fix: News card image display
- Added a fallback image if the news item doesn't have an image URL.
- Ensured images are displayed correctly in the news cards.
|
{
"changed": [
"src/components/AlertsChecker.tsx",
"src/components/ApiErrorAlert.tsx",
"src/components/NewsCard.tsx",
"src/pages/Portfolio.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
"body",
"fadeIn",
".bg-finance-negative",
"root",
".bg-finance-positive",
".text-finance-neutral",
"hover",
".text-finance-positive",
"from",
"to",
".bg-finance-neutral",
".card-hover",
"ticker",
".text-finance-negative",
".dark",
".animate-fadeIn",
"base",
".animate-ticker"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useTheme",
"toggleTheme"
],
"keys": null,
"path": "src/components/ThemeProvider.tsx",
"selectors": null
},
{
"functions": [
"AlertsChecker",
"checkForAlerts"
],
"keys": null,
"path": "src/components/AlertsChecker.tsx",
"selectors": null
},
{
"functions": [
"Footer"
],
"keys": null,
"path": "src/components/Footer.tsx",
"selectors": null
},
{
"functions": [
"NewsCard",
"timeAgo",
"sentimentIcon",
"sentimentColor"
],
"keys": null,
"path": "src/components/NewsCard.tsx",
"selectors": null
},
{
"functions": [
"NewsGrid",
"handleCountrySelect",
"handleSourceSelect",
"handleClickOutside",
"renderCountryFlag"
],
"keys": null,
"path": "src/components/NewsGrid.tsx",
"selectors": null
},
{
"functions": [
"StockTicker",
"loadStockData"
],
"keys": null,
"path": "src/components/StockTicker.tsx",
"selectors": null
},
{
"functions": [
"ApiErrorAlert"
],
"keys": null,
"path": "src/components/ApiErrorAlert.tsx",
"selectors": null
},
{
"functions": [
"loadWatchlist",
"handleRemove",
"startEditingNote",
"saveNote"
],
"keys": null,
"path": "src/components/WatchlistPanel.tsx",
"selectors": null
},
{
"functions": [
"getSourceReliabilityIcon"
],
"keys": null,
"path": "src/components/SourceBadge.tsx",
"selectors": null
},
{
"functions": [
"AIAnalysis",
"renderImpactIcon",
"renderImpactColor",
"renderConfidenceBar"
],
"keys": null,
"path": "src/components/AIAnalysis.tsx",
"selectors": null
},
{
"functions": [
"NotificationCenter",
"handleMarkAllAsRead",
"getNotificationIcon"
],
"keys": null,
"path": "src/components/NotificationCenter.tsx",
"selectors": null
},
{
"functions": [
"loadAlerts",
"handleToggleStatus",
"handleRemoveAlert"
],
"keys": null,
"path": "src/components/StockAlertsManager.tsx",
"selectors": null
},
{
"functions": [
"Header",
"isActive",
"handleScroll"
],
"keys": null,
"path": "src/components/Header.tsx",
"selectors": null
},
{
"functions": [
"formatData"
],
"keys": null,
"path": "src/components/StockChart.tsx",
"selectors": null
},
{
"functions": [
"HeaderActions"
],
"keys": null,
"path": "src/components/HeaderActions.tsx",
"selectors": null
},
{
"functions": [
"PortfolioGuide"
],
"keys": null,
"path": "src/components/PortfolioGuide.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"determineCategory",
"determineCountry",
"catch"
],
"keys": null,
"path": "src/utils/newsService.ts",
"selectors": null
},
{
"functions": [
"getWatchlist",
"addToWatchlist",
"isInWatchlist"
],
"keys": null,
"path": "src/utils/watchlistService.ts",
"selectors": null
},
{
"functions": [
"generateMockHistory"
],
"keys": null,
"path": "src/utils/stocksService.ts",
"selectors": null
},
{
"functions": [
"getPortfolio",
"getPortfolioSummary"
],
"keys": null,
"path": "src/utils/portfolioService.ts",
"selectors": null
},
{
"functions": [
"useNotifications",
"toggleNotificationPanel",
"markAsRead",
"markAllAsRead",
"clearAllNotifications"
],
"keys": null,
"path": "src/hooks/useNotifications.tsx",
"selectors": null
},
{
"functions": [
"generateId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Contact",
"handleSubmit"
],
"keys": null,
"path": "src/pages/Contact.tsx",
"selectors": null
},
{
"functions": [
"Notifications",
"handleMarkAllAsRead",
"handleClearAll",
"getFilteredNotifications",
"getNotificationIcon",
"getEmptyStateMessage"
],
"keys": null,
"path": "src/pages/Notifications.tsx",
"selectors": null
},
{
"functions": [
"GetStarted"
],
"keys": null,
"path": "src/pages/GetStarted.tsx",
"selectors": null
},
{
"functions": [
"NewsDetail",
"loadData",
"formatDate"
],
"keys": null,
"path": "src/pages/NewsDetail.tsx",
"selectors": null
},
{
"functions": [
"Stocks",
"handleSearchChange",
"handleSelectStock"
],
"keys": null,
"path": "src/pages/Stocks.tsx",
"selectors": null
},
{
"functions": [
"About"
],
"keys": null,
"path": "src/pages/About.tsx",
"selectors": null
},
{
"functions": [
"Learn"
],
"keys": null,
"path": "src/pages/Learn.tsx",
"selectors": null
},
{
"functions": [
"Index",
"handleCountryFilter",
"handleRefresh"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"Markets"
],
"keys": null,
"path": "src/pages/Markets.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"Portfolio",
"loadPortfolioData",
"handleRefresh",
"handleAddStock",
"handleRemoveStock",
"formatCurrency",
"formatPercentage"
],
"keys": null,
"path": "src/pages/Portfolio.tsx",
"selectors": null
}
] | 26 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: News card image display\n\n- Added a fallback image if the news item doesn't have an image URL.\n- Ensured images are displayed correctly in the news cards.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \"body\",\n \"fadeIn\",\n \".bg-finance-negative\",\n \"root\",\n \".bg-finance-positive\",\n \".text-finance-neutral\",\n \"hover\",\n \".text-finance-positive\",\n \"from\",\n \"to\",\n \".bg-finance-neutral\",\n \".card-hover\",\n \"ticker\",\n \".text-finance-negative\",\n \".dark\",\n \".animate-fadeIn\",\n \"base\",\n \".animate-ticker\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useTheme\",\n \"toggleTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ThemeProvider.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertsChecker\",\n \"checkForAlerts\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AlertsChecker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Footer\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Footer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsCard\",\n \"timeAgo\",\n \"sentimentIcon\",\n \"sentimentColor\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsGrid\",\n \"handleCountrySelect\",\n \"handleSourceSelect\",\n \"handleClickOutside\",\n \"renderCountryFlag\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NewsGrid.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StockTicker\",\n \"loadStockData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockTicker.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ApiErrorAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ApiErrorAlert.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadWatchlist\",\n \"handleRemove\",\n \"startEditingNote\",\n \"saveNote\"\n ],\n \"keys\": null,\n \"path\": \"src/components/WatchlistPanel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getSourceReliabilityIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/SourceBadge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AIAnalysis\",\n \"renderImpactIcon\",\n \"renderImpactColor\",\n \"renderConfidenceBar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/AIAnalysis.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotificationCenter\",\n \"handleMarkAllAsRead\",\n \"getNotificationIcon\"\n ],\n \"keys\": null,\n \"path\": \"src/components/NotificationCenter.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"loadAlerts\",\n \"handleToggleStatus\",\n \"handleRemoveAlert\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockAlertsManager.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Header\",\n \"isActive\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/Header.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"formatData\"\n ],\n \"keys\": null,\n \"path\": \"src/components/StockChart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"HeaderActions\"\n ],\n \"keys\": null,\n \"path\": \"src/components/HeaderActions.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"PortfolioGuide\"\n ],\n \"keys\": null,\n \"path\": \"src/components/PortfolioGuide.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"determineCategory\",\n \"determineCountry\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/newsService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getWatchlist\",\n \"addToWatchlist\",\n \"isInWatchlist\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/watchlistService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateMockHistory\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/stocksService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getPortfolio\",\n \"getPortfolioSummary\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/portfolioService.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useNotifications\",\n \"toggleNotificationPanel\",\n \"markAsRead\",\n \"markAllAsRead\",\n \"clearAllNotifications\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/useNotifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"generateId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Contact\",\n \"handleSubmit\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Contact.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Notifications\",\n \"handleMarkAllAsRead\",\n \"handleClearAll\",\n \"getFilteredNotifications\",\n \"getNotificationIcon\",\n \"getEmptyStateMessage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Notifications.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GetStarted\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/GetStarted.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NewsDetail\",\n \"loadData\",\n \"formatDate\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NewsDetail.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Stocks\",\n \"handleSearchChange\",\n \"handleSelectStock\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Stocks.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"About\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/About.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Learn\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Learn.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\",\n \"handleCountryFilter\",\n \"handleRefresh\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Markets\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Markets.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Portfolio\",\n \"loadPortfolioData\",\n \"handleRefresh\",\n \"handleAddStock\",\n \"handleRemoveStock\",\n \"formatCurrency\",\n \"formatPercentage\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Portfolio.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/AlertsChecker.tsx\",\n \"src/components/ApiErrorAlert.tsx\",\n \"src/components/NewsCard.tsx\",\n \"src/pages/Portfolio.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/placeholder.svg",
"public/robots.txt",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/placeholder.svg\",\n \"public/robots.txt\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Add initial project setup
Implement basic project structure and dependencies.
|
{
"changed": [
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/AudienceSelector.tsx",
"src/components/FileUpload.tsx",
"src/components/Header.tsx",
"src/components/PresentationPreview.tsx",
"src/components/ProcessingView.tsx",
"src/components/ThemeSelector.tsx",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd initial project setup\n\nImplement basic project structure and dependencies.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/AudienceSelector.tsx\",\n \"src/components/FileUpload.tsx\",\n \"src/components/Header.tsx\",\n \"src/components/PresentationPreview.tsx\",\n \"src/components/ProcessingView.tsx\",\n \"src/components/ThemeSelector.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\"\n ],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Fix: Incorrect presentation generation
The AI was generating the wrong presentation content for uploaded PDFs. This commit addresses the issue.
|
{
"changed": [
"src/components/FileUpload.tsx",
"src/components/PresentationPreview.tsx",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".animate-delay-200",
"webkit-scrollbar-track",
".progress-value",
".animate-delay-100",
"body",
".page-transition",
".active",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"navigateSlide",
"getSlideBackground",
"getAccentColor",
"renderSlideContent"
],
"keys": null,
"path": "src/components/PresentationPreview.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Incorrect presentation generation\n\nThe AI was generating the wrong presentation content for uploaded PDFs. This commit addresses the issue.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".progress-value\",\n \".animate-delay-100\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"navigateSlide\",\n \"getSlideBackground\",\n \"getAccentColor\",\n \"renderSlideContent\"\n ],\n \"keys\": null,\n \"path\": \"src/components/PresentationPreview.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/FileUpload.tsx\",\n \"src/components/PresentationPreview.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Refactor: Split PresentationPreview component
Split the PresentationPreview component into smaller, more manageable components to improve readability and maintainability.
|
{
"changed": [
"src/components/PresentationPreview.tsx"
],
"created": [
"src/components/presentation/PresentationActions.tsx",
"src/components/presentation/SlideControls.tsx",
"src/components/presentation/SlideRenderer.tsx",
"src/components/presentation/SlideThumbnail.tsx",
"src/hooks/usePresentationSlides.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".animate-delay-200",
"webkit-scrollbar-track",
".progress-value",
".animate-delay-100",
"body",
".page-transition",
".active",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
},
{
"functions": [
"switch"
],
"keys": null,
"path": "src/components/PresentationPreview.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Split PresentationPreview component\n\nSplit the PresentationPreview component into smaller, more manageable components to improve readability and maintainability.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".progress-value\",\n \".animate-delay-100\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"switch\"\n ],\n \"keys\": null,\n \"path\": \"src/components/PresentationPreview.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/PresentationPreview.tsx\"\n ],\n \"created\": [\n \"src/components/presentation/PresentationActions.tsx\",\n \"src/components/presentation/SlideControls.tsx\",\n \"src/components/presentation/SlideRenderer.tsx\",\n \"src/components/presentation/SlideThumbnail.tsx\",\n \"src/hooks/usePresentationSlides.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Refactor: Implement content extraction from files
Update the `extractFileContent` function to use appropriate libraries or APIs for PDF and DOCX files in a production environment.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/components/presentation/PresentationActions.tsx",
"src/utils/fileUtils.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".animate-delay-200",
"webkit-scrollbar-track",
".progress-value",
".animate-delay-100",
"body",
".page-transition",
".active",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Implement content extraction from files\n\nUpdate the `extractFileContent` function to use appropriate libraries or APIs for PDF and DOCX files in a production environment.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".progress-value\",\n \".animate-delay-100\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/components/presentation/PresentationActions.tsx\",\n \"src/utils/fileUtils.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Fix: Improve presentation design and functionality
- Improve slide content layout for better readability.
- Fix color theme application.
- Implement file download functionality.
- Ensure 5-page presentation generation with title slide.
- Add dark mode toggle button.
|
{
"changed": [
"src/App.tsx",
"src/components/PresentationPreview.tsx",
"src/components/presentation/PresentationActions.tsx",
"src/components/presentation/SlideRenderer.tsx",
"src/hooks/usePresentationSlides.tsx",
"src/index.css",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts"
],
"created": [
"src/hooks/use-theme.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".animate-delay-200",
"webkit-scrollbar-track",
".progress-value",
".animate-delay-100",
"body",
".page-transition",
".active",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension",
"catch"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix: Improve presentation design and functionality\n\n- Improve slide content layout for better readability.\n- Fix color theme application.\n- Implement file download functionality.\n- Ensure 5-page presentation generation with title slide.\n- Add dark mode toggle button.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".progress-value\",\n \".animate-delay-100\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\",\n \"catch\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/PresentationPreview.tsx\",\n \"src/components/presentation/PresentationActions.tsx\",\n \"src/components/presentation/SlideRenderer.tsx\",\n \"src/hooks/usePresentationSlides.tsx\",\n \"src/index.css\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\"\n ],\n \"created\": [\n \"src/hooks/use-theme.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Add presentation editing features
Implement editing functionality for generated presentations, including font color, size, undo/redo, theme changes, image/text insertion, and character limits for content extraction and slide display.
|
{
"changed": [
"src/components/PresentationPreview.tsx",
"src/components/presentation/PresentationActions.tsx",
"src/components/presentation/SlideRenderer.tsx",
"src/hooks/usePresentationSlides.tsx",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts"
],
"created": [
"src/components/presentation/PresentationEditor.tsx",
"src/utils/pdfExtractor.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".slide-bg-vibrant",
".animate-delay-200",
"webkit-scrollbar-track",
".slide-bg-minimal",
".slide-bg-corporate",
".progress-value",
".animate-delay-100",
".slide-bg-modern",
"body",
".page-transition",
".active",
".slide-bg-classic",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension",
"catch",
"generatePowerPointFile"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"toggleTheme",
"useTheme"
],
"keys": null,
"path": "src/hooks/use-theme.tsx",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd presentation editing features\n\nImplement editing functionality for generated presentations, including font color, size, undo/redo, theme changes, image/text insertion, and character limits for content extraction and slide display.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".slide-bg-vibrant\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".slide-bg-minimal\",\n \".slide-bg-corporate\",\n \".progress-value\",\n \".animate-delay-100\",\n \".slide-bg-modern\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".slide-bg-classic\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\",\n \"catch\",\n \"generatePowerPointFile\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"toggleTheme\",\n \"useTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-theme.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/PresentationPreview.tsx\",\n \"src/components/presentation/PresentationActions.tsx\",\n \"src/components/presentation/SlideRenderer.tsx\",\n \"src/hooks/usePresentationSlides.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\"\n ],\n \"created\": [\n \"src/components/presentation/PresentationEditor.tsx\",\n \"src/utils/pdfExtractor.ts\"\n ],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Refactor: Extract content and generate PPT
Extract content from uploaded file and generate PPT with topic names.
|
{
"changed": [
"src/components/FileUpload.tsx",
"src/hooks/usePresentationSlides.tsx",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts",
"src/utils/pdfExtractor.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".slide-bg-vibrant",
".animate-delay-200",
"webkit-scrollbar-track",
".slide-bg-minimal",
".slide-bg-corporate",
".progress-value",
".animate-delay-100",
".slide-bg-modern",
"body",
".page-transition",
".active",
".slide-bg-classic",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getDocumentTitle"
],
"keys": null,
"path": "src/utils/pdfExtractor.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension",
"generatePowerPointFile"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"toggleTheme",
"useTheme"
],
"keys": null,
"path": "src/hooks/use-theme.tsx",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleThemeChange",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 7 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Extract content and generate PPT\n\nExtract content from uploaded file and generate PPT with topic names.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".slide-bg-vibrant\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".slide-bg-minimal\",\n \".slide-bg-corporate\",\n \".progress-value\",\n \".animate-delay-100\",\n \".slide-bg-modern\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".slide-bg-classic\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDocumentTitle\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/pdfExtractor.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\",\n \"generatePowerPointFile\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"toggleTheme\",\n \"useTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-theme.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleThemeChange\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/FileUpload.tsx\",\n \"src/hooks/usePresentationSlides.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\",\n \"src/utils/pdfExtractor.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Add PDF text extraction and summarization
Implement PDF text extraction, summarization, and download functionality within the presentation preview.
|
{
"changed": [
"src/components/FileUpload.tsx",
"src/pages/Dashboard.tsx",
"src/utils/fileUtils.ts",
"src/utils/pdfExtractor.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".slide-bg-vibrant",
".animate-delay-200",
"webkit-scrollbar-track",
".slide-bg-minimal",
".slide-bg-corporate",
".progress-value",
".animate-delay-100",
".slide-bg-modern",
"body",
".page-transition",
".active",
".slide-bg-classic",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"if"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getDocumentTitle"
],
"keys": null,
"path": "src/utils/pdfExtractor.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension",
"generatePowerPointFile"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"toggleTheme",
"useTheme"
],
"keys": null,
"path": "src/hooks/use-theme.tsx",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleThemeChange",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 8 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd PDF text extraction and summarization\n\nImplement PDF text extraction, summarization, and download functionality within the presentation preview.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".slide-bg-vibrant\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".slide-bg-minimal\",\n \".slide-bg-corporate\",\n \".progress-value\",\n \".animate-delay-100\",\n \".slide-bg-modern\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".slide-bg-classic\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"if\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDocumentTitle\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/pdfExtractor.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\",\n \"generatePowerPointFile\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"toggleTheme\",\n \"useTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-theme.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleThemeChange\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/FileUpload.tsx\",\n \"src/pages/Dashboard.tsx\",\n \"src/utils/fileUtils.ts\",\n \"src/utils/pdfExtractor.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
sunil-06o/docu-presentation-wizard
|
Refactor: Change file save location
This commit changes the location where the file is saved.
|
{
"changed": [
"src/components/FileUpload.tsx",
"src/components/presentation/PresentationActions.tsx",
"src/utils/pdfExtractor.ts"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".font-inter",
"webkit-scrollbar",
".progress-bar",
".text-balance",
".com",
".drop-area",
"webkit-scrollbar-thumb",
"base",
"utilities",
".glassmorphism",
".googleapis",
"root",
".animate-delay-300",
".slide-bg-vibrant",
".animate-delay-200",
"webkit-scrollbar-track",
".slide-bg-minimal",
".slide-bg-corporate",
".progress-value",
".animate-delay-100",
".slide-bg-modern",
"body",
".page-transition",
".active",
".slide-bg-classic",
".dark"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"for"
],
"keys": null,
"path": "src/components/ProcessingView.tsx",
"selectors": null
},
{
"functions": [
"toast"
],
"keys": null,
"path": "src/components/FileUpload.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"getDocumentTitle"
],
"keys": null,
"path": "src/utils/pdfExtractor.ts",
"selectors": null
},
{
"functions": [
"validateFileType",
"validateFileSize",
"formatFileSize",
"getFileExtension",
"getFileTypeFromExtension",
"generatePowerPointFile"
],
"keys": null,
"path": "src/utils/fileUtils.ts",
"selectors": null
},
{
"functions": [
"toggleTheme",
"useTheme"
],
"keys": null,
"path": "src/hooks/use-theme.tsx",
"selectors": null
},
{
"functions": [
"usePresentationSlides",
"navigateSlide"
],
"keys": null,
"path": "src/hooks/usePresentationSlides.tsx",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"handleFileUpload",
"handleProcess",
"handleThemeChange",
"handleDownload",
"getStepContent"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 9 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nRefactor: Change file save location\n\nThis commit changes the location where the file is saved.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".font-inter\",\n \"webkit-scrollbar\",\n \".progress-bar\",\n \".text-balance\",\n \".com\",\n \".drop-area\",\n \"webkit-scrollbar-thumb\",\n \"base\",\n \"utilities\",\n \".glassmorphism\",\n \".googleapis\",\n \"root\",\n \".animate-delay-300\",\n \".slide-bg-vibrant\",\n \".animate-delay-200\",\n \"webkit-scrollbar-track\",\n \".slide-bg-minimal\",\n \".slide-bg-corporate\",\n \".progress-value\",\n \".animate-delay-100\",\n \".slide-bg-modern\",\n \"body\",\n \".page-transition\",\n \".active\",\n \".slide-bg-classic\",\n \".dark\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"for\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ProcessingView.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"toast\"\n ],\n \"keys\": null,\n \"path\": \"src/components/FileUpload.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"getDocumentTitle\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/pdfExtractor.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"validateFileType\",\n \"validateFileSize\",\n \"formatFileSize\",\n \"getFileExtension\",\n \"getFileTypeFromExtension\",\n \"generatePowerPointFile\"\n ],\n \"keys\": null,\n \"path\": \"src/utils/fileUtils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"toggleTheme\",\n \"useTheme\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-theme.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"usePresentationSlides\",\n \"navigateSlide\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/usePresentationSlides.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"handleFileUpload\",\n \"handleProcess\",\n \"handleThemeChange\",\n \"handleDownload\",\n \"getStepContent\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/components/FileUpload.tsx\",\n \"src/components/presentation/PresentationActions.tsx\",\n \"src/utils/pdfExtractor.ts\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Use tech stack vite_react_shadcn_ts
[skip gpt_engineer]
|
{
"changed": [],
"created": [
".gitignore",
"README.md",
"bun.lockb",
"components.json",
"eslint.config.js",
"index.html",
"package-lock.json",
"package.json",
"postcss.config.js",
"public/favicon.ico",
"public/og-image.png",
"public/placeholder.svg",
"src/App.css",
"src/App.tsx",
"src/components/ui/accordion.tsx",
"src/components/ui/alert-dialog.tsx",
"src/components/ui/alert.tsx",
"src/components/ui/aspect-ratio.tsx",
"src/components/ui/avatar.tsx",
"src/components/ui/badge.tsx",
"src/components/ui/breadcrumb.tsx",
"src/components/ui/button.tsx",
"src/components/ui/calendar.tsx",
"src/components/ui/card.tsx",
"src/components/ui/carousel.tsx",
"src/components/ui/chart.tsx",
"src/components/ui/checkbox.tsx",
"src/components/ui/collapsible.tsx",
"src/components/ui/command.tsx",
"src/components/ui/context-menu.tsx",
"src/components/ui/dialog.tsx",
"src/components/ui/drawer.tsx",
"src/components/ui/dropdown-menu.tsx",
"src/components/ui/form.tsx",
"src/components/ui/hover-card.tsx",
"src/components/ui/input-otp.tsx",
"src/components/ui/input.tsx",
"src/components/ui/label.tsx",
"src/components/ui/menubar.tsx",
"src/components/ui/navigation-menu.tsx",
"src/components/ui/pagination.tsx",
"src/components/ui/popover.tsx",
"src/components/ui/progress.tsx",
"src/components/ui/radio-group.tsx",
"src/components/ui/resizable.tsx",
"src/components/ui/scroll-area.tsx",
"src/components/ui/select.tsx",
"src/components/ui/separator.tsx",
"src/components/ui/sheet.tsx",
"src/components/ui/sidebar.tsx",
"src/components/ui/skeleton.tsx",
"src/components/ui/slider.tsx",
"src/components/ui/sonner.tsx",
"src/components/ui/switch.tsx",
"src/components/ui/table.tsx",
"src/components/ui/tabs.tsx",
"src/components/ui/textarea.tsx",
"src/components/ui/toast.tsx",
"src/components/ui/toaster.tsx",
"src/components/ui/toggle-group.tsx",
"src/components/ui/toggle.tsx",
"src/components/ui/tooltip.tsx",
"src/components/ui/use-toast.ts",
"src/hooks/use-mobile.tsx",
"src/hooks/use-toast.ts",
"src/index.css",
"src/lib/utils.ts",
"src/main.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx",
"src/vite-env.d.ts",
"tailwind.config.ts",
"tsconfig.app.json",
"tsconfig.json",
"tsconfig.node.json",
"vite.config.ts"
],
"deleted": []
}
|
[] | 0 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nUse tech stack vite_react_shadcn_ts\n[skip gpt_engineer]\n\n**File Tree Before:**\n[]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [],\n \"created\": [\n \".gitignore\",\n \"README.md\",\n \"bun.lockb\",\n \"components.json\",\n \"eslint.config.js\",\n \"index.html\",\n \"package-lock.json\",\n \"package.json\",\n \"postcss.config.js\",\n \"public/favicon.ico\",\n \"public/og-image.png\",\n \"public/placeholder.svg\",\n \"src/App.css\",\n \"src/App.tsx\",\n \"src/components/ui/accordion.tsx\",\n \"src/components/ui/alert-dialog.tsx\",\n \"src/components/ui/alert.tsx\",\n \"src/components/ui/aspect-ratio.tsx\",\n \"src/components/ui/avatar.tsx\",\n \"src/components/ui/badge.tsx\",\n \"src/components/ui/breadcrumb.tsx\",\n \"src/components/ui/button.tsx\",\n \"src/components/ui/calendar.tsx\",\n \"src/components/ui/card.tsx\",\n \"src/components/ui/carousel.tsx\",\n \"src/components/ui/chart.tsx\",\n \"src/components/ui/checkbox.tsx\",\n \"src/components/ui/collapsible.tsx\",\n \"src/components/ui/command.tsx\",\n \"src/components/ui/context-menu.tsx\",\n \"src/components/ui/dialog.tsx\",\n \"src/components/ui/drawer.tsx\",\n \"src/components/ui/dropdown-menu.tsx\",\n \"src/components/ui/form.tsx\",\n \"src/components/ui/hover-card.tsx\",\n \"src/components/ui/input-otp.tsx\",\n \"src/components/ui/input.tsx\",\n \"src/components/ui/label.tsx\",\n \"src/components/ui/menubar.tsx\",\n \"src/components/ui/navigation-menu.tsx\",\n \"src/components/ui/pagination.tsx\",\n \"src/components/ui/popover.tsx\",\n \"src/components/ui/progress.tsx\",\n \"src/components/ui/radio-group.tsx\",\n \"src/components/ui/resizable.tsx\",\n \"src/components/ui/scroll-area.tsx\",\n \"src/components/ui/select.tsx\",\n \"src/components/ui/separator.tsx\",\n \"src/components/ui/sheet.tsx\",\n \"src/components/ui/sidebar.tsx\",\n \"src/components/ui/skeleton.tsx\",\n \"src/components/ui/slider.tsx\",\n \"src/components/ui/sonner.tsx\",\n \"src/components/ui/switch.tsx\",\n \"src/components/ui/table.tsx\",\n \"src/components/ui/tabs.tsx\",\n \"src/components/ui/textarea.tsx\",\n \"src/components/ui/toast.tsx\",\n \"src/components/ui/toaster.tsx\",\n \"src/components/ui/toggle-group.tsx\",\n \"src/components/ui/toggle.tsx\",\n \"src/components/ui/tooltip.tsx\",\n \"src/components/ui/use-toast.ts\",\n \"src/hooks/use-mobile.tsx\",\n \"src/hooks/use-toast.ts\",\n \"src/index.css\",\n \"src/lib/utils.ts\",\n \"src/main.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\",\n \"src/vite-env.d.ts\",\n \"tailwind.config.ts\",\n \"tsconfig.app.json\",\n \"tsconfig.json\",\n \"tsconfig.node.json\",\n \"vite.config.ts\"\n ],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Implement RTMP service website
Create a website that offers an RTMP service, similar to app.streamster.io.
|
{
"changed": [
"src/App.tsx",
"src/index.css",
"src/pages/Index.tsx",
"tailwind.config.ts"
],
"created": [
"src/components/layout/Navbar.tsx",
"src/components/streaming/StreamKey.tsx",
"src/components/streaming/StreamStatus.tsx",
"src/components/ui/GlassCard.tsx",
"src/pages/Dashboard.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".dark",
"root",
"base",
"body"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 1 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement RTMP service website\n\nCreate a website that offers an RTMP service, similar to app.streamster.io.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".dark\",\n \"root\",\n \"base\",\n \"body\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/index.css\",\n \"src/pages/Index.tsx\",\n \"tailwind.config.ts\"\n ],\n \"created\": [\n \"src/components/layout/Navbar.tsx\",\n \"src/components/streaming/StreamKey.tsx\",\n \"src/components/streaming/StreamStatus.tsx\",\n \"src/components/ui/GlassCard.tsx\",\n \"src/pages/Dashboard.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Implement language selection feature
Implement the ability to switch between Arabic and English languages using a language selection button.
|
{
"changed": [
"src/App.tsx",
"src/components/layout/Navbar.tsx",
"src/index.css",
"src/pages/Dashboard.tsx",
"src/pages/Index.tsx",
"src/pages/NotFound.tsx"
],
"created": [
"src/components/layout/LanguageSwitcher.tsx",
"src/contexts/LanguageContext.tsx",
"src/translations/ar.ts",
"src/translations/en.ts"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
"#root",
"body",
".page-transition-exit",
"root",
"webkit-scrollbar",
".glass-card",
"webkit-scrollbar-thumb",
".page-transition-enter-active",
"webkit-scrollbar-track",
".page-transition-exit-active",
".glass-morph",
".dark",
"base",
"utilities"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"GlassCard"
],
"keys": null,
"path": "src/components/ui/GlassCard.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StreamKey",
"copyToClipboard",
"regenerateKey"
],
"keys": null,
"path": "src/components/streaming/StreamKey.tsx",
"selectors": null
},
{
"functions": [
"StreamStatus",
"formatDuration",
"toggleStream",
"shareStream"
],
"keys": null,
"path": "src/components/streaming/StreamStatus.tsx",
"selectors": null
},
{
"functions": [
"NavLink",
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"copyIngestUrl"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 2 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nImplement language selection feature\n\nImplement the ability to switch between Arabic and English languages using a language selection button.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \"#root\",\n \"body\",\n \".page-transition-exit\",\n \"root\",\n \"webkit-scrollbar\",\n \".glass-card\",\n \"webkit-scrollbar-thumb\",\n \".page-transition-enter-active\",\n \"webkit-scrollbar-track\",\n \".page-transition-exit-active\",\n \".glass-morph\",\n \".dark\",\n \"base\",\n \"utilities\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GlassCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/GlassCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamKey\",\n \"copyToClipboard\",\n \"regenerateKey\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamKey.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamStatus\",\n \"formatDuration\",\n \"toggleStream\",\n \"shareStream\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavLink\",\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"copyIngestUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/App.tsx\",\n \"src/components/layout/Navbar.tsx\",\n \"src/index.css\",\n \"src/pages/Dashboard.tsx\",\n \"src/pages/Index.tsx\",\n \"src/pages/NotFound.tsx\"\n ],\n \"created\": [\n \"src/components/layout/LanguageSwitcher.tsx\",\n \"src/contexts/LanguageContext.tsx\",\n \"src/translations/ar.ts\",\n \"src/translations/en.ts\"\n ],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Fix postcss parsing error
The commit fixes a postcss parsing error in index.css, likely due to unescaped special characters.
|
{
"changed": [
"src/index.css"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
"#root",
".page-transition-exit",
"webkit-scrollbar",
".text-right",
".page-transition-exit-active",
".glass-morph",
".from-accent",
"webkit-scrollbar-thumb",
".text-left",
"base",
"utilities",
"root",
".mr-2",
".flex-col-reverse",
"webkit-scrollbar-track",
".origin-left",
".ml-4",
".page-transition-enter-active",
".to-accent",
"body",
".origin-right",
".glass-card",
".dark",
".mr-4"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useLanguage",
"getInitialLanguage",
"t"
],
"keys": null,
"path": "src/contexts/LanguageContext.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"GlassCard"
],
"keys": null,
"path": "src/components/ui/GlassCard.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StreamKey",
"copyToClipboard",
"regenerateKey"
],
"keys": null,
"path": "src/components/streaming/StreamKey.tsx",
"selectors": null
},
{
"functions": [
"StreamStatus",
"formatDuration",
"toggleStream",
"shareStream"
],
"keys": null,
"path": "src/components/streaming/StreamStatus.tsx",
"selectors": null
},
{
"functions": [
"LanguageSwitcher"
],
"keys": null,
"path": "src/components/layout/LanguageSwitcher.tsx",
"selectors": null
},
{
"functions": [
"NavLink",
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"copyIngestUrl"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 3 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nFix postcss parsing error\n\nThe commit fixes a postcss parsing error in index.css, likely due to unescaped special characters.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \"#root\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-right\",\n \".page-transition-exit-active\",\n \".glass-morph\",\n \".from-accent\",\n \"webkit-scrollbar-thumb\",\n \".text-left\",\n \"base\",\n \"utilities\",\n \"root\",\n \".mr-2\",\n \".flex-col-reverse\",\n \"webkit-scrollbar-track\",\n \".origin-left\",\n \".ml-4\",\n \".page-transition-enter-active\",\n \".to-accent\",\n \"body\",\n \".origin-right\",\n \".glass-card\",\n \".dark\",\n \".mr-4\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useLanguage\",\n \"getInitialLanguage\",\n \"t\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/LanguageContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GlassCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/GlassCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamKey\",\n \"copyToClipboard\",\n \"regenerateKey\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamKey.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamStatus\",\n \"formatDuration\",\n \"toggleStream\",\n \"shareStream\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LanguageSwitcher\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/LanguageSwitcher.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavLink\",\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"copyIngestUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/index.css\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Add stream functionality test
This commit adds functionality to test if the stream is working.
|
{
"changed": [
"src/pages/Dashboard.tsx"
],
"created": [
"src/components/streaming/StreamTest.tsx"
],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
"#root",
".page-transition-exit",
"webkit-scrollbar",
".text-right",
".page-transition-exit-active",
".glass-morph",
".from-accent",
"webkit-scrollbar-thumb",
".text-left",
"base",
"utilities",
"root",
".mr-2",
".flex-col-reverse",
"webkit-scrollbar-track",
".origin-left",
".ml-4",
".page-transition-enter-active",
".to-accent",
"body",
".origin-right",
".glass-card",
".dark",
".mr-4"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useLanguage",
"getInitialLanguage",
"t"
],
"keys": null,
"path": "src/contexts/LanguageContext.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"GlassCard"
],
"keys": null,
"path": "src/components/ui/GlassCard.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"StreamKey",
"copyToClipboard",
"regenerateKey"
],
"keys": null,
"path": "src/components/streaming/StreamKey.tsx",
"selectors": null
},
{
"functions": [
"StreamStatus",
"formatDuration",
"toggleStream",
"shareStream"
],
"keys": null,
"path": "src/components/streaming/StreamStatus.tsx",
"selectors": null
},
{
"functions": [
"LanguageSwitcher"
],
"keys": null,
"path": "src/components/layout/LanguageSwitcher.tsx",
"selectors": null
},
{
"functions": [
"NavLink",
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"copyIngestUrl"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 4 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd stream functionality test\n\nThis commit adds functionality to test if the stream is working.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \"#root\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-right\",\n \".page-transition-exit-active\",\n \".glass-morph\",\n \".from-accent\",\n \"webkit-scrollbar-thumb\",\n \".text-left\",\n \"base\",\n \"utilities\",\n \"root\",\n \".mr-2\",\n \".flex-col-reverse\",\n \"webkit-scrollbar-track\",\n \".origin-left\",\n \".ml-4\",\n \".page-transition-enter-active\",\n \".to-accent\",\n \"body\",\n \".origin-right\",\n \".glass-card\",\n \".dark\",\n \".mr-4\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useLanguage\",\n \"getInitialLanguage\",\n \"t\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/LanguageContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GlassCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/GlassCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamKey\",\n \"copyToClipboard\",\n \"regenerateKey\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamKey.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamStatus\",\n \"formatDuration\",\n \"toggleStream\",\n \"shareStream\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LanguageSwitcher\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/LanguageSwitcher.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavLink\",\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"copyIngestUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Dashboard.tsx\"\n ],\n \"created\": [\n \"src/components/streaming/StreamTest.tsx\"\n ],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Add streaming destinations section
Adds a section for configuring streaming destinations.
|
{
"changed": [
"package-lock.json",
"package.json",
"src/pages/Dashboard.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
"#root",
".page-transition-exit",
"webkit-scrollbar",
".text-right",
".page-transition-exit-active",
".glass-morph",
".from-accent",
"webkit-scrollbar-thumb",
".text-left",
"base",
"utilities",
"root",
".mr-2",
".flex-col-reverse",
"webkit-scrollbar-track",
".origin-left",
".ml-4",
".page-transition-enter-active",
".to-accent",
"body",
".origin-right",
".glass-card",
".dark",
".mr-4"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useLanguage",
"getInitialLanguage",
"t"
],
"keys": null,
"path": "src/contexts/LanguageContext.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"GlassCard"
],
"keys": null,
"path": "src/components/ui/GlassCard.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"runTest",
"startTest"
],
"keys": null,
"path": "src/components/streaming/StreamTest.tsx",
"selectors": null
},
{
"functions": [
"StreamKey",
"copyToClipboard",
"regenerateKey"
],
"keys": null,
"path": "src/components/streaming/StreamKey.tsx",
"selectors": null
},
{
"functions": [
"StreamStatus",
"formatDuration",
"toggleStream",
"shareStream"
],
"keys": null,
"path": "src/components/streaming/StreamStatus.tsx",
"selectors": null
},
{
"functions": [
"LanguageSwitcher"
],
"keys": null,
"path": "src/components/layout/LanguageSwitcher.tsx",
"selectors": null
},
{
"functions": [
"NavLink",
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"copyIngestUrl"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 5 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd streaming destinations section\n\nAdds a section for configuring streaming destinations.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \"#root\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-right\",\n \".page-transition-exit-active\",\n \".glass-morph\",\n \".from-accent\",\n \"webkit-scrollbar-thumb\",\n \".text-left\",\n \"base\",\n \"utilities\",\n \"root\",\n \".mr-2\",\n \".flex-col-reverse\",\n \"webkit-scrollbar-track\",\n \".origin-left\",\n \".ml-4\",\n \".page-transition-enter-active\",\n \".to-accent\",\n \"body\",\n \".origin-right\",\n \".glass-card\",\n \".dark\",\n \".mr-4\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useLanguage\",\n \"getInitialLanguage\",\n \"t\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/LanguageContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GlassCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/GlassCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"runTest\",\n \"startTest\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamTest.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamKey\",\n \"copyToClipboard\",\n \"regenerateKey\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamKey.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamStatus\",\n \"formatDuration\",\n \"toggleStream\",\n \"shareStream\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LanguageSwitcher\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/LanguageSwitcher.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavLink\",\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"copyIngestUrl\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"package-lock.json\",\n \"package.json\",\n \"src/pages/Dashboard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
TQALFAIFI/RTMP
|
Add RTMP URL and Stream Key
Adds RTMP URL and Stream Key input fields to the destinations section in the dashboard.
|
{
"changed": [
"src/pages/Dashboard.tsx"
],
"created": [],
"deleted": []
}
|
[
{
"functions": null,
"keys": [
"name",
"private",
"version",
"type",
"scripts",
"dependencies",
"devDependencies"
],
"path": "package.json",
"selectors": null
},
{
"functions": null,
"keys": [
"files",
"references",
"compilerOptions"
],
"path": "tsconfig.json",
"selectors": null
},
{
"functions": null,
"keys": [
"name",
"version",
"lockfileVersion",
"requires",
"packages"
],
"path": "package-lock.json",
"selectors": null
},
{
"functions": null,
"keys": [
"$schema",
"style",
"rsc",
"tsx",
"tailwind",
"aliases"
],
"path": "components.json",
"selectors": null
},
{
"functions": null,
"keys": null,
"path": "src/App.css",
"selectors": [
"#root",
".read-the-docs",
"hover",
".logo",
"from",
"logo-spin",
"to",
".card",
".react"
]
},
{
"functions": null,
"keys": null,
"path": "src/index.css",
"selectors": [
".page-transition-enter",
"#root",
".page-transition-exit",
"webkit-scrollbar",
".text-right",
".page-transition-exit-active",
".glass-morph",
".from-accent",
"webkit-scrollbar-thumb",
".text-left",
"base",
"utilities",
"root",
".mr-2",
".flex-col-reverse",
"webkit-scrollbar-track",
".origin-left",
".ml-4",
".page-transition-enter-active",
".to-accent",
"body",
".origin-right",
".glass-card",
".dark",
".mr-4"
]
},
{
"functions": [
"App"
],
"keys": null,
"path": "src/App.tsx",
"selectors": null
},
{
"functions": [
"useLanguage",
"getInitialLanguage",
"t"
],
"keys": null,
"path": "src/contexts/LanguageContext.tsx",
"selectors": null
},
{
"functions": [
"DialogHeader",
"DialogFooter"
],
"keys": null,
"path": "src/components/ui/dialog.tsx",
"selectors": null
},
{
"functions": [
"ContextMenuShortcut"
],
"keys": null,
"path": "src/components/ui/context-menu.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/components/ui/textarea.tsx",
"selectors": null
},
{
"functions": [
"MenubarShortcut"
],
"keys": null,
"path": "src/components/ui/menubar.tsx",
"selectors": null
},
{
"functions": [
"BreadcrumbSeparator",
"BreadcrumbEllipsis"
],
"keys": null,
"path": "src/components/ui/breadcrumb.tsx",
"selectors": null
},
{
"functions": [
"Drawer",
"DrawerHeader",
"DrawerFooter"
],
"keys": null,
"path": "src/components/ui/drawer.tsx",
"selectors": null
},
{
"functions": [
"Toaster"
],
"keys": null,
"path": "src/components/ui/toaster.tsx",
"selectors": null
},
{
"functions": [
"SheetHeader",
"SheetFooter"
],
"keys": null,
"path": "src/components/ui/sheet.tsx",
"selectors": null
},
{
"functions": [
"useSidebar",
"setOpenProp",
"handleKeyDown"
],
"keys": null,
"path": "src/components/ui/sidebar.tsx",
"selectors": null
},
{
"functions": [
"Badge"
],
"keys": null,
"path": "src/components/ui/badge.tsx",
"selectors": null
},
{
"functions": [
"Calendar"
],
"keys": null,
"path": "src/components/ui/calendar.tsx",
"selectors": null
},
{
"functions": [
"useCarousel"
],
"keys": null,
"path": "src/components/ui/carousel.tsx",
"selectors": null
},
{
"functions": [
"DropdownMenuShortcut"
],
"keys": null,
"path": "src/components/ui/dropdown-menu.tsx",
"selectors": null
},
{
"functions": [
"Skeleton"
],
"keys": null,
"path": "src/components/ui/skeleton.tsx",
"selectors": null
},
{
"functions": [
"GlassCard"
],
"keys": null,
"path": "src/components/ui/GlassCard.tsx",
"selectors": null
},
{
"functions": [
"Pagination",
"PaginationPrevious",
"PaginationNext",
"PaginationEllipsis"
],
"keys": null,
"path": "src/components/ui/pagination.tsx",
"selectors": null
},
{
"functions": [
"AlertDialogHeader",
"AlertDialogFooter"
],
"keys": null,
"path": "src/components/ui/alert-dialog.tsx",
"selectors": null
},
{
"functions": [
"useChart",
"getPayloadConfigFromPayload"
],
"keys": null,
"path": "src/components/ui/chart.tsx",
"selectors": null
},
{
"functions": [
"CommandDialog",
"CommandShortcut"
],
"keys": null,
"path": "src/components/ui/command.tsx",
"selectors": null
},
{
"functions": [
"ResizablePanelGroup"
],
"keys": null,
"path": "src/components/ui/resizable.tsx",
"selectors": null
},
{
"functions": [
"runTest",
"startTest"
],
"keys": null,
"path": "src/components/streaming/StreamTest.tsx",
"selectors": null
},
{
"functions": [
"StreamKey",
"copyToClipboard",
"regenerateKey"
],
"keys": null,
"path": "src/components/streaming/StreamKey.tsx",
"selectors": null
},
{
"functions": [
"StreamStatus",
"formatDuration",
"toggleStream",
"shareStream"
],
"keys": null,
"path": "src/components/streaming/StreamStatus.tsx",
"selectors": null
},
{
"functions": [
"LanguageSwitcher"
],
"keys": null,
"path": "src/components/layout/LanguageSwitcher.tsx",
"selectors": null
},
{
"functions": [
"NavLink",
"Navbar",
"handleScroll"
],
"keys": null,
"path": "src/components/layout/Navbar.tsx",
"selectors": null
},
{
"functions": [
"cn"
],
"keys": null,
"path": "src/lib/utils.ts",
"selectors": null
},
{
"functions": [
"genId",
"addToRemoveQueue",
"reducer",
"dispatch",
"toast",
"update",
"dismiss"
],
"keys": null,
"path": "src/hooks/use-toast.ts",
"selectors": null
},
{
"functions": [
"useIsMobile",
"onChange"
],
"keys": null,
"path": "src/hooks/use-mobile.tsx",
"selectors": null
},
{
"functions": [
"Dashboard",
"copyIngestUrl",
"handleAddDestination",
"handleRemoveDestination"
],
"keys": null,
"path": "src/pages/Dashboard.tsx",
"selectors": null
},
{
"functions": [
"Index"
],
"keys": null,
"path": "src/pages/Index.tsx",
"selectors": null
},
{
"functions": [
"NotFound"
],
"keys": null,
"path": "src/pages/NotFound.tsx",
"selectors": null
}
] | 6 |
[
{
"from": "human",
"value": "Given the following Git commit message and file tree before the changes, predict which files need to be changed, created, or deleted:\n\n**Commit Message:**\nAdd RTMP URL and Stream Key\n\nAdds RTMP URL and Stream Key input fields to the destinations section in the dashboard.\n\n**File Tree Before:**\n[\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"private\",\n \"version\",\n \"type\",\n \"scripts\",\n \"dependencies\",\n \"devDependencies\"\n ],\n \"path\": \"package.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"files\",\n \"references\",\n \"compilerOptions\"\n ],\n \"path\": \"tsconfig.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"name\",\n \"version\",\n \"lockfileVersion\",\n \"requires\",\n \"packages\"\n ],\n \"path\": \"package-lock.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": [\n \"$schema\",\n \"style\",\n \"rsc\",\n \"tsx\",\n \"tailwind\",\n \"aliases\"\n ],\n \"path\": \"components.json\",\n \"selectors\": null\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/App.css\",\n \"selectors\": [\n \"#root\",\n \".read-the-docs\",\n \"hover\",\n \".logo\",\n \"from\",\n \"logo-spin\",\n \"to\",\n \".card\",\n \".react\"\n ]\n },\n {\n \"functions\": null,\n \"keys\": null,\n \"path\": \"src/index.css\",\n \"selectors\": [\n \".page-transition-enter\",\n \"#root\",\n \".page-transition-exit\",\n \"webkit-scrollbar\",\n \".text-right\",\n \".page-transition-exit-active\",\n \".glass-morph\",\n \".from-accent\",\n \"webkit-scrollbar-thumb\",\n \".text-left\",\n \"base\",\n \"utilities\",\n \"root\",\n \".mr-2\",\n \".flex-col-reverse\",\n \"webkit-scrollbar-track\",\n \".origin-left\",\n \".ml-4\",\n \".page-transition-enter-active\",\n \".to-accent\",\n \"body\",\n \".origin-right\",\n \".glass-card\",\n \".dark\",\n \".mr-4\"\n ]\n },\n {\n \"functions\": [\n \"App\"\n ],\n \"keys\": null,\n \"path\": \"src/App.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useLanguage\",\n \"getInitialLanguage\",\n \"t\"\n ],\n \"keys\": null,\n \"path\": \"src/contexts/LanguageContext.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DialogHeader\",\n \"DialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ContextMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/context-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/textarea.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"MenubarShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/menubar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"BreadcrumbSeparator\",\n \"BreadcrumbEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/breadcrumb.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Drawer\",\n \"DrawerHeader\",\n \"DrawerFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/drawer.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Toaster\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/toaster.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"SheetHeader\",\n \"SheetFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sheet.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useSidebar\",\n \"setOpenProp\",\n \"handleKeyDown\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/sidebar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Badge\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/badge.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Calendar\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/calendar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useCarousel\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/carousel.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"DropdownMenuShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/dropdown-menu.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Skeleton\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/skeleton.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"GlassCard\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/GlassCard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Pagination\",\n \"PaginationPrevious\",\n \"PaginationNext\",\n \"PaginationEllipsis\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/pagination.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"AlertDialogHeader\",\n \"AlertDialogFooter\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/alert-dialog.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useChart\",\n \"getPayloadConfigFromPayload\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/chart.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"CommandDialog\",\n \"CommandShortcut\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/command.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"ResizablePanelGroup\"\n ],\n \"keys\": null,\n \"path\": \"src/components/ui/resizable.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"runTest\",\n \"startTest\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamTest.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamKey\",\n \"copyToClipboard\",\n \"regenerateKey\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamKey.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"StreamStatus\",\n \"formatDuration\",\n \"toggleStream\",\n \"shareStream\"\n ],\n \"keys\": null,\n \"path\": \"src/components/streaming/StreamStatus.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"LanguageSwitcher\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/LanguageSwitcher.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NavLink\",\n \"Navbar\",\n \"handleScroll\"\n ],\n \"keys\": null,\n \"path\": \"src/components/layout/Navbar.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"cn\"\n ],\n \"keys\": null,\n \"path\": \"src/lib/utils.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"genId\",\n \"addToRemoveQueue\",\n \"reducer\",\n \"dispatch\",\n \"toast\",\n \"update\",\n \"dismiss\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-toast.ts\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"useIsMobile\",\n \"onChange\"\n ],\n \"keys\": null,\n \"path\": \"src/hooks/use-mobile.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Dashboard\",\n \"copyIngestUrl\",\n \"handleAddDestination\",\n \"handleRemoveDestination\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Dashboard.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"Index\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/Index.tsx\",\n \"selectors\": null\n },\n {\n \"functions\": [\n \"NotFound\"\n ],\n \"keys\": null,\n \"path\": \"src/pages/NotFound.tsx\",\n \"selectors\": null\n }\n]\n\nProvide your output as a JSON object with three arrays: 'changed', 'created', and 'deleted'."
},
{
"from": "gpt",
"value": "{\n \"changed\": [\n \"src/pages/Dashboard.tsx\"\n ],\n \"created\": [],\n \"deleted\": []\n}"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.