-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Overview
We need to add an RSS plugin initialization to the initial feed config.
It can use the name, description, etc from the feed config when defining the RSS config.
See the RSS config here:
https://github.com/PotLock/curatedotfun-plugins/blob/main/packages/rss/src/types.ts
We should also clean up the edit page to try and reuse logic, or at least follow similar flow. Reuse the form elements between the two, be type-safe with the FeedConfig.
Details
Right now, the create feed page is structured as this, where different tabs have a react-hook-form defined:
https://github.com/PotLock/curatedotfun/tree/staging/apps/app/src/routes/_layout/create/feed
And then they hook into a feed-creation-store for state management:
https://github.com/PotLock/curatedotfun/blob/staging/apps/app/src/store/feed-creation-store.ts
The Feed creation store keeps track of the feed config -- CreateFeedConfig from @curatedotfun/types:
export type CreateFeedConfig = Partial<FeedConfig>;
https://github.com/PotLock/curatedotfun/blob/staging/packages/types/src/api/feeds.ts
Acceptance Criteria
No response