actionblockedenhancementgood first issuehelp wantedtriaged
仓库指标
- Star
- (7,438 star)
- PR 合并指标
- (平均合并 9天 7小时) (30 天内合并 131 个 PR)
描述
We should add an optional prop to the Update Issue and Create Issue actions for the Linear OAuth app (slug = linear):
From their docs: https://developers.linear.app/docs/oauth/oauth-actor-authorization
To set the custom user name, set the createAsUser attribute with the user name and set displayIconUrl with the URL of the avatar in issueCreate or commentCreate mutations
We'll add the additional param to the authorization URL when these component changes are ready.
New optional prop:
- "Create As User" (default to
true) - If
Create As Useristrue, setcreateAsUserto the user'sdisplayNameanddisplayIconUrlasavatarUrl(if not null). These can both be found by querying theuserobject (example below). - If
Create As Userisfalse, then show 2additionalProps:
- Username (type string)
- Display Icon URL (type string)
{
user(id: "me") {
displayName
avatarUrl
}
}