1
0
Fork 0
mirror of https://code.naskya.net/repos/ndqEd synced 2025-03-20 15:14:54 +09:00

C2S, UI: Loom creation and Repo linking to a Loom

RepoSourceR, for a repo that doesn't have a loom, lists looms that want to
serve that repo with buttons for bidirectionally linking the repo to a loom

Once linked, the repo navbar has a Patches/MRs link pointing to the LoomClothsR
of the linked Loom
This commit is contained in:
fr33domlover 2022-09-17 08:31:22 +00:00
parent 1c8c6d9d24
commit c495d78d05
15 changed files with 598 additions and 27 deletions

View file

@ -347,6 +347,7 @@ Repo
collabAnon RoleId Maybe
actor ActorId
create OutboxItemId
loom LoomId Maybe
UniqueRepoActor actor
UniqueRepoCreate create

View file

@ -180,6 +180,8 @@
/post-receive PostReceiveR POST
/repos/#RepoKeyHashid/enable-loom/#LoomKeyHashid RepoLinkR POST
---- Deck --------------------------------------------------------------------
/decks/#DeckKeyHashid DeckR GET
@ -236,11 +238,11 @@
/looms/#LoomKeyHashid/followers LoomFollowersR GET
/looms/#LoomKeyHashid/cloths LoomClothsR GET
-- /new-loom LoomNewR GET POST
/new-loom LoomNewR GET POST
-- /looms/#LoomKeyHashid/delete LoomDeleteR POST
-- /looms/#LoomKeyHashid/edit LoomEditR GET POST
-- /looms/#LoomKeyHashid/follow LoomFollowR POST
-- /looms/#LoomKeyHashid/unfollow LoomUnfollowR POST
/looms/#LoomKeyHashid/follow LoomFollowR POST
/looms/#LoomKeyHashid/unfollow LoomUnfollowR POST
---- Cloth -------------------------------------------------------------------