-
Notifications
You must be signed in to change notification settings - Fork 819
UI fixes & improvments #76
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
Open
mhd-fettah
wants to merge
69
commits into
ChatGPTBox-dev:master
Choose a base branch
from
mhd-fettah:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
c53e232
Update README.md
josStorer 832a040
feat: make the chat body resizable (#1)
josStorer 617330d
release v2.0.1
github-actions[bot] 7d8706b
fix: repeat rendering (#3)
josStorer 705b960
chore: add resultsContainerQuery for siteAdapters
josStorer c6caf56
feat: dynamic max-height and width (#1)
josStorer 48c2618
feat: stop generating answers
josStorer 1ce1851
feat: auto scroll to bottom when submitting a question or finishing a…
josStorer b7c390f
release v2.0.2
github-actions[bot] ec7eabc
Update README.md
josStorer 6c3fd11
Update README.md
josStorer 68f8f00
feat: improve mobile support
josStorer b7af995
feat: code explain for selection tools
josStorer fd7388d
update readme
josStorer 9517772
feat: lockWhenAnswer config (#5)
josStorer a26c78e
release v2.0.3
github-actions[bot] 858469a
Update issue templates
josStorer 87c81ed
Update README.md
josStorer 025e915
chore: improve mobile selection
josStorer d8e02d1
chore: improve for reddit
josStorer 97a853f
chore: improve for youtube
josStorer a1e36fe
chore: improve for youtube
josStorer 9f8403c
chore: inline svg to save traffic
josStorer 79a1628
release v2.0.4
github-actions[bot] 0a0299c
style: fix markdown ol item style (#12)
josStorer 45f48ee
Update README.md
josStorer eb9eadd
docu: readme in zh
josStorer fa13ace
docu: readme in zh
josStorer 8777140
docu: readme in zh
josStorer 699d36a
feat: support RTL text (#6)
josStorer cadc83a
fix: avoid conflicts of same classname on some websites
josStorer 7181541
chore
josStorer fa572eb
build: yarn build support
josStorer a10c53e
chore: upgrade packages
josStorer deceb06
chore: improve compatibility for upgraded packages
josStorer 5a3c4dd
chore: improve for github (#7)
josStorer d163103
chore: mount retry (#9)
josStorer 66c4c8e
release v2.0.5
github-actions[bot] 8d7f239
update readme
josStorer 3d5c8cd
feat: support gpt-4 (#22)
josStorer 6e167aa
update readme
josStorer 9d8ebef
chore: version compatibility
josStorer bffff55
chore: setIsReady when port disconnect
josStorer 94aa37c
feat: support for stackoverflow
josStorer ce05b30
feat: direct translation and bidi translation
josStorer 556268a
release v2.0.6
github-actions[bot] a70f8a7
update readme
josStorer b193b31
chore: improve compatibility for firefox
josStorer ea26a8c
chore: reduce bundle size
josStorer bde7854
fix: custom input for any element and mount query
josStorer 94ce308
build: release minimal bundle
josStorer 18b7db2
fix: words get cut off (#30, #35)
josStorer d1c0330
chore: improve compatibility for firefox (#38)
josStorer 3f51b5a
feat: overview for zhihu answers (#18)
josStorer a5daacf
remove additional statement of zh
josStorer b5026cd
feat: make floating window of selectionTools dockable
josStorer f81cfbd
release v2.0.7
github-actions[bot] 9befe11
fix: don't break words (fix #30) (#45)
victor141516 d095ba0
feat: make the floating selectionTools follow the scrolling, while th…
josStorer 1a45c76
release v2.0.8
github-actions[bot] 519550f
feat: offline/self-hosted large language model support (#11)
josStorer 15e185d
release v2.1.0
github-actions[bot] 9cddbc4
change the font for more moder and easy to read font .
mhd-fettah 4f8aa29
update readme
josStorer cc3bfaf
make the icons clearer to see with no cutout
mhd-fettah 2951f37
the logo clear and centered
mhd-fettah 095d2c1
move dulicate style from html and move it to CSS
mhd-fettah 202f1ba
fix alignment of block header
mhd-fettah 40ee80f
minimize UI & improve Ux
mhd-fettah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug report / 问题报告 | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
**问题描述** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
**如何复现** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
**期望行为** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
**截图说明** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Please complete the following information):** | ||
**请补全以下内容** | ||
- OS: [e.g. Windows] | ||
- Browser: [e.g. chrome, safari] | ||
- Extension Version: [e.g. v2.0.2] | ||
|
||
**Additional context** | ||
**其他** | ||
Add any other context about the problem here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request / 新功能请求 | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
**新功能是否与解决某个问题相关, 请描述** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
**你期望的新功能实现方案** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Additional context** | ||
**其他** | ||
Add any other context or screenshots about the feature request here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<p align="center"> | ||
<img src="./src/logo.png"> | ||
</p> | ||
|
||
<h1 align="center">ChatGPT Box</h1> | ||
|
||
<div align="center"> | ||
|
||
将ChatGPT深度集成到浏览器中, 你所需要的一切均在于此 | ||
|
||
[![license][license-image]][license-url] | ||
[![release][release-image]][release-url] | ||
[![verfiy][verify-image]][verify-url] | ||
|
||
[English](README.md) | 简体中文 | ||
|
||
### 安装链接 | ||
|
||
[![Chrome][Chrome-image]][Chrome-url] | ||
[![Edge][Edge-image]][Edge-url] | ||
[![Firefox][Firefox-image]][Firefox-url] | ||
[![Safari][Safari-image]][Safari-url] | ||
[![Android][Android-image]][Android-url] | ||
[![Github][Github-image]][Github-url] | ||
|
||
(目前正在等待商店审核, [Chrome][Chrome-url]及[Firefox][Firefox-url]版本已过审) | ||
|
||
[使用指南](https://github.com/josStorer/chatGPTBox/wiki/Guide) | | ||
[效果预览](#Preview) | | ||
[开发&贡献][dev-url] | | ||
[捐助](https://www.buymeacoffee.com/josStorer) | | ||
[鸣谢](#Credit) | ||
|
||
[视频演示](https://www.bilibili.com/video/BV1524y1x7io) | ||
|
||
[dev-url]: https://github.com/josStorer/chatGPTBox/wiki/Development&Contributing | ||
|
||
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg | ||
|
||
[license-url]: https://github.com/josStorer/chatGPTBox/blob/master/LICENSE | ||
|
||
[release-image]: https://img.shields.io/github/release/josStorer/chatGPTBox.svg | ||
|
||
[release-url]: https://github.com/josStorer/chatGPTBox/releases/latest | ||
|
||
[verify-image]: https://github.com/josStorer/chatGPTBox/workflows/verify-configs/badge.svg | ||
|
||
[verify-url]: https://github.com/josStorer/chatGPTBox/actions/workflows/verify-configs.yml | ||
|
||
[Chrome-image]: https://img.shields.io/badge/-Chrome-brightgreen?logo=google-chrome&logoColor=white | ||
|
||
[Chrome-url]: https://chrome.google.com/webstore/detail/chatgptbox/eobbhoofkanlmddnplfhnmkfbnlhpbbo | ||
|
||
[Edge-image]: https://img.shields.io/badge/-Edge-blue?logo=microsoft-edge&logoColor=white | ||
|
||
[Edge-url]: https://github.com/josStorer/chatGPTBox/wiki/Install | ||
|
||
[Firefox-image]: https://img.shields.io/badge/-Firefox-orange?logo=firefox-browser&logoColor=white | ||
|
||
[Firefox-url]: https://addons.mozilla.org/firefox/addon/chatgptbox/ | ||
|
||
[Safari-image]: https://img.shields.io/badge/-Safari-blue?logo=safari&logoColor=white | ||
|
||
[Safari-url]: https://github.com/josStorer/chatGPTBox/wiki/Install | ||
|
||
[Android-image]: https://img.shields.io/badge/-Android-brightgreen?logo=android&logoColor=white | ||
|
||
[Android-url]: https://github.com/josStorer/chatGPTBox/wiki/Install#install-to-android | ||
|
||
[Github-image]: https://img.shields.io/badge/-Github-black?logo=github&logoColor=white | ||
|
||
[Github-url]: https://github.com/josStorer/chatGPTBox/releases/latest | ||
|
||
</div> | ||
|
||
## 离线/自托管模型现已支持 | ||
|
||
仓库地址 https://github.com/josStorer/selfhostedAI | ||
|
||
## ✨ Features | ||
|
||
- 🌈 在任何页面随时呼出聊天对话框 | ||
- 🔗 多种API支持 (免费用户和Plus用户可用Web API, 此外还有GPT-3.5, GPT-4等) | ||
- 📦 对各种常用网站的集成适配 (reddit, quora, youtube, github, gitlab, stackoverflow, zhihu, bilibili) (受到[wimdenherder](https://github.com/wimdenherder)启发) | ||
- 🔍 对所有主流搜索引擎的适配, 并支持自定义查询以支持额外的站点 | ||
- 🧰 框选工具与右键菜单, 执行各种你的需求, 如翻译, 总结, 润色, 情感分析, 段落划分, 代码解释, 问询 | ||
- 🗂️ 静态卡片支持浮出聊天框, 进行多分支对话 | ||
- 🖨️ 随意保存你的完整对话记录, 或进行局部复制 | ||
- 🎨 强大的渲染支持, 不论是代码高亮, 还是复杂数学公式 | ||
- 🌍 多语言偏好支持 | ||
- 📝 [自定义API地址](https://github.com/Ice-Hazymoon/openai-scf-proxy)支持 | ||
- ⚙️ 所有站点适配与工具均可自由开关, 随时停用你不需要的模块 | ||
- 💡 工具与站点适配开发易于扩展, 对于开发人员易于自定义, 请查看[开发&贡献][dev-url]部分 | ||
- 😉 此外, 如果回答有任何不足, 直接聊天解决! | ||
|
||
## Preview | ||
|
||
<div align="center"> | ||
|
||
**搜索引擎适配, 浮动窗口, 对话分支** | ||
|
||
 | ||
|
||
**常用站点集成, 选择浮动工具** | ||
|
||
 | ||
|
||
**Git分析, 右键菜单** | ||
|
||
 | ||
|
||
**视频总结** | ||
|
||
 | ||
|
||
**移动端效果** | ||
|
||
 | ||
|
||
**设置界面** | ||
|
||
 | ||
|
||
</div> | ||
|
||
## Credit | ||
|
||
该项目基于我的另一个项目 [josStorer/chatGPT-search-engine-extension](https://github.com/josStorer/chatGPT-search-engine-extension) | ||
|
||
[josStorer/chatGPT-search-engine-extension](https://github.com/josStorer/chatGPT-search-engine-extension) | ||
fork自 [wong2/chat-gpt-google-extension](https://github.com/wong2/chat-gpt-google-extension)(我从中学到很多) | ||
并在2022年12月14日与上游分离 | ||
|
||
[wong2/chat-gpt-google-extension](https://github.com/wong2/chat-gpt-google-extension) 的想法源于 | ||
[ZohaibAhmed/ChatGPT-Google](https://github.com/ZohaibAhmed/ChatGPT-Google) ([upstream-c54528b](https://github.com/wong2/chatgpt-google-extension/commit/c54528b0e13058ab78bfb433c92603db017d1b6b)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Relying on fixed timeouts to sequence multiple webpack runs can lead to nondeterministic build behavior; consider chaining the runs using webpack's compiler hooks or Promises rather than
setTimeout
.Copilot uses AI. Check for mistakes.