Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Make `Operation` generic, and handle patch operations
Merged did:key:z6MkkfM3...sVz5 opened 1 year ago

So far we only supported issue operations on the activity_by_id command.

With this commit we separate the commands into a activity_by_issue and activity_by_patch command that calls a generic activity_by_id trait implementation.

Operation now takes as a generic either cob/issue/Action.ts or cob/patch/Action.ts.

Also Operation now stores the array of all Action that happened on said operation. I’m not entirely sure if this will help us in the future, but it represents more closely the state of the relation between an Operation and the cob Actions.

checkcheck-e2e

šŸ‘‰ Workflow runs šŸ‘‰ Branch on GitHub

did:key:z6MkkfM3...sVz5 opened with revision aacea752 on base 2ac0c54a +218 -135 1 year ago

So far we only supported issue operations on the activity_by_id command.

With this commit we separate the commands into a activity_by_issue and activity_by_patch command that calls a generic activity_by_id trait implementation.

Operation now takes as a generic either cob/issue/Action.ts or cob/patch/Action.ts.

Also Operation now stores the array of all Action that happened on said operation. I’m not entirely sure if this will help us in the future, but it represents more closely the state of the relation between an Operation and the cob Actions.

checkcheck-e2e

šŸ‘‰ Workflow runs šŸ‘‰ Branch on GitHub

did:key:z6MkkfM3...sVz5 pushed revision 2 e6ddf812 on base 2ac0c54a +218 -135 1 year ago

Reorder imports

rudolfs accepted 1 year ago
rudolfs pushed revision 3 34609cf5 on base 63d1c87c +217 -134 1 year ago

Rebase.

rudolfs pushed revision 4 fa69a5ff on base 63d1c87c +218 -134 1 year ago

Fix clippy warnings.

rudolfs merged revision fa69a5ff at 432db1ce 1 year ago