feat(gif-picker): add gif groups
Some checks failed
/ build-web (push) Successful in 8m40s
/ build-mobile (push) Failing after 11m17s
/ build-desktop (linux) (push) Successful in 14m8s
/ release (push) Has been skipped

feat(gif-picker): increase default size
This commit is contained in:
Alois 2026-08-11 13:01:09 +02:00
commit 6f4cc62530
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
11 changed files with 399 additions and 82 deletions

View file

@ -497,6 +497,12 @@ export const mtp = {
export type MTP = typeof mtp;
// Storage
export type ChatPickerMediaGroup = {
id: string;
name: string;
media: string[];
};
export interface Storage extends SettingsStorageDefaults {
session_id: number;
user_id: number;
@ -549,6 +555,7 @@ export interface Storage extends SettingsStorageDefaults {
theme_design: ThemeDesign;
chat_trusted_domains: string[];
chat_picker_saved_media: string[];
chat_picker_saved_media_groups: ChatPickerMediaGroup[];
chat_picker_last_tab: "gif" | "meme" | "saved";
chat_picker_size: {
width: number;
@ -640,6 +647,7 @@ export const storageDefaults: Storage = {
"media4.giphy.com",
],
chat_picker_saved_media: [],
chat_picker_saved_media_groups: [],
chat_picker_last_tab: "gif",
chat_picker_size: null,
reactions: {