Closed dysbulic closed 3 years ago
Switching to use Player.id
rather than ethereum_address
requires that the current user has an entry in the Players
table.
Currently entries in that table are generated using a multi-step form at: https://my.metagame.wtf/profile/setup.
Two options for how to handle a user that needs an account created:
id
and ethereum_address
that can be completed laterI'm leaning toward the second as the additional profile information doesn't do anything for MetaMaps. A username
is required to create a row in Players
, so I either have to collect that or allow username
to be null
.
I had a call with @IxaBrjnko and @TheLoneRonin to discuss our aspirations for MetaMaps. @IxaBrjnko has the most complex vision which is a tripartite system to (1) interface with a variety data sources, (2) allow specification of relationships between various sources, and (3) force-flow data through those networks to generate visualizations.
The existing company that comes closest to their vision is Tableau with their Prep & Desktop suites.
One possibility discussed for surfacing data was Hasura's Remote Joins. They allow viewing (and potentially updating) a datasets housed in a different data store. It is straightforward for GraphQL-based systems, or it is possible to write a de/muxing layer to expose other types of APIs.
Hasura is a server-based system, so each user wouldn't get their own datasets.
3 parts of this are addressed in the current PRs to Metamaps Alpha, and the other "Map data should be json instead of text." would be easier to work on as a single issue in the main repo once we merge in those changes... and may already be covered in another open issue here: Update MetaMaps to use VisJS#57
MetaMaps has been removed from active development.
In the MetaMaps spec @TheLoneRonin lists the following desired updates to Hasura:
@reduxjs/toolkit
.Pull request #292 accomplishes #<!---->1.
Additionally, the permissions on the
Map
table seem overly permissive and should be reviewed.