Skip to content

Conversation

@matthewjamesadam
Copy link
Contributor

@matthewjamesadam matthewjamesadam commented Dec 15, 2021

This is a WIP for getting feedback for #62783

Alternative API is here: #139225

@ghost
Copy link

ghost commented Dec 15, 2021

CLA assistant check
All CLA requirements met.

* @param viewId Id of the view contributed using the extension point `views`.
* @param activityProvider A {@link ActivityProvider} that provides activity state for the view
*/
export function registerActivityProvider(viewId: string, activityProvider: ActivityProvider): Disposable;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's unclear to me if the thing you would register the activity provider for would be the ID of the view, or the view container. I believe you can contribute activity information for both, but I'm not sure if an extension API should support both or not.

@alexr00
Copy link
Member

alexr00 commented Dec 20, 2021

@matthewjamesadam thank you for the PRs! Just an heads up that our API process can be a long: https://github.com/Microsoft/vscode/wiki/Extension-API-process

I will bring your proposals to our next team API meeting and let you know the feedback in the PRs.

@matthewjamesadam
Copy link
Contributor Author

Thank you @alexr00 , I appreciate that there is a process for changing the extension API and that it might take awhile. Thanks for taking this to the API meeting, let me know if there is any other way I can help.

@matthewjamesadam
Copy link
Contributor Author

@alexr00 just FYI, I have slightly amended this proposal to use classes instead of interfaces for the badge API, and I have implemented the API in another PR that branches off of this one: #139539.

@alexr00
Copy link
Member

alexr00 commented Jan 18, 2022

Of the two API proposals, the other is closer to what we're looking for in badges! I've left my feedback there: #139225 (comment). Closing in favor of the other proposal.

@alexr00 alexr00 closed this Jan 18, 2022
@matthewjamesadam
Copy link
Contributor Author

Thanks for the feedback @alexr00 !

@github-actions github-actions bot locked and limited conversation to collaborators Mar 4, 2022
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.

4 participants