Investigate .zenodo.json Download Behavior and Download-Both Option
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
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript
Hướng nghiên cứu
Bắt đầu bằng việc xem xét hành vi tải xuống hiện có và các bản xem trước siêu dữ liệu được tạo, sau đó tái hiện cách các tên tệp bắt đầu bằng dấu chấm được xử lý trên các trình duyệt và hệ điều hành khác nhau. Làm rõ liệu kết quả được chấp nhận là tài liệu, hướng dẫn cho người dùng hay một ZIP chứa CITATION.cff và .zenodo.json; công việc được coi là hoàn tất khi hành vi đã chọn đáng tin cậy và được lập tài liệu cho người dùng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
OpenCite currently generates and downloads a Zenodo metadata file using the filename .zenodo.json. However, some browsers and operating systems do not reliably preserve leading-dot filenames when downloading files from a web application. As a result, users may receive zenodo.json instead of .zenodo.json.
Current Behavior
- OpenCite generates valid Zenodo metadata.
- The application requests the filename
.zenodo.json. - Some browser/OS combinations may save the file as
zenodo.jsoninstead.
Expected Behavior
When possible, users should receive a correctly named .zenodo.json file that is compatible with GitHub and Zenodo workflows.
Potential Solutions
Option 1: Keep Current Behavior
- Continue requesting
.zenodo.json. - Document browser limitations.
- Users can rename the file manually if necessary.
Option 2: Add "Download Both" ZIP Export
Provide a single ZIP download containing:
CITATION.cff.zenodo.json
Benefits:
- Preserves the exact filename inside the archive.
- Allows users to download both metadata files at once.
Tradeoffs:
- Requires users to extract the archive before use.
- Adds additional export logic and ZIP generation dependencies.
Option 3: Add User Guidance
- Display a note explaining that some browsers may remove the leading dot.
- Provide instructions for renaming the file if needed.
Notes
- The application previews already display the generated metadata and can be copied directly by users if download behavior is inconsistent.
- This issue does not affect the validity of the generated metadata, only the downloaded filename.
- A future "Download Both" feature would likely address this issue while also improving usability.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
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 Imageomics/OpenCite
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Imageomics/OpenCite#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
YAML Field Apostrophe Quotes Parsing IssueCó thể đã có người làm @NetZissou đã nhận 1 ngày trước. Đang mởbug
Imageomics/OpenCite#76 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Imageomics/OpenCite#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
Imageomics/OpenCite#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Imageomics/OpenCite#69 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Imageomics/OpenCite
Issue tương tự
-
refactor
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 5 ngày
-
translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ciderapp/translations#87 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
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 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
component: split-view platform: windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zen-browser/desktop#15616 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày