(feat): add message states, tweaks chat ui
All checks were successful
/ build-web (push) Successful in 1m10s
/ build-desktop (push) Successful in 11m22s
/ build-mobile (push) Successful in 15m52s
/ release (push) Successful in 23s

(feat): add drag and drop to login page
This commit is contained in:
Alois 2026-05-24 14:09:57 +02:00
commit 67b7926dab
9 changed files with 226 additions and 49 deletions

View file

@ -167,11 +167,17 @@ export const ttp = {
response: z.object({}),
},
message_state: {
request: z.object({
chat_partner_id: z.number(),
send_time: z.number(),
message_state: message.shape.message_state,
}),
request: z
.object({
chat_partner_id: z.number(),
send_time: z.number(),
message_state: message.shape.message_state,
})
.or(
z.object({
message_state: message.shape.message_state,
}),
),
response: z.object({
chat_partner_id: z.number(),
message_state: message.shape.message_state,

View file

@ -28,6 +28,21 @@ const settings = {
type: "boolean",
default: false,
},
read_confirmations: {
display: "Enable Read Confirmations",
type: "boolean",
default: true,
},
receive_confirmations: {
display: "Enable Receive Confirmations",
type: "boolean",
default: true,
},
show_start_of_last_message_in_sidebar: {
display: "Show Start of Last Message in Sidebar",
type: "boolean",
default: true,
},
},
},
application: {
@ -35,6 +50,7 @@ const settings = {
},
} as const satisfies SettingsSchema;
// Assemble storage defaults
export default settings;
type BooleanSettingNames<T extends SettingsSchema> = {