Add sliding sync support and change font to SF Pro Display

- Enable sliding sync in config.json with matrix.org proxy
- Update font from InterVariable to SF Pro Display
- Add sliding sync state management with Jotai atoms
- Create bridge between sliding sync and existing room list atoms
- Add sliding sync settings UI in General settings
- Implement purple theme with gradient enhancements
- Add synchronization status display for sliding sync
- Update client initialization to support sliding sync

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Azi Mandias 2025-07-28 12:38:13 -04:00
parent 67b05eeb09
commit d25cc7250b
25 changed files with 1510 additions and 14 deletions

View file

@ -5,6 +5,20 @@ export type HashRouterConfig = {
basename?: string;
};
export type SlidingSyncListConfig = {
ranges: number[][];
sort?: string[];
timeline_limit?: number;
required_state?: string[][];
filters?: Record<string, any>;
};
export type SlidingSyncConfig = {
enabled?: boolean;
proxyUrl?: string | null;
defaultLists?: Record<string, SlidingSyncListConfig>;
};
export type ClientConfig = {
defaultHomeserver?: number;
homeserverList?: string[];
@ -18,6 +32,7 @@ export type ClientConfig = {
};
hashRouter?: HashRouterConfig;
slidingSync?: SlidingSyncConfig;
};
const ClientConfigContext = createContext<ClientConfig | null>(null);