Skip to content

Rewrite extension for v2 API#235

Merged
alexweininger merged 9 commits intomainfrom
alex/api-v2
Jan 30, 2023
Merged

Rewrite extension for v2 API#235
alexweininger merged 9 commits intomainfrom
alex/api-v2

Conversation

@alexweininger
Copy link
Copy Markdown
Member

Apart from the commands which don't have picking support, everything should be working as expected. I will leave that for CTI to determine, but I've tested most things as I went pretty diligently.

Todos are marked with // TODO comments (I know I'm a genius 🤓)

The largest todos are:

  1. Picking things for a revision. We need to either pick a container app in single revisions mode, or a revision of a container app in Multiple revisions mode. This is tricky since a revision items are (grand) children of container app items. Haven't put too much effort into this, should be relatively straight forward.
  2. Implement a "runWithTemporaryChild" utility that allows us to show a "Creating {0}..." child on an item while the child is being created.

@alexweininger alexweininger requested a review from a team as a code owner January 21, 2023 00:14
Comment thread package.json
Comment thread src/commands/ingress/editTargetPort.ts
Comment thread src/tree/TreeItemState.ts

type ResourceGroupsItem = TreeElementBase & { id: string };

export class TreeItemStateStore implements vscode.Disposable {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we should do some code sharing with this class/file.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I will put an implementation in utils. Planning on making it cover our use cases, but allow for clients to extend if needed.

@alexweininger alexweininger merged commit 23b81ed into main Jan 30, 2023
@alexweininger alexweininger deleted the alex/api-v2 branch January 30, 2023 19:17
@microsoft microsoft locked and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants