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

a8n/core: Expose labels of all changesets in campaign in GraphQL API #7549

Closed
ryanslade opened this issue Jan 8, 2020 · 1 comment
Closed
Assignees
Labels
batch-changes Issues related to Batch Changes estimate/1d planned/3.13 Issues that were planned for the given milestone. Used by cmd/tracking-issue.
Milestone

Comments

@ryanslade
Copy link
Contributor

From RFC 20

We want to sync labels on changesets in one direction so that they appear on the campaign page.

@mrnugget mrnugget changed the title a8n: Show labels of all changesets in campaign a8n/core: Expose labels of all changesets in campaign in GraphQL API Jan 13, 2020
@ryanslade ryanslade self-assigned this Jan 14, 2020
@eseliger
Copy link
Member

eseliger commented Jan 17, 2020

Do you think this will suffice?

type ChangesetLabel {
	text: String!
	color: String # leaving this optional for code-hosts that don't have coloring (TODO: do such exist?)
	description: String # github has optional descriptions for labels, do we want to support that either?
}
type ChangesetLabelConnection {
	totalCount: Int!
	nodes: [Label!]!
}
type ExternalChangeset {
//	...
	labels: LabelConnection!
//	...
}

@ryanslade ryanslade added this to the 3.13 milestone Jan 20, 2020
@tsenart tsenart added the planned/3.13 Issues that were planned for the given milestone. Used by cmd/tracking-issue. label Jan 24, 2020
@chrispine chrispine added the batch-changes Issues related to Batch Changes label Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch-changes Issues related to Batch Changes estimate/1d planned/3.13 Issues that were planned for the given milestone. Used by cmd/tracking-issue.
Projects
None yet
Development

No branches or pull requests

5 participants