You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a conversation with @cwmanning about a potential dashboard implementation for an open source version of this app, we realized that the reports that would be useful are specific to teams and companies. Even within viget there seem to be a number of different ways that people would want to consume that information. The new strategy is to open up a graphql api, allowing users to build their own dashboard or reporting mechanisms.
Steps
Create a graphql endpoint
Secure the graphql endpoint
Expose a query for pull requests
Expose a query for reviews
Expose a query for users in the system
Discussion
This can be worked on independently of other feature, but securing the graphql endpoint might either need to wait for a system of creating/revoking api tokens.
There are two types of users in the system. There is a github user which is created when an unknown user either creates or reviews a pull-request. There is also a slack user, which is what people will use to log in and change setting/add repositories to cr bot.
After a conversation with @cwmanning about a potential dashboard implementation for an open source version of this app, we realized that the reports that would be useful are specific to teams and companies. Even within viget there seem to be a number of different ways that people would want to consume that information. The new strategy is to open up a graphql api, allowing users to build their own dashboard or reporting mechanisms.
Steps
Discussion
This can be worked on independently of other feature, but securing the graphql endpoint might either need to wait for a system of creating/revoking api tokens.
There are two types of users in the system. There is a github user which is created when an unknown user either creates or reviews a pull-request. There is also a slack user, which is what people will use to log in and change setting/add repositories to cr bot.
Likely we will want to use Juniper:
https://github.com/graphql-rust/juniper
And use this as a reference for adding GraphQL to Actix
https://github.com/actix/examples/blob/master/juniper/src/main.rs
The text was updated successfully, but these errors were encountered: