sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: next.js
Issue: Partial Pre-rendering breaks Intercepted Route
Labels: bug,Parallel & Intercepting Routes,Partial Prerendering (PPR)

### Link to the code that reproduces this issue

https://github.com/hipstersmoothie/hipstersmoothie.com-2

### To Reproduce

1. turn ppr on
2. deploy
3. cmd+k (or hit button in header)

### Current vs. Expected behavior

Current: I think it render the non intercepted version (which in this case just redirects)
Expected: The command palette appears

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: 1.22.19
  pnpm: 8.9.0
Relevant Packages:
  next: 14.1.1-canary.21 // Latest available version is detected (14.1.1-canary.21).
  eslint-config-next: 14.0.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router

### Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

### Additional context

_No response_
Repository: storybook
Issue: [Bug]: "Show Code" removes linebreaks
Labels: bug,help wanted,block: source,sev:S4

### Describe the bug

Similar to https://github.com/storybookjs/storybook/issues/25542 , but vice versa.

In a story I have such code

````
    const icons = [
        createRow('Add', <Icon type={'add'} onClick={onClick} className={'any-class'}/>),
        createRow('Change', <Icon type={'change'} onClick={onClick}/>),
        createRow('Up', <Icon type={'up'} onClick={onClick}/>),
        createRow('Down', <Icon type={'down'} onClick={onClick}/>),
        createRow('Remove', <Icon type={'remove-trash'} onClick={onClick}/>),
        createRow('Close', <Icon type={'remove-x'} onClick={onClick}/>),
        createRow('Download', <Icon type={'download'} onClick={onClick}/>),
    ]
````

When I use "Show Code" feature, the code is shown with removed linebreaks, making it hard to copy component code.

````
  const icons = [createRow('Add', <Icon type={'add'} onClick={onClick} className={'any-class'} />), createRow('Change', <Icon type={'change'} onClick={onClick} />), createRow('Up', <Icon type={'up'} onClick={onClick} />), createRow('Down', <Icon type={'down'} onClick={onClick} />), createRow('Remove', <Icon type={'remove-trash'} onClick={onClick} />), createRow('Close', <Icon type={'remove-x'} onClick={onClick} />), createRow('Download', <Icon type={'download'} onClick={onClick} />)];
````

### To Reproduce

_No response_

### System

```bash
npx storybook@7.6.7 info

Storybook Environment Info:

  System:
    OS: Linux 5.15 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm <----- active
  npmPackages:
    @storybook/addon-essentials: ^7.6.7 => 7.6.7
    @storybook/manager-api: ^7.6.7 => 7.6.7
    @storybook/nextjs: ^7.6.7 => 7.6.7
    @storybook/theming: ^7.6.7 => 7.6.7
    storybook: ^7.6.7 => 7.6.7
```


### Additional context

_No response_
Repository: ant-design
Issue: DatePicker with date-fns bug when typing in the date input
Labels: help wanted,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/j5tlcj?file=%2Fvite.config.ts)

### Steps to reproduce

Select date
Manually update day by typing in the input e.g. 15
DatePicker will change date after inputing 1 not allowing to enter 5
https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExM2NiNTc2aDB2NmRieGduZmEwdHk1dTk4bWhkNTZ4OGszeWNvcmUwbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/vDCB6mBplGAziysllv/giphy.gif

### What is expected?

Date should be correctly modified.

### What is actually happening?

Date is not correctly modified, pointed place is jumping to the end when removing, can't modify correctly date or time. 

| Environment | Info |
| --- | --- |
| antd | 4.24.8 |
| React | 18.2.0 |
| System | macOS 14.0 (23A344) |
| Browser | Google Chrome Version 120.0.6099.234 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: create-react-app
Issue: generate .json file of a project 
Labels: issue: proposal,needs triage

Hi, 

We are having low code / no code platform using grapesJS editor. 

1. Is it possible to load create-react-app or react projects into grapesJS platform?
2. Is it possible to generate react code from grapeJS platform?
3. Is it possible to export the "react-scripts build" from grapesJS plaform?

Thanks,
Raja K
Repository: frp
Issue: 分享一个用于 frps 的 Grafana 的仪表盘
Labels: doc

