Skip to content
Open

Ksm #331

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
05fabdb
Remove dist folder from Git tracking - now properly ignored
tbwksm Aug 18, 2025
507257e
source event. bot message color change.
tbwksm Aug 18, 2025
99598e2
Merge pull request #1 from ToBeWAY-RND/ksm/initial-upload
tbwksm Aug 18, 2025
41d59c0
출처 박스 변경. 디자인 반영.
tbwksm Aug 21, 2025
5d1dc53
Merge pull request #2 from ToBeWAY-RND/feature/ksm
tbwksm Aug 28, 2025
cbd03b9
gptModel config 추가가
tbwksm Aug 28, 2025
ce19898
commit시 crlf 문제 해결결
tbwksm Aug 28, 2025
e4ad5de
콤보 박스. 출처 이미지 반영.
tbwksm Aug 28, 2025
1e1244c
Merge pull request #3 from ToBeWAY-RND/ksm/combo
tbwksm Aug 28, 2025
2558c24
refresh button, pdf icon
tbwksm Sep 7, 2025
de74165
Merge pull request #4 from ToBeWAY-RND/ksm/design
tbwksm Sep 7, 2025
6ef3bc3
디자인 수정
tbwksm Sep 10, 2025
ebfa622
Merge pull request #5 from ToBeWAY-RND/ksm/design
tbwksm Sep 10, 2025
0bd08ae
combo config
tbwksm Sep 16, 2025
87c1e69
Merge pull request #6 from ToBeWAY-RND/ksm/gpt5
tbwksm Sep 16, 2025
27f0f10
Add support for `menus` in Bot message handling.
Sep 16, 2025
4e4bc13
Merge branch 'main' of https://github.com/ToBeWAY-RND/tobeai
Sep 16, 2025
e1a09f5
Add Korean translations and support for `mastSearches` in Bot message…
Sep 18, 2025
ede49be
Add message logging functionality for Bot interactions.
Sep 19, 2025
e6d228d
Skip logging for initial starter/welcome Bot messages.
Sep 19, 2025
c74eb55
menu 버튼 추가
tbwksm Sep 19, 2025
21be4ed
Merge branch 'main' of https://github.com/ToBeWAY-RND/tobeai into fea…
tbwksm Sep 19, 2025
5e68de0
Add `mdmModule` to Bot message logging.
Sep 19, 2025
d0f8105
Feedback 버튼 원복
tbwksm Sep 19, 2025
e0bf148
Merge branch 'main' of https://github.com/ToBeWAY-RND/tobeai into fea…
tbwksm Sep 19, 2025
a6ab0f9
Add support for `menus` and `mastSearches` in Bot message logging.
Sep 19, 2025
df5b0b4
Merge branch 'main' of https://github.com/ToBeWAY-RND/tobeai
Sep 19, 2025
97b3cb1
Use `menu_alias` as a primary title for `menuid` in BotBubble display.
Sep 19, 2025
28d7825
Remove unused signals `sourceClick` and `menuClick` from Bot and BotB…
Sep 22, 2025
f55c27c
Adjust ComboBox dropdown rendering logic and styling
Sep 22, 2025
5525679
Add support for `observeMastClick` observer and improve `mastSearches…
Sep 22, 2025
7416dec
Add `calledTools` state management and display in Bot and LoadingBubb…
Sep 22, 2025
a7a542e
Add support for `clipboardSrc` in Bot and BotBubble components
Sep 23, 2025
f3367b8
Revert "Add support for `clipboardSrc` in Bot and BotBubble components"
Sep 24, 2025
c9cc025
Update ClipboardIcon SVG with new design and optimized structure
Sep 24, 2025
c82055b
피드백 메시지가 없을 때도 피드백 보내기 버튼 상호작용 가능하도록 하여 창을 끌 수 있게 개선.
Sep 24, 2025
547fb1f
Remove borders from BotBubble menu buttons for cleaner styling
Sep 30, 2025
bad86e8
Add `thoughts` handling and improved menu sorting logic in Bot compon…
Oct 1, 2025
017dc5b
Improve ordered rendering and interactivity for menus, sources, and m…
Oct 13, 2025
e98ee63
Enhance document numbering logic in BotBubble
Oct 13, 2025
60fb16c
Remove ordered menu and mast rendering logic from BotBubble component
Oct 14, 2025
c6c9832
Remove unused icon span from SourceBubble
Oct 14, 2025
7708b04
Remove `sourceDocuments` property from `apiMessage` objects and refin…
Oct 14, 2025
d7b572c
Add `choose_one_property` caching and action handling to Bot, improve…
Oct 21, 2025
cf95a87
Add `isAppending` prop to LoadingBubble and optimize `choose_one_prop…
Oct 22, 2025
f6ccdf2
Remove redundant console.log statements from Bot component
Oct 22, 2025
c58ba8d
Improve Backspace handling in ShortTextInput component
Oct 22, 2025
7ef9a9f
Add event dispatching and external trigger support for Bubble component
Oct 22, 2025
3ff2d10
Add CloseButton and observer close handling in Bot and Bubble components
Oct 23, 2025
312fe7f
theme 적용중
tbwksm Oct 24, 2025
0b11150
Merge pull request #7 from ToBeWAY-RND/featured/ksm
tbwksm Oct 24, 2025
21c9b96
Reset Icon: png -> svg
tbwksm Oct 24, 2025
ac7a783
Merge remote-tracking branch 'origin/main'
tbwksm Oct 24, 2025
bd56edf
Title border-bottom 보이기
tbwksm Oct 24, 2025
0599a00
DeleteButtonColor, CloseButtonColor 동일하게 변경
tbwksm Oct 24, 2025
f7bfe5d
마이크 보이기
tbwksm Oct 30, 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
42 changes: 42 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Set default behavior to automatically normalize line endings
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.css text eol=lf
*.html text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.xml text eol=lf
*.txt text eol=lf

