Opened 5 years ago
Closed 5 years ago
#3541 closed defect (fixed)
Toolshed needs "Successfully installed" message in browser
| Reported by: | Owned by: | Greg Couch | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.18362 ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC) Description Installing a bundle form toolshed should give feedback in the Toolshed browser window that it successfully installed. Currently it gives no feedback leaving the user to wonder if anything happened. The Log gives a message but is almost always covered by the Toolshed browser so the message is not visible. Log: UCSF ChimeraX version: 1.0 (2020-06-04) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open 2719 format sdf fromDatabase pubchem PubChem entry 2719 > leap Unknown command: leap > toolshed show Downloading bundle ChimeraX_LeapMotion-1.1-cp37-cp37m-win_amd64.whl Successfully installed ChimeraX-LeapMotion-1.1 Installed ChimeraX-LeapMotion (1.1) OpenGL version: 3.3.0 NVIDIA 398.35 OpenGL renderer: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation Manufacturer: Micro-Star International Co., Ltd. Model: GS65 Stealth Thin 8RF OS: Microsoft Windows 10 Pro (Build 18362) Memory: 34,195,668,992 MaxProcessMemory: 137,438,953,344 CPU: 12 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz" PyQt version: 5.12.3 Compiled Qt version: 5.12.4 Runtime Qt version: 5.12.8
Change History (4)
comment:1 by , 5 years ago
| Component: | Unassigned → Tool Shed |
|---|---|
| Milestone: | → 1.2 |
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Toolshed needs "Successfully installed" message in browser |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Why not after the toolshed install succeeds that code just looks to see if the Help Viewer is showing toolshed and if so show a new help page that says "Successfully installed". Does not seem to require any special magic on the toolshed web page.
comment:4 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
When a bundle is installed from the toolshed from the ChimeraX browser, the button changes state from "Install" or "Upgrade" to "Installed".
Note:
See TracTickets
for help on using tickets.
This is hard. The toolshed browser window only knows that it is being displaying in the ChimeraX browser and from the User-Agent header it knows if it is on a Mac, Windows, or Linux computer. It has no way to know if the bundle is installed or not.
A possible solution is to add an additional URL scheme, that the ChimeraX browser recognizes, that would say if a wheel is installed or installable. Then, via an ajax-like mechanism, it will update the Download buttons on the page. After that is in place, there would need to be a way to get the browser to refresh the toolshed page(s).