-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Improve QuickInput/InputBox's APIs #5187
Conversation
6f0e336
to
1827022
Compare
@akosyakov It resolves everything but the busy part of the API (which shows progress indicator). I didn't find a way to implement that. |
@JPinkney will review it next month that it is landed in 0.8.0, please rebase and add a record for 0.8.0 in CHANGELOG Also if you can assign your colleagues for testing that features' expectations are matching in VS Code and Theia, it would help with a review. maybe @vinokurig ? |
@elaihau @vince-fugnitto or maybe someone from Ericsson can test too |
@akosyakov I'll try it ASAP |
|
@akosyakov I've moved all logic from MonacoQuickOpenService to QuickInputService as requested |
please rebase and have a look at comments |
@akosyakov do you have time to review this again? Wouldn't want it to go stale another time. |
import { PluginCliContribution } from './plugin-cli-contribution'; | ||
|
||
@injectable() | ||
export class PluginResolution implements PluginDeployer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it belong to this PR or got here by a mistake?
Design and code-wise looks good now. I am testing if everything is ok i will push an additional commit to delete unused code, adjust changelog, rebase and then merge it. |
Awesome, thx. @JPinkney is on holiday this week, so this helps. |
@akosyakov I've fixed all your comments, could you please review again |
fixes #5814 |
@vinokurig the point was that it should no be breaking change, please read carefully here:
One should not copy code, but move only affected interfaces and reexport them. |
Please also make sure that git history does not contain merge and clean up commits for a code which was introduced in this PR. Please see: https://github.com/theia-ide/theia/blob/master/doc/pull-requests.md#checklist-commit-history |
Done
I've squashed my commits but I don't want to modify the commit that was done by @JPinkney (1f2da76), so there is still one merge commit. Is it OK if @JPinkney or you will squash all the commits when the PR is ready to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately title does not look aligned yet
@vinokurig please rebase @evidolob Would you be able to check after the rebase that imports are still good in the plugin system please? |
@AlexTugarev We could implement it properly for the quick palette after your progress PR is merged? If so please file an issue for it. Right now experience is not smooth for multi steps input. |
Co-authored-by: Josh Pinkney <joshpinkney@gmail.com> Co-authored-by: Igor Vinokur <ivinokur@redhat.com> Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
@akosyakov I've reworked styles and rebased the branch, could you please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested and it looks good to me now, please fix formatting and bogus import in the plugin system before merging.
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works good, as for me
Regarding "the progress is not reported properly (as already mentioned in the PR description)", I am not sure what happened with the progress? |
@ira-gordin-sap Filed an issue: #6195 |
This PR brings a few enhancements to the QuickInput/InputBox API's. It implements steps, title, totalSteps, onDidTriggerButton, onDidHide, buttons, enabled, QuickInputButtons.Back.
Currently, I haven't found a way to set the progress indicator for the busy (progress indicator) portion of the QuickInput API. Also, ignoreFocusOut and prompt don't have a way to be set after the user has done inputBox.show().
This is based ontop of the changes made in this PR: #5108 and is related to #5109, eclipse-che/che#13007, eclipse-che/che#13227
Tested against: https://github.com/Microsoft/vscode-extension-samples/tree/master/quickinput-sample