-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File select #254
Comments
@daviddossett would love your thoughts/feedback here on a foundation ‘file’ component: microsoft/fast#5269 |
Thanks @worksofliam! It's a reasonable ask—we have a few other input types waiting to be added to the toolkit as well. As Chris pointed out above we would need the underlying component to be added to @chrisdholt I'll follow up on the issue with some early thoughts. Thank you! |
Doing some digging and have a couple of points for discussion:
@worksofliam it would be great to get your input here too. |
This could probably just be a property on the component?
It should be coupled, but optional for sure. I don't think drag and drop should be considered initially. Perhaps that could be looked into when asked for. |
Hello, Best Regards! |
If the VSCode team decides to leverage the FAST component class and template it'll be form associated, but I believe the current plan for the change event is to map to the proxy element. You can take a look here at the progress: https://github.com/microsoft/fast/pull/5336/files Could you elaborate on your need and possible implementation regarding your expectations above w/ loading an empty directory? |
My current But I guess that is out-of-spec, since W3C does not support directory selection yet |
Technically the FAST class can be extended to include non-standard attributes and behaviors such as this; it's a benefit of the approach we take. I don't think we would include this attribute out of the gate as it's not standard, but it certainly could be included here if the VSCode team saw value in that specific non-standard attr. Alternatively, you could also extend yourself and depending on what the team decides to expose, you could recompose a custom file component with the vscode styles and your attr...all comes down to what gets built where :). |
@daviddossett Hope you are having a good end of the year so far - jealous of your long time off! My idea for work around:
|
Hey folks, any update on this? |
@worksofliam things have been on hold for a bit—we're just getting back up to speed on all things toolkit-related so I'll check back in soon. |
@daviddossett Hey there. Just poking about this feature again. |
Hey @worksofliam! No updates on this yet, unfortunately. We've become really tightly resourced during the last year and David and I have to split our time between the toolkit and a handful of other projects these days. There is a chance I'll start to get some more time to work on toolkit stuff by the end of spring/early summer but it's still very TBD, so I'll try to circle back once I know more :) |
Hi all, Back with a final update: I'm very sorry to say that the toolkit is being deprecated and all active development will be coming to a close. There was an announcement last week where you can learn more details and leave any questions or comments you may have. Beyond that, thank you so much filing this issue and apologies for never getting around to addressing it. It means a lot that you contributed to the improvement of this project. I wish you all the best in your future VS Code extension endeavors! |
Feature/component description
A file select component: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
Use case
We have a web view where a user can select an SSH key from their file system. We use the file selector, then pass the value back from the panel to the extension for the extension to read the file.
Screenshots/references
Here is our existing UI:
The text was updated successfully, but these errors were encountered: