sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: flutter
Issue: [go_router] Support redirectingBuilder
Labels: c: new feature,package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Use case

<!--
     Please tell us the problem you are running into that led to you wanting
     a new feature.

     Is your feature request related to a problem? Please give a clear and
     concise description of what the problem is.

     Describe the alternative solutions you've considered. Is there a package
     on pub.dev/flutter that already solves this?
-->
There will be a blank screen if the redirect takes a moment longer than usual (see the code below).
We can resolve that issue in one way or another. However, it would be better if `go_router` supports `redirectingBuilder` that takes place when it waits for redirect method callback.

## Proposal

```dart
GoRouter(
  /* other code */
  redirect: (context, state) async {
    final someCondition = await someTask(); // blank screen here
    if (someCondition) {
      return someRoute;
    }
    return null;
  },
  redirectingBuilder: (context, state) {
    return Center(
      child: Text('Redirecting...'),
    );
  },
  /* other code */
)
```

<!--
     Briefly but precisely describe what you would like Flutter to be able to do.

     Consider attaching something showing what you are imagining:
      * images
      * videos
      * code samples

     Does this have to be provided by Flutter directly, or can it be provided
     by a package on pub.dev/flutter? If so, maybe consider implementing and
     publishing such a package rather than filing a bug.
-->
Repository: ant-design
Issue: tree组件，当设置draggable为一个方法，且过滤条件时。无法drop
Labels: help wanted,Inactive,improvement

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/tuo-dong-shi-li-antd-5-2-2-forked-4r9nwp?file=/demo.tsx:2774-2783)

### Steps to reproduce

拖拽can-drag子节点到cant-drag父节点，无法被drop

### What is expected?

cant-drag节点无法被拖拽，但是可以drop

### What is actually happening?

cant-drag节点无法被拖拽，且无法被drop

| Environment | Info |
| --- | --- |
| antd | 5.2.2 |
| React | 17 |
| System | mac |
| Browser | chrome |

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: stable-diffusion-webui
Issue: [Feature Request]: Ability to hide file extension in checkpoint dropdown
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 ?

Right now checkpoints are displayed with their full filenames, e.g.
instruct-pix2pix-00-22000.safetensors
even though seeing the ".safetensors" part doesn't really add any useful information at this point (if you're worried about unsafe .ckpt files or something, you would presumably check that BEFORE copying it into the models folder), and makes the whole dropdown list very busy to look at. Would be great if there was an option to hide the extension and instead just show it without, like
instruct-pix2pix-00-22000

### Proposed workflow

Could be a new option "Do not display file extension for checkpoints" somewhere in the settings.

### Additional information

_No response_
Repository: vscode
Issue: [json] warn if a color that requires opacity doesn't set it
Labels: feature-request,json

For the colors that require opacity, could there be a way to show a squiggle if opacity is not used in some colors?
Repository: godot
Issue: Signals in the embdedded documentations show below theme properties
Labels: usability,documentation

### Godot version

4.0 RC2

### System information

Fedora, RX 590

### Issue description

When opening the embedded documentation, a long list of theme properties shows before signals. I believe theme properties should be instead shown at the very bottom of the documentation page, since it's usually something used/set once and then left there.

### Steps to reproduce

Open FileDialog documentation page inside Godot

### Minimal reproduction project

See above
Repository: flutter
Issue: Provide authorization for multiple Google accounts 
Labels: c: new feature,p: google_sign_in,package,c: proposal,team-ecosystem,P3,triaged-ecosystem

## Use case

First of all, thank you for creating such a great framework. 

I'm currently building a calendar app with Flutter, and one of the key features of the app I envision is to integrate multiple Google accounts to collect events in one place. I'd like to use cron as an example for this. I'm using Android, so I haven't tried the IOS version of the cron app yet, but cron definitely supports multiple Google accounts. See the picture below.

