Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Artsy RFCs Slack post #28

Closed
dblandin opened this issue Feb 10, 2021 · 1 comment
Closed

Update Artsy RFCs Slack post #28

dblandin opened this issue Feb 10, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dblandin
Copy link
Member

Let's give the RFCs Slack post a refresh with this Slack Block Kit structure and the following GraphQL query:

fragment authorFields on Actor {
  login
  url
  avatarUrl
}

fragment issueCommentFields on IssueComment {
  createdAt
  author {
    login
  }
}

{
  search(query: "org:Artsy label:RFC state:open", type: ISSUE, first: 20) {
    issueCount
    edges {
      node {
        ... on Issue {
          participants {
            totalCount
          }
          timelineItems(last: 1, itemTypes: ISSUE_COMMENT) {
            nodes {
              ... on IssueComment {
                ...issueCommentFields
              }
            }
          }
          createdAt
          title
          url
          author {
            ...authorFields
          }
        }
        ... on PullRequest {
          participants {
            totalCount
          }
          timelineItems(last: 1, itemTypes: ISSUE_COMMENT) {
            nodes {
              ... on IssueComment {
                ...issueCommentFields
              }
            }
          }
          createdAt
          title
          url
          author {
            ...authorFields
          }
        }
      }
    }
  }
}

Current

Screen Shot 2021-02-09 at 11 04 40 PM

Desired

Screen Shot 2021-02-09 at 11 03 31 PM

@dblandin dblandin added enhancement New feature or request good first issue Good for newcomers labels Feb 10, 2021
@dblandin dblandin self-assigned this Feb 12, 2021
@dblandin
Copy link
Member Author

Closing with #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant