web
web copied to clipboard
Server listing re-org
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
MustOwnServerto 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...