![image](https://user-images.githubusercontent.com/26302580/220562773-59d23640-742c-4aae-9b43-55eda4173409.png)

Flutter is suggesting to get the access token of Google Calendar API via [google_sign_in](https://pub.dev/packages/google_sign_in) package and [extension_google_sign_in_as_googleapis_auth](https://pub.dev/packages/extension_google_sign_in_as_googleapis_auth) package. However, those packages seems to only allow one account to be logged in at a time. To get access tokens for multiple accounts as I want, I think I'll have to implement them separately, and I'm afraid that doing so arbitrarily will violate [Hyrum's law](https://www.hyrumslaw.com/) and deviate from Flutter's guidelines. I think this might make the my app difficult to maintain. I'd like to hear from the developers of this awesome project. Is this something I should implement, or something the Flutter team should take care of?

## Proposal

If this is an issue that the Flutter team should develop, please consider the following requirements.

1. Receive Access Tokens from multiple Google accounts
2. Dealing with token expiration the easy way

Thank you for reading 🙏
Repository: stable-diffusion-webui
Issue: [Feature Request]: Allow extensions to declare priority level
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 ?

Hi,

At the moment, it seems that extensions execute in alphabetical order. I propose giving extension developers some way of assigning a "priority level" that supersedes the default order.

Here's a practical example why this would be useful: 

My extension, Unprompted, can create img2img masks from the user's text prompt. If used in conjunction with the ControlNet extension on "Only masked" mode, ControlNet throws an error because a mask was not yet generated. If I rename the `unprompted` folder to `_unprompted`, however, the two extensions play well together.

I am hoping for a less cumbersome solution.

### Proposed workflow

Possibly a new function inside the Script class that simply returns a priority integer.


### Additional information

_No response_
Repository: godot
Issue: Setting FileDialog.FILE_MODE_OPEN_FILES causes the popup to show behind the editor (plugin development)
Labels: platform:linuxbsd,topic:editor,topic:plugin

### Godot version

v4.0.rc.custom_build [e13fae141] (between rc2 and rc3)

### System information

Fedora, X11, RX 590

### Issue description

I am porting a plugin from 3.x to 4.x
Setting `dialog.mode = FileDialog.FILE_MODE_OPEN_FILES`  causes the popup to popup behind the window and be unfocusable.

NOTE: ANY, FILE, DIRECTORY works. It's just FILE**S** that breaks it

This is my code:
```
	var dialog = FileDialog.new()
	editor_interface.get_base_control().add_child(dialog)
#	dialog.mode = FileDialog.FILE_MODE_OPEN_FILES
	dialog.popup_centered(
```


https://user-images.githubusercontent.com/7917475/220607768-57e6ed06-0d6b-4dbe-9c06-5524cae1de9e.mp4


### Steps to reproduce

Install mrp addon, go on the "TestPopupFileDIalog" bottom pane, push the "test boop" button
![image](https://user-images.githubusercontent.com/7917475/220607836-1520b8a2-7091-425d-89e5-f201a3c3b3cc.png)
Then open `res://addons/test_popup/test.gd`, uncomment line 18 (`dialog.mode = FileDialog.FILE_MODE_OPEN_FILES`), restart the plugin, observe the behaviour mentioned above


### Minimal reproduction project
[test_popup.zip](https://github.com/godotengine/godot/files/10803167/test_popup.zip)
Repository: PowerToys
Issue: voice typing / Escritura por voz
Labels: Needs-Triage

### Description of the new feature / enhancement

Para facilitar el uso de los procesadores de texto

### Scenario when this would be used?

A la hora de generar documentos

### Supporting information

_No response_
Repository: youtube-dl
Issue: Address changed for smotrim.ru
Labels: external-bugs

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

- [ ] I'm reporting a broken site support issue
- [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 all URLs and arguments with special characters are properly quoted or escaped
- [x] I've searched the bugtracker for similar bug reports including closed ones
- [x] I've read bugs section in FAQ


## Description

Right now, trying to download a video from an address like `https://smotrim.ru/video/2568723` results in a timeout error due to failure to resolve the `player` address. 
This is likely because resolved video address used to have this format: `http://player.rutv.ru/iframe/datavideo/id/2568723`, but seems to have been changed recently to `https://player.smotrim.ru/iframe/video/id/2568723`. 

**Correction: the issue is actually with the JSON data file URL, which is now `https://player.smotrim.ru/iframe/datavideo/id/2568924/sid/smotrim`, i.e. features `smotrim.ru` instead of `rutv.ru`, and has the `/sid/smotrim` part at the end.**
Repository: stable-diffusion-webui
Issue: [Bug]: Missing script initializations in --nowebui mode
Labels: bug-report

### Is there an existing issue for this?

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

### What happened?

ControlNet extension (https://github.com/Mikubill/sd-webui-controlnet) defines its own API endpoints for txt2img and img2img (`/controlnet/txt2img` and `/controlnet/img2img` respectively) and when webui is launched with the `--nowebui --api` flags, it only calls `ScriptRunner.initialize_scripts()` if `/sdapi/v1/txt2img` or `/sdapi/v1/img2img` endpoints are called.

Therefore, if you launch the webui with `--nowebui --api` flags and call the controlnet api through their own endpoints, the controlnet script is not processed in the pipeline since it has never been initialized. However, if you somehow let the webui to initialize scripts, the controlnet script is processed properly via their own endpoints.

### Steps to reproduce the problem

1. Install the https://github.com/Mikubill/sd-webui-controlnet extension, add required models.
2. Launch webui with --nowebui --api
3. Call /controlnet/txt2img or /controlnet/img2img
4. Controlnet script is not processed in the pipeline and pure txt2img or img2img results are returned


### What should have happened?

Controlnet script should had been initialized and later on have been processed in the pipeline properly

### Commit where the problem happens

Latest (0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8)

### What platforms do you use to access the UI ?

_No response_

### What browsers do you use to access the UI ?

_No response_

### Command Line Arguments

```Shell
--nowebui --api
```


### List of extensions

controlnet https://github.com/Mikubill/sd-webui-controlnet

### Console logs

```Shell
-
```


### Additional information

in api only mode scripts are initialized here:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8/modules/api/api.py#L170-L172
when`/sdapi/v1/txt2img` or `/sdapi/v1/img2img` is called with a `script_name` arg. However, controlnet defines its own endpoints so this code is never called and scripts are never initialized.
Repository: puppeteer
Issue: [Bug]: puppeteer.connect is hanging if the alert popup is shown during connection
Labels: bug,upstream,confirmed,disable-analyzer

### Bug expectation

I am using Lighthouse + puppeteer in node JS code to connect **already opened browser**, run lighthouse in snapshot mode and generate reports. Everything is working fine except one scenario where I have to run this node JS  when there is default alert popup opened in browser. Node js not executing fully, it is getting stuck after the code where we connect with browser (with puppeteer.connect method). after that I have printed lot of logs but I don't see those logs.

Please let me know if any questions.

Steps to reproduce:

1) Launch Chrome with the remote debugging port, e.g., `/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 --user-data-dir=/tmp/pptr-connect`
2) Open DevTools and execute `alert('test')` in the DevTools console.
3) Run the script below.

### Bug behavior

- [ ] Flaky
- [ ] PDF

### Minimal, reproducible example

```TypeScript
const puppeteer = require('puppeteer');

(async function () {
  try {
    const browser = await puppeteer.connect({
      browserURL: 'http://127.0.0.1:9222',
    });
    console.log('connect')
    const pages = await browser.pages();
    console.log('after pages', pages);
  } catch (err) {
    console.error(err);
  }
})()
```


### Error string

NO error

### Puppeteer configuration

_No response_

### Puppeteer version

19.7.2

### Node version

16.16.0

### Package manager

npm

### Package manager version

7.5.0

### Operating system

Windows
Repository: ant-design
Issue: Expandable icon in Table Tree is not visible in Windows High Contrast Mode
Labels: Inactive,unconfirmed

### Reproduction link

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/tree-data-antd-4-24-8-forked-6640hz?file=/index.tsx)

### Steps to reproduce

1. Load the sandbox
2. Expand the items in table tree
3. Windows > Settings > Ease of Access > High Contrast > Turn on high contrast

### What is expected?

Expand button icon is visible (plus/minus)

### What is actually happening?

Expand button icon is not visible (plus/minus)

| Environment | Info |
| --- | --- |
| antd | 4.24.4 |
| React | 18 |
| System | Windows 10 |
| Browser | ALL |

---

Ref: UIEN-3714

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: go
Issue: crypto/x509: stop using math/big and crypto/elliptic for parsing
Labels: NeedsFix

Now that we carved math/big out of the security perimeter and deprecated (most of) crypto/elliptic, we should not use it for parsing keys in crypto/x509.

This would also be a good opportunity to land https://go.dev/cl/402554.
Repository: vscode
Issue: Show better error messages when configured browser is not installed
Labels: debug,polish

This is my launch config:
```json
{
    "name": "Monaco Editor Playground",
    "type": "chrome",
    "request": "launch",
    "url": "https://microsoft.github.io/monaco-editor/playground.html?sourceLanguages=http%3A%2F%2Flocalhost%3A5002%2Fout%2Famd",
    "preLaunchTask": "Launch Http Server",
    },
```

[When a user launches it without having chrome installed](https://github.com/microsoft/vscode/issues/174870#issuecomment-1439187546_), they get this error:

<img width="429" alt="image" src="https://user-images.githubusercontent.com/25044782/220477910-29a4cefa-b035-48a4-9e35-8b838ca7c35d.png">

> Unable to launch browser: "Unable to find an installation of the browser on your system. Try installing it, or providing an absolute path to the browser in the "runtimeExecutable" in your launch.json

I think it might be a better UX if the error better explains what is wrong. This could look like this:

> Cannot start debug session: The configured browser "chrome" does not seem to be installed. Try installing it, or providing an absolute path to the browser in the "runtimeExecutable" in your launch.json

* This explains that this error prevents debugging the application
* It mentions which browser it is missing
Repository: PowerToys
Issue: Accent color for find my mouse on mouse utilities
Labels: Needs-Triage

### Description of the new feature / enhancement

Hey,
Can we have an option to choose Accent color for find my mouse on mouse utilities.
Both on the background and the spotlight color?

### Scenario when this would be used?

More appealing to the eye.

### Supporting information

_No response_
Repository: PowerToys
Issue: Microsoft Edge app position not saved by Fancy Zones
Labels: Issue-Bug,Product-FancyZones,Needs-Triage

### Description of the new feature / enhancement

In Microsoft Edge, you have the ability to create Apps from websites. These Apps can then be pinned to your start menu and taskbar. However, when using Fancy Zones (a feature that allows you to organize windows on your screen), the App position is based on the Edge window position rather than the position where you created the WebApp.

### Scenario when this would be used?

Fancy Zones is a feature in Windows that allows you to organize open windows into specific layouts on your desktop. This can be useful for users who frequently work with multiple windows or applications and want to optimize their desktop space and workflow.

If you frequently use Microsoft Edge to create web apps and pin them to your start menu or taskbar, you may find Fancy Zones helpful for organizing these apps on your desktop. However, if you do not use Microsoft Edge for this purpose or do not frequently work with multiple windows on your desktop, you may not find Fancy Zones to be a useful feature. It ultimately depends on your individual needs and preferences as a user.

### Supporting information

_No response_
Repository: godot
Issue: Unexpected behaivor of close dialog after modifing project or editor settings
Labels: bug,topic:editor

### Godot version

4.0.rc3

### System information

Windows 10

### Issue description

 If new empty project created, and editor or project settings are modified, button "Save & Quit" on Godot close does nothing, but closing the dialog (neither saves nor closes Godot). Meanwhile saving manually and closing afterwards works fine. "Cancel" and "Don't save". Also its unexpected behavior that only changing editor setting trigger confirming dialog on close.

### Steps to reproduce

1) Create new project with default settings (I did it into sub folder of standard Windows "Documents" folder, but it seems it does not matter)
2) Edit either Project or Editor Settings (for example change 'Editor Language')
3) Project is marked as modified (which in case of modifying Editor Settings is also an unexpected behavior, since editor settings does not seem to save within a project)
4) Attempt to close
5) Dialog "Please Confirm...", asking "Save modified resources before closing?"
6) Button "Save & Quit" closes dialog, but does nothing else (visually at least), duplicating  "Cancel" button functionality.
7) On manual save (Ctrl+S) Godot closes without triggering confirming dialog. 

