90 Commits

Author SHA1 Message Date
Rankin Zheng
dd1ad3aefb Add DevChat key registration link and fix button component in zh.json 2024-01-05 15:12:37 +08:00
Rankin Zheng
3e05b0d1ee
Merge pull request #10 from devchat-ai/fix_chinese_margin
Update MessageMarkdown styles and fix typo in zh.json
2024-01-05 11:58:52 +08:00
Rankin Zheng
705f2d44c7 Update MessageMarkdown styles and fix typo in zh.json 2024-01-05 11:58:02 +08:00
smallstone
514126ef18 Update DevChat access key message 2024-01-05 11:50:17 +08:00
smallstone
56cb71a25f Refactor MessageMarkdown component and update zh.json translations 2024-01-05 11:48:28 +08:00
Rankin Zheng
7336fb0545
Merge pull request #9 from devchat-ai/custom_buttons_text
Custom buttons text
2024-01-05 11:43:30 +08:00
Rankin Zheng
c3a779494c Add conditional rendering for OpenAI key setting button in ChatStore.ts 2024-01-05 11:42:40 +08:00
smallstone
a27d8097d5 Fix DevChat key issue 2024-01-05 11:36:45 +08:00
smallstone
ae4be3488c Add DevChat key registration button 2024-01-05 11:28:57 +08:00
smallstone
289bd6d3bf Fix typo in environment variable name 2024-01-04 19:24:21 +08:00
smallstone
091266dad7 Fix formatting issues in MessageMarkdown component and add missing translation key for setOpenAIkey 2024-01-04 19:22:54 +08:00
Rankin Zheng
3c989014ba Add platform check for openLink function 2024-01-04 18:09:12 +08:00
Rankin Zheng
dfd5941d84 Add submit and cancel props to ChatMark component and refactor MessageMarkdown component 2024-01-04 17:34:16 +08:00
Rankin Zheng
fd57085873
Merge pull request #8 from devchat-ai/fix_checkbox_text
Add font family and font size to label
2024-01-04 11:21:52 +08:00
Rankin Zheng
a4bdd617f5 Add font family and font size to label 2024-01-04 11:21:02 +08:00
smallstone
8e3c709c69 Fix defaultModel key in ideaBridge.ts and remove console.log in Header/index.tsx 2023-12-28 18:22:21 +08:00
小石头
2fd05cbbaa
Merge pull request #7 from devchat-ai/feat/i18n
Feat/i18n
idea-v0.0.5
2023-12-28 12:37:41 +08:00
smallstone
2a490bec23 Refactor code: Removed setLanguage function and added i18n translation support 2023-12-28 11:22:30 +08:00
smallstone
c32fff386d Based on the provided git diff, here is a suggested commit message:
Update language translations and fix UI issues
2023-12-28 10:48:45 +08:00
smallstone
7282924e17 Update package.json and Header component
This commit updates the "compile" script in package.json to use webpack without specifying a version. In the Header component, it adds functionality to get and update the language setting using messageUtil. It also updates the updateSetting function in ideaBridge to handle language updates.
2023-12-28 10:10:54 +08:00
smallstone
038cec1618 Refactor MessageMarkdown and StopButton components 2023-12-28 10:10:54 +08:00
Jinglei Ren
d054c9b522 Update zh.json
Finished Chinese text in zh.json.
2023-12-28 10:10:52 +08:00
Jinglei Ren
ef3b2bfdb6 Update zh.json
Updated text of the main UI.
2023-12-28 10:10:10 +08:00
smallstone
f9e8fd0ef3 Update message avatar tooltip labels 2023-12-28 10:09:55 +08:00
smallstone
250a9af67c Fix code formatting and styling issues 2023-12-28 10:09:54 +08:00
smallstone
c3c387cf68 Update code comments and translations 2023-12-28 10:09:38 +08:00
smallstone
1ed075e53a Add setLanguage functionality and update language based on user preference 2023-12-28 10:08:25 +08:00
smallstone
f23b5823f4 Add onInitializationFinish function and fix Header component 2023-12-28 10:08:25 +08:00
smallstone
c4a3f8e3d4 Update language translations and fix UI issues 2023-12-28 10:08:25 +08:00
Jinglei Ren
4a4c981581 Update zh.json
Finished Chinese text in zh.json.
2023-12-28 10:07:57 +08:00
Jinglei Ren
bace2a3f3c Update zh.json
Updated text of the main UI.
2023-12-28 10:07:57 +08:00
smallstone
a752700f49 Update message avatar tooltip labels 2023-12-28 10:07:57 +08:00
smallstone
60c2d4ca1a Fix code formatting and styling issues 2023-12-28 10:07:56 +08:00
smallstone
4c17f31391 Update code comments and translations 2023-12-28 10:07:34 +08:00
smallstone
8172d7c38b Add setLanguage functionality and update language based on user preference 2023-12-28 10:06:34 +08:00
smallstone
59e9f0e646 Add onInitializationFinish function and fix Header component 2023-12-28 10:06:07 +08:00
smallstone
27afe2a869 Update language translations and fix UI issues 2023-12-28 10:06:04 +08:00
smallstone
790152b8c3 Add i18n translations and update tsconfig.json 2023-12-28 10:04:22 +08:00
smallstone
23ecbf6cba Remove commented out code in Header component 2023-12-28 10:04:22 +08:00
Rankin Zheng
5075804725
Merge pull request #6 from devchat-ai/fix_last_step
Fix last step
2023-12-27 20:54:41 +08:00
Rankin Zheng
711976f7ae Add key prop to Menu.Item in InputMessage component 2023-12-27 20:49:24 +08:00
Rankin Zheng
213a7dbc79 Update message body component to use activeStep prop 2023-12-27 20:45:22 +08:00
Rankin Zheng
77603e2c04 Fix issue of the last step 2023-12-27 19:35:50 +08:00
小石头
00b2b4a44e
Merge pull request #5 from devchat-ai/feat/commit
Feat/commit
2023-12-27 15:01:18 +08:00
smallstone
dcaa9ec671 Remove unnecessary console.log statement and update message in ChatStore 2023-12-27 14:52:48 +08:00
smallstone
90ded899ae Remove console.log statement in MessageUtil.ts 2023-12-26 20:43:50 +08:00
smallstone
d68009b566 Update message logging and action name in MessageUtil and ideaBridge 2023-12-26 19:31:44 +08:00
smallstone
ee9a433254 Add console log statement to sendMessage method 2023-12-26 14:20:18 +08:00
smallstone
e1ff05e3e5 Fix user input handling in ChatStore and ideaBridge
This commit fixes the user input handling in the ChatStore and ideaBridge files. It ensures that the user input is correctly passed to the JSJavaBridge and that the appropriate action is taken.
2023-12-25 19:09:59 +08:00
Rankin Zheng
46aca6809f
Merge pull request #3 from devchat-ai/remove_cost_confirm
Remove cost confirm
2023-12-22 04:54:15 +08:00