sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: Inline chat message/buttons should be aligned with the right edge of the input box
Labels: feature-request,ux,polish,inline-chat

Repro:

1. Wide monitor
2. Open chat
3. Ask "hi", 🐛 yellow message shows on the far side right of the screen
4. Hover The message, 🐛 yellow message shifts to middle and feedback buttons show on far right side

---

Actual:

![Image](https://github.com/user-attachments/assets/d12fadba-2f6f-4720-85f7-362aa970f87c)

Expected:

![Image](https://github.com/user-attachments/assets/354b6e0e-d409-4cbd-856d-dee18d72cc63)

---

Hovering actual:

![Image](https://github.com/user-attachments/assets/3f0f439e-8e8c-43d5-a96b-e55fb3e7f91e)

Hovering expected (something like this?):

![Image](https://github.com/user-attachments/assets/04db99f2-773b-4bfd-b0a1-b18347698815)

---

Happens in terminal on hover too:

![Image](https://github.com/user-attachments/assets/4d0cc22c-4b20-4715-a88f-704845879e10)
Repository: youtube-dl
Issue: Dailywire Episode
Labels: site-support-request

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
- Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm reporting a new site support request
- [ ] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [ ] I've checked that none of provided URLs violate any copyrights
- [x] I've searched the bugtracker for similar site support requests including closed ones


## Example URLs

<!--
Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours.
-->

- Single video: https://www.dailywire.com/episode/ep-1630-the-supreme-court-transgenderism-case-explained


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I pray you take this video from the daily wire and Michael Knowles and you make it free make it free for me to view without buying their membership at dailywire.com.

https://www.dailywire.com/episode/ep-1630-the-supreme-court-transgenderism-case-explained
Repository: PowerToys
Issue: DIsable a keymap without deleting it
Labels: Product-Keyboard Shortcut Manager,Needs-Triage

### Description of the new feature / enhancement

A disable toggle that turns off the key map temporarily until it's re-enabled.

### Scenario when this would be used?

Sometimes you just need to turn something off quickly without having to re-make the mapping when you want it back.

### Supporting information

Other mapping software has this feature.

Work around:

![Image](https://github.com/user-attachments/assets/2491fd79-7074-4d7d-955f-d818d8659599)
Repository: vscode
Issue: workbench.colorCustomizations.editor.focusBorder
Labels: feature-request,editor-core

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
Just like tabs, but for editors.
Repository: react
Issue: Bug: npm start kill automatically
Labels: Status: Unconfirmed

Hello,

I am working on react project and my react app close frequently and it is utilising high RAM.
![Screenshot 2024-12-05 at 9 20 25 PM](https://github.com/user-attachments/assets/c8123aaf-be7c-4779-ba7c-4f2ef8b696b8)

<!--
  Please provide a clear and concise description of what the bug is. Include
  screenshots if needed. Please test using the latest version of the relevant
  React packages to make sure your issue has not already been fixed.
-->

React version:
React: ^18.3.1
## Steps To Reproduce

1.
2.

<!--
  Your bug will get fixed much faster if we can run your code and it doesn't
  have dependencies other than React. Issues without reproduction steps or
  code examples may be immediately closed as not actionable.
-->

Link to code example:

<!--
  Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
  repository on GitHub, or provide a minimal code example that reproduces the
  problem. You may provide a screenshot of the application if you think it is
  relevant to your bug report. Here are some tips for providing a minimal
  example: https://stackoverflow.com/help/mcve.
-->

## The current behavior


## The expected behavior
Repository: vscode
Issue: Clean up cached extension VSIXs after some time
Labels: debt,extensions

Clean up cached extension VSIXs after some time
Repository: angular
Issue: Precache JavaScript in SW to speed up incremental hydration
Labels: feature,area: service-worker

### Which @angular/* package(s) are relevant/related to the feature request?

_No response_

### Description

To speed up responding to user interaction when using incremental hydration we can precache the JavaScript chunks we extract at build time.

### Proposed solution

The angular service worker could be a good candidate for precaching chunks. Ideally, we can create a mapping of JavaScript per page, start precaching the JavaScript for the current page with higher priority and after that precache the rest.

### Alternatives considered

We can compare this approach to simply inlining link[rel=prefetch] in the page header.
Repository: angular
Issue: DOM independency
Labels: feature,area: core

### Which @angular/* package(s) are relevant/related to the feature request?

angular-core

### Description

I use Angulars Dependency Injection within a WebWorker Scope. 

Angular Core references Types Window, Document, HTMLElement, Elementand Node, which are only visible within Window Scope. However I can import and use { Injectable, Injector } from '@angular/core' if i hack following lines into index.d.ts.

`/**
 * @license Angular v16.2.10
 * (c) 2010-2022 Google LLC. https://angular.io/
 * License: MIT
 */


import { BehaviorSubject } from 'rxjs';
import { Observable } from 'rxjs';
import { Subject } from 'rxjs';
import { Subscribable } from 'rxjs';
import { Subscription } from 'rxjs';

/*NEW LINES ADDED*/
type Window = any;
type Document = any;
type HTMLElement = any;
type Element = any;
type Node = any;

/**
 * @description
 *
 * Represents an abstract class `T`, if applied to a concrete class it would stop being
 * instantiable.
 *
 * @publicApi
 */
export declare interface AbstractType<T>...
`

I will try publishing this change as "neutron-angular-core" and see if I can clean up my setup this way. However I love that rxjs can be used in any context and angular-core, also doesn't really depend on anything other then rxjs. So i think finding an official way to decouple angular core from DOM would be a great feature.

### Proposed solution

Proposal 1)
Move ɵɵresolveBody and other method from angular-core to angular-documents or something.

Proposal 2)
Declare the problematic types they same way I did, but with the constraints in mind, that the respective methods need instead of = any.

### Alternatives considered

My workaround with a seperate package could be sufficient, but if the licence changes I would have a problem.
Repository: angular
Issue: Styling in Angular Elements Angular 18
Labels: area: elements

### Which @angular/* package(s) are the source of the bug?

elements

### Is this a regression?

Yes

### Description

Styling of Angular Material ist not applied in our Web Component if we don't import the style sheet. However, if we add the style sheet it overwrites the style from other Website-Components.

This was not a problem before we updated to Angular 17 respectively 18 and it was also not necessary to import the style sheet of the Web Component in order to have the proper styling.

### Please provide a link to a minimal reproduction of the bug

https://github.com/wysssa/angular18-elements

### Please provide the exception or error you saw

```true

```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
Angular CLI: 18.2.3
Node: 18.17.0
Package Manager: npm 10.2.4
OS: darwin arm64

Angular: 18.2.3
... animations, cdk, cli, common, compiler, compiler-cli, core
... elements, forms, material, material-moment-adapter
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.3
@angular-devkit/build-angular   18.2.3
@angular-devkit/core            18.2.10
@angular-devkit/schematics      18.2.10
@angular/fire                   18.0.1
@schematics/angular             18.2.3
ng-packagr                      18.2.1
rxjs                            7.8.1
typescript                      5.4.5
zone.js                         0.14.10
```

### Anything else?

_No response_
Repository: rust
Issue: Tracking issue for release notes of #132155: Always display first line of impl blocks even when collapsed
Labels: relnotes,T-rustdoc-frontend,relnotes-tracking-issue


This issue tracks the release notes text for #132155.

### Steps

- [ ] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Rustdoc
- [Doc comment on impl blocks shows the first line, even when the impl block is collapsed](https://github.com/rust-lang/rust/pull/132155)
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @GuillaumeGomez, @notriddle -- origin issue/PR authors and assignees for starting to draft text
Repository: vscode
Issue: `Search Service` does not use `asCanonicalUri` 
Labels: debt,search

<strike>When I use `fileSearch` all my paths start with `c:\\Code\\vscode...` (lower case c), however, when I use `textSearch` all paths are returned as  `C:\\Code\\vscode...` (upper case C). 

This is because for `fileSearch` the relative path is joined with the `fsPath` of the root folder:
https://github.com/microsoft/vscode/blob/f9ec787a7770b07b72b76e8dbdd56ef949fa2f70/src/vs/workbench/services/search/node/fileSearch.ts#L193
https://github.com/microsoft/vscode/blob/f9ec787a7770b07b72b76e8dbdd56ef949fa2f70/src/vs/workbench/services/search/node/rawSearchService.ts#L144-L146

With `textSearch` we use `URI.joinPath`:
https://github.com/microsoft/vscode/blob/f9ec787a7770b07b72b76e8dbdd56ef949fa2f70/src/vs/workbench/services/search/node/ripgrepTextSearchEngine.ts#L282</strike>

**Update:**
After thinking about this, it actually doesn't matter if the drive letter is returned as upper or lower case. But, after looking at the implementation I'm wondering why the `SearchService` is no using `IUriIdentityService.asCanonicalUri` to make sure the URIs returned by ripgrep are in the correct format?
Repository: langchain
Issue: _recursive_set_additional_properties_false does not work with AnyOf attribute type
Labels: 🤖:bug,investigate

### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

```python
class ContentA(BaseModel):
    target: int


class ContentB(BaseModel):
    value: str


class MyTool(BaseModel):
    content: Union[ContentA, ContentB]


model = AzureChatOpenAI(...)
model = model.bind_tools(tools=[MyTool], strict=True, tool_choice=True)
model.invoke('hi')
```

### Error Message and Stack Trace (if applicable)

```
openai.BadRequestError: Error code: 400 - {'error': {'message': "Invalid schema for function 'MyTool': In context=('properties', 'content', 'anyOf', '0'), 'additionalProperties' is required to be supplied and to be false.", 'type': 'invalid_request_error', 'param': 'tools[0].function.parameters', 'code': 'invalid_function_parameters'}}
```

### Description

The method _recursive_set_additional_properties_false is missing a check for anyOf attribute to keep adding recursively.

### System Info

System Information
------------------
> OS:  Linux
> OS Version:  #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  6 17:42:15 UTC 2
> Python Version:  3.10.12 (main, Nov  6 2024, 20:22:13) [GCC 11.4.0]

Package Information
-------------------
> langchain_core: 0.3.21
> langchain: 0.3.8
> langchain_community: 0.3.8
> langsmith: 0.1.146
> langchain_openai: 0.2.9
> langchain_text_splitters: 0.3.2
> langgraph_sdk: 0.1.35

Optional packages not installed
-------------------------------
> langserve

Other Dependencies
------------------
> aiohttp: 3.11.7
> async-timeout: 4.0.3
> dataclasses-json: 0.6.7
> httpx: 0.27.2
> httpx-sse: 0.4.0
> jsonpatch: 1.33
> numpy: 1.26.4
> openai: 1.55.1
> orjson: 3.10.12
> packaging: 24.2
> pydantic: 2.10.2
> pydantic-settings: 2.6.1
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> SQLAlchemy: 2.0.35
> tenacity: 9.0.0
> tiktoken: 0.8.0
> typing-extensions: 4.12.2
Repository: pytorch
Issue: Fix broken tensorboard tests in 3.13
Labels: module: tests,triaged,module: tensorboard,module: python frontend

https://github.com/pytorch/pytorch/pull/141572 disabled some tensorboard tests in 3.13 due to failures. It looks related to tensorboard version - using a newer version seems to fix the test, but the failure still happens on CI (maybe the tensorboard version isn't updated on CI?).

cc @mruberry @ZainRizvi @albanD
Repository: material-ui
Issue: [system] Support using `applyStyles` inside template literals
Labels: waiting for 👍,package: system,enhancement

### Summary

This should be supported out of the box:

```js
const theme = createTheme({});

const StyledButton = styled('button')`
  ${theme.applyStyles(
    'dark', `
      background: white;
    `
  )}
`;
```

But it's not because `theme.applyStyles` returns an object. The current workaround is to override `applyStyles`.

### Motivation

Taken from https://github.com/mui/material-ui/issues/44488

**Search keywords**: applyStyles template literals
Repository: vscode
Issue: Format markdown links containing space in filename [](<>) without greater and smaller sign and maintain URL encoding
Labels: feature-request,markdown

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->
## Problem
VS Code adds `<>` to markdown links when the filename contains spaces, which causes issues with some parsers and static site builders. 

## Steps to reproduce 
activate `markdown: automatic link updates on file move.`  
Move file into a diffent folder. Then move it back to the original position. If the markdown file contains links that point to a filename with spaces, markdownlinks are changed to `(<>)`. 
 
## Details
When file is moved, that contains a URL-encoded link to a filename containing spaces e.g. 
```
[link](file%20with%20spaces.md)
```
VSCode adds <> to the resulting markdown link and removes the URLEncoded attributes. The result for example is `[link](<file with spaces.md>)`.

However as a result VSCode has removed the url encoded property of the markdown link, causing issues in some static site generators or other markdown programmes as this [](<>) is not a pure standard markdown format in links in general. `<>` are more common in www.webpages. Some parsers interpret `[File]<file with spaces.md>`  as a website for instance. 

## Solution
It would be great if the links after file move get updated from `[link](<file with spaces.md>)` to `[link](file%20with%20spaces.md)`. VSCode already has the power to provide url-encoded links. 

## Alternative I have considered
### vs. Code
I use RegExp with: Find:
```
(?<=\]\([^\]\r\n]*)[^\S\r\n]+
````
Replace: `%20` to find all spaces in Markdownlinks and replace it with %20. 
Replace `](<` with `](` and also `>)` with `)`. 
I use Notepad ++ and a Macro to do the same: 
```  
(\G(?!\A)|\[[^][]*]\()([^()\s]*)\s
(\G(?!\A)|\[[^][]*]\()([^()\s]*)\s+(?=[^()]*\))
```
Replace $1$2%20. And also replace `](<` with `](` and also `>)` with `)`.
Repository: rust
Issue: Tracking issue for release notes of #133883: Remove polymorphization
Labels: T-compiler,relnotes,-Zpolymorphize,relnotes-tracking-issue


This issue tracks the release notes text for #133883.

### Steps

- [x] Proposed text is drafted by PR author (or team) making the noteworthy change.
- [ ] Issue is nominated for release team review of clarity for wider audience.
- [ ] Release team includes text in release notes/blog posts.

### Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

````markdown
# Compiler
- [The unstable flag `-Zpolymorphize` has been removed](https://github.com/rust-lang/rust/pull/133883), see https://github.com/rust-lang/compiler-team/issues/810 for some background.
````

> [!TIP]
> Use the [previous releases](https://doc.rust-lang.org/nightly/releases.html) categories to help choose which one(s) to use.
> The category will be de-duplicated with all the other ones by the release team.
>
> *More than one section can be included if needed.*

### Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
*Otherwise leave it empty.*

````markdown
````

cc @saethlin, @compiler-errors -- origin issue/PR authors and assignees for starting to draft text
Repository: pytorch
Issue: Fix disabled 3.13 cpp_extension test failing due to registration error
Labels: module: cpp-extensions,triaged,module: PrivateUse1

Follow-up to https://github.com/pytorch/pytorch/pull/141673.

cc @malfet @zou3519 @xmfan @NmomoN @mengpenghui @fwenguang @cdzhan @1274085042 @PHLens
Repository: electron
Issue: view.getVisible()
Labels: enhancement :sparkles:

### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

Right now there is a `view.setVisible()`, but there is no way to query this value once it has been set.

### Proposed Solution

`view.getVisible()` or `view.isVisible()` (would better match `BaseWindow`)

### Alternatives Considered

There do not seem to be any alternatives using the current API (as documented).

### Additional Information

I am trying to determine the visibility of a WebContentsView during E2E testing (Playwright).
Repository: pytorch
Issue: Inconsistent Presence of 'out' Arg in cross_entropy_loss vs Other Loss Terms in Python Bindings
Labels: module: nn,module: loss,triaged

### 🐛 Describe the bug

Looking at the method arguments In the bindings generated in python_nn_functions.cpp, almost all loss functions have an out parameter but cross_entropy_loss

```cpp
cross_entropy_loss(
    Tensor input, 
    Tensor target, 
    Tensor? weight=None, 
    int64_t reduction=at::Reduction::Mean, 
    SymInt ignore_index=-100, 
    double label_smoothing=0.0
)
```
```cpp
mse_loss(
    Tensor input, 
    Tensor target, 
    int64_t reduction=at::Reduction::Mean, 
    *, 
    Tensor out=None
)
```
```cpp
binary_cross_entropy(
    Tensor input, 
    Tensor target, 
    Tensor? weight=None, 
    int64_t reduction=at::Reduction::Mean, 
    *, 
    Tensor out=None
)
```
I haven't found a loss function without it except for cross_entropy and the following loss functions do have the out parameter: binary_cross_entropy, l1_loss, smooth_l1_loss, max_pool2d_with_indices, max_pool3d_with_indices, huber_loss, mse_loss, multilabel_margin_loss, soft_margin_loss, multi_margin_loss 

There might be an intentional reason for this, but I thought I should bring it up since it looked inconsistent.

### Versions

'2.6.0a0+git7224cd4'
This isn't version specific so I'm going to omit further versions info

cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
Repository: go
Issue: x/example/gotypes: update for go/types.Alias 
Labels: NeedsInvestigation

golang.org/x/example/gotypes should be updated to include changes in 1.{22,23,24} to support materialized aliases.

The main packages doc, hugeparam, and skeleton may need to be updated to set gotypesalias=1 by default for toolchains >= 1.24. Otherwise that will not be able to type check inputs with type parameterized aliases (1.24).
Repository: godot
Issue: Focusing outline in tree drawn over everything
Labels: bug,topic:editor,topic:gui

### Tested versions

4.0+, 4.4 dev7

### System information

Godot v4.4.dev5 - Windows 10.0.19045 - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.14001.45012) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 threads)

### Issue description

When we focus on a Tree in the theme editor, a border around the Tree is drawn on top of everything

https://github.com/user-attachments/assets/fde56428-7e9c-4c4b-9876-6cf7d9eb6e51


### Steps to reproduce

1. Open the theme editor
2. Click on Tree in the theme preview

### Minimal reproduction project (MRP)

N/A