Coordinating front-end and back-end development of SSB features #20

Closed
opened 2021-11-11 12:44:12 +00:00 by glyph · 3 comments
Owner

@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

@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`
glyph added the
enhancement
peach-web
labels 2021-11-11 12:44:12 +00:00
Author
Owner

I 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:

  • name
  • image
  • public key

Routes:

/scuttlebutt/peers/friends
/scuttlebutt/peers/follows
/scuttlebutt/peers/followers
/scuttlebutt/peers/blocks

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`
Author
Owner

Requirements for Scuttlebutt Settings page:

Actions:

  • Remove blocked feeds
  • Check filesystem
  • Repair filesystem
  • Disable sbot
  • Enable sbot
  • Restart sbot

Routes:

/settings/scuttlebutt/remove_feeds
/settings/scuttlebutt/check_fs
/settings/scuttlebutt/repair
/settings/scuttlebutt/disable
/settings/scuttlebutt/enable
/settings/scuttlebutt/restart

Requirements for Scuttlebutt Settings page: Actions: - [ ] Remove blocked feeds - [ ] Check filesystem - [ ] Repair filesystem - [ ] Disable sbot - [ ] Enable sbot - [ ] Restart sbot ----- Routes: `/settings/scuttlebutt/remove_feeds` `/settings/scuttlebutt/check_fs` `/settings/scuttlebutt/repair` `/settings/scuttlebutt/disable` `/settings/scuttlebutt/enable` `/settings/scuttlebutt/restart`
Author
Owner

Since the majority of these features have now been implemented, I'm closing this issue. Great work :)

Since the majority of these features have now been implemented, I'm closing this issue. Great work :)
glyph closed this issue 2022-03-08 08:24:38 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PeachCloud/peach-workspace#20
No description provided.