Collection list view doesn't refresh after a save; requires a manual reload
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
- 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.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Thinkmill/keystatic
-
Incorrect Dutch translations: “Save” is translated as “Redden”Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Typo/Grammar on Website HomepageCó thể đã có người làm @Punith1117 đã nhận 147 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Array field: no visible edit button on rows and no close button in the "Edit item" dialogCó thể đã có người làm @bacarndiaye đã nhận 7 ngày trước. Đang mở
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature: post-save "publishing" notice / `onCommit` hook so editors know changes aren't live yetĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Thinkmill/keystatic
Issue tương tự
-
category::task code priority::normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
e0ipso/strikethroo#145 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
cocos/cocos-docs#3333 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
RevenueCat/react-native-purchases#2079 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
RevenueCat/purchases-hybrid-common#2039 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-reported area/react bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày