The team-side logic (teamUserIds → right-aligned + coworker username label) was applied for every viewer, so a CUSTOMER saw the store's staff messages on their own side and with the staff's username/phone shown. Gate all team grouping on viewerIsStore (from the thread): customers now see store/staff messages on the left with no staff identity; the store inbox keeps the team-grouped view. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| data | ||
| hooks | ||
| lib | ||
| requestHandler | ||
| routes | ||
| styles | ||
| types | ||
| utils | ||
| auth.server.ts | ||
| cookie.ts | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| i18n.ts | ||
| root.tsx | ||
| sessions.server.ts | ||
| tailwind.css | ||