Diff becomes outdated if original template is changed/updated
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Bắt đầu bằng cách theo dõi cách các giá trị template đã tùy chỉnh old và diff được lưu trữ và áp dụng cho các tệp trong thư mục templates, sử dụng templates/partials/chats-menu.tpl làm ví dụ. Công việc hoàn tất khi một template gốc đã được cập nhật có thể được kết hợp với phần tùy chỉnh mà không khôi phục phiên bản đã lỗi thời hoặc làm mất các thay đổi dự kiến.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This may be functioning as intended, but I wanted to raise it nonetheless.
When a customized template is added, two values are saved into the database, old and diff, referring to the original template, and the changes made.
If the underlying template gets changed, old and diff no longer reflect the proper changeset, and could cause issues if the original template contains breaking changes. This is because diff is applied onto old, and then saved to the templates folder, so it will never inherit the updated template.
e.g.
- Persona
templates/partials/chats-menu.tplcontained changes, it now contains tabs and shows profile options, notifications, as well as chats. - If that partial was changed in any way,
chats-menu.tplwill always contain the old modified template, and will not inherit any new changes to that partial.
- Ngôn ngữ chính
- TypeScript
- Star
- 5
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 NodeBB/nodebb-plugin-customize
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Can't reset nor uninstall Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
NodeBB/nodebb-plugin-customize#19 · 3 bình luận ·
Tất cả issue của NodeBB/nodebb-plugin-customize
Issue tương tự
-
comp/dashboard P3 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
langchain-ai/deepagents#6450 ·