windingwind
windingwind
Regarding the behavior of collapsing custom menus, shall we 1) collapse all custom menus or 2) only the ones that will make the popup too long? For 1), users will...
Or, will it make more sense to provide a section in the settings window, where users can control (enable/disable/sort) the UI parts, including the menu, item pane section, custom columns,...
> Option A and setting the threshold to 80% screen height sounds good to me. Thanks, I am implementing it this way. > If I understood it correctly, it will...
The items list/collections list's context menu is now auto-grouped and collapsed: Run the code below to test. It will create 50 menu rows in the items list's context menu. The...
So, after some conflict resolution, I added tests that should mostly cover the API. Now all the planned features are implemented, and any future updates to support new menus/deprecating existing...
rebased
@fornewfork Welcome PR; also you can always write scripts that observe any data change notifier with the `programStartup` event.
> 如果是,我们需要屏蔽所有浏览器变量吗? 会影响类型定义中使用浏览器变量(例如HTMLElement)吗?如果不会,我觉得可以全部屏蔽,除zotero中单独引入的变量外。 https://github.com/zotero/zotero/blob/6f8da4825e2d42f1d531fb685f23e7d00e2ceb05/chrome/content/zotero/xpcom/plugins.js#L125-L173 同时需要有针对部分子文件夹(例如,配置为编译到单独的脚本文件并在浏览器/worker中运行的)正常使用这些变量的解决方案。
感觉限制有点大,这个是不是没法动态配置
这样的话,实现上没啥问题了。比较麻烦的是可能要加一些例子用来说明这个不同环境的区别,但又可能增加学习成本了