-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modular Explore #3657
Comments
Some more on the modularity and SPI topic:
Also, https://projects.iq.harvard.edu/dcm2017/agenda shows " SPIs and Modularity: Are you interested in learning about Dataverse's emergent modular architecture?" |
|
Repeating part of comment from #4230: Besides the more obvious dynamic text and links we need for external tools, a couple of aspects that we need to handle in a modular way are: When to show the links to the external tool For when to show the link, we have 3 steps: For how to handle link we similarly have 3 steps:
In order to support Modular Explore for Two Ravens and DataExplore, the minimum we technically need is A1. However, since we are working on Modular Configure first, that bumps us to B1. In addition, in this scenario we would need to contact the external tools and have them change their parameters and we would rather be more flexible. So the decision is that the definition for done for this issue is B2. Note, that we would still not be able to support geoConnect / WorldMap in a modular way yet, until we support at least C2, but per the previous comment, that is out of scope for this issue. |
Thanks @scolapasta for taking the lead on breaking this up before next week's backlog grooming session. |
@michbarsinai I pinged you in Slack because I said we'll need to write a more intelligent parser. Please see 272b4c2 for a terrible kludge and tests with examples of what we need. Thanks. |
I just gave a demo to of the code as of c236079 to @landreev @djbrooke @TaniaSchlatter @mheppler @dlmurphy @kcondon @jggautier @matthew-a-dunlap and @pameyer (thanks!). The code is on https://dev1.dataverse.org and the guides are at http://guides.dataverse.org/en/3657-tworavens-as-modular-explore/installation/external-tools.html |
Notes to self:
|
@pdurbin to respond to your App store comparison, yes the name is important, but behind the scenes what is used (at least in Android) is the package name. Beyond multiple tools with the same name, another concern is the same tool with a changing name, i.e having two rows that should map to the same thing, but don't (or when we internationalize and remove the name from the db). I generally prefer to tackle issues which would require future database updates that modify data (as opposed to structure) preemptively. I don't see this as an expansion of scope (rather as a good coding practice); the expansion of scope already occurred when we decided to track the specific tool. |
@scolapasta as I mentioned, I'm interested in controlling the scope of this issue. I'm happy to revert c236079 to make it so we go back to persisting "Explore" rather than "Two Ravens" or "Data Explorer" or whatever. That commit was so recent I expect it will revert cleanly and easily. @djbrooke in the demo you seemed to like that individual tools are being tracked. What would you like? |
Good discussion, thanks. I understand the reasoning for IDs instead of names, but let's keep this moving for now. On to QA! |
Other tweaks. Link to current roadmap, waffle.
Issues found so far: |
@kcondon whoops, good catch. I added the missing semicolon in 92e0a43 As we discussed after standup yesterday there are technically no new API endpoints but the "manifest" format (JSON) has changed in that external tool authors must specify if their tool should appear under the "Explore" button or the "Configure" button. |
Thanks. So this is not new? |
Well, |
We were seeing "WorldMap" under the dropdown "Explore" button (good!) and a non-dropdown "Explore" button was appearing next to it (bad!). We are now making all these explore tools consistent. They are always available via the dropdown "Explore" button. No more clicking an "Explore" button and wondering which tool will launch.
x-Seeing two explore buttons on a shape file that has already been mapped. |
This is now being tracked at #4742. |
Right now we have some external tools that we allow users to "explore" with (TwoRavens, GeoConnect). We'd like to make this more modular to make it easier for installations to add new tools.
Ideally, this would involve adding a new table that could know the url of the tool and other needed info (type of file?), but it may also involve having to write a handler for each. For this, we would want to follow the SPI model, and provide a default handler for simple apps.
The text was updated successfully, but these errors were encountered: