codesandbox / codesandbox/codesandbox-client

Define API query parameter regression

Open
#8,597 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

🐛 bug report

Preflight Checklist

  • I have read the [Contributing Guidelines][contributing] for this project.
  • I agree to follow the [Code of Conduct][code_of_conduct] that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

The query param described in https://codesandbox.io/docs/learn/sandboxes/cli-api#supported-parameters doesn't seem to work.

How has this issue affected you? What are you trying to accomplish?

I noticed because in https://mui.com/material-ui/react-switch/#color opening a codesandbox does no longer set the file in focus. The DX could be better

Actual:

Screenshot 2024-01-28 at 17 50 35

Expected:

Screenshot 2024-01-28 at 17 50 40

To Reproduce

It seems to be the same problem as in #8299. We noticed this in https://github.com/mui/material-ui/pull/43618.

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 by reviewing the supported-parameters documentation and reproducing the query behavior through the linked CodeSandbox and MUI examples. Compare this report with issue #8299 and the referenced MUI pull request; the work is done when the parameter focuses the requested file again.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.