I'm developing a Gerrit plugin that registers multiple custom tabs using plugin.registerCustomComponent. When switching between two custom tabs (e.g. "Module Info" and "Branch Dashboard"), the content does not reload — the connectedCallback in the tab content component is not triggered again, and the DOM is not recreated.
How can I properly detect tab switches between custom tabs and trigger a refresh of the tab content?
Any advice on best practices for handling this scenario in the Gerrit plugin system would be greatly appreciated!