Open universalhandle opened 7 years ago
I just ran into this issue myself. Actually couldn't figure out why my downloaded extension didn't show up when I hit refresh.
Also related is the fact that the "Add New" tab contains a comforting message at the top: "These extensions are compatible with your version of CiviCRM and have passed a quality review by the CiviCRM community ..." But this is untrue for downloaded extensions.
I'll go back and re-think this design a little.
Maybe I was thrown off that the behavior is a little different from that of core, or maybe it really is confusing. In any case I thought I'd open an issue and let you decide what to do with it :-)
In CiviCRM core, downloaded but uninstalled extensions appear under a tab named "Extensions" (along with installed and missing ones). To go out into the world and fetch new ones, you visit "Add New."
In the extension, the first tab, labeled "Installed," largely corresponds to core's "Extensions" tab. However, only installed and missing extensions appear here. The "Add New" tab lists both extensions that have been downloaded as well as those which can be downloaded.
I can think of two approaches to resolving this problem, if it is deemed to be a problem at all.
error
if extension.status == 'missing', or change text on a button from "Install" to "Download and Install" if extension.downloaded == 0).