Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wip/fengsh/develop/chat gse next/merge main to develop (#7)
* Update chat.tsx * Update chat.tsx * [ADDED] MacOS detect * [FIXED] now the default key should be CMD on MacOS * [FIXED] now it should detects all macintosh * UI Page [Auth Page] [+] feat(auth.tsx): add support for resetting access token in resetAccessCode function [+] fix(auth.tsx): fix formatting issue in resetAccessCode function [+] feat(locales): add support for sub tips in Auth component for multiple languages : - Add sub tips in Arabic locale (ar.ts) - Add sub tips in Bengali locale (bn.ts) - Add sub tips in Chinese locale (cn.ts) - Add sub tips in English locale (en.ts) - Add sub tips in Indonesian locale (id.ts) * Feat & Fix UI Page [Auth Page] [+] feat(auth.tsx): add goChat function to navigate to chat page [+] fix(auth.tsx): change onClick event from goHome to goChat * Refactor Locale Indonesia [+] refactor(id.ts): remove unused import and isApp variable [+] fix(id.ts): update Unauthorized error message * Fix & Refactor UI Page [Auth Page] [+] fix(auth.tsx): fix conditional rendering of token input field [+] refactor(auth.tsx): improve code readability by using conditional rendering for token input field * Client App [Notification] [+] feat(global.d.ts): add support for window.__TAURI__.notification methods [+] feat(update.ts): add notification for new version availability [+] fix(Cargo.toml): add tauri feature "notification-all" to enable notifications [+] fix(tauri.conf.json): enable all notification features in tauri configuration * Client App Fix Issue [Bug] 'export' button does not work ChatGPTNextWeb#2884 [+] fix(exporter.tsx): add async keyword to download function [+] feat(exporter.tsx): add support for saving image file using window.__TAURI__ API [+] feat(global.d.ts): add types for window.__TAURI__ API methods [+] feat(locales): add translations for download success and failure messages [+] feat(sync.ts): add support for generating backup file name with date and time [+] fix(utils.ts): add async keyword to downloadAs function and add support for saving file using window.__TAURI__ API * Fix & Feat Client App [Notification] [+] fix(update.ts): remove unnecessary notification sending when permission is not granted [+] feat(update.ts): add notification for already up to date version * Feat & Fix "Client App [Notification]" [+] feat(update.ts): add support for localization in update notifications [+] fix(update.ts): add missing semicolon in useUpdateStore function * Change log - config.ts - line 72 remove type confirmation of x as x always has type 'number' - line 135 remove redundant local variable - chat.ts - delete unused import * Change log - config.ts - line 72: remove type confirmation of x as x always has type 'number' - line 135: remove the redundant local variable - chat.ts - delete the unused import * Improve tw locale * Update tauri.conf.json * 修改界面 似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。 * Update tauri.conf.json * fix: ChatGPTNextWeb#2981 full screen button not works * Fix type in sync.ts Simple typo fix. * Refactor Mask UI Page [Masks] [+] refactor(mask.tsx): refactor simple search to be case-insensitive * 提供同步聊天记录教程,同时翻译多国语言 * Update constant.ts * 已拆分单个文件、翻译多国语言版本 * docs: fix typo in app/masks/en.ts * fix serviceWorker cache * Fix typo in README.md passsword -> password * Update README.md * feat: close ChatGPTNextWeb#3031 user can set larger font size * merge upstream/main to main (#6) * Update chat.tsx * Update chat.tsx * [ADDED] MacOS detect * [FIXED] now the default key should be CMD on MacOS * [FIXED] now it should detects all macintosh * UI Page [Auth Page] [+] feat(auth.tsx): add support for resetting access token in resetAccessCode function [+] fix(auth.tsx): fix formatting issue in resetAccessCode function [+] feat(locales): add support for sub tips in Auth component for multiple languages : - Add sub tips in Arabic locale (ar.ts) - Add sub tips in Bengali locale (bn.ts) - Add sub tips in Chinese locale (cn.ts) - Add sub tips in English locale (en.ts) - Add sub tips in Indonesian locale (id.ts) * Feat & Fix UI Page [Auth Page] [+] feat(auth.tsx): add goChat function to navigate to chat page [+] fix(auth.tsx): change onClick event from goHome to goChat * Refactor Locale Indonesia [+] refactor(id.ts): remove unused import and isApp variable [+] fix(id.ts): update Unauthorized error message * Fix & Refactor UI Page [Auth Page] [+] fix(auth.tsx): fix conditional rendering of token input field [+] refactor(auth.tsx): improve code readability by using conditional rendering for token input field * Client App [Notification] [+] feat(global.d.ts): add support for window.__TAURI__.notification methods [+] feat(update.ts): add notification for new version availability [+] fix(Cargo.toml): add tauri feature "notification-all" to enable notifications [+] fix(tauri.conf.json): enable all notification features in tauri configuration * Client App Fix Issue [Bug] 'export' button does not work ChatGPTNextWeb#2884 [+] fix(exporter.tsx): add async keyword to download function [+] feat(exporter.tsx): add support for saving image file using window.__TAURI__ API [+] feat(global.d.ts): add types for window.__TAURI__ API methods [+] feat(locales): add translations for download success and failure messages [+] feat(sync.ts): add support for generating backup file name with date and time [+] fix(utils.ts): add async keyword to downloadAs function and add support for saving file using window.__TAURI__ API * Fix & Feat Client App [Notification] [+] fix(update.ts): remove unnecessary notification sending when permission is not granted [+] feat(update.ts): add notification for already up to date version * Feat & Fix "Client App [Notification]" [+] feat(update.ts): add support for localization in update notifications [+] fix(update.ts): add missing semicolon in useUpdateStore function * Change log - config.ts - line 72 remove type confirmation of x as x always has type 'number' - line 135 remove redundant local variable - chat.ts - delete unused import * Change log - config.ts - line 72: remove type confirmation of x as x always has type 'number' - line 135: remove the redundant local variable - chat.ts - delete the unused import * Improve tw locale * Update tauri.conf.json * 修改界面 似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。 * Update tauri.conf.json * fix: ChatGPTNextWeb#2981 full screen button not works * Fix type in sync.ts Simple typo fix. * Refactor Mask UI Page [Masks] [+] refactor(mask.tsx): refactor simple search to be case-insensitive * 提供同步聊天记录教程,同时翻译多国语言 * Update constant.ts * 已拆分单个文件、翻译多国语言版本 * docs: fix typo in app/masks/en.ts * fix serviceWorker cache * Fix typo in README.md passsword -> password * Update README.md * feat: close ChatGPTNextWeb#3031 user can set larger font size * Update synchronise-chat-logs-cn.md * Update README_CN.md * Update README_KO.md * Update README_KO.md * Revert "fix serviceWorker cache: auto caching files by workbox" --------- Co-authored-by: Algorithm5838 <[email protected]> Co-authored-by: Yifei Zhang <[email protected]> Co-authored-by: Eric R <[email protected]> Co-authored-by: H0llyW00dzZ <[email protected]> Co-authored-by: KeithHello <[email protected]> Co-authored-by: Peter Dave Hello <[email protected]> Co-authored-by: GH Action - Upstream Sync <[email protected]> Co-authored-by: Kong Gaowen <[email protected]> Co-authored-by: Jason O'Gray <[email protected]> Co-authored-by: H0llyW00dzZ <[email protected]> Co-authored-by: mcheping520 <[email protected]> Co-authored-by: Surav Shrestha <[email protected]> Co-authored-by: Jesse <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> --------- Co-authored-by: Algorithm5838 <[email protected]> Co-authored-by: Yifei Zhang <[email protected]> Co-authored-by: Eric R <[email protected]> Co-authored-by: H0llyW00dzZ <[email protected]> Co-authored-by: KeithHello <[email protected]> Co-authored-by: Peter Dave Hello <[email protected]> Co-authored-by: GH Action - Upstream Sync <[email protected]> Co-authored-by: Kong Gaowen <[email protected]> Co-authored-by: Jason O'Gray <[email protected]> Co-authored-by: H0llyW00dzZ <[email protected]> Co-authored-by: mcheping520 <[email protected]> Co-authored-by: Surav Shrestha <[email protected]> Co-authored-by: Jesse <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> Co-authored-by: fengsh <[email protected]>
- Loading branch information