mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Self-hostable CRM template for WhatsApp — shared inbox, contacts, sales pipelines, broadcasts, and no-code automations. Fork it, brand it, host it.
The inbox was a 3-pane flex row (list + thread + contact sidebar). On a 375px phone both list and thread tried to share ~187px each and the whole UI was unusable. Now: - On <lg the inbox shows ONE pane at a time: list when nothing's selected, thread when a conversation is open. - Thread gains a back-arrow in its header (mobile only) that pops back to the list and clears the ?c= URL param so refreshing lands on the list, not on the thread the user just backed out of. - Conversation list grows to w-full on mobile (was fixed w-80) so each row uses the whole viewport width. - Thread header tightens: name/phone truncate with min-w-0, session timer badge is hidden under sm to save room for back arrow + name. - Dashboard shell's p-6 is already p-4 on mobile (PR #48); matched the -m-6 offset in the inbox to -m-4 sm:-m-6. Desktop layout (lg+) is unchanged: list + thread + contact sidebar side-by-side exactly as before. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| supabase/migrations | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| components.json | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.