The WhatsApp screen on a phone asks you to pick from a list it does not show
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 78/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go, react, typescript
Direzione di ricerca
Start with plugins/whatsapp/frontend/Empty.tsx and the mobileSidebar and mobileContent areas under packages/edit-site/src/components/site-editor-routes/ to understand the small-screen pattern. Check how sdk/frontend/index.ts exposes useMediaQuery and SMALL_VIEWPORT, then run the new frontend/src/test/small-shell.test.tsx and the thread test in test/e2e/tests/responsive.spec.ts. Done means the list appears on the /whatsapp page on small screens, while wide screens retain the empty state.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
On a phone, and on any screen under 1024 pixels wide, the admin folds its sidebar into a drawer behind the menu button. At /whatsapp the conversation list is the section's sidebar, so it goes into the drawer too. The page itself shows only the empty state "No conversation selected. Pick one from the list to read its messages." No list appears on the page. A new user has to guess that the menu button holds it.
What should happen
Under 1024 pixels, /whatsapp shows the conversation list on the page, under the Conversations title, instead of the empty state. Tapping a conversation opens its thread, as it does today. On a wide screen nothing changes. The list stays in the sidebar and the page keeps the empty state. The drawer keeps the WhatsApp screen and its back link to the main menu.
WordPress does the same in the Site Editor. Below its medium breakpoint, the Navigation screen drops the preview and fills the screen with the list of menus. The Patterns screen shows the list of categories first, and shows the patterns only after you pick one. See the mobileSidebar and mobileContent areas in packages/edit-site/src/components/site-editor-routes/.
Where
plugins/whatsapp/frontend/Empty.tsx, renderConversationListwhen the viewport is smallsdk/frontend/index.ts, exportuseMediaQueryandSMALL_VIEWPORTfrom@gopherium/godmin. That is the query the frame folds its rail at.frontend/src/index.css, the.alphone-conversationrows, so they read well on the light pagefrontend/src/test/small-shell.test.tsx, a new test. With a small viewport,/whatsappshows a conversation link on the page without opening the drawer. With a wide viewport, the empty state stays.test/e2e/tests/responsive.spec.ts, the thread test taps the conversation on the page instead of opening the drawer
- Lingua principale
- Go
- Stelle
- 287
- Fork
- 64
- Merge medio
- 13h 19m
- PR unite (30g)
- 62
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di gopherium/AlphOne
-
good first issue help wanted javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di gopherium/AlphOne
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
blinklabs-io/dingo#5636 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JetBrains/youtrack-cli#130 ·
I maintainer di solito rispondono entro 1 giorno
-
kind/bug needs-triage sig/release
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
kubernetes/kubernetes#143392 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 1 giorno
-
stage-fail
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
siyuan-note/bazaar#2405 ·
I maintainer di solito rispondono entro 1 giorno