Feature request: Support Mastodon 4.6 Collections

Đang mở
#2,478 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
ios, swift
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu bằng việc xem xét giai đoạn chỉ đọc được đề xuất và các endpoint Mastodon Collections: /api/v1/collections, accounts/:id/collections và collections/:id. Truy vết cách xử lý API hiện có liên quan đến hồ sơ tài khoản và collection trong Ice Cubes, sau đó xác định hoàn thành là có thể xem các collection và các thành viên đã được hydrate của chúng, đồng thời xử lý thoái giảm một cách phù hợp khi các server cũ trả về 404; thông báo và quản lý sẽ được thực hiện ở các giai đoạn sau.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Mastodon 4.6 (June 2026) introduced Collections: public/unlisted, shareable, curated lists of up to 25 accounts, shown on the curator's profile under a "Featured" tab. They're consent-based (members opt in via discovery settings, get notified, and can revoke), and have their own API (/api/v1/collections, plus accounts/:id/collections and accounts/:id/in_collections) and two new notification types (added_to_collection, collection_update). The official iOS app currently supports viewing them.

Ice Cubes has no Collections support today. Proposed phases:

  1. Read-only viewing — show an account's collections on their profile and let users browse a collection's members. (PR incoming.)
  2. Notifications — handle added_to_collection / collection_update types.
  3. Management — create/edit/delete your own collections, add/remove members (with the 25-account cap and consent-error handling), revoke yourself from others' collections.

API notes from testing against mastodon.social (4.6): GET accounts/:id/collections wraps the array as {"collections": [...]}, and GET collections/:id returns {"collection": {...}, "accounts": [...]} with the member accounts already hydrated. On servers older than 4.6 the endpoints 404, so the feature can degrade by simply not rendering.

Ngôn ngữ chính
Swift
Star
7.1k
Fork
743
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dimillian/IceCubesApp

Tất cả issue của Dimillian/IceCubesApp

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.