feat: Prev/Next and PrevInSection/NextInSection
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
- 58/100
Hướng nghiên cứu
Start with the Phase 1 cached sorted views and the page-variable implementation; the issue does not name specific source files. Inspect fixture sites in .TestSites/ and the xUnit tests in Fanstatic.Test/, then run ./build.sh test. Done means neighbours are correct across two sections, respect language and output format, return nil at the ends, and are documented on the page-variables docs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of the Phase 2 epic (#23).
Current State
No previous/next navigation exists; themes must sort and search collections themselves (expensive, see Phase 1).
Tasks:
-
page.Prev/page.Nextover the site's regular pages,page.PrevInSection/page.NextInSectionwithin
the section, in the same language and output format - Order: by date descending then title (Hugo default), reusing the cached sorted views from Phase 1
- Nil at the ends
- Document on the page-variables docs
Tests live in Fanstatic.Test/ (xUnit + NSubstitute); fixture sites in .TestSites/. Run ./build.sh test; new/changed methods need CRAP ≤ 15 and ≥ 75 % line coverage.
Acceptance Criteria:
- Correct neighbours on a fixture site with two sections; nil at the ends.
Related:
- #23 (Phase 2 epic, parent)
- Depends on #17
- Ngôn ngữ chính
- C#
- Star
- 1
- Fork
- 0
- Merge trung bình
- 13 giờ 50 phút
- Pull request đã merge (30 ngày)
- 3
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 MASS4ORG/Fanstatic
-
c:templates p:low size:S t:task
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
-
c:content good first issue p:low size:S t:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
-
c:templates p:medium size:M t:feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
c:content p:medium size:L t:feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
c:templates p:medium size:S t:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
Tất cả issue của MASS4ORG/Fanstatic
Issue tương tự
-
needs-area-label
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Fallout-build/Fallout#708 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug next version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Rem0o/FanControl.Releases#4220 · 1 bình luận ·
-
area:repo audit:approved audit:auto priority:P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
elsa-workflows/elsa-core#8771 ·
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 78/100
nkdAgility/azure-devops-migration-tools#3217 ·
Maintainer thường phản hồi trong vòng 1 ngày