We can use this issue as a place to share details and questions as we implement templates, context objects and routes in peach-web and sbot calls in go-sbotcli-rs.
I've started working on the Profile page, since it requires fairly straightforward calls to sbotcli.
Here's what we require for this page:
Information:
name
image
public key
description
relationship
do we follow, not follow, block this public key?
useful for conditional rendering
Actions:
follow
unfollow
block
The Private Message button will lead to another route+template for the actual message composition, preview and publish actions.
@notplants
We can use this issue as a place to share details and questions as we implement templates, context objects and routes in `peach-web` and sbot calls in `go-sbotcli-rs`.
I've started working on the Profile page, since it requires fairly straightforward calls to `sbotcli`.
Here's what we require for this page:
Information:
- [ ] name
- [ ] image
- [ ] public key
- [ ] description
- [ ] relationship
- do we follow, not follow, block this public key?
- useful for conditional rendering
Actions:
- [ ] follow
- [ ] unfollow
- [ ] block
The `Private Message` button will lead to another route+template for the actual message composition, preview and publish actions.
-----
Routes:
`/scuttlebutt/profile?<public_key>` <--- root
`/scuttlebutt/follow`
`/scuttlebutt/unfollow`
`/scuttlebutt/block`
`/scuttlebutt/post/preview`
`/scuttlebutt/post/publish`
`/scuttlebutt/private`
I have a WIP PR to add these templates as I go: [PR#21](https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/21)
I've just added a peers list template. It's a single template which can be used to display a list of friends / follows / followers / blocks.
Here's what we require for this page:
Information:
- [ ] name
- [ ] image
- [ ] public key
-----
Routes:
`/scuttlebutt/peers/friends`
`/scuttlebutt/peers/follows`
`/scuttlebutt/peers/followers`
`/scuttlebutt/peers/blocks`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
@notplants
We can use this issue as a place to share details and questions as we implement templates, context objects and routes in
peach-weband sbot calls ingo-sbotcli-rs.I've started working on the Profile page, since it requires fairly straightforward calls to
sbotcli.Here's what we require for this page:
Information:
Actions:
The
Private Messagebutton will lead to another route+template for the actual message composition, preview and publish actions.Routes:
/scuttlebutt/profile?<public_key><--- root/scuttlebutt/follow/scuttlebutt/unfollow/scuttlebutt/block/scuttlebutt/post/preview/scuttlebutt/post/publish/scuttlebutt/privateI have a WIP PR to add these templates as I go: PR#21
I've just added a peers list template. It's a single template which can be used to display a list of friends / follows / followers / blocks.
Here's what we require for this page:
Information:
Routes:
/scuttlebutt/peers/friends/scuttlebutt/peers/follows/scuttlebutt/peers/followers/scuttlebutt/peers/blocksRequirements for Scuttlebutt Settings page:
Actions:
Routes:
/settings/scuttlebutt/remove_feeds/settings/scuttlebutt/check_fs/settings/scuttlebutt/repair/settings/scuttlebutt/disable/settings/scuttlebutt/enable/settings/scuttlebutt/restartSince the majority of these features have now been implemented, I'm closing this issue. Great work :)