- AgentBrowse tracked no loaded state, so on cold load it briefly flashed 'No agents here yet — be the first' before data arrived - add a loaded flag: show 3 shimmer skeleton cards while fetching; gate the empty-state and 'publish your own' card on loaded - skeleton shimmer respects prefers-reduced-motion - also verified (after a stale-Chrome scare) there is NO auth bug: cookieless /api/auth/me returns null, fresh logged-out load shows Login (no admin nav), and the public-agent Use flow works without login - verified live: skeletons during load, no flash, real card+add-card after
20 lines
413 B
JSON
20 lines
413 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.51.0-skel",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"lucide-react": "^0.468.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|