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

merge upstream/main to main #6

Merged
merged 53 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
6a61fe5
Update chat.tsx
Algorithm5838 Sep 26, 2023
398e229
Update chat.tsx
Algorithm5838 Sep 26, 2023
144200e
Merge pull request #2912 from Algorithm5838/Algorithm5838-patch-1
Yidadaa Sep 27, 2023
3bfcdf9
[ADDED] MacOS detect
lifeeric Sep 28, 2023
f3d5fc7
[FIXED] now the default key should be CMD on MacOS
lifeeric Sep 28, 2023
f1ca03e
[FIXED] now it should detects all macintosh
lifeeric Sep 28, 2023
4a599e9
UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
bc00be9
Feat & Fix UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
31e3090
Refactor Locale Indonesia
H0llyW00dzZ Sep 30, 2023
04b638a
Fix & Refactor UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
64a17ab
Client App [Notification]
H0llyW00dzZ Oct 3, 2023
d2ad01a
Client App Fix Issue [Bug] 'export' button does not work #2884
H0llyW00dzZ Oct 3, 2023
ddfd05b
Fix & Feat Client App [Notification]
H0llyW00dzZ Oct 3, 2023
b558d1a
Feat & Fix "Client App [Notification]"
H0llyW00dzZ Oct 3, 2023
ad5093c
Change log
hongji7 Oct 4, 2023
1505372
Change log
hongji7 Oct 4, 2023
ef3e8e6
Merge pull request #2933 from H0llyW00dzZ/authpage
Yidadaa Oct 7, 2023
88f8c43
Improve tw locale
PeterDaveHello Oct 3, 2023
5a2cc6f
Merge pull request #2927 from lifeeric/MACOS
Yidadaa Oct 7, 2023
e35c807
Update tauri.conf.json
Yidadaa Oct 7, 2023
13c1d2f
Merge pull request #2946 from H0llyW00dzZ/ClientApp
Yidadaa Oct 7, 2023
4c8d606
Merge pull request #2950 from PeterDaveHello/locale-tw
Yidadaa Oct 7, 2023
5933b3d
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 8, 2023
bdb49b1
修改界面
luckykong Oct 9, 2023
3e2c5af
Merge pull request #2975 from luckykong/patch-1
Yidadaa Oct 9, 2023
fd413c7
Merge pull request #2947 from KeithHello/main
Yidadaa Oct 9, 2023
f21f922
Update tauri.conf.json
Yidadaa Oct 9, 2023
f54db69
fix: #2981 full screen button not works
Yidadaa Oct 10, 2023
f78008c
Merge pull request #2983 from Yidadaa/Yidadaa-patch-1
Yidadaa Oct 10, 2023
ea59ab5
Fix type in sync.ts
ograycode Oct 10, 2023
adee435
Merge pull request #2992 from ograycode/patch-1
Yidadaa Oct 10, 2023
74fcaab
Refactor Mask UI Page [Masks]
H0llyW00dzZ Oct 10, 2023
1604ed9
Merge branch 'Yidadaa:main' into masks
Oct 11, 2023
ba67f13
Merge pull request #2993 from H0llyW00dzZ/masks
Yidadaa Oct 11, 2023
ec33281
提供同步聊天记录教程,同时翻译多国语言
MCheping8108 Oct 11, 2023
1e77df3
Update constant.ts
Yidadaa Oct 12, 2023
b5d3348
已拆分单个文件、翻译多国语言版本
MCheping8108 Oct 12, 2023
5296ab1
Merge pull request #2996 from MCheping8108/main
Yidadaa Oct 12, 2023
986d34f
docs: fix typo in app/masks/en.ts
suravshrestha Oct 12, 2023
06e043d
Merge pull request #3003 from suravshrestha/patch1
Yidadaa Oct 12, 2023
0dcbfd7
fix serviceWorker cache
jessemoe Oct 13, 2023
f5a2ce5
Fix typo in README.md
eltociear Oct 14, 2023
55bcf78
Update README.md
Yidadaa Oct 15, 2023
65c4a0c
feat: close #3031 user can set larger font size
Yidadaa Oct 16, 2023
d11d906
Merge pull request #3033 from Yidadaa/Yidadaa-patch-1
Yidadaa Oct 16, 2023
4a56e9c
Merge pull request #3019 from eltociear/patch-2
Yidadaa Oct 16, 2023
cc565cf
Merge pull request #3013 from jessegpt/main
Yidadaa Oct 16, 2023
f92fefb
Update synchronise-chat-logs-cn.md
Yidadaa Oct 23, 2023
ccac85b
Update README_CN.md
Yidadaa Oct 23, 2023
e8a4ad1
Update README_KO.md
Yidadaa Oct 23, 2023
d1c3d90
Update README_KO.md
Yidadaa Oct 23, 2023
70e67a6
Revert "fix serviceWorker cache: auto caching files by workbox"
Yidadaa Oct 25, 2023
b90dfb4
Merge pull request #3095 from Yidadaa/revert-3013-main
Yidadaa Oct 26, 2023
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
Refactor Mask UI Page [Masks]
[+] refactor(mask.tsx): refactor simple search to be case-insensitive
  • Loading branch information
H0llyW00dzZ committed Oct 10, 2023
commit 74fcaab5e9aa9538bff31e01f669dd9811a64c26
6 changes: 4 additions & 2 deletions app/components/mask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,13 @@ export function MaskPage() {
const [searchText, setSearchText] = useState("");
const masks = searchText.length > 0 ? searchMasks : allMasks;

// simple search, will refactor later
// refactored already, now it accurate
const onSearch = (text: string) => {
setSearchText(text);
if (text.length > 0) {
const result = allMasks.filter((m) => m.name.includes(text));
const result = allMasks.filter((m) =>
m.name.toLowerCase().includes(text.toLowerCase())
);
setSearchMasks(result);
} else {
setSearchMasks(allMasks);
Expand Down