I see some very weird code duplication from https://github.dev/microsoft/vscode/pull/260770. If I understand correctly, a chat confirmation widget was deprecated but mostly duplicated, specifically now that I want to tweak notifyConfirmationNeeded to fix #270619 I seem to be having to do this in 2 places.
This feels like a wasteful way of doing deprecation, at the very minimum I would have extracted a base class with the duplicated code and/or introduce helper methods. Now we need to maintain the same code multiple times.