sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: angular
Issue: Describe how to fully translate route paths, handle prerendering for them and set lang attribute on html
Labels: area: i18n,area: router,P3,area: docs

### Describe the problem that you experienced

Can't find any official documentation for how to do route paths translations (`path` property in each configurated route).

### Enter the URL of the topic with the problem

https://angular.dev/guide/i18n

### Describe what you were looking for in the documentation

The i18n documentation only describes how to handle language code segment in the url, not each configurated route path. It also:

1. Lacks documentation (or support) for how to handle prerendering with different languages when using the `routesFile` to point to a text file with the routes that should be prerendered.
2. Lacks clarity how to handle all of the above while also updating the `lang` attribute on the `html` element. I saw you can do this by specifying locales in `angular.json` but when trying to put it all together it just becomes a nightmare to try and figure it out.

### Describe the actions that led you to experience the problem

_No response_

### Describe what you want to experience that would fix the problem

An official way of translating route paths based on a subdomain like `en.foo.com/home` or path segment like `foo.com/en/home`, without having to resort to poorly maintained or flat out abandoned third party packages.

### Add a screenshot if that helps illustrate the problem

_No response_

### If this problem caused an exception or error, please paste it here

_No response_

### If the problem is browser-specific, please specify the device, OS, browser, and version

_No response_

### Provide any additional information here in as much as detail as you can

_No response_
Repository: storybook
Issue: [Bug]: Centered layout does not center vertically in docs
Labels: bug,ui

### Describe the bug

Applying `height` to docs stories that has `layout: 'centered'`, doesn't center it vertically.

```js
parameters: {
  layout: 'centered',
  docs: {
    story: {
      height: '200px'
    }
  }
}
```

<img width="263" alt="image" src="https://github.com/storybookjs/storybook/assets/29512354/aff15d2e-7bb6-4735-a765-40a850db8147">



### To Reproduce

https://stackblitz.com/edit/github-jrx9jh?file=src%2Fstories%2FButton.stories.ts

### System

```bash
Storybook Environment Info:

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm <----- active
    pnpm: 8.10.5 - /usr/local/bin/pnpm
  npmPackages:
    @storybook/addon-essentials: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/addon-interactions: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/addon-links: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/addon-onboarding: ^1.0.10 => 1.0.10 
    @storybook/blocks: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/react: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/react-vite: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    @storybook/test: ^8.0.0-alpha.6 => 8.0.0-alpha.6 
    storybook: ^8.0.0-alpha.6 => 8.0.0-alpha.6
```


### Additional context

_No response_
Repository: pytorch
Issue: `torch.compile` cannot be used in official Docker runtime images
Labels: oncall: releng,triaged,module: docker

### 📚 The doc issue

We need to specify that we could not use `torch.compile` in official Pytorch runtime docker images.

For CPU images `g++` is missing and for GPU flavour it cannot find  `libcuda.so`.

I don't know if it is the best choice to rely on the `devel`  image size overhead just to let user compile their models.

/cc @ezyang @msaroufim @wconstab @bdhirsh @anijain2305 @zou3519 @atalman @malfet 

### Suggest a potential alternative/fix

