browser-ext-github-monaco
browser-ext-github-monaco copied to clipboard
Tab title changes to "(Draft comment)" when comment box is empty
If you leave an issue or pull request page open in the background, the tab title will immediately change to "(Draft comment) ..." even if the user hasn't typed anything in the comment box.
This does not happen when the addon is disabled.
Note that this is due to Refined GitHub (but won't be fixed there since it's due to an external cause)
https://github.com/refined-github/refined-github/blob/main/source/features/unfinished-comments.tsx

@fregante is this extension the external cause? Do you know why this happens?
This is the condition that determines whether there's a "draft comment":
https://github.com/refined-github/refined-github/blob/1cef9d43cc5990c6aed55b01508297b347c8a261/source/features/unfinished-comments.tsx#L14
I don't know exactly what part of Monaco is causing that condition to become true