mirror of
https://github.com/willchen96/mike.git
synced 2026-06-14 20:55:13 +02:00
Refactor ProjectPageParts and ProjectPageHeader components for improved loading states and skeleton UI. Update Modal and PageHeader components to support loading states. Enhance RenameableTitle for better caret positioning. Adjust DisplayWorkflowModal to utilize the new Modal component structure. Update WorkflowList to include loading indicators and improve sticky header behavior.
This commit is contained in:
parent
444d1d38e4
commit
1fa0554ea5
49 changed files with 3623 additions and 1587 deletions
|
|
@ -20,6 +20,7 @@ create table if not exists public.user_profiles (
|
|||
tabular_model text not null default 'gemini-3-flash-preview',
|
||||
quote_model text,
|
||||
mfa_on_login boolean not null default false,
|
||||
legal_research_us boolean not null default true,
|
||||
created_at timestamptz not null default now(),
|
||||
updated_at timestamptz not null default now()
|
||||
);
|
||||
|
|
@ -119,7 +120,7 @@ create index if not exists idx_documents_project_folder
|
|||
create table if not exists public.document_versions (
|
||||
id uuid primary key default gen_random_uuid(),
|
||||
document_id uuid not null references public.documents(id) on delete cascade,
|
||||
storage_path text not null,
|
||||
storage_path text,
|
||||
pdf_storage_path text,
|
||||
source text not null default 'upload',
|
||||
version_number integer,
|
||||
|
|
@ -127,6 +128,8 @@ create table if not exists public.document_versions (
|
|||
file_type text,
|
||||
size_bytes integer,
|
||||
page_count integer,
|
||||
deleted_at timestamptz,
|
||||
deleted_by uuid,
|
||||
created_at timestamptz not null default now(),
|
||||
constraint document_versions_source_check
|
||||
check (source = any (array[
|
||||
|
|
@ -142,6 +145,10 @@ create table if not exists public.document_versions (
|
|||
create index if not exists document_versions_document_id_idx
|
||||
on public.document_versions(document_id, created_at desc);
|
||||
|
||||
create index if not exists document_versions_active_document_id_idx
|
||||
on public.document_versions(document_id, created_at desc)
|
||||
where deleted_at is null;
|
||||
|
||||
create index if not exists document_versions_doc_vnum_idx
|
||||
on public.document_versions(document_id, version_number);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue