CustomUserStatusTable renders blank screen instead of error state when query fails
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Read apps/meteor/client/views/admin/customUserStatus/CustomUserStatusTable/CustomUserStatusTable.tsx and compare its loading and error handling with UsersInRoleTable, as the issue suggests. Confirm the behavior when the list query fails, then keep the filter visible and show the error state with a retry action. Done when a failed query displays an error message and reload button instead of a blank area.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description:
In apps/meteor/client/views/admin/customUserStatus/CustomUserStatusTable/CustomUserStatusTable.tsx, an early if (!data) { return null; } guard returns null whenever GET /v1/custom-user-status.list fails (isError), hiding <FilterByText> (along with its action children) and leaving a completely blank area with no error feedback or retry button (also marked by // TODO: Missing error state).
Steps to reproduce:
- Go to
Administration > Workspace > Custom User Status. - Simulate a network/API failure for
GET /v1/custom-user-status.list. - Observe the custom user status view.
Expected behavior:
Keep <FilterByText> visible and render <GenericError buttonAction={refetch} /> when isError is true so users get an error message and a reload button, matching other admin tables such as UsersInRoleTable.
Actual behavior:
The component returns null, rendering a blank screen with no error state or retry action.
- Lingua principale
- TypeScript
- Stelle
- 46.6k
- Fork
- 14.2k
- Merge medio
- 2g 21h
- PR unite (30g)
- 302
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 RocketChat/Rocket.Chat
-
ModerationConsoleTable renders blank area instead of error state when query failsForse già presa @Siddharth-singh18 l’ha presa 2 giorni fa. Apertatype: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
RocketChat/Rocket.Chat#44109 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Composer clears message text when the first uploaded file's media confirmation failsForse già presa @Sravan-0802 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
RocketChat/Rocket.Chat#44087 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Subsequent OAuth logins overwrite persisted service fields (e.g. refreshToken) with nullForse già presa @ayushbuilds-code l’ha presa 4 giorni fa. Apertatype: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
RocketChat/Rocket.Chat#44053 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Custom OAuth callback times out when Merge roles from SSO is enabledForse già presa @Pantkartik l’ha presa 6 giorni fa. Apertatype: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
RocketChat/Rocket.Chat#44005 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Heads-up: Issue Dedupe workflow pins claude-sonnet-4-5-20250929, which Anthropic retires Nov 30Forse già presa @Ravichandra531 l’ha presa 6 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
RocketChat/Rocket.Chat#43944 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di RocketChat/Rocket.Chat
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
zabuton-app/meguri#875 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
iruzen-dono/workless#117 ·
I maintainer di solito rispondono entro 1 giorno
-
area:api area:web wave wave:trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vetro-protocol/vetro-monorepo#1321 ·
I maintainer di solito rispondono entro 1 giorno