Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Collection list view doesn't refresh after a save; requires a manual reload

Đang mở
#1,633 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Installed: @keystatic/[email protected], @keystatic/[email protected].

Repro steps

  1. Open a collection's list view in the admin UI.
  2. Open an existing entry, or create a new one, and save it.
  3. 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.

Ngôn ngữ chính
TypeScript
Star
2.5k
Fork
176
Merge trung bình
5 giờ 46 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Thinkmill/keystatic

Tất cả issue của Thinkmill/keystatic

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.