Commit graph

312 commits

Author SHA1 Message Date
NSDE 6e090f9e3a Wording improvements etc. 2023-08-15 15:45:21 +02:00
NSDE 19e3a3b1da Changed alternative endpoint to Churchless 2023-08-15 13:54:04 +02:00
NSDE 796e132742 Fixed repo link 2023-08-13 15:53:05 +02:00
NSDE 49d7744790 Custom configuration 2023-08-13 15:51:50 +02:00
NSDE 12a73d399a Rebranding 2023-08-13 15:31:29 +02:00
Mats Finsås 34773212ea
Azure OpenAI API fix for gpt-3.5-turbo-16k (#383)
Signed-off-by: Xtrah <12988459+Xtrah@users.noreply.github.com>
2023-08-04 22:22:05 -07:00
Ayaka d0ddcfea6a
Rename "Save & Submit" to "Generate" (#396)
* Rename to generate

* edit view buttons reorder buttons and colors

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-08-03 07:29:03 -07:00
Jing Hua 5b642f043f
a11y button (#335)
fixes issue #333
2023-07-19 20:48:08 -07:00
Jude Cooray 2b0280a479
Show title for when the title is too long (#395) 2023-07-10 22:34:46 -07:00
Joshua Blake Smith be3147c6c4
Hides default system prompt in simple mode (#375)
* Hides default system prompt without advanced mode

* Hides default system prompt in simple mode
2023-07-06 13:58:44 -07:00
Jing Hua 1d88a86293 consistent enter to submit for new and edit message
fixes #255, fixes #379
2023-06-29 23:16:32 -07:00
Mario Dian c7a355b407
fix menubar icon size in macOS (#360)
add support for MacOS theme (light/dark)
2023-06-19 23:23:24 -07:00
Romanok2805 6db0decdb9
Add Russian translation (#363)
* translate about.json

* translate api.json

* translate drive.json

* Add Russian language

* translate main.json

* translate model.json

* ci: add Azure Static Web Apps workflow file
on-behalf-of: @Azure opensource@microsoft.com

* Fix translation

* Fix translation

* Delete azure-static-web-apps-witty-plant-0f8ec9803.yml

* author name not translated
2023-06-19 08:51:37 -07:00
lucaperl add8580d78
Update German Translation (#348)
* Update api.json

Fixed spelling errors.

* Update drive.json

Fixed spelling errors.

* Update model.json

Fixed spelling errors.
2023-06-16 14:43:33 +08:00
akira0245 f28ff877af
Add gpt-3.5-turbo-16k model option, update gpt-3.5 prompt cost (#351)
* add gpt-3.5-turbo-16k model option. update gpt-3.5 prompt cost

* add gpt-4-0613 models
2023-06-14 09:25:19 -07:00
Jing Hua 6a022d9424 Bump v1.0.4 2023-06-11 15:40:43 +08:00
Matthias Held 74d7c0fce7
Add German translation (#341) 2023-06-11 15:26:25 +08:00
Jing Hua 7bf6f7af87 fix: title generation cost calculation
fixes #330
2023-06-07 19:51:14 +08:00
Jing Hua cb930e3e2c clearer title generation error message
fixes #329
2023-06-07 19:47:21 +08:00
Mario Dian 13ac535504
add app icon for macos (#321) 2023-06-06 21:04:50 +08:00
Ayaka Mikazuki 2ff858bf99 Add woff2 web fonts 2023-06-04 23:35:39 +08:00
Ayaka Mikazuki c33c1a27e4 remove redundant variable 2023-06-01 00:00:24 +08:00
Andrie 11650a79f8
Somewhat romanian translations (#301)
* Create .env

* Add Romanian Translations

* Polished Romanian Translations

* Removed Trailing Comma

* Fix formatting

* Fix formatting

---------

Co-authored-by: Ayaka Mikazuki <ayaka@mail.shn.hk>
2023-05-31 23:49:38 +08:00
Ayaka Mikazuki ad77b61f6d style: prefer Roboto font 2023-05-31 23:33:14 +08:00
Ayaka Mikazuki 087ef24d8c style: increase gap 2023-05-31 22:57:36 +08:00
Othman El houfi 52fa56c1da
Azure OpenAI API Fix (#297)
* Azure OpenAI API Fix

* improve code

* improve code

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-05-18 00:04:06 +08:00
Jack Schedel 82f8761397
Fixed 2 Electron Crashes (#288)
Fixes #277

* fixed crash on attempting to open new instance, required refactoring BrowserWindow to global

Uncaught Exception:
ReferenceError: win is not defined
    at click (C:\Users\jacks\AppData\Local\Programs\better-chatgpt\resources\app.asar\electron\index.cjs:53:9)
    at MenuItem.click (node:electron/js2c/browser_init:2:30166)
    at a._executeCommand (node:electron/js2c/browser_init:2:35562)

* fixed crash on attempting to open new instance, required refactoring BrowserWindow to global

Uncaught Exception:
ReferenceError: win is not defined
    at click (C:\Users\jacks\AppData\Local\Programs\better-chatgpt\resources\app.asar\electron\index.cjs:53:9)
    at MenuItem.click (node:electron/js2c/browser_init:2:30166)
    at a._executeCommand (node:electron/js2c/browser_init:2:35562)

* fixed Electron process not closing on crash

previously left the process still existing on crash (only viewable in task manager). error behavior is the same as it was before, just now must be explicitly defined.
2023-05-10 23:54:22 +08:00
Jack Schedel 58cafd20a5
move clear conversation to settings + focus prompt searchbar + hid electron menubar (#285)
* hid electron menubar

* command prompt search bar automatically focused on button press

* moved clear conversation into settings, revamped to match style
2023-05-09 21:15:26 +08:00
George Adams f752a4420e
refactor: getToday (#281) 2023-05-08 19:10:05 +08:00
George Adams 6a56dd0231
refactor: remove unused code (jspdf, downloadPDF) and add code comments (#274) 2023-05-07 23:51:36 +08:00
Limour 4cfbdac7d6
Set a system role as a persistent role. (#134)
* set a system role as a persistent role

Fixes https://github.com/ztjhz/BetterChatGPT/issues/130

* handle system message exceed token limit + improve logic

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-05-06 11:15:12 +08:00
Jing Hua f0a0156c22
delete unused files
delete customApi.ts
2023-05-05 21:31:54 +08:00
Landry Simo 13b272bfd9
chore: remove unused file (#272)
* Delete freeApi.ts

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-05-04 23:13:19 +08:00
Jing Hua d2d14876c1 change max_tokens from null to undefined
issue #248
2023-05-03 13:53:05 +08:00
mochi33i c0d402d469
fix: Specified mac version icons in package.json because mac version icons were not set (#268) 2023-05-02 11:40:21 +08:00
Jing Hua 3fff7968a3 feat: clear prompt library
Fixes #266
2023-05-01 21:51:27 +08:00
Jing Hua bd0f91f1a2 update token cost to prompt + completion 2023-04-30 21:29:47 +08:00
Jing Hua b7b3c0ec75 api selector hide on outside click 2023-04-29 23:09:29 +08:00
Jing Hua b419255beb fix style: api endpoint selector 2023-04-28 17:28:27 +08:00
Jing Hua 6c214f107d i18n: placeholder 2023-04-27 22:48:18 +08:00
Jing Hua 86f7313923 fix: chatgpt import 2023-04-26 15:25:36 +08:00
Jing Hua 5fdaa1dbda feat: count lifetime token usage
fixes #163
2023-04-24 13:44:03 +08:00
Jing Hua 00b2b497f0 fix: electron minimise 2023-04-23 15:56:58 +08:00
Jing Hua d58ec90b5b update readme 2023-04-22 20:22:57 +08:00
Jing Hua 832d56381b style: padding 2023-04-22 19:49:25 +08:00
Jing Hua 14795f5dd0 feat: toggle markdown or plaintext view
fixes #242
2023-04-21 17:54:08 +08:00
Jing Hua 4f23af860e refactor: message views 2023-04-21 17:42:27 +08:00
Jing Hua ece4778f88 feat: import openai chatgpt export 2023-04-21 17:20:38 +08:00
Tindo Arsel b3f421cde9
refactor: Add hideOnClickOutside feature to reuse code (#240)
* remove console log

* refactor: Add hideOnClickOutside feature to reuse code

This change abstracts the code repetition in three different files and promote the DRY principle by adding the hideOnClickOutside feature to the handleClickOutside function. The feature is designed to hide an element when clicking outside of its area.

* refactor: hooks

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-04-20 22:35:51 +08:00
Tindo N. Arsel 226944b62a
Refactor: menu NewFolder styling classnames (#224)
Changed the hidden class to mb-2,
so that the plus icon on new folder button will appear in mobile view.
2023-04-19 22:30:08 +08:00