# Declare files that will always have CRLF line endings on checkout
*.bat text eol=crlf

# Denote all files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.woff2 binary
*.pyc binary
*.pdf binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
.idea
.env
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,29 @@ To enable full screen, add `margin: 0` to <code>body</code> style, and confirm y
</body>
```

## Features

### Smart Text Truncation

The library includes intelligent text truncation that considers different character widths for various languages:

- **Korean (한글)**: 2.0 width units
- **Korean consonants/vowels (ㄱ-ㅎ)**: 1.5 width units
- **Full-width characters (全角)**: 2.0 width units
- **English, numbers, symbols**: 1.0 width units

This ensures consistent visual length regardless of the text language.

```typescript
import { truncateTextByWidth, getTextWidth } from './utils/textTruncator';

// Truncate text to fit within 25 width units
const truncated = truncateTextByWidth('Hello 안녕하세요! 123', 25);

// Get actual width of text
const width = getTextWidth('Hello 안녕하세요!');
```

## Configuration

You can also customize chatbot with different configuration
Expand Down
10 changes: 0 additions & 10 deletions dist/components/Badge.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/Badge.d.ts.map

This file was deleted.

134 changes: 0 additions & 134 deletions dist/components/Bot.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/Bot.d.ts.map

This file was deleted.

10 changes: 0 additions & 10 deletions dist/components/FeedbackContentDialog.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/FeedbackContentDialog.d.ts.map

This file was deleted.

11 changes: 0 additions & 11 deletions dist/components/ImageUploadButton.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/ImageUploadButton.d.ts.map

This file was deleted.

11 changes: 0 additions & 11 deletions dist/components/RecordAudioButton.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/RecordAudioButton.d.ts.map

This file was deleted.

24 changes: 0 additions & 24 deletions dist/components/RichTreeView.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/RichTreeView.d.ts.map

This file was deleted.

12 changes: 0 additions & 12 deletions dist/components/SendButton.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/SendButton.d.ts.map

This file was deleted.

6 changes: 0 additions & 6 deletions dist/components/TreeViewDemo.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/TreeViewDemo.d.ts.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/components/TypingBubble.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/TypingBubble.d.ts.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/components/avatars/Avatar.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/avatars/Avatar.d.ts.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/components/avatars/DefaultAvatar.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/avatars/DefaultAvatar.d.ts.map

This file was deleted.

16 changes: 0 additions & 16 deletions dist/components/bubbles/AgentReasoningBubble.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/bubbles/AgentReasoningBubble.d.ts.map

This file was deleted.

Loading