threshold-network / website

1 stars 10 forks source link

Display T proposals #25

Closed r-czajkowski closed 2 years ago

r-czajkowski commented 2 years ago

This PR adds support for fetching the latest proposal from https://forum.threshold.network via GraphQL query.

GraphQL query

{
  allProposals(limit: 3) {
    title
    id
    createdBy
    createdAt
    url
    content {
      html
      raw
    }
  }
}

obraz

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/t-proposals/index.html.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/t-proposals/index.html.

georgeweiler commented 2 years ago

Hey @r-czajkowski We discussed this today in the design sync. I think we want to pull the latest proposals, regardless of what they are.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/t-proposals/index.html.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/t-proposals/index.html.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/t-proposals/index.html.

georgeweiler commented 2 years ago

@r-czajkowski this PR lgtm. Happy to merge if you agree.

r-czajkowski commented 2 years ago

@r-czajkowski this PR lgtm. Happy to merge if you agree.

Your commits look good to me and thanks for the fix! Feel free to merge.