sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: material-ui
Issue: [joy-ui] Add Upload component 
Labels: new feature,waiting for 👍,package: joy-ui

### Duplicates

- [X] I have searched the existing issues

### Latest version

- [X] I have tested the latest version

### Summary 💡

Upload the file by selecting or dragging 


When you need to upload one or more files.
When you need to show the process of uploading.
When you need to upload files by dragging and dropping.
 Avatars  component for uploading avatar image 

### Examples 🌈

_No response_

### Motivation 🔦

_No response_
Repository: PowerToys
Issue: OGG Vorbis metadata display in Windows Explorer and details pane. 
Labels: Idea-Enhancement,Product-File Explorer

### Description of the new feature / enhancement

You know when you go to a folder of mp3 files in Windows Explorer, the details view shows the files' metadata (album, artist etc.). Same is also visible in the details pane too. 

![MP3 Metadata](https://github.com/microsoft/PowerToys/assets/4424058/c8d3840c-652e-4b55-85f1-16a9d16e043d)

But the same thing doesn't happen for OGG files - 
![OGG Metadata](https://github.com/microsoft/PowerToys/assets/4424058/38ccc3df-431c-4664-bb13-c83221f9f12d)

even if those files have similar metadata saved. 
![Aimp](https://github.com/microsoft/PowerToys/assets/4424058/30b811cd-3ab2-469b-ad70-d7917923a47f)

So, my feature request is - making those metadata visible in Windows Explorer and details pane. 
This can probably be added to the [File Explorer Add-ons](https://aka.ms/PowerToysOverview_FileExplorerAddOns) module. 

### Scenario when this would be used?

This would be really helpful to users while browsing their local music library in Windows Explorer. 

### Supporting information

_No response_
Repository: excalidraw
Issue: [Bug] Extreme latency when drawing with Ipad
Labels: performance ⚡️,freedraw

Using excalidraw on my Ipad air 4 the drawing feature is extremely laggy. It will take half a second for the drawing to catch up with the pen which makes drawing much slower. If I'm writing at a normal speed the drawings with miss details such as bends in the line.
Repository: react-native
Issue: Text inside TextInput that have background make cursor disappear
Labels: Issue: Author Provided Repro,Component: TextInput,Needs: Triage :mag:,Newer Patch Available

### Description

If you have TextInput with children and one of the Text elements has a background the cursor on that element disappears (only the selection marker is visible). Found this while working with react-native-syntax-highlighting that was adding background but figured out how to remove the background that was on a wrapper.

### Steps to reproduce

1. git clone https://github.com/jcubic/react-native-text-input-cursor.git
2. cd react-native-text-input-cursor
3. npm install
4. npm start

### React Native Version

0.72.6

### Affected Platforms

Runtime - Android

### Output of `npx react-native info`

```text
System:
  OS: Linux 6.6 Fedora Linux 39 (Xfce)
  CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Memory: 5.33 GB / 15.28 GB
  Shell:
    version: 5.2.21
    path: /bin/bash
Binaries:
  Node:
    version: 20.10.0
    path: ~/.nvm/versions/node/v20.10.0/bin/node
  Yarn: Not Found
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v20.10.0/bin/npm
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/local/rvm/rubies/ruby-2.6.10/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.6
    wanted: 0.72.6
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
```

I'm not sure why npx react-native info doesn't work on my system (Fedora) I do have an SDK and Android Studio.

### Stacktrace or Logs

```text
none
```


### Reproducer

https://github.com/jcubic/react-native-text-input-cursor

### Screenshots and Videos

![Peek 2023-12-28 21-19](https://github.com/facebook/react-native/assets/280241/197916a3-46e4-4b74-a7c2-00206ff7f61c)
Repository: next.js
Issue: next/image decreases (lighthouse) performance
Labels: bug,Image (next/image)

### Link to the code that reproduces this issue

See below

### To Reproduce

I created a couple of code sandboxes with the nextjs starter example. The first is unmodified, the second one replaces the next/image package with an `img` HTML element.
1. [Generate a lighthouse report](https://developer.chrome.com/docs/lighthouse/overview#devtools) for [the version with next/image](https://codesandbox.io/p/devbox/naughty-fire-5744wd)
2. Generate a lighthouse report for [the version with img](https://codesandbox.io/p/devbox/naughty-fire-forked-pgm9d4)

I'm attaching the HTML reports that I got
[reports.zip](https://github.com/vercel/next.js/files/13789445/reports.zip)


### Current vs. Expected behavior

Using the native image tag is apparently more performant. However the docs and the eslint rule @next/next/no-img-element discourage this option.

### Verify canary release

- [X] I verified that the issue exists in the latest Next.js canary release

### Provide environment information

```bash
https://codesandbox.io/docs/learn/environment/vm
```


### Which area(s) are affected? (Select all that apply)

Image optimization (next/image, next/legacy/image)

### Additional context

I first found these results in my production app, deployed on AWS Amplify. I reproduced the same result if I build the app and serve it locally. The issue is reproducible in the code sandbox as well, running the latest version of Next. It's unclear if this is an issue with Lighthouse or Next.
I tested with .svg and .png images. The `priority` prop doesn't seem to make a measurable difference.
Repository: next.js
Issue: bug: unable to render static pages if headers used in root layout even if promisified
Labels: bug,linear: next

### Link to the code that reproduces this issue

https://github.com/juliusmarminge/nextjs-static-promise-context/tree/static-render

### To Reproduce

1. Clone repo: `gh repo clone juliusmarminge/nextjs-static-promise-context`
2. Checkout `static-render` branch: `git checkout static-render`
3. Build: `pnpm build`
  - You'll see that no pages were rendered statically.
4. Comment out `app/layout.tsx:43`, meaning we'll just send some mock headers
5. Build again: `pnpm build`
  - You'll see that pages are able to be statically rendered since we're no longer invoking `headers()` 

### Current vs. Expected behavior

@sebmarkbage mentioned on X we should be able to pass the dynamic function call down the tree as a promise: https://x.com/sebmarkbage/status/1722794007527358531?s=20

However I am unable to get this working while retaining the ability to render some pages statically...

The behavior I am expecting, or at least want should happen, is that `/static` be statically rendered since that route makes no requests and thus never "consumes" the headers promise. `/dynamic` should be a server-rendered page as it does make a request and needs to await the promise.

I might have mis-interpreted what Sebastian meant in his tweet though, but I assumed this was the way to go. How else would we be able to access headers in client components during SSR?

### 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.10.0
  npm: 10.2.3
  Yarn: 1.22.19
  pnpm: 8.6.2
Relevant Packages:
  next: 14.0.5-canary.29
  eslint-config-next: N/A
  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_

<sub>[NEXT-2855](https://linear.app/vercel/issue/NEXT-2855/bug-unable-to-render-static-pages-if-headers-used-in-root-layout-even)</sub>
Repository: vscode
Issue: Enter custom tab size from the UI
Labels: feature-request,editor-indent-detection

<!-- ⚠️⚠️ 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. -->

I'd like a way to enter a custom tab size in the "Indent using tabs" selection UI
Here's an explicative video: https://github.com/microsoft/vscode/assets/42669835/d9a4c4aa-ccc3-455a-9c78-bbe52e8fcfd2

I'd be ready to submit a PR for this in the future, so please tell me what you think
Repository: stable-diffusion-webui
Issue: [Feature Request]: Add an option to use CPU only for VAE
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 ?

For some very low GPU, it's OK when progressing but get out of memory when coming to VAE encode/decode. Since the Tiled VAE extension have solved this problem, this extension isn't work well in some case (for example, it produce grey block on directml). So it may be better to have an option to use CPU on VAE.

### Proposed workflow

1. add command_line_args like "--use-cpu vae-encode" "--use-cpu vae-decode" "--use-cpu vae"
2. use CPU for vae encode or decode or both. 

### Additional information

_No response_
Repository: godot
Issue: Can't click-drag values in the Color Picker for finer more gradual control
Labels: enhancement,discussion,usability,topic:gui

### Tested versions

This seems to be a bug in all Godot versions. Godot 4.3 Dev1 is the latest I've tested this with.

### System information

Win 10, Nvidea 1080, Forward+

### Issue description

In almost all Inspector values I can click on the value and drag to adjust the value with finer more gradual control:

https://github.com/godotengine/godot/assets/47016402/204f4813-e387-4554-825d-81cec2757aa7

However in the Color Picker, the same thing is not possible. When clicking on the values, the value is selected:

https://github.com/godotengine/godot/assets/47016402/6316d6ca-dadd-4f6f-bdc1-43e04874d3da

Using the sliders on the left is not an alternative, as those sliders adjust the values from 0 to 100. Most of the times though, you would want to adjust these colors in the ranges of 0 to ~5 max. Even more often between 0 and 1. This is nearly impossible to do with these sliders:

https://github.com/godotengine/godot/assets/47016402/0ea94ff9-b624-4a8f-b2db-b734d3884ba0

As a result I end up clicking those values one by one and typing in these numbers with is slow and terrible user friendliness as I have to change my hand from mouse to keyboard countless times a day just because of this.

### Steps to reproduce

Try to click-drag Color picker values.

### Minimal reproduction project (MRP)

N/A not project related.
Repository: create-react-app
Issue: what can i do to load js files on demand with config-overrides.js ?
Labels: needs triage

`const {
    override,
    fixBabelImports,
    addLessLoader,
    disableEsLint,
    addPostcssPlugins,
    addWebpackPlugin,
    addBabelPlugin,
} = require('customize-cra')
const AntdDayjsWebpackPlugin = require('antd-dayjs-webpack-plugin')
const BundleAnalyzerPlugin =
    require('webpack-bundle-analyzer').BundleAnalyzerPlugin

const isEnvProduction = process.env.NODE_ENV === 'production'

const useEnv = () => (config) => {
    if (isEnvProduction) {
        config.mode = 'production'
    } else {
        config.mode = 'development'
    }

    return config
}

module.exports = override(
    useEnv(),
    // isEnvProduction && useHappyPack(),
    isEnvProduction && disableEsLint(),
    fixBabelImports('import', {
        libraryName: 'antd',
        libraryDirectory: 'es',
        style: true,
    }),
    addBabelPlugin([
        'import',
        {
            libraryName: 'ahooks',
            libraryDirectory: 'es',
            camel2DashComponentName: false,
        },
        'fix-ahooks-imports',
    ]),
    addLessLoader({
        lessOptions: {
            javascriptEnabled: true,
            modifyVars: {
                '@primary-color': '#396FFF',
                '@text-color': '#2A2E33',
                '@layout-header-height': '50px',
                '@border-color-base': '#C6C8CF',
                '@warning-color': '#FF9100',
                '@error-color': '#FF4949',
                '@text-color-secondary': 'rgba(97,97,102,1)',
                '@text-color-warning': '#FF9100',
                '@text-color-danger': '#FF4949',
                '@layout-sider-background': '#fafafa',
                '@layout-header-background': '#2A2E33',
                '@form-item-margin-bottom': '16px',
                '@input-placeholder-color': '#b8baba',
                '@input-border-color': '#C6C8CF',
                '@modal-header-bg': '#F3F4F8',
                '@disabled-bg': '#E8ECEF',
                '@menu-item-active-bg': '#fff',
                '@steps-small-icon-size': '20px',
                '@layout-header-color': '#fff',
                '@zindex-notification': 1040,
                '@table-header-bg': '#e8e8e8',
            }, 
        },
    }),
    addPostcssPlugins([
        require('postcss-import')({
            path: ['src/styles'],
        }),
        require('postcss-nesting'),
    ]),
    addWebpackPlugin(new AntdDayjsWebpackPlugin()),
    addWebpackPlugin(
        new BundleAnalyzerPlugin({
            analyzerMode: isEnvProduction ? 'static' : 'server',
            openAnalyzer: false,
        })
    )
)
`
this is my  config-overrides.js , when i build in prodution, i find that when i  open my website, all js files are loaded,but many of them i do not need,  what should I do to config-overrides.js  like webpack.config.js ? I need to make js files load when they are needed. Thanks
![image](https://github.com/facebook/create-react-app/assets/26950031/35c49dcf-c075-4800-aff3-8707c8bc9807)
Repository: ant-design
Issue: setFieldValue 无法重置错误信息
Labels: Inactive,unconfirmed

### Reproduction link

[https://stackblitz.com/edit/react-1lf8yb?file=demo.tsx](https://stackblitz.com/edit/react-1lf8yb?file=demo.tsx)

### Steps to reproduce

清空必填项，触发setFieldValue()，错误信息不会重置

### What is expected?

如文档描述上写的一样：设置表单的值（该值将直接传入 form store 中并且重置错误信息。如果你不希望传入对象被修改，请克隆后传入）

### What is actually happening?

不会重置错误信息，和文档上写的不一样

| Environment | Info |
| --- | --- |
| antd | 5.12.5 |
| React | 18.2 |
| System | windows11 |
| Browser | Chrome 120.0.6099.111 |

---

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: PowerToys
Issue: Keyboard Manager unreliable running-in-background interruption
Labels: Issue-Bug,Needs-Triage

### Microsoft PowerToys version

0.67.1

### Installation method

PowerToys auto-update

### Running as admin

None

### Area(s) with issue?

Keyboard Manager

### Steps to reproduce

1. Use Keyboard Manager to remap the `Caps Lock` key to `Esc`.
I cannot reproduce the bug so I don't know if this is involved, but I was using Visual Studio Code when it happened. I switched files pressing `Alt + 3` and began editing immediately, pressing `Caps Lock` to escape multiple cursors

### ✔️ Expected Behavior

I remap `Caps Lock` to keep from enabling it accidentally, using the button as an escape key instead. This setup has worked for a long time, and I expect pressing caps lock to always be interpreted as escape, every time.

### ❌ Actual Behavior

The mapping failed for a very brief moment, with `Caps Lock` triggering a caps lock instead of escape. The caps lock was turned on for just one keypress, with the mapping going back to normal (back in effect) immediately after. That means caps lock is unexpectedly on, and cannot now be turned off by pressing the key. I had to open Power Toys and temporarily disable the mapping to turn caps lock off. 
It's as if Keyboard Manager's running in the background experienced a very brief interruption. After seeing this happen and having no explanation for it, I don't think I can go on using Power Toys for this use case because it's too unreliable.

### Other Software

Visual Studio Code Version: 1.85.1
Repository: ollama
Issue: Download slows to a crawl at 99%
Labels: bug,networking,registry

For every model I've downloaded, the speed saturates my bandwidth (~13MB/sec) until it hits 98/99%. Then the download slows to a few tens of KB/s and takes hour(s) to finish.

<img width="884" alt="image" src="https://github.com/jmorganca/ollama/assets/286180/e47037e1-aea8-4a13-a6fc-7841baa0db6c">

I've tried multiple models and this behavior happens each time. Happy to debug, but I'm not sure what to try.

I'm in Australia, in case that matters.
Repository: node
Issue: Child Process Leak
Labels: child_process

I'm spawning processes and using SIGSTOP/SIGCONT to suspend/resume the processes. However, I've noticed that the processes will continue living even after `'close'` having been emitted:

e.g.

```
# ps -ax | grep ffmpeg | grep 40496
40496 ?        Tl     0:05 ffmpeg ...
```

However, I have received a `'close'` event from the process so it should have exited. I notice that it is in "T" state (stopped by job control signal) which is suspect is somehow related. 

It seems to me that the `'close'` event is somehow incorrectly emitted, or that a process can receive a `SIGSTOP` *after* the `'close'` signal.
Repository: flutter
Issue: [video_player_web] option to apply style filter to the video using controller.
Labels: c: new feature,p: video_player,package,c: proposal,P3,team-web,triaged-web

### Use case

Currently there is no way to invert a video using the video_player_web package. ColorFilter doesn't work when it comes to flutter web video.

### Proposal

Currently it's only possible by creating an separate html and JS file for video player and access it using a webview package.
The below function represents how we invert a video in web.
<img width="450" alt="Screenshot 2023-12-29 at 1 51 19 PM" src="https://github.com/flutter/flutter/assets/30585556/30c5a7e1-efa6-423f-b377-3ed16a7f689c">

Using the controller in the video_player package, either we should be able to access the entire videoElement or just the style property of it.
Repository: kubernetes
Issue: DaemonSet UpdatedNumberScheduled Status Not Right with RollingUpdate
Labels: kind/bug,sig/apps,priority/important-longterm,triage/accepted

### What happened?

DaemonSet, with update strategy that will cause new Pod being created before old Pod terminated on a Node (surge > 0), does not count scheduled updated Pods in "UpdatedNumberScheduled" status until old Pod on the same Node is terminated.

### What did you expect to happen?

With rolling update, "UpdatedNumberScheduled" should count an updated Pod once it is scheduled, instead of being blocked by old Pod on the same Node.

### How can we reproduce it (as minimally and precisely as possible)?

```yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: my-daemonset
spec:
  selector:
    matchLabels:
      app: my-app
  template:
    metadata:
      labels:
        app: my-app
    spec:
      containers:
      - name: my-app
        image: busybox
        command: ["/bin/sh"]
        args: ["-c", "trap 'sleep 30' TERM; while true; do sleep 1; done"]
  updateStrategy:
    type: RollingUpdate                                                                                                                                                                                                 
    rollingUpdate:                                                                                                                                                                                               
      maxSurge: 1                                                                                                                                                                                        
      maxUnavailable: 0                                                                                                                                                                                   
```
- Create a DaemonSet with above spec.
- Update/restart the DaemonSet to trigger the rolling update.
- Check "UpdatedNumberScheduled" status of this DaemonSet after the new Pod is scheduled and before the old Pod is terminated.

### Anything else we need to know?

The root cause should be [status update](https://github.com/kubernetes/kubernetes/blob/63eb5028ba613003f044f0391912be356e0f1b97/pkg/controller/daemon/daemon_controller.go#L1152C3-L1152C3) only checks the oldest pod on each Node, which should not be the case with surge>0 rolling update?

### Kubernetes version

1.28.2

### Cloud provider

Docker Desktop

### OS version

_No response_

### Install tools

_No response_

### Container runtime (CRI) and version (if applicable)

_No response_

### Related plugins (CNI, CSI, ...) and versions (if applicable)

_No response_
Repository: fastapi
Issue: Passing UploadFile objects into a StreamingResponse closes it in v0.106.0 but not v0.105.0
Labels: investigate

### Discussed in https://github.com/tiangolo/fastapi/discussions/10856

<div type='discussions-op-text'>

<sup>Originally posted by **adrwz** December 28, 2023</sup>
### First Check

- [X] I added a very descriptive title here.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I searched the FastAPI documentation, with the integrated search.
- [X] I already searched in Google "How to X in FastAPI" and didn't find any information.
- [X] I already read and followed all the tutorial in the docs and didn't find an answer.
- [X] I already checked if it is not related to FastAPI but to [Pydantic](https://github.com/pydantic/pydantic).
- [X] I already checked if it is not related to FastAPI but to [Swagger UI](https://github.com/swagger-api/swagger-ui).
- [X] I already checked if it is not related to FastAPI but to [ReDoc](https://github.com/Redocly/redoc).

### Commit to Help

- [X] I commit to help with one of those options 👆

### Example Code

```python
async def upload_file_event(files: List[UploadFile]):
    print("2", files[0].filename, files[0].file._file.closed)

    # ... more code ...


@router.post("/upload_session_file")
async def upload_file(files: List[UploadFile] = File(...)):
    print("1", files[0].filename, files[0].file._file.closed)

    try:
        return StreamingResponse(
            upload_file_event(files),
            media_type="text/event-stream",
        )
    except Exception as error:
        logging.error(error)
        raise HTTPException(status_code=500, detail="Internal Server Error")
```


### Description

Hitting this endpoint with an uploaded file on v0.105.0 will print:

```
1 filename false
2 filename false
```

Hitting this endpoint with an uploaded file on v0.106.0 will print:

```
1 filename false
2 filename true
```

Unfortunately this means I'm unable to upload files in a StreamingResponse with fastapi>=0.106.0

### Operating System

macOS

### Operating System Details

_No response_

### FastAPI Version

0.105.0

### Pydantic Version

2.5.3

### Python Version

3.11.4

### Additional Context

_No response_</div>