raycast / raycast/extensions

[GitLab]...Field 'closedAt' doesn't exist on type 'MergeRequest'

Open
#29,995 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug extension extension: gitlab
Dominant language
TypeScript
Stars
7.8k
Forks
6.9k
Avg merge
2d 6h
Merged PRs (30d)
442

Description

Extension

https://raycast.com/tonka3000/gitlab

Raycast Version

1.104.24

OS Version

No response

Description
Error:
ApolloError: Field 'closedAt' doesn't exist on type 'MergeRequest'
Field 'resolvedDiscussionsCount' doesn't exist on type 'MergeRequest'
Field 'resolvableDiscussionsCount' doesn't exist on type 'MergeRequest'
Field 'name' doesn't exist on type 'DetailedStatus'
IssuableSearchableField isn't a defined input type (on $in)
Field 'authoredMergeRequests' doesn't accept argument 'search'
Field 'authoredMergeRequests' doesn't accept argument 'in'
Field 'authoredMergeRequests' doesn't accept argument 'labelName'
Field 'authoredMergeRequests' doesn't accept argument 'draft'
Field 'authoredMergeRequests' doesn't accept argument 'includeArchived'
Variable $search is declared by CurrentUserAuthoredMergeRequests but not used
Variable $in is declared by CurrentUserAuthoredMergeRequests but not used
Variable $labelName is declared by CurrentUserAuthoredMergeRequests but not used
Variable $draft is declared by CurrentUserAuthoredMergeRequests but not used
Variable $includeArchived is declared by CurrentUserAuthoredMergeRequests but not used
    at new t (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:201:163)
    at /Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:207:38659
    at d (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:60510)
    at /Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:60425
    at new Promise (<anonymous>)
    at Object.then (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:60392)
    at Object.next (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:60520)
    at Fw (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:36775)
    at c3 (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:37185)
    at e.value (/Users/oneyoung/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/mrmenu.js:200:37720)
Steps To Reproduce
  1. I set Gitlab person access token and i can use Todos Menu Bar
  2. When i tried to open Merge Requests Menu Bar manually, it failed.
Current Behaviour

No response

Expected Behaviour

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GitLab extension linked in the issue and the Merge Requests Menu Bar command described in the reproduction steps. Inspect the source behind the reported mrmenu.js errors and the GraphQL requests for MergeRequest, DetailedStatus, and authoredMergeRequests; done means the command opens successfully with a GitLab person access token.

Written by the indexing model from the issue text.

Assessment

Tech stack
gitlab, graphql, typescript
Domain
api, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.