sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: bitcoin
Issue: new RPC: sendrawtransactiontopeer
Labels: Feature,Brainstorming,RPC/REST/ZMQ,P2P,Mempool,Privacy

### Please describe the feature you'd like to see added.

new RPC  `sendrawtransactiontopeer`, which sends the raw transaction to a specified peer

### Is your feature related to a problem, if so please describe it.

Using `sendrawtransactiontopeer` can be useful for the user when it has a peer it trusts (privacy wise) and wants to (re)broadcast a transaction (to that specific peer).

Specifically for rebroadcasting, as `sendrawtransaction` doc contains a fair warning: _using sendrawtransaction for manual rebroadcast may degrade privacy by leaking the transaction's origin_. So using a specific trusted peer to rebroadcast seems reasonable.

Additionally, user might have a Transport v2 connection and it's biggest worry is his ISP spying on him. In this case the user might want to use (one of) his v2 connected peers for (re)broadcasting the tx.

### Describe the solution you'd like

new RPC `sendrawtransactiontopeer`, where the raw tx and peer are specified
(somewhat similar to `sendmsgtopeer`)

### Describe any alternatives you've considered

- [have an argument in `sendrawtransaction` to specify a peer](https://github.com/bitcoin/bitcoin/issues/21876#issue-879140859)
- [ _use -connect=<ip> to connect only to the specified node(s)._](https://github.com/bitcoin/bitcoin/issues/21876#issuecomment-1212166950) (for this, the user would need to restart and disconnect all other peers every time he wants to do it)

### Please leave any additional context

https://github.com/bitcoin/bitcoin/issues/21876, similar request but suggesting to add an argument in `sendrawtransaction` to mention the peer
https://github.com/bitcoin/bitcoin/pull/27509, useful but `sendrawtransactiontopeer` would still be a good addition imo

**Could this be used by malicious parties (who want to get a better view of the network etc)?** 
Maybe, but they might already be doing that with a modified client.

In contrary, `sendrawtransactiontopeer` might make transaction broadcast/relay analysis harder.
Repository: next.js
Issue: Incorrect linking of `manifest` if `basePath` is provided.
Labels: bug,linear: next

### Link to the code that reproduces this issue

https://codesandbox.io/p/sandbox/jovial-hill-xjznkk?file=%2Fapp%2Fpage.tsx%3A5%2C54

### To Reproduce

1. Start the application in dev.
2. Navigate to root of application with `basePath` (here, `/sample-base`)
3. Open developer console:
![image](https://github.com/vercel/next.js/assets/20752081/517011c0-f052-4c8b-a70c-204a266c2b53)

### Current vs. Expected behavior

Manifest described in `app` directory is incorrectly linked in `head` of html page.
![image](https://github.com/vercel/next.js/assets/20752081/97425f3c-d03d-4877-84d0-f874200ed0f7)
Expected for manifest to be correctly linked with `basePath` prefix.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 16.17.0
  npm: 8.15.0
  Yarn: 1.22.19
  pnpm: 7.1.0
Relevant Packages:
  next: 13.5.5-canary.5
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A
```


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

Not sure, App Router, Metadata (metadata, generateMetadata, next/head)

### Additional context

_No response_

<sub>[NEXT-2707](https://linear.app/vercel/issue/NEXT-2707/incorrect-linking-of-manifest-if-basepath-is-provided)</sub>
Repository: terminal
Issue: [megathread] Chromium parity for tab drag/drop
Labels: Issue-Feature,Area-UserInterface,Product-Terminal,External-Blocked-WinUI3

_maintainer edit_

This is blocked on a TabView v3 from WinUI.

```[tasklist]
### Tasks
* [ ] Tabs should make a new window as soon as their torn out
* [ ] Torn-out tabs need to be able to snap to snap positions (maximized, snap layouts) without dropping first
* [ ] Multiple tabs can't be dragged/dropped all at once
* [ ] Dragging a tab in a window with a single tab should just drag the window
```


------------

Uploaded a video to show exactly what I'm talking about. In the video below I'm comparing tab tear out and joining with Microsoft Edge. Windows Terminal's tab experience should be like Edge because it's currently hard to work with it when a tab can't join another window unless that window is visible.


https://github.com/microsoft/terminal/assets/118815227/195417e9-0034-400b-bcf4-813d8f264563
Repository: flutter
Issue: Web: Html renderer - Alignment of custom icons wrong
Labels: engine,platform-web,c: rendering,e: web_html,has reproducible steps,P2,team-web,triaged-web,found in release: 3.13,found in release: 3.16

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

I have an issue on web using the renderer `html`.
**Issue**
When I add a custom icon (from https://www.fluttericon.com/), the alignment is wrong using the `html` renderer.

**Steps**
1. Use flutter stable channel or the current master channel (see `flutter doctor` output).
2. Clone this **[repo](https://github.com/karvulf/web-html-custom-icon-issue)**
3. Run the following command: `flutter run -d chrome --web-renderer html`.


### Expected results

I would expect that the custom icon is aligned centered.

### Actual results

The custom icon isn't aligned centered (see Screenshot of second icon).

### Code sample

Code sample is in this project https://github.com/karvulf/web-html-custom-icon-issue.
There you can reproduce the issue.


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

<img width="98" alt="Bildschirmfoto 2023-10-11 um 11 05 32" src="https://github.com/flutter/flutter/assets/36191072/5a9c6874-d51c-4df1-b388-5d3a55c2e91f">

</details>


### Logs

_No response_

### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel master, 3.16.0-10.0.pre.18, on macOS 13.4.1 22F770820d darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.5)
[✓] VS Code (version 1.79.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

```

</details>
Repository: vscode
Issue: Integration test failure
Labels: bug,freeze-slow-crash-leak,windows,integration-test-failure

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=236230&view=logs&j=0304f796-6596-5b42-8573-3d5da85bc4a5&t=1a53f334-c977-530c-cec1-ac39ef9d774a


```
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
Renderer process crashed with: {"reason":"crashed","exitCode":-1073741819}
errorlevel: 1

```
Repository: material-ui
Issue: [tabs] After removing tab scrollable mode is triggered (bad behavior of scrollable mode in case of dynamic tabs)
Labels: bug 🐛,component: tabs,package: material-ui,regression

### Steps to reproduce

Link to live example: (required)
https://codesandbox.io/p/sandbox/frosty-snow-tlq78l?file=%2Fpackage.json%3A6%2C32

Steps:
1. Remove "Item one"
![image](https://github.com/mui/mui-x/assets/19363700/05350a04-47f4-45cc-b840-247bfa5e07af)

2. After remove there is scrollable mode with arrow on the right
![image](https://github.com/mui/mui-x/assets/19363700/792abe64-0c2f-43db-9e17-98c3709b990f)



### Current behavior

After removing last tab, scrollable mode is trigger when there is no need

### Expected behavior

After remove tab there should be no arrows for scroll as width of tabs is smaller then width of the wrapper component.

### Context

It looks like a BUG as arrow is suddenly shown at the end of tabs toolbar.

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
```
</details>



**Search keywords**: tabs, scrollable
**Order ID**: 46820
Repository: electron
Issue: Deep Links docs are not clear enough on how to read URL on cold start on Windows and Linux
Labels: enhancement :sparkles:,documentation :notebook:,beginner friendly

https://www.electronjs.org/docs/latest/tutorial/launch-app-from-url-in-another-app

The user can click the deep link either when the app is already open or when it's yet to be started – clicking the link will cause the OS to open the app.

On macOS, both scenarios will go through the same `open-url` event. Well, that's as long as you register a listener for this event fast enough. Initially I did so from an async function and that one extra tick was too late, I had to move it to sync code executed during the start of the app.

On Windows and Linux however, those two scenarios differ. If your app is already running, `second-instance` is going to be fired. But what if the app is closed? The docs don't explain that, but the way to solve it is to read `process.argv` at the start of the app and grab the URL from there.

Moreover, the docs use this approach to call `app.setAsDefaultProtocolClient`:

```javascript
if (process.defaultApp) {
  if (process.argv.length >= 2) {
    app.setAsDefaultProtocolClient('electron-fiddle', process.execPath, [path.resolve(process.argv[1])])
  }
} else {
  app.setAsDefaultProtocolClient('electron-fiddle')
}
```

They do not explain why this particular way of calling this method is required. I suppose it's to enable protocol handling on Windows when running a "dev" version of the app that is not packaged? On macOS and Linux, custom protocol handling requires a packaged app anyway.

See other people confused about how to implement this properly:

* #33032
Repository: next.js
Issue: Error: The render was aborted by the server without a reason.
Labels: create-next-app,bug

### Link to the code that reproduces this issue

https://codesandbox.io/p/github/nicitaacom/19_spotify-clone/00-00

### To Reproduce

Link to the code that reproduces this issue
To Reproduce
image

codesandbox - https://codesandbox.io/p/github/nicitaacom/19_spotify-clone/00-00
github repository - https://github.com/Nicitaa/19_spotify-clone

Current vs. Expected behavior
Current behavior
I have this error

Expected behavior
No error at all (because it useless error - it tells me nothing to do or how to fix it - so that's spam)
Or something that fix this error and as result issue will not appears again

Verify canary release
 I verified that the issue exists in the latest Next.js canary release
Provide environment information
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Sun Aug  6 20:05:33 UTC 2023
Binaries:
  Node: 16.17.0
  npm: 8.15.0
  Yarn: 1.22.19
  pnpm: 7.1.0
Relevant Packages:
  next: 13.5.5-canary.5
  eslint-config-next: 13.5.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
Which area(s) are affected? (Select all that apply)
CLI (create-[next-app](https://linear.app/vercel/issue/NEXT-app))

Additional context
I got this error I was writing spotify clone by this guide - https://www.youtube.com/watch?v=2aeMRB8LL4o&t=12065s&ab_channel=CodeWithAntonio

### Current vs. Expected behavior

dsfds

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
12esd
```


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

CLI (create-next-app)

### Additional context

dfs
Repository: next.js
Issue: bug: broken reactStrictMode with HMR in NextJS 13.5.4
Labels: bug,Navigation

### Link to the code that reproduces this issue

https://github.com/technophile-04/next-plain-mrr/tree/two-effects

### To Reproduce

1. `git clone -b two-effects https://github.com/technophile-04/next-plain-mrr `

2. `pnpm isntall`

3. `pnpm dev`

### Current vs. Expected behavior

It seems that for some reason reactStrictMode with `App router` does not run `useEffect` while HMR : 


https://github.com/vercel/next.js/assets/80153681/13089644-371f-4b88-a958-e0a438d68e1d

Checkout while initially when strictMode is on it does not log logs `useEffect` when you change something in `Counter.tsx`

After I disable reactStrictMode, it starts logging even after HMR 

--- 

Expected behaviour should be similar to `Pages router` checkout when I visit `/pageDir` (served by pages router) it run `useEffect` and logs even after HMR : 


https://github.com/vercel/next.js/assets/80153681/ca2c4006-f347-4997-a1a2-26980106381d




I think `App router` should also run `useEffect` after HMR otherwise it will causes alot inconsistency while migrating to new `App router` and its hard to debug the same


### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103
Binaries:
  Node: 18.16.0
  npm: 9.5.1
  Yarn: 1.22.19
  pnpm: 8.7.4
Relevant Packages:
  next: 13.5.4
  eslint-config-next: 13.5.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


### Which area(s) are affected? (Select all that apply)

App Router, Routing (next/router, next/navigation, next/link)

### Additional context

Really sorry if I am missing something or this is how it's intended to work ? Becuase it works differently in Pages router and might a blocker for people migrating to App router, Thanks 🙌

Also tried upgrading to canary and issue still exist, we faced this during our migration from Pages to App router => https://github.com/scaffold-eth/scaffold-eth-2/pull/535#issuecomment-1755956113
Repository: next.js
Issue: Missing source maps break client-side debugging under VSCode
Labels: bug

### Link to the code that reproduces this issue

https://github.com/carlo-salinari/debug-nextjs

### To Reproduce

1. Start the application with `npm run dev`
2. In vscode, set a breakpoint at line 6 of `page.tsx`
3. Start a debugging session
4. Refresh page


### Current vs. Expected behavior

Current behaviour:
- breakpoint goes gray (ignored)
- debug console say some source maps file are missing (see attachment)
[dbconsole.txt](https://github.com/vercel/next.js/files/12870120/dbconsole.txt)

Expected:
- hit the breakpoint and let you debug the app



### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
Operating System:
  Platform: linux
  Arch: x64
  Version: #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep  7 13:12:03 UTC 2
Binaries:
  Node: 19.4.0
  npm: 9.2.0
  Yarn: 1.22.19
  pnpm: 8.9.0
Relevant Packages:
  next: 13.5.5-canary.5
  eslint-config-next: 13.5.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.2.2
Next.js Config:
  output: N/A
```


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

Not sure

### Additional context

_No response_
Repository: vscode
Issue: InlineCompletion PartialAccept additional info
Labels: feature-request,inline-completions

TLDR; Would it be possible to extend the `handlePartialAccept` with metadata field, allowing to attach additional info, such as origin?

It would help understanding in the downstream completion metrics, where acceptances are comming from to better understand user behavior. The field could be later on extended with any additional information if neccessary, e.g. in the case of partial accept it might be helpful to report back also the length of the accepted token (not only the length of the full acceptance from start of insertion to cursor position ).
Repository: storybook
Issue: [Bug]: `useState`/`useArgs` in story is very laggy
Labels: bug,performance issue,addon: controls,sev:S2

### Describe the bug

A controlled component (using `useState` or `useArgs`) is laggy/sluggish/slow to update in storybook:

https://github.com/storybookjs/storybook/assets/7543552/5281a268-4e35-4861-81ab-bac7d4ba0035

When opening the same story canvas in a new tab (aka iframe.html), it's smooth/fast as expected:

https://github.com/storybookjs/storybook/assets/7543552/c346a018-84d8-4a9c-a436-eccd744066b8

To our users it looks like our component is laggy, even though it's storybook that's laggy. 

### To Reproduce

Make a story that uses `useState`/`useArgs` for state management, and use a component that calls `onChange` frequently, such as a Slider component, or other component that calls onChange each time the mouse is moved. For example:

```tsx
export const Default = {
  render: args => {
    const [value, setValue] = useState(0);
    return (
      <Slider {...args} value={value} onChange={value => setValue(value)} />
    );
  },
}
```

(let me know if a stackblitz repro is needed, and I'll make one) 

### System

```bash
System:
    OS: macOS 13.5
    CPU: (12) arm64 Apple M2 Pro
  Binaries:
    Node: 20.5.1 - /opt/homebrew/bin/node
    npm: 9.8.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 118.0.5993.70
    Safari: 16.6
```


### Additional context

_No response_
Repository: flutter
Issue: [Impeller] `.webp` assets are broken on macOS.
Labels: P2,e: impeller,team-engine,triaged-engine

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Flutter 3.13.6
2. macOS Sonoma
3. `Image.asset('assets/image.webp')`

### Expected results

Regular Image view with asset displayed

### Actual results

Broken image widget

### Code sample

<details><summary>Code sample</summary>

```dart
Image.asset('assets/image.webp')
```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

![image](https://github.com/flutter/flutter/assets/9150597/7d4f9d3c-4636-4db6-a612-f59cb87d284b)

</details>


### Logs

<details><summary>Logs</summary>

```console
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture: 105553158460032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture: 105553158460032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture: 105553158460032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture: 105553158460032
embedder.cc (2691): 'FlutterEngineMarkExternalTextureFrameAvailable' returned 'kInternalInconsistency'. Could not mark the texture frame as being available.
2023-10-11 16:27:40.668 Konflikt[66554:659692] Unable to mark texture with id 105553158460032 as available.
Lost connection to device.
MediaKitEventLoopHandler::Register: std::thread exit: 140156038447120

```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for chäeMil’s iPad Pro. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 1 category.

```

</details>
Repository: storybook
Issue: [Bug]: Stories for multiple components
Labels: bug,documentation,portable stories

### Describe the bug

According to the docs this should be possible:

```tsx
// List.stories.ts|tsx

import type { Meta, StoryObj } from '@storybook/react';

import { List } from './List';

// Importing a story which will be used in the render function 👇
import { Unchecked } from './ListItem.stories';

// ...

export const OneItem: Story = {
  render: (args) => (
    <List {...args}>
      <Unchecked {...Unchecked.args} /> // 👈 does not work
    </List>
  ),
};
```
Where stories can be imported and used in the render function of another story. However, this does not seem to be the case. I'm just getting `JSX element type does not have any construct or call signatures`.

Is there something I'm missing or is this a bug?

### To Reproduce

_No response_

### System

```bash
System:
    OS: macOS 13.5.2
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 20.8.0 - ~/.nvm/versions/node/v20.8.0/bin/node
    Yarn: 3.6.1 - ~/.nvm/versions/node/v20.8.0/bin/yarn
    npm: 10.1.0 - ~/[REDACTED]/node_modules/.bin/npm
  Browsers:
    Chrome: 117.0.5938.149
    Edge: 117.0.2045.31
    Safari: 16.6
  npmPackages:
    @storybook/addon-a11y: ^7.4.6 => 7.4.6 
    @storybook/addon-actions: ^7.4.6 => 7.4.6 
    @storybook/addon-coverage: ^0.0.9 => 0.0.9 
    @storybook/addon-essentials: ^7.4.6 => 7.4.6 
    @storybook/addon-interactions: ^7.4.6 => 7.4.6 
    @storybook/addon-links: ^7.4.6 => 7.4.6 
    @storybook/addons: ^7.4.6 => 7.4.6 
    @storybook/cli: 7.4.6 => 7.4.6 
    @storybook/jest: ^0.2.3 => 0.2.3 
    @storybook/react: ^7.4.6 => 7.4.6 
    @storybook/react-vite: 7.4.6 => 7.4.6 
    @storybook/test-runner: ^0.13.0 => 0.13.0 
    @storybook/testing-library: ^0.2.2 => 0.2.2 
    @storybook/theming: ^7.4.6 => 7.4.6
```


### Additional context

_No response_