### Minimal reproduction project

N/A
Repository: TypeScript
Issue: Function type definition with anonymous arguments and optional parentheses for single argument
Labels: Suggestion,Awaiting More Feedback

# Suggestion

<!--
  Please fill in each section completely. Thank you!
-->

## 🔍 Search Terms

anonymous type argument, optional parentheses

<!--
  💡 Did you know? TypeScript has over 2,000 open suggestions!
  🔎 Please search thoroughly before logging new feature requests as most common ideas already have a proposal in progress.
  The "Common Feature Requests" section of the FAQ lists many popular requests: https://github.com/Microsoft/TypeScript/wiki/FAQ#common-feature-requests

  Replace the text below:
-->

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.

## ✅ Viability Checklist

<!--
   Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
   We always recommend reviewing the TypeScript design goals before investing time writing
   a proposal for ideas outside the scope of the project.
-->
My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

Like a anonymous function and anonymous type, it could be nice a type definition with anonymous arguments. Also, as in function definition, function type definition with single argument, the parentheses could be optional.


## 📃 Motivating Example

This simple enhancement let a more clean and lean code syntaxe.

## 💻 Use Cases

````ts
// currently
function f(callback:(...args: string[]) => void) { ... }

// anonymous arguments
function f(callback: (...string[]) => void) { ... }

