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

Dev #5901

Closed
wants to merge 8 commits into from
Closed

Dev #5901

Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<img src="./docs/images/icon.svg" alt="icon"/>

<h1 align="center">ChatGPT Next Web</h1>
<h1 align="center">ChatGPT</h1>

English / [简体中文](./README_CN.md)

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div align="center">
<img src="./docs/images/icon.svg" alt="预览"/>

<h1 align="center">ChatGPT Next Web</h1>
<h1 align="center">ChatGPT</h1>

一键免费部署你的私人 ChatGPT 网页应用
ChatGPT 。
Comment on lines +4 to +6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Documentation changes may be too minimal.

While simplifying the branding is consistent with the overall changes, the new introduction "ChatGPT 。" is extremely minimal and might not provide sufficient context for new users.

Consider a balanced approach:

-ChatGPT 。
+ChatGPT - 简单易用的 AI 对话网页应用。
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<h1 align="center">ChatGPT</h1>
一键免费部署你的私人 ChatGPT 网页应用。
ChatGPT 。
<h1 align="center">ChatGPT</h1>
ChatGPT - 简单易用的 AI 对话网页应用。


[演示 Demo](https://chat-gpt-next-web.vercel.app/) / [反馈 Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [加入 Discord](https://discord.gg/zrhvHCr79N) / [QQ 群](https://user-images.githubusercontent.com/16968934/228190818-7dd00845-e9b9-4363-97e5-44c507ac76da.jpeg) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg) / [Donate](#捐赠-donate-usdt)

Expand Down
11 changes: 9 additions & 2 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,13 @@ export function Chat() {
{Locale.Chat.SubTitle(session.messages.length)}
</div>
</div>
<div className={styles["window-header-title"]}>
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGUAAABdCAYAAAC8VagPAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQeU1NXZ/7+zO1tZliYdVBAsqIAdu4K9xNiTGNOb6b2exPQYk2hiTDMxXY2amGiM+qrYRUVFDCoIgqFKlw7L7s78z+eH3/0/e5lBwV1e8x7uOXtmZ+Z329PbvZPTjvaGg0DuDbeiHQvSZkgpFovFHXDZvhDI5XLt8LADKdsX/iVn24GUNwAS0iXsQMoOpLwBIfAGXNI2c8r/hv5P9F8bOONa4jOl1lhujHK4KTe2n389cCi3lm1CCgvh72tf+5oYeGsXRp9vfOMb2b5+9atfacGCBZuN0a1bN33mM5/JnvE83/rWtzaDHXNPmjRJf//737XTTjvpk5/8ZDtk0Teu7+yzz9Z+++23Rf7w/n74wx9q1apVbXscM2aMTj311M3G31Zm+/a3v92xir5QKCifz2cL5v+tafRpaWnJuhx66KF6/PHHs/8NPL4fPHiwXnzxxeyzqqqqbJ7W1taSSPnDH/6gd7/73dpjjz00bdq0dkCrqKho1+f3v/+93vnOd25xucxDvyFDhmjOnDltz37iE5/QZZddlu2X9fAHDIzErYFB3G+HKXoWUllZmY134oknZpvYEseYVW+77bZ2AIb6Jk6c2EaN/fv3zyi5d+/e+t3vfpeN73ki8pnLY9599926/PLL1b17d7397W/P+px00knZ62mnnZa93n///Vq7dq2MFID9zDPPZN+l3H7yySdnn4PoxY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OMRRFBs4lSS5vPDIDdGjx3nkOzZGBWP8obQYwU6R4p9/onCCXyqK4/t/r+fV7vuK8wAP1uwkV+QUkEJWttMrJFOk+HIDvNa0oeh92WWaG0lFkJHiTUYd4L44j1HRW6cgnhwVKKVTcB4Js+BsuprFz0XTtpT4IvnmW4zi3r0+v4IU4mxwCnE9O4/pQVTrys2AtSmLunWxr3I6BaRgDpc6g84myXHTfBjIVOb5oSaqCvF5qPlic6V+6o8xuDMSHYEjar/D9xJ7HgOO55iDqkfqvaiSYQ6qMsnPu7FGn+othxRMavpgduO4urEXCI9G4JEQEeYvISQKOwi2Ah8Haf1bkDzX6UhJHalSE5ZzHtMwi387OJqNRqTvkEyvVTe1GtG8OkdCKZJ/vDOao3HNTg2kSHHdl7l3S9eAlLqEDd/ILTJBOeuzQziFg/9bMm9NtTxDkK9UmMVJLj8LVabXkBMuZwwqZuBKQh4c5/MdkqQSXHLk2x78G8L4CYTrCfEj2znGx8ULVM44Os1nIAlnj+ZiPPwigM2YcDO1YOmNE678JBQE1xD4RGS7qhKDgrqFKI49T0q8HYKUkjyYfGhv3tZS6tFHpNA1zSbyWazhYjyHWRy6988/+dlSfgM6BQ8+/aE0W0fmBiPFuRzeu+7LibdUlLM3EAFSzIHeL4TU6XfdsyBqcLe1cSgzAg2q8e9clRvTv0dvaqNaBopEnBGip5aLED2N8c11kTpRwBgKiCBqfQEi1ZSlGrrAvxHM96QHylG3+8MN3FucOqnoM1LRsXk/Hcop24qQHf22DIHXJb52ALdzILADKZ0D19c16g6kvC7wdU7nFCn/Dz1VTxG501SwAAAAAElFTkSuQmCC"
title="扫码关注领取免费授权码"
alt="关注微信 18827633252"
/>
</div>
<div className={styles["window-actions"]}>
<div className={styles["window-action-button"] + " " + styles.mobile}>
<IconButton
Expand All @@ -676,7 +683,7 @@ export function Chat() {
onClick={renameSession}
/>
</div>
<div className={styles["window-action-button"]}>
{/* <div className={styles["window-action-button"]}>
<IconButton
icon={<ExportIcon />}
bordered
Expand All @@ -688,7 +695,7 @@ export function Chat() {
);
}}
/>
</div>
</div> */}
{!isMobileScreen && (
<div className={styles["window-action-button"]}>
<IconButton
Expand Down
44 changes: 2 additions & 42 deletions app/components/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,32 +325,6 @@ export function Settings() {
</div>
</Popover>
</SettingItem>

<SettingItem
title={Locale.Settings.Update.Version(currentVersion ?? "unknown")}
subTitle={
checkingUpdate
? Locale.Settings.Update.IsChecking
: hasNewVersion
? Locale.Settings.Update.FoundUpdate(remoteId ?? "ERROR")
: Locale.Settings.Update.IsLatest
}
>
{checkingUpdate ? (
<div />
) : hasNewVersion ? (
<Link href={UPDATE_URL} target="_blank" className="link">
{Locale.Settings.Update.GoToUpdate}
</Link>
) : (
<IconButton
icon={<ResetIcon></ResetIcon>}
text={Locale.Settings.Update.CheckUpdate}
onClick={() => checkUpdate(true)}
/>
)}
</SettingItem>

<SettingItem title={Locale.Settings.SendKey}>
<select
value={config.submitKey}
Expand Down Expand Up @@ -468,21 +442,7 @@ export function Settings() {
<></>
)}

<SettingItem
title={Locale.Settings.Token.Title}
subTitle={Locale.Settings.Token.SubTitle}
>
<PasswordInput
value={accessStore.token}
type="text"
placeholder={Locale.Settings.Token.Placeholder}
onChange={(e) => {
accessStore.updateToken(e.currentTarget.value);
}}
/>
</SettingItem>

<SettingItem
{/* <SettingItem
title={Locale.Settings.Usage.Title}
subTitle={
showUsage
Expand All @@ -504,7 +464,7 @@ export function Settings() {
onClick={checkUsage}
/>
)}
</SettingItem>
</SettingItem> */}

<SettingItem
title={Locale.Settings.HistoryCount.Title}
Expand Down
7 changes: 1 addition & 6 deletions app/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function SideBar(props: { className?: string }) {
}`}
>
<div className={styles["sidebar-header"]}>
<div className={styles["sidebar-title"]}>ChatGPT Next</div>
<div className={styles["sidebar-title"]}>ChatGPT</div>
<div className={styles["sidebar-sub-title"]}>
Build your own AI assistant.
</div>
Expand Down Expand Up @@ -123,11 +123,6 @@ export function SideBar(props: { className?: string }) {
<IconButton icon={<SettingsIcon />} shadow />
</Link>
</div>
<div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank">
<IconButton icon={<GithubIcon />} shadow />
</a>
</div>
</div>
<div>
<IconButton
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { getBuildConfig } from "./config/build";
const buildConfig = getBuildConfig();

export const metadata = {
title: "ChatGPT Next Web",
title: "ChatGPT",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Update package.json to maintain consistent branding

Found inconsistency in package.json where the package name is still "chatgpt-next-web". While this doesn't affect the user-facing branding, it should be updated to maintain consistency with the simplified branding approach.

  • package.json: Update name field to align with the new branding
🔗 Analysis chain

Verify consistent branding across the application

The title simplification from "ChatGPT Next Web" to "ChatGPT" is implemented correctly. However, we should ensure this branding change is consistently applied across all application assets.

Also applies to: 13-13


Let me search for any other potential branding references using a different approach.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for any remaining instances of old branding
# Search for any remaining instances of "ChatGPT Next Web"
rg -i "ChatGPT Next Web" --type-not=git

# Check manifest files for branding
find . -type f -name "manifest*.json" -o -name "*.webmanifest" | xargs cat

Length of output: 581


Script:

#!/bin/bash
# Search for "ChatGPT" to see all branding references
rg "ChatGPT" --type=html --type=tsx --type=ts --type=json -l

# Check package.json for any branding references
cat package.json | jq '.name, .description'

# Check for title tags in HTML/TSX files
ast-grep --pattern 'title="$_"'

Length of output: 192

description: "Your personal ChatGPT Chat Bot.",
appleWebApp: {
title: "ChatGPT Next Web",
title: "ChatGPT",
statusBarStyle: "default",
},
themeColor: "#fafafa",
Expand Down
3 changes: 2 additions & 1 deletion app/locales/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { SubmitKey } from "../store/config";
const cn = {
WIP: "该功能仍在开发中……",
Error: {
Unauthorized: "现在是未授权状态,请点击左下角设置按钮输入访问密码。",
Unauthorized:
"现在是未授权状态,扫码关注获取免费授权码,请点击左下角设置按钮输入访问密码。",
Comment on lines +6 to +7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

QR code scanning feature is not implemented and should be removed from the message

Based on the codebase analysis:

  1. There is no QR code implementation or related components in the codebase
  2. The access control system is based on a simple access code input mechanism in the settings page
  3. The Chinese localization message is inconsistent with both the implementation and the English version

The unauthorized message should be updated to match the actual implementation, which only requires entering an access code in the settings page, similar to the English version: "Unauthorized access, please enter access code in settings page."

🔗 Analysis chain

Verify QR code feature implementation and security

The error message now includes instructions to scan a QR code for obtaining a free authorization code. This change raises several concerns:

  1. The message references a QR code feature - ensure this feature is properly implemented and tested
  2. Consider security implications of the authorization code distribution mechanism
  3. Verify the user flow from scanning to entering the code is clear and documented
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for QR code and authorization related implementations
# Search for QR code related components
rg -l "QRCode|qr-code|qrcode" --type=tsx --type=ts

# Search for authorization code handling
rg -l "authorization.*code|auth.*code" --type=tsx --type=ts

Length of output: 170


Script:

#!/bin/bash
# Search for QR code related components without file type restrictions
rg -l "QRCode|qr-code|qrcode"

# Search for authorization code handling
rg -l "authorization.*code|auth.*code"

# Search for any files containing "scan" related to authorization
rg -l "scan.*code|scan.*auth"

# Look for password or access code related functionality
rg -l "access.*password|access.*code"

Length of output: 270


Script:

#!/bin/bash
# Check content of relevant files to understand the access code implementation
cat app/store/access.ts

# Check the access code related strings in localization
cat app/locales/en.ts

# Check documentation about access code functionality
cat docs/faq-cn.md

Length of output: 12360

},
ChatItem: {
ChatItemCount: (count: number) => `${count} 条对话`,
Expand Down
2 changes: 1 addition & 1 deletion public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ChatGPT Next Web",
"name": "ChatGPT",
"short_name": "ChatGPT",
"icons": [
{
Expand Down
Loading