raycast / raycast/extensions

[SteamGridDB] Something Went Wrong

Open
#25,713 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Extension

https://www.raycast.com/litomore/steamgriddb

Raycast Version

0.46.2.0

OS Version

Windows 11 Professional 10.0.26100.0 amd64

Description

TypeError: Cannot read properties of undefined (reading 'gridColumns')

Eo:C:\Users\samer.config\raycast-x\extensions\src\components.tsx:40:41


37:
38: return (
39: <Grid
40: columns={imageTypeSpecs[imageType].gridColumns}
^
41: isLoading={isLoading}
42: aspectRatio={imageTypeSpecs[imageType].aspectRatio}
43: fit={imageTypeSpecs[imageType].imageFit}
44: searchBarAccessory={

React Component Stack
Eo:C:\Users\samer.config\raycast-x\extensions\src\components.tsx:18:36
NavigationView:index.js:36210:101
    at ray-navigation-stack ()
NavigationRoot:index.js:36181:28

JavaScript Stack
Eo:C:\Users\samer.config\raycast-x\extensions\src\components.tsx:40:41
Zn:react-reconciler.production.js:8:20578
on:react-reconciler.production.js:8:36333
Ve:react-reconciler.production.js:8:46855

Steps To Reproduce

Search for a game.

Current Behaviour

"Something went wrong" pop-up after a second into searching for a game.

Expected Behaviour

List of games should appear, interaction should be possible.

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 in components.tsx at line 40, where imageTypeSpecs[imageType].gridColumns is accessed. Reproduce the issue by opening the SteamGridDB extension and searching for a game, then inspect the imageType value and its corresponding imageTypeSpecs entry. Done means the games list appears and remains interactive without the error popup.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.