A one-way Markdown mirror folder
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp, git, markdown
- Lĩnh vực
- backend, database, desktop, documentation
Hướng nghiên cứu
Read MarkdownPromptFormat.cs, MarkdownWorkflowFormat.cs, and MarkdownTransferService.cs to understand the existing format and file naming; then review the Storage section in SettingsViewModel.cs, IFilePickerService, and AppSettings.cs. Add the one-way mirror setting and folder write flow, tracking only files Prompuff created and writing each through a temporary file before rename. Done means importing the mirror restores prompts and workflows, unowned files remain untouched with a test covering that, and docs/user-guide.md explains the mirror.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Keep the library as plain files too, so Git, Syncthing or any editor can see it: a folder that Prompuff keeps in step with the library.
What to do
- Add a mirror folder, chosen in Settings › Storage and off until one is picked. Like Export, Prompuff writes only where the user chose.
- The folder holds one Markdown file per prompt in the 1.0 format, with workflows in
workflows/. It's flat: collections stay in the frontmatter, as in any export. - The mirror is one-way. Prompuff writes it, and Import stays the way files come in. A two-way mirror is #56.
- Prompuff only ever changes or removes files it wrote. Keep track of which those are, either in the library (a new migration, never an edited one) or in a file inside the mirror, and record the choice in ROADMAP.md.
- Write each file to a temporary name and then rename it, so Git or Syncthing never pick up half a file.
- Remembered values never go into the mirror, since they're never exported.
- Mirror files keeping in step with their prompts as they change is #38.
Where to look
src/Prompuff.Infrastructure/ImportExport/MarkdownPromptFormat.csandMarkdownWorkflowFormat.cs:Writesrc/Prompuff.Infrastructure/ImportExport/MarkdownTransferService.cs: how export names and writes filessrc/Prompuff.App/ViewModels/SettingsViewModel.cs: the Storage section;IFilePickerServicepicks the foldersrc/Prompuff.Application/Settings/AppSettings.cs
Done when
- Picking a folder fills it with the library, and importing that folder into a fresh library brings back the same prompts and workflows.
- A file in the folder that Prompuff didn't write is never changed or removed. A test covers it.
-
docs/user-guide.mddescribes the mirror.
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 1
- Merge trung bình
- 1 giờ 21 phút
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 hazeliscoding/prompuff
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hazeliscoding/prompuff#34 ·
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
hazeliscoding/prompuff#22 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
hazeliscoding/prompuff#14 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
hazeliscoding/prompuff#13 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hazeliscoding/prompuff#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hazeliscoding/prompuff
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
AvaloniaUI/Avalonia#22568 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[bug] 截图失败日志冲爆硬盘Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
babalae/better-genshin-impact#3846 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
lugassawan/swe-workbench#823 ·
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 82/100
microsoft/fluentui-blazor#5518 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
devtools
Độ 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