sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: vscode
Issue: SCM - Sorting Changes by FileSystem's "Modified Date"
Labels: feature-request,scm

<!-- ⚠️⚠️ 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. -->

Re-requesting this feature as it seems to have been missed?

---

## Context

Between 2016 and 2020, several Issue tickets were submitted around the ability to "sort and filter and group" the Changes view in the SCM drawer. 
https://github.com/microsoft/vscode/issues/3918 
https://github.com/microsoft/vscode/issues/30199 
https://github.com/microsoft/vscode/issues/40712 

"Sort changes by date modified" was explicitly requested several times within each of the above, with positive comments by several users as desirable. The feature was also explicitly the primary request of Issues like:
https://github.com/microsoft/vscode/issues/28445
https://github.com/microsoft/vscode/issues/71437

In 2020 @joaomoreno and @lszomoru implemented a bunch of stuff and released most of the requested functionality (amazing!)
https://github.com/microsoft/vscode/pull/99768
https://github.com/microsoft/vscode/issues/101116

However, the ability to *sort the Changes list by Date Modified* specifically seems to not have been implemented, nor explicitly addressed. My sense, reading across the linked issues, is that "sort by date modified" was perhaps misunderstood and lumped together with "sort by status", which is not the same.
If there was a technical reason not to implement it, this was not mentioned in any of the above. 

---

## The Feature Request

It would be great if the existing Sort/Filter functionality in the SCM included FileSystem criteria such as Date Modified (probably the most useful).

Use Cases have been described in the above linked previous Issues.
- When one forgets to stage/commit after frenzied "flow state" development work (sure, "shouldn't happen in the professional environments" but many of us are hobbyists and do not need to follow Best Practices ;), one ends up with a long list of changed files which would span what should be multiple separate stagings and commits.
- Support tickets quickly addressed without committing between each, followed up after the fact.
- etc…
Repository: godot
Issue: CurveTexture.get_image() return null?
Labels: bug,topic:core

### Tested versions

v4.2.1.stable.mono.official [b09f793f5]

### System information

Godot v4.2.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 5GB (NVIDIA; 31.0.15.3623) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)

### Issue description

