-
Notifications
You must be signed in to change notification settings - Fork 51
Project registration endpoint #81
Comments
Project registration also requires an existing checkpoint.
Does |
We going to surface that once we have that concept in the UI, until then we construct one silently in the proxy.
Yes it submits the transaction. The state is to surface the lifecycle of transactions in the UI (notifications, progress, etc.). |
If |
@geigerzaehler Maybe I mixed something up, but wasn't it communicated that the when the |
Yes, that is correct. I’m just wondering how it would work in the GraphQL communication between the UI and the proxy |
We gonna see, for now it's more important to account for possible states. A general route we can take is pushing updates with the help of subscriptions. |
Additionally would be great if we could get a list of all transactions to show them in the wallet section: type Query {
transactions(walletId: ID!): [Transaction]!
} The transaction status subscription could look something like this: type Subscription {
transactionStateChanged(transactionId: ID!): Transaction
} Potentially we could also use a subscription for new transactions to show a badge on the wallet icon: type Subscription {
newTransaction(walletId: ID!): Transaction
} |
@rudolfs These look pretty good, might breaking it out into its own issue? Don't think these are crucial for the project registration success. |
Could we have a query to check if the name is already taken? Or would that also be beyond the scope here? |
That's very reasonable, it should be equivalent to a |
Add mutation for project registration to enable integration in the UI. First part of #81. Follow up in #99. *** * Set up skeleton for project registration mutation * Bump registry client dependency * Remove dead code exceptions * Fake transaction id * Draft transaction state * Add error handling for time conversion * Add documentation * Make initialisors const where possible * Handle int conversion properly * Fix tests * Bump registry client dependency * Apply suggestions from code review Co-Authored-By: Nuno Alexandre <nunombalexandre@gmail.com> * Replace deprecated Error display * Use the exposed hashes for the transaction and block * Incorporate feedback * Leave TODOs for #99 * Update schema to reflect new mutation * Update app/schema.graphql Co-Authored-By: Thomas Scholtes <thomas@monadic.xyz> Co-authored-by: Nuno Alexandre <alexandre.nunomiguel@gmail.com> Co-authored-by: Thomas Scholtes <thomas-scholtes@gmx.de>
The main share of this issue is completed, the last point is being addressed in #98. |
We want to support registration on the Registry in the context of existing projects. For that we need a new mutation.
Design
The schema addition proposal:
Implementation roadmap
metadata
once Add metadata field to Project radicle-registry#167 landedlibrad::ProjectId
inmetadata
The text was updated successfully, but these errors were encountered: