diff --git a/README.md b/README.md index f645b99..dcbe366 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,11 @@ ## Todos v1.5 -- [ ] Implement design changes on the pdf page: avatars + chatbox scroll -- [ ] Add header to the pdf page to be able to go back to the dashboard -- [ ] Add my own google cloud project to Clerk and create a production instance +- [ ] Implement design changes on the pdf page: chatbot scroll - [ ] Make sure it's fully responsive on mobile +- [ ] Implement sources like perplexity with more info +- [ ] Make some changes to the default tailwind `prose` +- [ ] Add my own google cloud project to Clerk and create a production instance - [ ] Spin up good README + tweet ## Future Todos @@ -13,6 +14,7 @@ - [ ] Add an initial message with sample questions or just add them as bubbles - [ ] Add a trash icon for folks to delete PDFs and implement delete functionality - [ ] Add an option to get answers as lists or paragraphs +- [ ] Save chats for each user to get back to later - [ ] Use an observability tool to better understand how people are using the site - [ ] Clean up and customize how the PDF viewer looks - [ ] Bring up a message to compress PDFs if they're beyond 10MB or accept more diff --git a/app/document/[id]/document-client.tsx b/app/document/[id]/document-client.tsx index 37134ad..14ef07d 100644 --- a/app/document/[id]/document-client.tsx +++ b/app/document/[id]/document-client.tsx @@ -18,8 +18,10 @@ import { useChat } from 'ai/react'; export default function DocumentClient({ currentDoc, + userImage, }: { currentDoc: Document; + userImage?: string; }) { const toolbarPluginInstance = toolbarPlugin(); const pageNavigationPluginInstance = pageNavigationPlugin(); @@ -82,6 +84,8 @@ export default function DocumentClient({ } }; + let userProfilePic = userImage ? userImage : '/profile-icon.png'; + return (