CurveTexture.get_image() return null?
![image](https://github.com/godotengine/godot/assets/35988767/1c6e4560-c861-4615-9164-e546349e8aec)


### Steps to reproduce

.

### Minimal reproduction project (MRP)

[CurveTexTest.zip](https://github.com/godotengine/godot/files/13680118/CurveTexTest.zip)
Repository: material-ui
Issue: Use close watcher when supported in place of escape key handlers
Labels: waiting for 👍,enhancement

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

This library should use the CloseWatcher API [1][2] in place of escape key listeners where it's supported. This allows components such as dialog to be dismissed using extra close signals (e.g. Android back gesture).

[1] https://html.spec.whatwg.org/multipage/interaction.html#the-closewatcher-interface
[2] https://developer.chrome.com/blog/new-in-chrome-120#close-watcher

### Examples 🌈

_No response_

### Motivation 🔦

The native html dialog (when modal) and popovers have this behaviour in supported browsers (Chromium), using the close watcher API would align with the platform.

It also provides increased accessibility as on top of the back gesture/ button the Talkback back gesture (and potentially other screen readers) also triggers a close watcher.
Repository: electron
Issue: [Feature Request]: How to set system level hotkeys
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

How to use shortcut keys to call up applications after minimizing to the tray.
I know that Windows and Mac systems will be different.
 

### Proposed Solution



Just press the shortcut key on any interface of the system to enable the Electron application to receive messages.

Or

Press a shortcut key to hide it in the tray, and then press it again to come out of the tray



Similar to the boss hot key

  


### Alternatives Considered

I don't know



### Additional Information

Please forgive my poor English



Thanks All
Repository: ant-design
Issue: Table的Ref中的ScrollTo方法，在外层元素有滚动条时，使用scrollTo方法会导致外层同时滚动
Labels: 🐛 Bug,Inactive

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/devbox/prglsp?file=%2Fdemo.js)

### Steps to reproduce

```javascript
import React, { useRef } from "react";
import "./index.css";
import { Table, Button } from "antd";

const columns = [
  {
    title: "Full Name",
    width: 100,
    dataIndex: "name",
    key: "name",
    fixed: "left",
  },
  {
    title: "Age",
    width: 100,
    dataIndex: "age",
    key: "age",
    fixed: "left",
  },
  {
    title: "Column 1",
    dataIndex: "address",
    key: "1",
    width: 150,
  },
  {
    title: "Column 2",
    dataIndex: "address",
    key: "2",
    width: 150,
  },
  {
    title: "Column 3",
    dataIndex: "address",
    key: "3",
    width: 150,
  },
  {
    title: "Column 4",
    dataIndex: "address",
    key: "4",
    width: 150,
  },
  {
    title: "Column 5",
    dataIndex: "address",
    key: "5",
    width: 150,
  },
  {
    title: "Column 6",
    dataIndex: "address",
    key: "6",
    width: 150,
  },
  {
    title: "Column 7",
    dataIndex: "address",
    key: "7",
    width: 150,
  },
  {
    title: "Column 8",
    dataIndex: "address",
    key: "8",
  },
  {
    title: "Action",
    key: "operation",
    fixed: "right",
    width: 100,
    render: () => <a>action</a>,
  },
];
const data = [];
for (let i = 0; i < 100; i  ) {
  data.push({
    key: i,
    name: `Edward ${i}`,
    age: 32,
    address: `London Park no. ${i}`,
  });
}
const App = () => {
  let tableRef = useRef(null);

  return (
    <div className="container">
      <Button
        onClick={() => {
          tableRef.current.scrollTo({
            index: 2,
          });
        }}
      >
        滚动到第二行
      </Button>
      <Table
        ref={tableRef}
        columns={columns}
        dataSource={data}
        scroll={{
          x: 1500,
          y: 300,
        }}
      />
    </div>
  );
};
export default App;
``



### What is expected?

只有表格内滚动，而不是连同外层元素一起滚动

### What is actually happening?

外层元素和表格行同时滚动

| Environment | Info |
| --- | --- |
| antd | 5.12.2 |
| React | 18 |
| System | window10 |
| Browser | edge/chrome 120 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: PR #83957 seems to cause 'Condition "p_idx >= [menu numberOfItems]" is true.' errors
Labels: bug,platform:macos,topic:editor,needs testing

### Tested versions

Reproducible on custom build from main 4.3.0-dev f8a2a9193662b2e8c1d04d65e647399dee94f31e.
Not reproducible if 19f4dfbdfb82203dcc479144acf627a5e43338dc is reverted.

### System information

Godot v4.3.dev (07d484195) - macOS 13.6.1 - Vulkan (Mobile) - integrated Apple M1 - Apple M1 (8 Threads)

### Issue description

`platform/macos/display_server_macos.mm:1636 - Condition "p_idx >= [menu numberOfItems]" is true.
platform/macos/display_server_macos.mm:1617 - Condition "p_idx >= [menu numberOfItems]" is true.`

is shown in the editor output window when opening a project.

### Steps to reproduce

1. Build Godot with "scons platform=macos arch=arm64".
2. Create and open a new project. The error messages come immediately.

### Minimal reproduction project (MRP)

N/A
Repository: ant-design
Issue: Input.Password 密码显示控件 Api 功能问题 
Labels: Inactive

### Reproduction link

[https://ant-design.antgroup.com/components/input-cn#visibilitytoggle](https://ant-design.antgroup.com/components/input-cn#visibilitytoggle)

### Steps to reproduce

当我将一个 Input.Password 设置 disabled 为 true, 之后，无法通过显示控件切换密码显示。
当我使用
```tsx
 visibilityToggle={{
                            visible: passwordVisible,
                            onVisibleChange: (visible: boolean) => {
                                console.log("visible", visible)
                                setPasswordVisible(!passwordVisible)
                            }
                        }}
``` 
来显示控制，onVisibleChange 无法进行触发，于是我使用了 iconRender 来自定义，但这样直接会使整个 icon 也是不可点击的。

### What is expected?

是否显示切换按钮或者控制密码显隐，这个描述使得我认为完全可以由代码来进行显示的控制，但显然不是这样

| Environment | Info |
| --- | --- |
| antd | undefined |
| React | 18 |
| System | windows |
| Browser | chrome  120.0.6099.72 |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: rust
Issue: special-casing `'static` when winnowing trivial candidates
Labels: A-trait-system,T-types,WG-trait-system-refactor

The following code compiles (adapted from [`tests/ui/trivial-bounds/trivial-bounds-object.rs`](https://github.com/rust-lang/rust/blob/604f185fae9a4b0edf7e28f616a0f53880f8f074/tests/ui/trivial-bounds/trivial-bounds-object.rs)):
```rust
// check-pass
trait A { fn test(&self); }

fn foo(x: &dyn A)
where
    dyn A + 'static: A, // Using this bound would lead to a lifetime error.
{
    x.test();
}
```
while this doesn't:
```rust
trait A { fn test(&self); }

fn foo<'s>(x: &dyn A)
where
    dyn A + 's: A, // Using this bound would lead to a lifetime error.
{
    x.test();
    //~^ ERROR explicit lifetime required in the type of `x`
}
```

There are two candidates to satisfy the bound `dyn A + '?0: A`:
for the first case:
1. `ObjectCandidate(_)`; no region constraints
1. `ParamCandidate(dyn A + 'static: A)`; requires `'?0 = 'static`

for the seecond one:
1. `ObjectCandidate(_)`; no region constraints
1. `ParamCandidate(dyn A + 's: A)`; requires `'?0 = 's`

The different behavior arises because the param candidate in the first case is considered "global", unlike second case. Global param candidates are dropped in favor of any other candidate. This behavior was introduced by #51042 here:
https://github.com/rust-lang/rust/blob/604f185fae9a4b0edf7e28f616a0f53880f8f074/compiler/rustc_trait_selection/src/traits/select/mod.rs#L1816
Repository: godot
Issue: RDShaderFile resource sometimes being loaded as TextFile
Labels: topic:editor,needs testing,topic:import,topic:shaders

### Tested versions

4.2 stable

### System information

Windows 10 Mobile

### Issue description

For some reason, RDShaderFile .glsl file resources are sometimes being loaded as TextFile.  The Import window lists them as GLSL Shader Files and .import files list them as being RDShaderFile.  And everything is working fine  in the test project I assembled too.  However, in my main project I keep getting the error 
```
res://scripts/glsl/glsl_shader_program.gd:51 - Trying to assign value of type 'TextFile' to a variable of type 'RDShaderFile'.
```

### Steps to reproduce

Unfortunately I cannot consistently reproduce this and my MRP doesn't reproduce it at all, but I'm doing exactly the same things as my main project.  I'm selecting my "my_glsl_program.tres" resource, clicking on the Shader Source parameter in the Inspector, browsing to one of my GLSL resource files and pressing Enter.  In the MRP this works, but in my main program half the time this returns a RDShaderFile and half the time it returns a TextFile with the same file sometimes loading as one and sometimes as the other.

### Minimal reproduction project (MRP)

[load_shader_bug.zip](https://github.com/godotengine/godot/files/13681544/load_shader_bug.zip)
Repository: terminal
Issue: eventualy maximized terminal starts behaving like full-screen one
Labels: Needs-Repro,Issue-Bug,Product-Terminal,Priority-3,Area-Windowing

### Windows Terminal version

1.19.3172.0

### Windows build number

10.0.22621.2861

### Other Software

WSL

### Steps to reproduce

Unknown. Sometimes reproduses after wakeup, sometimes if secondary display is connected/disconnected, sometimes no noticeable trigger.

### Expected Behavior

1. Maximized window does not overlaps autohiding taskbar
2. Maximized window does not initiates do-not-disturb mode

### Actual Behavior

1. Minimized taskbar is overlapped by Terminal window and does not show up with mouse cursor.
2. Windows enables do-not-disturb mode as for full-screen gaming app.

Screenshot to show DND mode, taskbar here is shown by pressing Win key:
![image](https://github.com/microsoft/terminal/assets/965870/ff9d40c5-17b5-417e-84a8-0316f3fae7e4)
Repository: vscode
Issue: Don't prompt for user confirmation when workspace typescript.tsserver.nodePath is set to "node"
Labels: help wanted,feature-request,typescript

<!-- ⚠️⚠️ 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. -->

We had this awesome feature merged #191019. This will allow our team to get off the custom tsserver implementation we have been using and just use this new setting for everyone.

One issue is that right now when we have a workspace setting for "typescript.tsserver.nodePath" set to "node" (i.e. auto-detect node installation) we get a prompt as shown below

![image](https://github.com/microsoft/vscode/assets/2021979/5f6e8ce7-b650-4b03-8bd2-2b72a553e7cd)

I would argue that if the setting is "node" then we are using a user-installed nodejs installation and we don't need to ask for this prompt, because it's user installed and if there are security risks then user has already accepted them with the nodejs installation.

Happy to create a PR to update this if someone can confirm that it's Ok to make this change.
Repository: next.js
Issue: BUG: Can't load node-addon like @napi-rs/image in appDir api route
Labels: bug

### Link to the code that reproduces this issue

https://github.com/promer94/napi-rs-image-nextjs14-bug

### To Reproduce

1. clone and run the repo
2. upload a image to `/image`
will see the error in console

### Current vs. Expected behavior

Currently the rust node addon could not be loaded correctly when using `route.ts` in App Router.

![CleanShot 2023-12-15 at 16 53 27@2x](https://github.com/vercel/next.js/assets/15878786/97145d05-b208-4281-b71e-d682211cb776)


### 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.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
Binaries:
  Node: 20.9.0
  npm: 10.1.0
  Yarn: N/A
  pnpm: 8.9.0
Relevant Packages:
  next: 14.0.4
  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

### Additional context

_No response_
Repository: go
Issue: proposal: x/text/cmd/gotext: enhance gotext to support automatic text extraction from functions for Internationalization
Labels: Proposal

### Proposal Details

I am developing a simple web application in Go and need to provide internationalized error descriptions. I attempted to use the x/text package along with its gotext command-line tool to achieve this.

## What I'm trying to achieve:
I have multiple instances of the same error message, and I aim to avoid code duplication by using a function. Below is the relevant code snippet:
```go
type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type i18nFactory func(lang string, a ...any) Error

func factory(code int, key string) i18nFactory {
	return func(lang string, a ...any) Error {
		langTag := message.MatchLanguage(lang)
		p := message.NewPrinter(langTag)

		return Error{
			Code:    code,
			Message: p.Sprintf(key, a...),
		}
	}
}

var err1 i18nFactory = factory(http.StatusInternalServerError, "Internal Server Error1")

var err2 i18nFactory = func(lang string, a ...any) Error {
	langTag := message.MatchLanguage(lang)
	p := message.NewPrinter(langTag)

	return Error{
		Code:    2,
		Message: p.Sprintf("Internal Server Error2", a...),
	}
}

```
I hoped that the gotext tool could assist me in extracting text, but it seems to only work for err2 and not for err1. The extracted JSON for err2 is as follows:
```json
{
    "language": "en",
    "messages": [
        {
            "id": "Internal Server Error2",
            "message": "Internal Server Error2",
            "translation": "Internal Server Error2",
            "translatorComment": "Copied from source.",
            "placeholders": [
                {
                    "id": "A",
                    "string": "%[1]v",
                    "type": "[]any",
                    "underlyingType": "[]any",
                    "argNum": 1,
                    "expr": "a"
                }
            ],
            "fuzzy": true
        }
    ]
}
```

## Feature request
It would be immensely helpful if gotext could automatically extract text from functions. Since err1 and err2 appear similar, both being of type i18nFactory, having gotext recognize and extract text from such functions would be a valuable addition.
Repository: flutter
Issue: Feature request: SliderListTile
Labels: c: new feature,framework,f: material design,c: proposal,P2,team-design,triaged-design

### Use case

As list tiles are very common in settings panels, a developer might want to use a slider with the usual list tile aesthetics (primarily layout, label/title size), in order to blend in with other options.

A slider widget **cannot** be easily used in a `ListTile` by providing it as a `subtitle` as there is conflicting layout space from both widgets.

Examples of such widget can be found in Lawnchair and Android's own settings application:

| Lawnchair | Android |
| - | - |
| ![image](https://github.com/flutter/flutter/assets/22963120/ffb4ff07-372d-4d3f-9f24-7ae3db96d79b) | ![image](https://github.com/flutter/flutter/assets/22963120/b4987ec6-48b0-40bc-990d-f7061be524b2) |

### Proposal

A widget called `SliderListTile` which basically combines `ListTile` and `Slider` properties together, **but** disallows setting a `subtitle` because that wouldn't make sense (or does it?)
Repository: youtube-dl
Issue: Threads.net
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
- [x] 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
- [x] 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.threads.net/@dwayayyayne/post/C03xzzIiTlW/?igshid=NTc4MTIwNjQ2YQ==
- Single audio: https://www.threads.net/@joyca/post/C012n1SoQmG/?igshid=NTc4MTIwNjQ2YQ==


## Description

<!--
Provide any additional information.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Threads is a social media created by Meta, sadly it doesn't include any download button
Repository: TypeScript
Issue: `@type {const}` produces namespace in .d.ts instead of normal object type
Labels: Bug,Rescheduled

### 🔎 Search Terms

`@type {const}`
const
definition types

### 🕗 Version & Regression Information

- This is a crash in all versions

### ⏯ Playground Link

https://www.typescriptlang.org/play?target=99&jsx=0&ts=5.3.2&filetype=ts#code/KYDwDg9gTgLgBAYwgOwM7wLYE8DCL1wC8cA9AFRlwACMWYwcA3kmjAL5xklMCwAUAEgAZhAgAuOAHIARgEMokgDT9hAV1UTGK4aIkz5klW35sA3PyA

### 💻 Code

```ts
// Typescript file
export const myConst = /** @type {const} */ {
	foo: 'bar',
	fuu: {
		foo: 'bar'
	}
};
```

```js
// Javascript file
export const myConst = /** @type {const} */ {
	foo: 'bar',
	fuu: {
		foo: 'bar'
	}
};
```

### 🙁 Actual behavior

```ts
// .D.TS from Typescript file
export declare const myConst: {
    foo: string;
    fuu: {
        foo: string;
    };
};
```

```ts
// .D.TS from Javascript file
export namespace myConst {
    let foo: string;
    namespace fuu {
        let foo_1: string;
        export { foo_1 as foo };
    }
}
```

### 🙂 Expected behavior

Same output in both cases. Typescript file output is the correct one.

### Additional information about the issue

_No response_