### 预览

![preview](https://github.com/fatedier/frp/assets/77138105/c5ea0252-f302-409d-b7d9-3f2ed75a3812)

### 功能

- 展示 frp 服务器的连接数、代理数和流量数据等关键指标。

- 提供对 frp 服务器的流量、代理计数和连接计数的实时监控。

###  使用说明

1. 为你的frp 开启 Prometheus 监控，可以查看[文档](https://gofrp.org/zh-cn/docs/features/common/monitor/)。

2. 配置 Prometheus 收集您的 frp 服务器的监控数据。

3. 导入本监控面板，[在这里可以找到](https://grafana.com/grafana/dashboards/20370-frps/)。

4. 在Grafana中选择frp监控面板，您将能够实时监控frp服务器的状态和性能指标。


### Describe alternatives you've considered

_No response_

### Affected area

- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [X] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [ ] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [X] Others
Repository: PowerToys
Issue: Command Not Found Error
Labels: Issue-Bug,Product-Settings,Needs-Triage,Product-CommandNotFound

### Microsoft PowerToys version

0.77.0

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Command not found

### Steps to reproduce

Clicking Install on the Command Not Found page crashes the app when pressing install. To uncrash it, you have to close the terminal it opens.

### ✔️ Expected Behavior

For the files to download without crashing

### ❌ Actual Behavior

It crashes (unresponsive)

### Other Software

_No response_
Repository: flutter
Issue: [google_maps_flutter] Background color for unloaded tiles
Labels: c: new feature,p: maps,package,c: proposal,team-ecosystem,P2,triaged-ecosystem

### Use case

When using a dark style for the google map, a white background is being shown for the unloaded tiles.

### Proposal

It would be a good idea to have at disposal a variable like backgroundColor defined in the MapConfiguration class which can be used to change the color for the unloaded tiles depending on the app theme.

I've seen that on android, there is a variable like this defined in the GoogleMapOptions class:
https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMapOptions#backgroundColor(java.lang.Integer)

Also for ios:
https://developers.google.com/maps/documentation/ios-sdk/reference/interface_g_m_s_map_view_options#a929091a8ea8a162385cf7f0dfe0a666f
Repository: vscode
Issue: Unable to rename a variable in multi diff editor
Labels: bug,multi-diff-editor

1. Open Multi Diff editor
2. Click on a variable
3. Press F2
4. Enter a new variable name
5. Press Enter => Nothing happens

This only happens in the multi diff editor. It works in the normal Diff editor
Repository: tauri
Issue: [bug] double char input in multiwebview on macos
Labels: type: bug,status: needs triage,scope: unstable flag

### Describe the bug

When using `multiwebview` where the webview added `as_child` to the window,
If I focus the input in `twitter.com` and creating a post, then when I write the first character it written twice (also after delete and rewrite)

It doesn't happen in normal `webview` where it doesn't added `as_child`, eg: in `helloworld` example.


### Reproduction

I couldn't found what special in that `input` field. so need to reproduce on twitter

user agent must changed so twitter.com will load
```
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36
```

1. Clone `tauri` and execute the following:
```console
cargo run --example multiwebview --features="unstable"
```
2. Navigate to twitter.com with `location.href = "https://twitter.com/"` and login using username and password
3. Try to create a post and input the first character
4. Do again with `helloworld` example and see that it doesn't happen there
```console
cargo run --example helloworld
```

### Expected behavior

When writing the first char in the input only one should written

### Full `tauri info` output

```text
Testing commits
tauri: 38b8e672372c65ad0788d39e154089dbb98e495d
```


### Stack trace

_No response_

### Additional context

It doesn't happen in `wry` `multiwebview` example so most probably it's in `tauri`
It doesn't happen on `Windows 11`
It doesn't happen in helloworld example
Repository: vscode
Issue: Multi Diff Editor: Hidden Ranges border buggy
Labels: bug,multi-diff-editor

When I press on the bottom border of a hidden range it automatically shows more lines, not sure if this is the expected behaviour?
When it shows these lines the hidden ranges div disappears until I scroll up. When I scroll up it flickers and shows the hidden ranges divider again.

![Code_-_Insiders_n57faWdVvi](https://github.com/microsoft/vscode/assets/44439583/092d1132-7f37-42ad-860f-01d881f6bd25)
Repository: go
Issue: x/mobile: UI hangs when Go code called from Swift communicates over the network; `time.Sleep` works fine
Labels: NeedsInvestigation,mobile

I used quic-go to implement a function to send messages to the server and receive data, which I turned into an iOS library with the gomobile bind command.

```go
func Fetch(message string) ([]byte) {
	fmt.Printf("Client: Sending '%s'\n", message)
	
	stream, err := conn.OpenStreamSync(context.Background())  // conn is of type quic.Connection.
	if err != nil {
		fmt.Printf("go_Client: Error opening stream: %s\n", err)
	}

	fmt.Printf("go_client: Sending '%s'\n", message)
	_, err = stream.Write([]byte(message))
	if err != nil {
		fmt.Printf("go_client: Error writing to stream: %s\n", err)
	}

	bufferSize := 1024
	var receivedData []byte 

	for {
		buf := make([]byte, bufferSize)
		n, err := stream.Read(buf)
		if err != nil {
			if err == io.EOF {
				break 
			}
			fmt.Printf("Client: Error reading from stream: %s\n", err)
			break
		}
		receivedData = append(receivedData, buf[:n]...) 
	}
	
	stream.Close()

	return receivedData
}
```

This function is called in swift as follows.

```swift
func fetchObjectFromServer(_ message: String, completion: @escaping (Data?) -> Void) {
    Task.detached{
        let data = QuicFetch(message)
        if let unwrappedData = data {
            completion(unwrappedData)
        } else {
            completion(nil)
        }
    }
}
```

I am using "Task.detached" to make asynchronous calls, but when the QuicFetch function starts processing, the UI stops.

I experimentally modified the code of golang's Fetch function as follows and used it in the same way in swift.

```go
func Fetch() {
	sleepTime := 10 * time.Second
	fmt.Printf("start sleep\n")
	time.Sleep(sleepTime)
	fmt.Printf("end sleep\n")
}
```

This function was properly processed in the background and the UI did not stop.

I would like to know why the UI stops when trying to process in the background only when communicating with quic-go.
Repository: PowerToys
Issue: HyperlinkButton appearance
Labels: Idea-Enhancement,Area-User Interface

I don't know what the reason was to create this (if there's a good reason, please enlighten me) but I think we can/should use a normal **HyperlinkButton**. Our control/appearance (bold text) is not used in Windows (settings and apps).

I also would like to add an icon ("OpenInNewWindow") to _some_ links that point to something "external", like a website.

reference:
![image](https://github.com/microsoft/PowerToys/assets/65828559/e783b07c-d60a-41ed-8f83-3256b1e14194)

Regarding the style:
- compact style for places without adjacent buttons
- I want to use default style in OOBE, to be in line with adjacent buttons
![image](https://github.com/microsoft/PowerToys/assets/65828559/4455749c-af0a-4219-b238-5415fefc1fea)

> [!IMPORTANT]
> _SettingsPageControl.xaml_ uses **HyperlinkButton** + **TextBlock**, combined with _PageLink.cs_ for Text and URI properties. The TextBlock element can/should be removed. This means `SettingsPageControl.SecondaryLinks` structure must change, from TextBlock.Text to HyperlinkButton.Content.
> Compare with `PrimaryLinks`.
> Compare with the links on OOBE pages: they are declared on every singe Page.
Repository: puppeteer
Issue: browser.debugInfo test might catch pending calls from a previous test
Labels: bug,confirmed,P3

See https://treeherder.mozilla.org/logviewer?job_id=445145141&repo=try&lineNumber=15751
Repository: PowerToys
Issue: Make PowerToys Startup as a service
Labels: Idea-Enhancement,Area-Runner,Needs-Triage

### Description of the new feature / enhancement

Make PowerToys start with Windows as a service to instant usage after login by default when the start with Windows option turned on

### Scenario when this would be used?

Casual

### Supporting information

_No response_
Repository: tauri
Issue: [feat] cargo tauri install command
Labels: type: feature request

### Describe the problem

Sometime when you build something you want to install it as well.
There is this command when using the Ninja build system for the c language that allows you to do just that.
Something like `ninja -Cx install` will first compile the program and then install it for you as well.

### Describe the solution you'd like

Something like the ninja install command would be nice to have 

### Alternatives considered

Manually installing after building the program.

### Additional context

_No response_
Repository: vscode
Issue: Muti-file diff editor - collapse icon missing from the right-hand side
Labels: bug,multi-diff-editor

Filing a separate issue for this comment - https://github.com/microsoft/vscode/issues/180720#issuecomment-1916702362

![image](https://github.com/microsoft/vscode/assets/28700378/57cd969c-642e-428f-bb64-7d200bebedb4)
Repository: storybook
Issue: [Bug]: unexpected package.json format changes
Labels: bug,good first issue,help wanted,sev:S4

### Describe the bug

**Project**: SvelteUI
**Version**: 8.0.0-alpha.13
**Bug/feedback**:

The `upgrade` command changed the format in `package.json`, going from tab indentation to 2-spaced indentation throughout the file.

### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: storybook
Issue: [Bug]: `CTRL + K` keyboard shortcut conflicts with windows browser search
Labels: bug,ui: search,sev:S3

### Describe the bug

Project: Bitwarden
Version: 8.0.0-alpha.14
Bug/feedback: Ctrl + K triggers the browser search instead of Storybook's search

When a Story is focused and `CTRL + K` combination is pressed, the browsers search bar is focused. As discussed with @cdedreuille, we might revert the keyboard mapping and stick with the old `/` key instead

Reported in  https://github.com/storybookjs/storybook/discussions/25688?sort=new#discussioncomment-8245899

### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: next.js
Issue: next/Image uses unsafe inline style
Labels: bug,Image (next/image)

### Link to the code that reproduces this issue

https://github.com/0xdbe/vercel-gtm

### To Reproduce

1. Start Application: `npm run dev`
2. Open http://localhost:3000/

### Current vs. Expected behavior

With a strict Content Security Policy, the following error appears in browser console (chrome):

> Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-xxx'". Either the 'unsafe-inline' keyword, a hash ('sha256-zlqnbDt84zf1iSefLU/ImC54isoprH/MRiVZGskwexk='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

This error is due to next/Image which adds a style attribute:

```
<img 
  alt="Next.js Logo" 
  ...
  style="color:transparent" 
  src="/next.svg">
```

``next/Image`` should not produce unsafe inline style, or at least, provide a way to disable this for secure website.

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun, 21 Jan 2024 22:14:10 +0000
Binaries:
  Node: 20.10.0
  npm: 10.2.3
  Yarn: 1.22.21
  pnpm: 8.14.3
Relevant Packages:
  next: 14.1.0
  eslint-config-next: 14.1.0
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.3.3
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

Image optimization (next/image, next/legacy/image)

### Which stage(s) are affected? (Select all that apply)

next build (local)

### Additional context

- Tested with 14.1.1-canary.21: https://github.com/0xdbe/vercel-gtm/tree/next-canary
- Discussion: https://github.com/vercel/next.js/discussions/61209
- Workaround using ``getImageProps``: https://github.com/0xdbe/vercel-gtm/tree/fix/image-inline-style
Repository: storybook
Issue: [Bug]: preview area has weird border with blurred vision filter
Labels: bug,good first issue,help wanted,ui,addon: a11y,sev:S4

### Describe the bug

**Project:** MealDrop
**Version:** 8.0.0-alpha.14
**Bug/feedback:**

When activating the blurred vision filter from the accessibility addon, the preview area shows weird borders:

Storybook 7
<img src="https://github.com/storybookjs/storybook/assets/1671563/97a44c57-a89a-4a12-9703-f4df82474100" width="400" />

Storybook 8
<img src="https://github.com/storybookjs/storybook/assets/1671563/e6449c8b-d1d4-431d-83da-f7df445f937b" width="400" />

This is caused because of this newly added box-shadow in the preview iframe:
https://github.com/storybookjs/storybook/blob/next/code/ui/manager/src/components/preview/Iframe.tsx#L16 


### To Reproduce

1. Go to https://stackblitz.com/edit/github-csg7tu
2. Open any story
3. Use the blurred vision filter from addon-a11y

### System

_No response_

### Additional context

_No response_
Repository: vscode
Issue: Add Shortcut for "Close to the Right" Command
Labels: feature-request,workbench-editors

**Summary:** Introduce a keyboard shortcut, `Ctrl+Shift+R`, for the "Close to the Right" command to enhance user efficiency and workflow.

**Description:**
As a frequent user of Visual Studio Code, I often find myself needing to close multiple tabs to the right of my current tab. While VS Code supports this functionality via the context menu in the tab bar, the process could be significantly streamlined with the addition of a direct keyboard shortcut. I propose the introduction of `Ctrl+Shift+R` as the default shortcut for the "Close to the Right" command.

**Justification:**
The "Close to the Right" command is invaluable for managing workspace clutter and focusing on the relevant files. However, accessing this command through the context menu interrupts the workflow and requires multiple steps. A dedicated shortcut would enable users to perform this action quickly, without removing their hands from the keyboard, thus maintaining flow and increasing productivity.

**Proposed Shortcut:** `Ctrl+Shift+R`
This shortcut is intuitive and aligns well with existing conventions, where `Ctrl` often signifies command activation, `Shift` implies a modification or extension of a command, and `R` could stand for "Right" in this context. It also appears to be unassigned in the default keybindings, minimizing conflicts.

**Potential Conflicts:**
I have reviewed the default keybindings and did not find a conflicting assignment for `Ctrl+Shift+R`. However, I recommend a thorough conflict check to ensure compatibility and consider alternatives if any significant conflicts are identified.

**Implementation Consideration:**
This feature request seeks to enhance usability for a wide range of users, particularly those who work with numerous files simultaneously. It is understood that individual preferences for shortcuts may vary, and users should have the option to customize this shortcut within the Keyboard Shortcuts settings if the default proposal does not fit their workflow.

**Conclusion:**
Adding a keyboard shortcut for the "Close to the Right" command would significantly improve user experience by making tab management more efficient and intuitive. I hope the VS Code team considers this enhancement to further refine the editor's usability and productivity features.

Thank you for considering this request.
Repository: storybook
Issue: [Bug]: Source Doc block code formatting
Labels: bug,documentation,block: source,needs triage

### Describe the bug

https://github.com/storybookjs/storybook/blob/99bd40f10b18cc807bc298fcfba340dbc449bec9/code/ui/components/src/components/syntaxhighlighter/formatter.ts#L19

this code only loads the html plugin from Prettier but allows the parser to be any supported by prettier.
This cannot really work without loading all the plugins.

If I am reading this correctly the docs are also incorrect for the same reason.

https://storybook.js.org/docs/api/doc-block-source#format



### To Reproduce

_No response_

### System

_No response_

### Additional context

_No response_
Repository: pytorch
Issue: DISABLED test_causal_variants_compile_causal_variant_CausalVariant_LOWER_RIGHT_shape0_cuda (__main__.TestAttnBiasCUDA)
Labels: module: rocm,triaged,skipped

Platforms: rocm

This test was disabled because it is failing on main branch ([recent examples](https://torch-ci.com/failure?failureCaptures=%5B%22test_transformers.py%3A%3ATestAttnBiasCUDA%3A%3Atest_causal_variants_compile_causal_variant_CausalVariant_LOWER_RIGHT_shape0_cuda%22%5D)).

cc @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang
Repository: rust
Issue: replace <commit> placeholder with the actual commit in vendoring error 
Labels: E-help-wanted,T-bootstrap

Currently, vendoring error related to missing vendor directory is as follows:

https://github.com/rust-lang/rust/blob/5ad7454f7503b6af2800bf4a7c875962cb03f913/src/bootstrap/bootstrap.py#L1034-L1046

It would be more appropriate to replace the <commit> placeholder in the URL provided in error message with an actual commit hash (The one we use for downloading ci rustc. See [fn download_ci_rustc_commit](https://github.com/rust-lang/rust/blob/9aa232ecc7bb006a1fad404f437b049482021a3a/src/bootstrap/src/core/config/config.rs#L2294-L2351)). This way, the link can be copied and used without requiring extra effort to manually replace the placeholder with the commit hash.