-
Notifications
You must be signed in to change notification settings - Fork 7
update readme #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
update readme #33
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,10 +16,10 @@ export default async function Page({ | |
| // PREFETCH | ||
| void queryClient.prefetchQuery(trpc.messages.getMany.queryOptions({ | ||
| projectId: projectId | ||
| })) | ||
| })); | ||
| void queryClient.prefetchQuery(trpc.projects.getOne.queryOptions({ | ||
| id: projectId | ||
| })) | ||
| })); | ||
|
Comment on lines
17
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Find fire-and-forget prefetch calls:"
rg -nP --type=tsx '\bvoid\s+queryClient\.prefetchQuery\('
echo
echo "Find dehydration call sites:"
rg -nP --type=tsx '\bdehydrate\s*\(\s*queryClient\s*\)'Repository: devdezzies/neocode Length of output: 143 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Find the file mentioned in the review
echo "Locating file: src/app/projects/[projectId]/page.tsx"
if [ -f "src/app/projects/[projectId]/page.tsx" ]; then
echo "File found!"
else
echo "Checking directory structure..."
find . -type f -name "page.tsx" | head -20
fiRepository: devdezzies/neocode Length of output: 126 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Reading src/app/projects/[projectId]/page.tsx:"
cat -n "src/app/projects/[projectId]/page.tsx"Repository: devdezzies/neocode Length of output: 1397 Await prefetches before dehydration. The Use 🤖 Prompt for AI Agents |
||
|
|
||
| return ( | ||
| <HydrationBoundary state={dehydrate(queryClient)}> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ import { Skeleton } from "@/components/ui/skeleton"; | |
|
|
||
| export default function MessageContainerSkeleton() { | ||
| return ( | ||
| <div className="flex flex-col flex-1 min-h-0 px-2"> | ||
| <div className="w-full h-20 flex flex-col flex-1 min-h-0 px-2 bg-amber-200"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Skeleton-related components and explicit bg-* classes:"
fd -HI '.*skeleton.*\.tsx$' src | while read -r f; do
echo "--- $f"
rg -n 'className=.*bg-' "$f" || true
doneRepository: devdezzies/neocode Length of output: 447 🏁 Script executed: cat -n src/modules/projects/ui/components/message-container-skeleton.tsxRepository: devdezzies/neocode Length of output: 479 🏁 Script executed: cat -n src/components/ui/skeleton.tsxRepository: devdezzies/neocode Length of output: 428 🏁 Script executed: cat -n src/modules/projects/ui/components/project-header-skeleton.tsxRepository: devdezzies/neocode Length of output: 415 🏁 Script executed: rg -n 'bg-accent|bg-\[' src/components/ui/skeleton.tsx src/modules/projects/ui/components/Repository: devdezzies/neocode Length of output: 164 🏁 Script executed: fd -HI 'theme|colors|tailwind' src | head -20Repository: devdezzies/neocode Length of output: 132 🏁 Script executed: cat -n src/hooks/use-current-theme.tsRepository: devdezzies/neocode Length of output: 367 🏁 Script executed: cat -n src/components/code-view/code-theme.cssRepository: devdezzies/neocode Length of output: 3901 🏁 Script executed: fd -HI 'tailwind|theme' . --max-depth 3 | grep -E '\.(config|json|css)$'Repository: devdezzies/neocode Length of output: 44 🏁 Script executed: find . -name 'tailwind.config.*' -o -name 'globals.css' | head -10Repository: devdezzies/neocode Length of output: 83 🏁 Script executed: rg -n 'bg-accent|--accent|@apply' src/components/ui/ --max-count 5Repository: devdezzies/neocode Length of output: 10169 🏁 Script executed: cat -n src/app/globals.cssRepository: devdezzies/neocode Length of output: 8665 Replace The hard-coded amber background won't adapt to light/dark mode switching. The entire codebase uses 🤖 Prompt for AI Agents |
||
| <div className="pt-2 pr-1"> | ||
| <Skeleton className="w-full h-10" /> | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add article for grammatical correctness.
The phrase "from single prompts" needs an article.
📝 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents