Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major updates to Obsidian Khoj plugin chat interface and editing features #1109

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
f2d50c2
Add /research command to help message
hjamet Feb 10, 2025
e94bd11
Add chat mode selector with radio buttons in Obsidian interface
hjamet Feb 10, 2025
00586d1
Enhance chat mode selector with emoji labels and styling
hjamet Feb 10, 2025
b458c93
Implement chat mode command parsing and display logic
hjamet Feb 10, 2025
7972c7c
Add edit functionality to chat messages in Obsidian interface
hjamet Feb 10, 2025
253569a
Enhance chat action buttons with hover states and edit button visibility
hjamet Feb 10, 2025
793020d
Add agent selection and new chat functionality to Obsidian chat inter…
hjamet Feb 10, 2025
52816bb
Remove verbose console logging in Obsidian chat view
hjamet Feb 10, 2025
475bc85
Improve agent selection UI with hint and layout adjustments
hjamet Feb 10, 2025
e1bd629
Add file access mode toggle with open files context for chat
hjamet Feb 10, 2025
be036eb
Implement file edit confirmation UI and advanced edit mode for Obsidi…
hjamet Feb 10, 2025
b2f2a6d
Enhance chat view with command-to-emoji conversion and file edit impr…
hjamet Feb 10, 2025
fd3a375
Improve multiline text replacement in Obsidian chat file editing
hjamet Feb 10, 2025
e807e2d
Refine multiline text replacement with improved parsing and handling …
hjamet Feb 10, 2025
0b68149
Enhance file editing with improved edit instructions, status messages…
hjamet Feb 10, 2025
27365ad
Refactor file editing with simplified edit instructions and more robu…
hjamet Feb 10, 2025
9208887
Improve edit block parsing with more flexible regex and better handli…
hjamet Feb 10, 2025
e879ebf
Add styling and transformation for Khoj edit blocks in Obsidian chat
hjamet Feb 10, 2025
492faed
Refine Khoj edit block instructions and text replacement logic in Obs…
hjamet Feb 10, 2025
a276a63
Enhance Khoj edit block replacement with intelligent diff tracking an…
hjamet Feb 11, 2025
9fce56d
Improve line-by-line diff formatting and cleanup in Khoj edit block p…
hjamet Feb 11, 2025
650bcec
Add code block copy functionality in Obsidian chat view
hjamet Feb 11, 2025
6bfc7c9
Refactor Khoj edit block parsing and processing with JSON-based format
hjamet Feb 11, 2025
373429c
Enhance Khoj edit block UI and error handling in Obsidian interface
hjamet Feb 11, 2025
90f464d
Add JSON5 parsing support for more robust Khoj edit block processing
hjamet Feb 11, 2025
3d316ff
Optimize Khoj edit block text removal and line cleanup logic
hjamet Feb 11, 2025
6aafea1
Improve JSON parsing and line handling in Khoj edit block processing
hjamet Feb 11, 2025
1477ecd
Merge branch 'khoj-ai:master' into master
hjamet Feb 11, 2025
a6d2726
Update TypeScript configuration and import for JSON5 in Obsidian inte…
hjamet Feb 11, 2025
2af49c5
Merge branch 'master' of github.com:hjamet/khoj
hjamet Feb 11, 2025
e438764
Chore: Minor configuration file updates
hjamet Feb 11, 2025
0fbae78
Feature: Add toggle for automatic voice response in Obsidian plugin
hjamet Feb 12, 2025
e32b764
Enhance file edit processing to preserve frontmatter in Obsidian plugin
hjamet Feb 12, 2025
ec92d14
Enhance edit block processing with robust error handling and retry me…
hjamet Feb 12, 2025
f612fb6
Add keyboard shortcuts and UI enhancements for edit block interactions
hjamet Feb 12, 2025
0827dd5
Improve frontmatter removal in targeted edit block processing
hjamet Feb 12, 2025
1927d33
Refactor edit block retry mechanism with improved error handling and …
hjamet Feb 13, 2025
3caece9
Enhance edit block validation and error handling in Obsidian plugin
hjamet Feb 13, 2025
878fcbc
Add retry badge and enhanced error handling for edit block processing
hjamet Feb 13, 2025
2954e82
Modify keyboard shortcuts and remove keyboard hint styling
hjamet Feb 13, 2025
8c5c122
Merge branch 'khoj-ai:master' into master
hjamet Feb 15, 2025
73955f7
Merge branch 'khoj-ai:master' into master
hjamet Feb 26, 2025
4e1ebd8
Refactor file interactions into a separate module for Obsidian plugin
hjamet Mar 3, 2025
fbc3f63
Replace khoj-edit code blocks with XML tags for more reliable parsing
hjamet Mar 3, 2025
2978b54
Improve message editing and deletion in Obsidian chat view
hjamet Mar 3, 2025
c1955ed
Update chat action button hover styles in Obsidian theme
hjamet Mar 3, 2025
5b94d4a
Refactor Obsidian chat interface with header-level new chat and agent…
hjamet Mar 3, 2025
64b85e3
Add global hotkeys and improve chat view navigation in Obsidian plugin
hjamet Mar 3, 2025
a39ab9a
Add keybindings and commands for chat view navigation in Obsidian plugin
hjamet Mar 3, 2025
bd4f573
Enhance Obsidian chat UI with refined styling and smoother interactions
hjamet Mar 5, 2025
b2ed65a
Refactor Obsidian chat UI styles for improved responsiveness and mobi…
hjamet Mar 5, 2025
cd4de85
Refine Obsidian chat UI styles with subtle visual improvements
hjamet Mar 5, 2025
62f81ea
Enhance chat input styling and interaction in Obsidian plugin
hjamet Mar 5, 2025
fe42397
Modernize Obsidian plugin header and navigation styles
hjamet Mar 5, 2025
7262d11
Add mode dropdown for chat input with keyboard navigation
hjamet Mar 5, 2025
6f21860
Merge branch 'khoj-ai:master' into master
hjamet Mar 12, 2025
71eda25
Merge branch 'khoj-ai:master' into master
hjamet Mar 13, 2025
8252da6
Enhance khoj-edit block handling by adding support for partial edits …
hjamet Mar 13, 2025
c3fba30
Add Similar Documents View and enhance formatting handling
hjamet Mar 17, 2025
54ab9be
Mise à jour de l'interface utilisateur : amélioration de la gestion d…
hjamet Mar 17, 2025
abb7c74
Refactor khoj-edit block handling and update UI styles
hjamet Mar 17, 2025
5549628
Update UI styles and icons in Similar Documents view
hjamet Mar 17, 2025
7ab3bf2
Enhance Similar Documents view with new styles and loading indicators
hjamet Mar 17, 2025
6bd5e8d
Refactor button styles in Similar Documents view
hjamet Mar 17, 2025
c29e087
Refactor chat input styles and auto-resize functionality
hjamet Mar 17, 2025
0713b8d
Enhance khoj-edit block handling to support partial edits and improve…
hjamet Mar 17, 2025
9259d28
Refactor khoj-edit block validation and application process
hjamet Mar 17, 2025
e7d1d26
Refactor chat view and styles for improved streaming experience
hjamet Mar 17, 2025
228edcc
Update CSS styles for khoj-retry-container and khoj-retry-badge to en…
hjamet Mar 17, 2025
e154ab6
Merge branch 'khoj-ai:master' into master
hjamet Mar 17, 2025
8555d30
Refactor chat view and styles for improved user experience
hjamet Mar 22, 2025
967a4c3
Enhance chat view sanitization and error handling
hjamet Mar 22, 2025
7b52bf9
Remove event listener for "New Chat" button in chat view header
hjamet Mar 22, 2025
7e2b22d
Refactor CSS styles and chat view structure for improved layout
hjamet Mar 22, 2025
fca0cd1
Update starting message in chat view for clarity
hjamet Mar 22, 2025
0393485
Enhance chat view dropdown functionality and input handling
hjamet Mar 22, 2025
b20e092
Merge branch 'khoj-ai:master' into master
hjamet Mar 22, 2025
700e5f8
Refactor chat view and styles to use icons instead of emojis
hjamet Mar 22, 2025
06579e6
Merge branch 'khoj-ai:master' into master
hjamet Mar 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/interface/obsidian/.gitignore
Original file line number Diff line number Diff line change
@@ -5,6 +5,12 @@
*.iml
.idea

# Cursor
.cursor

# Copilot
.github

# npm
node_modules

3 changes: 2 additions & 1 deletion src/interface/obsidian/package.json
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@
"typescript": "4.7.4"
},
"dependencies": {
"dompurify": "^3.1.4"
"dompurify": "^3.1.4",
"json5": "^2.2.3"
}
}
1,303 changes: 1,123 additions & 180 deletions src/interface/obsidian/src/chat_view.ts

Large diffs are not rendered by default.

Loading