TIL that svelte5 reactivity doesn't apply to destructured renamed
variables.
By renaming `repos: initialRepos` and then using `initialRepos` in a
`$state` rune, changes to the `repos` prop will not be taken into
account.
This commit allows us to e.g. convert the Set of DIDs we obtain from
assignee actions on cobs into a Set of Authors with their Aliases.
Also it introduces the `FromRadicleAction` trait which can be
implemented for any type of enum we get from the `radicle` create to
convert into a type which is better suited for us.
Removes also any calling the `alias` command in the `PatchTimeline` or
`IssueTimeline` since we already get the alias from the backend the
first time now.
Instead of displaying the first revision of a patch, we should in
general send users to the latest revision of a patch and let user then
decide if they want to get more context.
Non delegates are not allowed to execute the `assign` or the `label`
action on an issue so the issue creation fails silently.
So we should probably hide that in the issue creation.
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`.
When changing the state of a patch we want the sidebar filter to reflect
that, otherwise the patch just disappears from the sidebar unless the
user selected "show all states".