Collection list view doesn't refresh after a save; requires a manual reload
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Start with the admin UI collection list view and the Collection configuration described in config.d.ts; trace what happens when an entry is saved and the user returns to the list. Reproduce the reported create and title-change cases, including an active title search or sort, and verify that the list reflects the saved data without a manual reload.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Installed: @keystatic/[email protected], @keystatic/[email protected].
Repro steps
- Open a collection's list view in the admin UI.
- Open an existing entry, or create a new one, and save it.
- Without reloading the page, return to the collection list view.
Expected: the saved/new entry appears in the list (and any active sort/filter reflects it) without a manual page reload.
Actual: the list still shows the pre-save state. A newly created entry is absent, or a title change isn't reflected, until the browser tab is manually reloaded. Observed during a live editing session: a newly created entry did not appear in the collection list, including under a title search, until the page was reloaded. No data was lost; the save had succeeded.
Note: this was observed in a live editing session, not reproduced in a separate local setup.
Why this looks like a genuine gap rather than app misconfiguration: the Collection config type (@keystatic/core 0.6.9, config.d.ts) exposes no onSave hook, no cache-invalidation option, and no config surface for the list view's data-fetching behavior at all (label, path, entryLayout, format, previewUrl, columns, template, parseSlugForSort, slugField, schema). There is nothing a consuming app could set to force a list refetch after a write.
Context: we run this on a multi-locale marketing site's editorial workflow, where a save appearing to "vanish" from the list made an editor reasonably (but wrongly) suspect data loss.
Related but distinct: #1594 (stale local draft shadows the file on disk) is about a stale draft overwriting on save; this report is only about the list view not refetching after a successful save.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.5k
- Forks
- 176
- Merge medio
- 5 h 46 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Thinkmill/keystatic
-
Incorrect Dutch translations: “Save” is translated as “Redden”Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Typo/Grammar on Website HomepagePosiblemente ocupada @Punith1117 la tomó hace 147 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Array field: no visible edit button on rows and no close button in the "Edit item" dialogPosiblemente ocupada @bacarndiaye la tomó hace 7 días. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Feature: post-save "publishing" notice / `onCommit` hook so editors know changes aren't live yetAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
Los mantenedores suelen responder en 1 día
Todos los issues de Thinkmill/keystatic
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
keptinventory/kept#336 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
hemi-earn
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
vetro-protocol/vetro-monorepo#1013 ·
Los mantenedores suelen responder en 1 día