Skip to content

Commit bd83742

Browse files
committed
Initial commit
0 parents  commit bd83742

16 files changed

+460
-0
lines changed

Diff for: .gitignore

+132
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# Docusaurus cache and generated files
108+
.docusaurus
109+
110+
# Serverless directories
111+
.serverless/
112+
113+
# FuseBox cache
114+
.fusebox/
115+
116+
# DynamoDB Local files
117+
.dynamodb/
118+
119+
# TernJS port file
120+
.tern-port
121+
122+
# Stores VSCode versions used for testing VSCode extensions
123+
.vscode-test
124+
125+
# yarn v2
126+
.yarn/cache
127+
.yarn/unplugged
128+
.yarn/build-state.yml
129+
.yarn/install-state.gz
130+
.pnp.*
131+
132+
*.zip

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
- 0.1.0 (2024/08/01)
4+
5+
- Initial release

Diff for: NOTES.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 發行套件時的注意事項
2+
3+
1. 首頁網址: https://github.com/doggy8088/CozeShortcuts

Diff for: PUBLISH.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Pubilsh Notes
2+
3+
1. Simply zip whole folder as a zip file such as `cozeshortcuts_v0.1.0.zip`
4+
5+
```sh
6+
7z a cozeshortcuts_v0.1.0.zip _locales images scripts CHANGELOG.md manifest.json README.md
7+
```
8+
9+
2. Publish to Chrome Web Store.
10+
11+
<https://chrome.google.com/webstore/devconsole/1493e0a9-a65c-4e31-aefb-d9f27e0d8026/fmijcafgekkphdijpclfgnjhchmiokgp/edit/package>

Diff for: README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Coze Shortcuts
2+
3+
Enhance the user experience of the [Coze website](https://www.coze.com/) (`www.coze.com`) by adding some useful keyboard shortcuts to facilitate quick navigation to different pages on the Coze website.
4+
5+
## Usage
6+
7+
Currently provides the following shortcuts:
8+
9+
- Press `h` to open the `Home` page
10+
- Press `p` to open the `Personal` page
11+
- Press `s` to open the `Manage Subscription` page
12+
- Press `t` to switch between different Teams projects, and press `Enter` to enter the page
13+
- Press `alt+p` to open the `My profile` page
14+
- Press `alt+1` to switch the tab above on the Space page: `Bots`
15+
- Press `alt+2` to switch the tab above on the Space page: `Plugins`
16+
- Press `alt+3` to switch the tab above on the Space page: `Workflows`
17+
- Press `alt+4` to switch the tab above on the Space page: `Knowledge`
18+
- Press `alt+5` to switch the tab above on the Space page: `Cards`

Diff for: TODO.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# TODO
2+
3+
1.`customPrompts` 加入**情境** (context) 參數,可以判斷目前是在什麼位置顯示按鈕?
4+
5+
`all`: 所有地方都要出現的按鈕
6+
7+
`image`: 在編輯圖片時出現的按鈕
8+
9+
`dataanalysis`: 在資料分析時出現的按鈕
10+
11+
2. 替按鈕加入「編輯後送出」功能
12+
13+
設計有些**自訂按鈕**不會送出新的 Prompt,而是將最近一次的 Prompt 調整後透過「編輯」的方式再次送出,避免出現太多不必要的上下文。
14+
15+
3. 加入 Agentic Workflow 的功能
16+
17+
直接整合一些好用 Workflow 功能,可以在 ChatGPT 模擬「代理人」機制!
18+
19+
4. 在每次提問的右邊新增 `Share` 按鈕,可以將目前的 Prompt 分享為 `ChatGPT Toolkit` 可以自動填入的網址。
20+
21+
預設將設定為「不自動送出」(`#autoSubmit=0`)
22+
23+
Icon: https://fonts.google.com/icons?icon.query=copy
24+
25+
Icon SVG:
26+
27+
```xml
28+
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 96 960 960" width="16"><path d="M180 975q-24 0-42-18t-18-42V312h60v603h474v60H180Zm120-120q-24 0-42-18t-18-42V235q0-24 18-42t42-18h440q24 0 42 18t18 42v560q0 24-18 42t-42 18H300Zm0-60h440V235H300v560Zm0 0V235v560Z"/></svg>
29+
```

Diff for: _locales/en/messages.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"cozeshortcuts_name": {
3+
"message": "Coze Shortcuts"
4+
},
5+
"cozeshortcuts_description": {
6+
"message": "Enhance the user experience of the Coze website by adding some useful keyboard shortcuts to facilitate quick navigation to different pages on the Coze website."
7+
},
8+
"cozeshortcuts_author": {
9+
"message": "Will Huang"
10+
}
11+
}

Diff for: _locales/zh_CN/messages.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"cozeshortcuts_name": {
3+
"message": "Coze 快捷键"
4+
},
5+
"cozeshortcuts_description": {
6+
"message": "提升 Coze 网站的用户体验,加入一些好用的键盘快捷键,方便在 Coze 网站中快速导览到不同页面。"
7+
},
8+
"cozeshortcuts_author": {
9+
"message": "Will 保哥"
10+
}
11+
}

Diff for: _locales/zh_TW/messages.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"cozeshortcuts_name": {
3+
"message": "Coze 快速鍵"
4+
},
5+
"cozeshortcuts_description": {
6+
"message": "提升 Coze 網站的使用者體驗,加入一些好用的鍵盤快速鍵,方便在 Coze 網站中快速導覽到不同頁面。"
7+
},
8+
"cozeshortcuts_author": {
9+
"message": "Will 保哥"
10+
}
11+
}

Diff for: images/icon-128.png

6.18 KB
Loading

Diff for: images/icon-16.png

508 Bytes
Loading

Diff for: images/icon-32.png

1.05 KB
Loading

Diff for: images/icon-48.png

1.58 KB
Loading

Diff for: images/screenshot-1280x800.jpg

65.4 KB
Loading

Diff for: manifest.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"manifest_version": 3,
3+
"name": "__MSG_cozeshortcuts_name__",
4+
"description": "__MSG_cozeshortcuts_description__",
5+
"version": "0.1.0",
6+
"default_locale": "zh_TW",
7+
"author": "__MSG_cozeshortcuts_author__",
8+
"icons": {
9+
"16": "images/icon-16.png",
10+
"32": "images/icon-32.png",
11+
"48": "images/icon-48.png",
12+
"128": "images/icon-128.png"
13+
},
14+
"content_scripts": [
15+
{
16+
"js": [
17+
"scripts/content.js"
18+
],
19+
"matches": [
20+
"https://www.coze.com/*"
21+
]
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)