ui: consistency across pages and better autofocus

- Consistency achieved across all pages on header items, icons, and
margins / positions. Kinda hacked together quite a bit, may need to
focus on a consistent style guide across components via utility classes
- Autofocus on MessageInput. Refs were giving problems, ended up using
DOM queries and focus is now achieved on ChatPage load and when replying
to a user. Not ideal and should be changed to Refs again at some point
- CreateChannelModal now loads categories, still fails the actual POST
request though
- Removed extrenuous console.log statements
- Laid groundwork for permissions system
- New more consistent look and feel overall
This commit is contained in:
2025-10-07 15:55:24 -04:00
parent 24a99900b1
commit 2f91713c11
17 changed files with 190 additions and 509 deletions

View File

@@ -256,6 +256,8 @@ export class ApiClient {
requestingUserId: string;
requestingUserToken: string;
}): Promise<Channel> {
console.log(data);
return this.request<Channel>("/api/channel", {
method: "POST",
body: JSON.stringify(data),