I'm wondering if it'd be beneficial to update the
Preference Panes section of the developer documentation. It currently states the following:
"Organizing your pane as a sequence of top-level <groupbox>es inside a <vbox> will optimize it for the new preferences search mechanism."
I found this to be a bit misleading because implementing such a structure means that searching will filter to your entire pane's <vbox> instead of just an individual <groupbox> because the <vbox> is the only top-level element. I see that Zotero's own preference panes do seem to be implemented this way, and the search mechanism seems to filter to the individual <groupbox>es. However, this doesn't seem to work for plugin panes for some reason.
I've attached some screenshots showing a search for a term in my plugin's pane. With one top-level <vbox>, the search shows my entire pane. Omitting the <vbox> and instead using <groupbox>es at the top level, the search filters to the individual <groupbox> as desired.
Can the Zotero team clarify the "correct" approach for this?
Thanks!