Skip to content

[Task]: Add RSS as initial distributor plugin to Create feed #211

@elliotBraem

Description

@elliotBraem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions