Merge pull request #80 from ashim-hq/feat/unlimited-by-default

feat: Unlimited by Default — remove all artificial limits
This commit is contained in:
Ashim
2026-04-21 00:05:41 +08:00
committed by GitHub
59 changed files with 469 additions and 305 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export const useFilesPageStore = create<FilesPageState>((set, get) => ({
set({ loading: true, error: null });
try {
const { searchQuery } = get();
const result = await apiListFiles({ search: searchQuery || undefined, limit: 100 });
const result = await apiListFiles({ search: searchQuery || undefined, limit: 200 });
set({ files: result.files, total: result.total, loading: false });
} catch (err) {
set({ error: err instanceof Error ? err.message : "Failed to load files", loading: false });
+2 -2
View File
@@ -68,8 +68,8 @@ export const useSplitStore = create<SplitState>((set, get) => ({
setMode: (mode) => set({ mode, tiles: [], zipBlobUrl: null, error: null }),
setColumns: (columns) =>
set({ columns: Math.max(1, Math.min(20, columns)), tiles: [], zipBlobUrl: null }),
setRows: (rows) => set({ rows: Math.max(1, Math.min(20, rows)), tiles: [], zipBlobUrl: null }),
set({ columns: Math.max(1, Math.min(100, columns)), tiles: [], zipBlobUrl: null }),
setRows: (rows) => set({ rows: Math.max(1, Math.min(100, rows)), tiles: [], zipBlobUrl: null }),
setTileWidth: (tileWidth) =>
set({ tileWidth: Math.max(10, tileWidth), tiles: [], zipBlobUrl: null }),
setTileHeight: (tileHeight) =>