- Click on a server to the left to view a guild.
+ Click on a guild to the left to view a guild.
Or click the button in the bottom left to join a guild.
From 13971eff94a094c59b6cf6c013f4479286c13dd6 Mon Sep 17 00:00:00 2001
From: JustTemmie <47639983+JustTemmie@users.noreply.github.com>
Date: Tue, 8 Jul 2025 21:11:14 +0200
Subject: [PATCH 10/16] feat: spice up the home bar
---
layouts/client.vue | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/layouts/client.vue b/layouts/client.vue
index a1ee86d..9ce451e 100644
--- a/layouts/client.vue
+++ b/layouts/client.vue
@@ -3,7 +3,9 @@
- main bar
+
@@ -61,6 +63,11 @@ const guilds: GuildResponse[] | undefined = await fetchWithApi("/me/guilds");
background-color: var(--topbar-background-color);
padding-left: 5dvw;
padding-right: 5dvw;
+
+}
+
+.homebar-item {
+ width: 100dvw;
}
#client-root>div:nth-child(-n+4) {
From 9c08db29d597aa45ccea9755d47a43e4aa8d9f4c Mon Sep 17 00:00:00 2001
From: JustTemmie <47639983+JustTemmie@users.noreply.github.com>
Date: Wed, 9 Jul 2025 00:25:52 +0200
Subject: [PATCH 11/16] refactor: change the client from table to flexbox
this makes the server, channel, and member list a constant size, making the text messages take up the entire remaining width
this also fixes the text wrapping you have already fixed on one of your branches
this change is required if we want to make the member list toggelable, or channel list resizable
---
components/Channel.vue | 2 +-
layouts/client.vue | 89 ++++++++-----------
.../[serverId]/channels/[channelId].vue | 13 ++-
3 files changed, 46 insertions(+), 58 deletions(-)
diff --git a/components/Channel.vue b/components/Channel.vue
index 0f48323..6bdc28b 100644
--- a/components/Channel.vue
+++ b/components/Channel.vue
@@ -30,7 +30,7 @@ const isCurrentChannel = props.uuid == props.currentUuid;
.channel-list-link-container {
text-align: left;
display: flex;
- height: 4dvh;
+ height: 1.5em;
white-space: nowrap;
align-items: center;
}
diff --git a/layouts/client.vue b/layouts/client.vue
index 9ce451e..acb408c 100644
--- a/layouts/client.vue
+++ b/layouts/client.vue
@@ -8,21 +8,23 @@
@@ -83,16 +84,15 @@ function handleMemberClick(member: GuildMemberResponse) {
From cd13eedaf84b3bc95699f79166ca19a5cef5997e Mon Sep 17 00:00:00 2001
From: JustTemmie <47639983+JustTemmie@users.noreply.github.com>
Date: Wed, 9 Jul 2025 01:04:37 +0200
Subject: [PATCH 14/16] fix: remove accidental duplication of member list
this was for local testing, forgot to remove it
---
pages/servers/[serverId]/channels/[channelId].vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/pages/servers/[serverId]/channels/[channelId].vue b/pages/servers/[serverId]/channels/[channelId].vue
index 2d1c264..5c55655 100644
--- a/pages/servers/[serverId]/channels/[channelId].vue
+++ b/pages/servers/[serverId]/channels/[channelId].vue
@@ -27,7 +27,6 @@
-
From a5fd626bb7df0791f8b3fd017f22b3a8cdfc1514 Mon Sep 17 00:00:00 2001
From: JustTemmie <47639983+JustTemmie@users.noreply.github.com>
Date: Wed, 9 Jul 2025 03:36:30 +0200
Subject: [PATCH 15/16] feat: multiline message box
this implementation SUCKS and i probably have to write an entirely custom solution where every line is a div or something
---
components/MessageArea.vue | 64 +++++++++++++++++++++++---------------
1 file changed, 39 insertions(+), 25 deletions(-)
diff --git a/components/MessageArea.vue b/components/MessageArea.vue
index 7d88839..b4c8fd9 100644
--- a/components/MessageArea.vue
+++ b/components/MessageArea.vue
@@ -14,9 +14,11 @@