Feeds 1/5: data model, storage and API for groups, feeds and item state

オープン
#231 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
azure, csharp
領域
api, backend, database

調査の方向性

Start in the NoteBookmark.Domain project to add the FeedGroup, Feed and FeedItemState types as ITableEntity, then read DataStorageService to see how existing tables are created and queried. Add the api/feeds endpoints following the existing Api.Tests patterns, with the SHA-256 RowKey for item state and the 409 rule on group delete. Done when the three tables work, every endpoint has unit tests, and the 60-day pruning runs when states are listed.

索引モデルが issue の本文から書いたものです。

説明

enhancement in-progress ready-for-agent

Sub-issue of #230, written with an AI assistant. Part 1 of 5, no dependencies.

Goal

Domain types, Azure Table storage and API endpoints for feed groups, feeds and item state. No UI.

Scope

  • Domain (NoteBookmark.Domain): FeedGroup (Id, Name), Feed (Id, Title, FeedUrl, SiteUrl, GroupId), FeedItemState (Url, State = Added | Skipped, FeedId, DateModified). All ITableEntity.
  • Storage (DataStorageService): tables FeedGroups, Feeds, FeedItemStates. Item state RowKey is a SHA-256 hash of the normalized URL (raw URLs contain characters Table keys reject).
  • Endpoints under api/feeds:
    • groups: list, save (create/rename), delete (409 if the group still has feeds)
    • feeds: list, save (create/update/move group; group must exist; feed URL unique), delete
    • item state: list, set one (Added / Skipped), set many (used by "Mark all as skipped")
    • Skipped records older than 60 days are pruned when states are listed.
  • Unit tests for domain and endpoints, following the existing Api.Tests patterns.

Out of scope

Fetching feeds (#232), discovery and OPML (#233), any UI (#233, #234, #235).

主要言語
C#
スター
13
フォーク
3
平均マージ
12時間 33分
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fboucher/NoteBookmark のほかの issue

fboucher/NoteBookmark の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。