diff --git a/.gitignore b/.gitignore index 722ac817..18c9ce2b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ server/exportdanswer dump.rdb .yarn ngrok.log -.claude/settings.local.json \ No newline at end of file +.claude/settings.local.json +restart-dev.sh +backend-output.log \ No newline at end of file diff --git a/PLAN.md b/PLAN.md index ddf5bf04..d33a3e5b 100644 --- a/PLAN.md +++ b/PLAN.md @@ -389,4 +389,8 @@ alembic upgrade head - **Audio file backup** before deletion (configurable) - **Legal review** of consent language and timing -This plan maintains backward compatibility while implementing the new consent flow without interrupting core recording functionality. \ No newline at end of file +This plan maintains backward compatibility while implementing the new consent flow without interrupting core recording functionality. + +## Extra notes + +Room creator must not be asked for consent \ No newline at end of file diff --git a/compose.yml b/compose.yml index 0f1526a0..c9c59927 100644 --- a/compose.yml +++ b/compose.yml @@ -38,11 +38,11 @@ services: web: image: node:18 ports: - - "3000:3000" + - "3001:3000" command: sh -c "yarn install && yarn dev" restart: unless-stopped working_dir: /app volumes: - ./www:/app/ env_file: - - ./www/.env.local + - ./www/.env.development.local diff --git a/www/app/(app)/transcripts/new/page.tsx b/www/app/(app)/transcripts/new/page.tsx index 9d12ddda..acc98c6c 100644 --- a/www/app/(app)/transcripts/new/page.tsx +++ b/www/app/(app)/transcripts/new/page.tsx @@ -68,13 +68,13 @@ const TranscriptCreate = () => { }; const send = () => { - if (loadingRecord || createTranscript.loading || permissionDenied) return; + if (!isClient || loadingRecord || createTranscript.loading || permissionDenied) return; setLoadingRecord(true); createTranscript.create({ name, target_language: getTargetLanguage() }); }; const uploadFile = () => { - if (loadingUpload || createTranscript.loading || permissionDenied) return; + if (!isClient || loadingUpload || createTranscript.loading || permissionDenied) return; setLoadingUpload(true); createTranscript.create({ name, target_language: getTargetLanguage() }); }; @@ -91,7 +91,7 @@ const TranscriptCreate = () => { if (createTranscript.error) setLoadingRecord(false); }, [createTranscript.error]); - const { loading, permissionOk, permissionDenied, requestPermission } = + const { loading, permissionOk, permissionDenied, requestPermission, isClient } = useAudioDevice(); return ( @@ -123,12 +123,12 @@ const TranscriptCreate = () => { Reflector is a transcription and summarization pipeline that transforms audio into knowledge. - - The output is meeting minutes and topic summaries enabling + + {" "}The output is meeting minutes and topic summaries enabling topic-specific analyses stored in your systems of record. This is accomplished on your infrastructure – without 3rd parties – keeping your data private, secure, and organized. - + @@ -179,29 +179,31 @@ const TranscriptCreate = () => { placeholder="Choose your language" /> - {loading ? ( - Checking permissions... - ) : permissionOk ? ( - - ) : permissionDenied ? ( - - Permission to use your microphone was denied, please change - the permission setting in your browser and refresh this - page. - + {isClient && !loading ? ( + permissionOk ? ( + + ) : permissionDenied ? ( + + Permission to use your microphone was denied, please change + the permission setting in your browser and refresh this + page. + + ) : ( + + ) ) : ( - + Checking permissions... )}