web icon indicating copy to clipboard operation
web copied to clipboard

Server listing re-org

Open Southclaws opened this issue 4 years ago • 0 comments

The server listing frontend code could do with the same treatment as the forum code.

  • Shove it in a directory
  • Split out into components
  • Pull requests into hooks
    • We need some mutation hooks
    • The API currently doesn't have any mutations for servers, we should add one as well as a middleware for MustOwnServer to assert the requesting cookie is from a user who owns the server being mutated.
  • Update the styling to match the forum
    • Ordered/UnorderedList and ListItem are used a lot with the same style, they should be pulled out into generic list components for use with: server list, thread list, post list, member list, etc...

Southclaws avatar Nov 07 '21 16:11 Southclaws