// anonymous argument + optional parentheses
function f(callback: ...string[] => void) { ... }
````
Repository: PowerToys
Issue: can't get Option key mapped to Alt key
Labels: Issue-Bug,Product-Keyboard Shortcut Manager,Priority-2

### Microsoft PowerToys version

Powertoys v0.67.1

### Installation method

Microsoft Store

### Running as admin

Yes

### Area(s) with issue?

General

### Steps to reproduce

I have a Macally keyboard on my work PC. I've mapped the Control - Command keys, but I can't re-map the Alt to Option keys.

### ✔️ Expected Behavior

Option key to work like the Alt key (holding down the Option key to kern letters)

kurt.murphy@wivb.com

### ❌ Actual Behavior

nothing

### Other Software

_No response_
Repository: godot
Issue: Grid flickers when moving view in 3D editor on Android (Mali GPU)
Labels: bug,platform:android,topic:rendering,topic:editor,confirmed,topic:thirdparty,topic:3d

### Godot version

v4.0.rc.custom_build [b2cdeb2e1]

### System information

[Galaxy Tab S6 Lite](https://www.gsmarena.com/samsung_galaxy_tab_s6_lite-10158.php) running Android 12

### Issue description

When moving the view in the 3D Workspace, the grid flickers.
When the motion stops, some lines remain entirely invisible, some are only visible near intersections and some appear stairstepped with visible gaps between the segments.

https://user-images.githubusercontent.com/61663141/220638821-25130636-4cda-43d5-af37-bef30416b656.mp4



### Steps to reproduce

Open a new project and move in the 3D Workspace

### Minimal reproduction project

N/A