Skip to content

Social attributes should be stored in an array #276

Open
@bonustrack

Description

@bonustrack

Currently we store "github" and "twitter", "website" on the space settings with their own field like this

{
  twitter: 'abc',
  github: 'def',
  website: 'https://',
  ...
}

When adding new social link we always need to update the space settings structure, we should instead have a generic way to store attributes like this:

{
  attributes: [
    { id: 'twitter', value: 'abc' },
    { id: 'github', value: 'def' },
    { id: 'website', value: 'https://' }
  ]
  ...
}

and use that to store Twitter GitHub and others that we want to add on the way like Discord Telegram CoinGecko.

Before

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