Advertise this in the documentation or add what it is required to the `runtime` images to let user compile models
Repository: vscode
Issue: Consider redesign of Search Editor ("search.action.openNewEditor")
Labels: feature-request,search-editor

    See: [ https://github.com/microsoft/vscode/issues/201719#issuecomment-2048611360](https://github.com/microsoft/vscode/issues/201719#issuecomment-2048611360)

= Line numbers selectable in Search Editor ("search.action.openNewEditor") =

    Unsure if it's really intended behavior.
    Also the whitespace displays unusually with &#x60;`"editor.renderWhitespace": "all"`&#x60;.

&#x2D;---

Version: 1.88.0
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
User Agent: Mozilla/5.0 (Linux; rv:999) Gecko/20100101 Firefox/999
Embedder: vscode.dev

<!-- generated by web issue reporter -->
Repository: PowerToys
Issue: Can't create different fancy zones for different monitors
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.76.2

### Installation method

PowerToys auto-update

### Running as admin

No

### Area(s) with issue?

FancyZones

### Steps to reproduce

Create fancy zones on monitor 1.  The zones span to monitor 2.  Delete the zones of monitor 2.  There are no zones remaining

### ✔️ Expected Behavior

I expect to be able to create different zones for each monitor so that I can 'pin' apps to zones specific to each monitor.

### ❌ Actual Behavior

Zones can only span monitors, I can't make zones specific to any monitor

### Other Software

Google Chrome Version 120.0.6099.130 (Official Build) (64-bit)
Repository: PowerToys
Issue: Mouse without borders stops working
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.76.2

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

Mouse Without Borders

### Steps to reproduce

Mouse without borders stops working after both computers are asleep and woken up. 

### ✔️ Expected Behavior

Mouse without borders keeps working.

### ❌ Actual Behavior

Mouse without borders stops working after both computers are asleep and woken up.

### Other Software

n/a
Repository: vscode
Issue: Abnormal syntax highlight for Perl in Search Editor ("search.action.openNewEditor")
Labels: bug,search-editor

    Suboptimal handling for the [Pod](https://perldoc.perl.org/perlfaq7#How-can-I-comment-out-a-large-block-of-Perl-code) part.
    Working alright in Text Editor though.

    See: [ https://github.com/microsoft/vscode/issues/201720#issuecomment-2558250019](https://github.com/microsoft/vscode/issues/201720#issuecomment-2558250019)

\----

Version: 1.96.2
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
User Agent: Firefox 135
Embedder: vscode.dev

<!-- generated by web issue reporter -->
Repository: material-ui
Issue: [material-ui][Menu] Text on the menu item moving slightly on hover
Labels: bug 🐛,component: menu,package: material-ui

### Steps to reproduce

_No response_

### Current behavior


In your menu example, available at the following link: https://mui.com/material-ui/react-menu/#menulist-composition, as you can observe in the video, the text shifts or moves whenever I hover over a menu item.

https://github.com/mui/material-ui/assets/121926499/e6e1f033-bb8d-40a3-852c-ff68d8e20576



Additionally, when I utilize the Button component inside the Grow component, the text also moves upon rendering. 

I am facing this issue in both MAC OS and Windows

### Expected behavior

The text should not move on hover or during rendering, as this behavior would be undesirable for a user-friendly and stable user interface.

### Context

_No response_

### Your environment

<details>
  <summary><code>npx @mui/envinfo</code></summary>

```
  
```
</details>


**Search keywords**: Grow
Repository: PowerToys
Issue: Tabbing through fields should highlight what's in the field - PowerRename
Labels: Needs-Triage

### Description of the new feature / enhancement

When tabbing from Search Field to Replacement Field, content in the field should be highlighted. This is a normal behavior in most other applications when specifically tabbing through fields. If content is present, all the content is highlighted.
I think it would be helpful to bring that behavior into PowerRename so it's more in line with expected behavior.

I also recommend moving the checkboxes above the Search field (they don't get changed often and it would allow one tab to go to replace from search)

### Scenario when this would be used?

Whenever you need to change Search or Replace field content, it's automatically highlighted upon first tab entry. (better than having to hit ctrl+a to select everything in the field)

### Supporting information

_No response_
Repository: next.js
Issue: Next Dynamic doesn't work as expected with swcTransform
Labels: bug,SWC

### Link to the code that reproduces this issue

https://github.com/milap1296/dynamic-import-issue

### To Reproduce

1. yarn install.
2. yarn dev.
3. Set `forceSwcTransforms: true` in next.config.js.
4. See that the dynamically loaded component is preloaded when swc transpilation is enabled.
5. It is not preloaded when `forceSwcTransforms: false` is set and works as expected with babel transpilation.

### Current vs. Expected behavior

**Current Behavior**
Click on the `Show Header` button and the chunk corresponding to `Hello` should only be rendered then. It works as **expected** when **forceSwcTransforms is false** but when **forceSwcTransforms is true**, it preloads the `Hello` even before we click the `Show Header` button.
<img width="1728" alt="image" src="https://github.com/vercel/next.js/assets/19545730/aaa0e8dc-530c-4eb7-a502-ba2d031208e1">

The underlying issue here is with this particular code - ```dynamic(import('../components/Header')```, it works as expected with swc if I replace it with ```dynamic(() => import('../components/Header')```, but what should be the ideal behavior because there are many instances of such in my app.

**Expected Behavior**
Lazy Loading should work as expected when **forceSwcTransforms is true**. This also doesn't work when the babel.config.js file is not present and we don't have any experimental configuration as well.


### 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 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000
Binaries:
  Node: 18.18.2
  npm: 9.8.1
  Yarn: 1.22.19
  pnpm: N/A
Relevant Packages:
  next: 14.0.4
  eslint-config-next: 14.0.4
  react: 18.2.0
  react-dom: 18.2.0
  typescript: N/A
Next.js Config: {
    swcMinify: true,
    reactStrictMode: true
}
```


### Which area(s) are affected? (Select all that apply)

SWC transpilation

### Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local), next start (local)

### Additional context

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: add a "--int8" function
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I see that we have a command line flag "--no-half" which automatically turns fp16 into fp32. I think we may also add an option of "--int8" to convert the model into an int8 one, which can help us run some big models on devices with low memory. For example, when I try to run DreamshaperXL on my 8GB RAM + 10GB SWAP computer, it always triggers an OOM. With int8, maybe we can make it.
Also, we can add an option to save the converted model on disk so that we don't have to convert every time.

### Proposed workflow

1. start the webui like this:
`webui.sh --int8 .....`

2. Input prompt and start to generate.
3. WebUI quantize the model into int8 and run fast!

### Additional information

_No response_
Repository: stable-diffusion-webui
Issue: [Feature Request]: Add Option to Save Pre-Masked Images when Inpainting
Labels: enhancement

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

Currently, the inpainting feature in the UI allows users to save a greyscale mask and a masked composite, but it lacks an option to save the generated image before the mask is applied. This feature would be extremely useful for users who wish to view the original generated image for comparison or further manipulation. Implementing an option to save the pre-masked image directly from the inpainting workflow would enhance the tool's flexibility and utility. Additionally, if the pre-masked image is being saved in PNG format and the option to save a copy of the greyscale mask is selected, it would be beneficial to save the greyscale mask as the alpha channel within the same PNG file.

### Proposed workflow

1. Go to Settings > Saving images/grids
2. Check the box labeled "For inpainting, save the pre-masked image"

### Additional information

_No response_
Repository: terminal
Issue: Feature request: Backup and restore settings
Labels: Issue-Feature,Area-Settings,Product-Terminal

### Discussed in https://github.com/microsoft/terminal/discussions/16368

<div type='discussions-op-text'>

<sup>Originally posted by **alanlivio** November 24, 2023</sup>
Hi 👋
The PowerToys tools have a feature to backup and restore settings. See the image bellow.
Is there any similar feature for WindowsTerminal?


![Screenshot 2023-11-24 091300](https://github.com/microsoft/terminal/assets/604808/9184c9a0-9b76-4245-9c0b-c43f306fd4ab)
</div>
Repository: material-ui
Issue: [docs][material-ui] Update "Style library interoperability" doc for Tailwind CSS + Next.js App Router
Labels: docs,package: material-ui,ready to take,nextjs

### Related page

https://mui.com/material-ui/guides/interoperability/#tailwind-css

### Kind of issue

Unclear explanations

### Issue description

I was looking for how to integrate material-ui together with nextjs 14 app router and tailwind and it appears that following the guide does not results in a working configuration. 
Step three tells you to add the important option using the id of your app wrapper:

3. Add the important option, using the id of your app wrapper. For example, #__next for Next.js and "#root" for CRA:

The #__next id is only valid for the page router of Nextjs. It is not present in the app router. There is no element at all with an id, so people should insert this them self in their root layout

### Context 🔦

_No response_

**Search keywords**: interoperability nextjs tailwind app router
Repository: godot
Issue: Advanced import settings for glb scene doesn't display external material on preview
Labels: bug,topic:editor,topic:import,topic:3d

### Tested versions

4.2.1-stable

### System information

Godot v4.2.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.4633) - Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (16 Threads)

### Issue description

When importing a GLB scene using the "Advanced Import Settings for Scene" and using an external material, the 3D model remains without texture.
![image](https://github.com/godotengine/godot/assets/4021025/8d43849c-75d9-4d8c-9dec-137571e13afd)
![image](https://github.com/godotengine/godot/assets/4021025/6ad88f8e-501a-4428-a9fb-b5ca95f57971)



### Steps to reproduce

1. Create a new material with an albedo texture
2. Import a model
3. Use external material mapped to the one created previously

### Minimal reproduction project (MRP)

N/A
Repository: go
Issue: x/tools/cmd/deadcode: report uninstantiated types, and unreferenced fields
Labels: NeedsFix,FeatureRequest,Tools

The [deadcode](https://pkg.go.dev/golang.org/x/tools/internal/cmd/deadcode) command discovers functions that are unreachable from main, but a number of users (e.g. @rsc, @eliben) have suggested that it additionally report uninstantiated types.

The implementation strategy should be to visit every function that is found to be reachable, make a pass over its syntax, and enumerate all named types of which instances (any value, not just a variable) are created, including subelements of aggregate types (structs and arrays). This set cannot be soundly computed from the SSA representation as it folds constant expressions away, and they may contain the sole instantiation of a type (e.g. len(mystring(""))). The result is then the difference between the set of named types declared in all packages in the program, and the instantiated subset.

Also, @dominikh's staticcheck has a nice complementary feature which is the reporting of unused struct fields, and it is smart enough to report not only fields that are never mentioned, but also fields that are used only to compute a value for that field, such as x.f = x.f + 1. That feature would fit well in deadcode too.

Edit: let's also include unreferenced constants, as described in  https://github.com/golang/go/issues/66042.
Repository: frp
Issue: [Feature Request] Allow multiple transports/ports on frpc (in order of preference?)
Labels: proposal

### Describe the feature request

In `frps` we can specify ports for tcp, kcp and quic, however in `frpc.toml` we only get to specify a single `transport.protocol` and `serverPort`.

It would be nice to be able to specify a comma-separated order of preferred protocols (and corresponding `serverPort`), that `frpc` would attempt.

Justification for this is the `frpc` that UDP protocols may be preferred, however firewalls may not always allow UDP, so a tcp fallback configuration would be nice.

### Describe alternatives you've considered

Running multiple frpc daemons with different configs.

### Affected area

- [ ] Docs
- [ ] Installation
- [ ] Performance and Scalability
- [ ] Security
- [X] User Experience
- [ ] Test and Release
- [ ] Developer Infrastructure
- [ ] Client Plugin
- [ ] Server Plugin
- [ ] Extensions
- [ ] Others
Repository: vscode
Issue: Indent instead of de-indent when soft wrapping long lines in signatures
Labels: feature-request,editor-hover

### Problem

If the function signature contains long lines, the VScode help pop up / inspector will wrap and de-indent the line. It would be easier to read if the wrapped line was indented relative the original line (just as how indentation is used in python code to indicate belonging to the previous lines/indentation level). Here is an example from the altair docs; you can see how the different parameters melt together and it is hard to tell which options belongs to which parameter due to how the indendation is handled:

![image](https://github.com/microsoft/vscode-jupyter/assets/4560057/794690dc-14d0-4701-a210-253b7eeb2549)
There are other reasons that docstring is hard to read, which we are working on in https://github.com/altair-viz/altair/issues/3290, but the way lines are wrapped is one of them.


### Proposed Solution

Indent the lines that are wrapped one level more than the indentation of the parameter name.  I think this would notably improve readability, e.g. this is what the screenshot above would look like:

![image](https://github.com/jupyterlab/jupyterlab/assets/4560057/e8e25788-1942-4ece-87bb-72fae73f99f0)

This is also how wrapping is handled in the docstring, so it would be consistent to handle it this way in the signature as well.
Repository: vscode
Issue: No "Restart TS Server" when viewing diff editor
Labels: bug,typescript,insiders-released

* Working on a branch with changes, open a diff editor for a modified ts file
* Switch to another branch
* TS Server generates a lot of unexpected errors
* Now I want to restart the ts server to start fresh
* Open Command Palette, the command is not available

![image](https://github.com/microsoft/vscode/assets/876920/d2481550-c0a8-4b52-b475-36256a5dc34b)
Repository: material-ui
Issue: [material-ui] Standardize slots pattern and composed classes
Labels: umbrella,deprecation,package: material-ui,ready to take,v6.x

## Contributing

Feel free to take any components that are not done or in progress. Please mention this issue in your PR so we can link it in the description and keep it up to date.

## Issues

- https://github.com/mui/material-ui/issues/41279
- ON HOLD: https://github.com/mui/material-ui/issues/41281
- https://github.com/mui/material-ui/issues/41282
- https://github.com/mui/material-ui/issues/42361
- https://github.com/mui/material-ui/issues/42310
- Update https://mui.com/material-ui/transitions/#transitioncomponent-prop

## Follow-up work:

- https://github.com/mui/material-ui/issues/42183
- https://github.com/mui/material-ui/issues/42184
- https://github.com/mui/material-ui/issues/41374
- https://github.com/mui/material-ui/issues/39171
- https://github.com/mui/material-ui/issues/40650
Repository: godot
Issue: DisplayServer: Windows OS - non-embedded popups with popup_window disabled disappear behind the main window
Labels: bug,platform:windows,topic:porting,needs testing

### Tested versions

4.3beta1, 4.3dev, 4.2rc

### System information

Windows 10

### Issue description

With project settings `embed_subwindows` _disabled_:

On Windows 10, A `PopupPanel` with `popup_window` _disabled_ and `always_on_top` _disabled_, will be covered by the main viewport when the main viewport is focused. This behavior is different than on macOS, where the popup will always remain in front of the main viewport.

I believe this behavior is a bug, because it is undesirable to be forced to use the `always_on_top` to prevent the window from disappearing behind the main viewport. For example, if you want a first popup with `popup_window` disabled, to be underneath a second, transient popup.

### Steps to reproduce

See MRP.

### Minimal reproduction project (MRP)

[transient_window_error_spam_win.zip](https://github.com/godotengine/godot/files/13822606/transient_window_error_spam_win.zip)