Commit graph

25 commits

Author SHA1 Message Date
Andrew Beal
d0b4d5b852 Refactor Gemini class to use Conversation object in streamRequest method, update IAIClass interface, and enhance ChatWindow component for conversation handling. Add logging for conversation saving in ConversationFileSystemService and comment out OdbCache references in ServiceRegistration and main files. 2025-10-04 13:27:40 +01:00
Andrew Beal
ace478c311 Refactor conversation handling by introducing Conversation and ConversationContent classes, updating ChatArea and ChatWindow components, and enhancing file system service for conversation management. 2025-10-04 13:10:22 +01:00
Andrew Beal
adbe6045cf Implement conversation reset functionality and file deletion in ConversationFileSystemService 2025-10-03 22:14:30 +01:00
Andrew Beal
ea54a1e6e3 Add new conversation, delete conversation, and history buttons to TopBar with corresponding functionality 2025-10-03 21:12:02 +01:00
Andrew Beal
3a67400427 Refactor AIAgentPlugin to register intervals through the plugin and streamline command handling in the ribbon icon 2025-10-03 20:27:49 +01:00
Andrew Beal
abe2caebf6 Enhance ChatWindow and TopBar functionality with icon support and improved button accessibility 2025-10-02 22:56:22 +01:00
Andrew Beal
e87c02049e Add settings button to TopBar and bundle KaTeX CSS for improved functionality 2025-10-02 21:53:10 +01:00
Andrew Beal
94ad5e1e00 Implement scrolling behavior in ChatArea and remove unused chat padding logic in ChatWindow 2025-10-02 20:52:43 +01:00
Andrew Beal
129b1fb4e0 Add fade-in animation for user and assistant message bubbles 2025-10-02 12:49:40 +01:00
Andrew Beal
ac70bc2f6f Add greeting messages based on time of day and implement TopBar component 2025-10-02 09:34:54 +01:00
Andrew Beal
b57a2de01e Adjust chat padding transition duration and delay for improved user experience 2025-10-01 22:22:49 +01:00
Andrew Beal
115013e710 Enhance chat message styling: add user-specific text class, adjust chat padding transition, and improve layout responsiveness 2025-10-01 22:12:39 +01:00
Andrew Beal
523a95f3d5 Refactor services and helpers: reorganize imports, implement ConversationFileSystemService, and enhance FileSystemService functionality 2025-09-30 21:20:24 +01:00
Andrew Beal
64e9a1ef95 Remove background color from chat padding style 2025-09-29 11:09:47 +01:00
Andrew Beal
f6d3d7f504 Add chat padding feature and adjust StreamingIndicator layout
- Introduced a conditional chat padding element in ChatArea for improved UI.
- Updated ChatWindow to manage the visibility of chat padding during streaming.
- Adjusted padding in StreamingIndicator for better alignment.
2025-09-29 11:09:22 +01:00
Andrew Beal
96fabddc9c Hide scrollbar in chat area and allow text selection in chat window 2025-09-29 00:09:10 +01:00
Andrew Beal
788b83db64 Update background color in StreamingIndicator animations for improved visibility 2025-09-28 23:45:16 +01:00
Andrew Beal
81e3d9c34f Update box-shadow transparency in StreamingIndicator component for improved visual effect 2025-09-28 23:32:03 +01:00
Andrew Beal
2de8c683ac Add StreamingIndicator component and replace static streaming indicator in ChatArea 2025-09-28 23:31:35 +01:00
Andrew Beal
854aa2a98d Bind chatContainer to ChatArea component and implement scrollToBottom functionality 2025-09-28 17:40:05 +01:00
Andrew Beal
dbe9068b0b Add MessageService and AIThoughtMessage component 2025-09-28 14:57:58 +01:00
Andrew Beal
9e429c4cd1 Refactor chat components and improve markdown processing
- Enhanced ChatArea component to handle streaming messages more efficiently with incremental updates.
- Removed MarkdownService as it was no longer needed; integrated its functionality into StreamingMarkdownService.
- Updated ServiceRegistration to reflect the removal of MarkdownService and adjusted AI class type.
- Improved StreamingMarkdownService for better streaming performance and error handling.
- Added new styles for syntax highlighting and markdown rendering in styles.css.
- Removed old styles_old.css as they were deprecated.
- Updated package.json and package-lock.json to include lowlight for improved syntax highlighting.
2025-09-27 13:23:28 +01:00
Andrew Beal
7efdac24cf Remove deprecated CSS files and enhance markdown processing service
- Deleted highlight-default.min.css, katex.min.css, and markdown.css as they are no longer needed.
- Implemented StreamingMarkdownService for improved markdown processing with support for math and syntax highlighting.
- Added StreamingService for handling streaming requests to the Gemini API with error handling and chunk parsing.
- Introduced styles_old.css for enhanced code block styling and better readability.
2025-09-26 20:48:05 +01:00
Andrew Beal
3f37870aaa Add markdown rendering support with KaTeX and highlight.js
- Updated package.json to include dependencies for rehype and remark plugins for markdown processing.
- Added default highlight.js CSS for code highlighting.
- Included KaTeX CSS for rendering mathematical expressions.
- Created markdown.css for styling markdown content in the Obsidian plugin, incorporating styles for headings, paragraphs, lists, tables, and code blocks.
- Customized highlight.js colors to match Obsidian theme.
2025-09-16 17:14:37 +01:00
Andrew Beal
0fb3e4632f Implement spike work for plugin. 2025-09-08 15:50:06 +01:00