fix: crash bugs in TeamInvoices + faster load
Bug fixes: - TeamInvoices: add useAuth import/currentUser (invoice-create crash) - TeamInvoices: setChartYear -> setExportYear (year-dropdown crash) - TeamDashboard: drop redundant setState-in-effect (cascading renders) - Companies: delete dead _UnusedClientCompanies (illegal hook calls) - annotate intentional empty PDF-fallback catches Load speed: - preconnect/dns-prefetch to Supabase origin - lazy-load heic-to in Converters: page chunk 2737KB -> 9KB - split recharts into its own 'charts' vendor chunk Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,77 +1,16 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(*)",
|
||||
"Bash(\"/Users/kraohasanee/Documents/40-49 Fourge:*)",
|
||||
"Bash(vercel --version)",
|
||||
"Bash(vercel --prod)",
|
||||
"Bash(supabase --version)",
|
||||
"Bash(brew install:*)",
|
||||
"Read(//usr/local/bin/**)",
|
||||
"Read(//Users/kraohasanee/.local/bin/**)",
|
||||
"Read(//usr/**)",
|
||||
"Bash(command -v supabase)",
|
||||
"Read(//Users/kraohasanee/Library/**)",
|
||||
"Bash(npx supabase:*)",
|
||||
"Bash(echo $PATH)",
|
||||
"Bash(supabase functions:*)",
|
||||
"Bash(npm install:*)",
|
||||
"Bash(export PATH=\"/opt/homebrew/bin:$PATH\")",
|
||||
"Read(//opt/homebrew/bin/**)",
|
||||
"Read(//Users/kraohasanee/.npm/bin/**)",
|
||||
"Bash(export PATH=\"/usr/local/bin:/opt/homebrew/bin:$PATH\")",
|
||||
"Read(//Users/kraohasanee/.supabase/**)",
|
||||
"Bash(supabase status:*)",
|
||||
"Bash(supabase orgs:*)",
|
||||
"Bash(supabase projects:*)",
|
||||
"Bash(supabase db:*)",
|
||||
"Bash(npm run:*)",
|
||||
"Bash(npx vercel:*)",
|
||||
"Bash(curl -vI https://portal.fourgebranding.com)",
|
||||
"Bash(dig portal.fourgebranding.com A +short)",
|
||||
"Bash(dig portal.fourgebranding.com CNAME +short)",
|
||||
"Bash(curl:*)",
|
||||
"Bash(supabase migration:*)",
|
||||
"Bash(ls \"/Users/kraohasanee/Documents/40-49 Fourge Branding/41 Website/fourge-portal\"/.env*)",
|
||||
"Bash(supabase secrets:*)",
|
||||
"Bash(stripe version:*)",
|
||||
"Bash(stripe config:*)",
|
||||
"Bash(stripe checkout:*)",
|
||||
"Bash(stripe payment_intents list --limit 10)",
|
||||
"Bash(stripe charges:*)",
|
||||
"Bash(vercel ls:*)",
|
||||
"Bash(vercel promote:*)",
|
||||
"Bash(vercel inspect:*)",
|
||||
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\(d.get\\('gitSource', d.get\\('meta', ''\\)\\)\\)\")",
|
||||
"Bash(npx vite:*)",
|
||||
"Bash(wait)",
|
||||
"Bash(stripe webhook_endpoints list)",
|
||||
"Bash(grep VITE_SUPABASE_ANON_KEY .env.local)",
|
||||
"Bash(grep VITE_SUPABASE_ANON_KEY .env.production)",
|
||||
"Bash(vercel whoami *)",
|
||||
"Bash(vercel deploy *)",
|
||||
"Bash(vercel build *)",
|
||||
"Bash(vercel pull *)",
|
||||
"Bash(sudo npm *)",
|
||||
"Bash(npx vercel@latest --prod)",
|
||||
"Bash(npm run *)",
|
||||
"Bash(awk 'NR>=547 && /^}/ {print NR\": \"$0; c++; if\\(c>=1\\) exit}' src/pages/Companies.jsx)",
|
||||
"Bash(sed -n '545,548p' src/pages/Companies.jsx)",
|
||||
"Bash(sed -i '' '545,715d' src/pages/Companies.jsx)",
|
||||
"Bash(sed -n '542,548p' src/pages/Companies.jsx)",
|
||||
"Bash(sed -n '76,80p' src/pages/team/TeamSubInvoiceDetail.jsx)",
|
||||
"Bash(sed -n '147p' src/pages/Profile.jsx)",
|
||||
"Bash(awk '{print $5, $9}')",
|
||||
"Bash(git add *)",
|
||||
"Bash(git commit -m ' *)",
|
||||
"Bash(git push *)",
|
||||
"Bash(cat .env.local)",
|
||||
"Bash(cat .env)",
|
||||
"Bash(vercel env *)",
|
||||
"Bash(python3 -m json.tool)",
|
||||
"Bash(xargs -0 '-I{}' bash -c 'name=$\\(basename \"{}\" .jsx\\); grep -q \"$name\" \"/Users/kraohasanee/Documents/40-49 Fourge Branding/41 Website/fourge-portal/src/App.jsx\" || echo \"UNLINKED: {}\"')",
|
||||
"mcp__plugin_supabase_supabase__execute_sql",
|
||||
"mcp__plugin_supabase_supabase__apply_migration",
|
||||
"Bash(git commit *)",
|
||||
"mcp__plugin_supabase_supabase__list_projects",
|
||||
"WebFetch(domain:github.com)",
|
||||
"Skill(supabase:supabase)",
|
||||
"mcp__plugin_everything-claude-code_playwright__browser_navigate",
|
||||
"mcp__plugin_everything-claude-code_exa__web_search_exa",
|
||||
"WebFetch(domain:filebrowserquantum.com)",
|
||||
"mcp__plugin_supabase_supabase__list_tables"
|
||||
"Bash(git commit -q -m ' *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user