-
Notifications
You must be signed in to change notification settings - Fork 180
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
Add API based filtering for organizations #1472
Conversation
9f462ae
to
426fe09
Compare
426fe09
to
7e825f7
Compare
We need this to open the browser for organziation creation
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.
Other than the file placement question, LGTM!
src/utils/uiHelpers.ts
Outdated
fetchItems(query?: string): Promise<vscode.QuickPickItem[]>; | ||
} | ||
|
||
export class APIQuickPick { |
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.
Would have expected this to be inside the terraformCloud folder as while it's a generic VSCode UI thing, its only really going to be used by the tfc stuff
* Build abstract api filtering quick pick * Use new APIQuickPick for project filter * Move TerraformCloudHost We need this to open the browser for organziation creation * Add search query parameter to organizations API * Improve APIQuickPick hide and show behavior * Implement OrganizationAPIResource * Use OrganizationAPIResource to pick an organization * Move uiHelpers file
* Build abstract api filtering quick pick * Use new APIQuickPick for project filter * Move TerraformCloudHost We need this to open the browser for organziation creation * Add search query parameter to organizations API * Improve APIQuickPick hide and show behavior * Implement OrganizationAPIResource * Use OrganizationAPIResource to pick an organization * Move uiHelpers file
* Build abstract api filtering quick pick * Use new APIQuickPick for project filter * Move TerraformCloudHost We need this to open the browser for organziation creation * Add search query parameter to organizations API * Improve APIQuickPick hide and show behavior * Implement OrganizationAPIResource * Use OrganizationAPIResource to pick an organization * Move uiHelpers file
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This PR adds API-based filtering for organisations, based on work done for filtering projects in #1455.
As a result of discussion in Slack, it also adds the ability to open the browser to create organisations and refresh the list. This improves the workflow for users starting with an empty TFC account.
UX
Empty account
Some existing organizations