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

feat(tabby-ui): add mention functionality in tabby chat ui #3607

Merged
merged 24 commits into from
Jan 17, 2025
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0d0c81a
feat(chat): add mention functionality with category selection and sty…
Sma1lboy Dec 21, 2024
3eea537
feat(chat): implement mention functionality with category support and…
Sma1lboy Dec 24, 2024
d491b37
feat(chat): add input management methods to PromptFormRef interface
Sma1lboy Dec 24, 2024
a5f01c6
refactor(chat): remove unused FileList, CategoryMenu, mention compone…
Sma1lboy Dec 24, 2024
f9b5bc4
refactor(chat): Revert Webviewhelper to a previous version
Sma1lboy Dec 24, 2024
0468316
Merge branch 'main' into feat-at-function-in-tabby-ui
Sma1lboy Jan 9, 2025
96e6ecb
refactor(chat): remove unused mention components and styles
Sma1lboy Jan 10, 2025
7d10eed
refactor(chat): remove PopoverMentionList component and its associate…
Sma1lboy Jan 10, 2025
c6b2413
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 10, 2025
b0eac5f
refactor(chat): enhance at-mention handling and improve file item pro…
Sma1lboy Jan 13, 2025
5f0a8d2
refactor(chat): implement file mention functionality and enhance ment…
Sma1lboy Jan 13, 2025
088a9aa
chore: fix some potential normalize issue
Sma1lboy Jan 13, 2025
52de94d
refactor(chat): update chatInputRef type to use PromptFormRef for imp…
Sma1lboy Jan 13, 2025
08f3175
Merge branch 'main' into feat-at-function-in-tabby-ui
Sma1lboy Jan 14, 2025
f2aaba0
update
liangfung Jan 15, 2025
39daf96
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 15, 2025
6bedc1e
update
liangfung Jan 15, 2025
41685d8
fix(chat): update fileItemToSourceItem to handle filepath extraction …
Sma1lboy Jan 16, 2025
e7a0c11
update
liangfung Jan 17, 2025
db1fab5
Merge branch 'main' into feat-at-function-in-tabby-ui
liangfung Jan 17, 2025
2a00236
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 17, 2025
6187bff
update
liangfung Jan 17, 2025
2dd4430
updae
liangfung Jan 17, 2025
5087067
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 17, 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
Prev Previous commit
Next Next commit
fix(chat): update fileItemToSourceItem to handle filepath extraction …
…correctly
Sma1lboy committed Jan 16, 2025
commit 41685d87bff53244ed73b1320a43d9a72aba8df1
3 changes: 2 additions & 1 deletion ee/tabby-ui/components/chat/form-editor/utils.tsx
Original file line number Diff line number Diff line change
@@ -30,7 +30,8 @@ export function fileItemToSourceItem(info: FileItem): SourceItem {
return {
fileItem: info,
name: getLastSegmentFromPath(info.label) || info.label, // Extract the last segment of the path as the name
filepath: info.label,
filepath:
'filepath' in info.filepath ? info.filepath.filepath : info.filepath.uri,
category: 'file'
}
}