From efb08968e117065303bdc0f1114d907675be4261 Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sat, 30 Nov 2024 22:42:26 +0800 Subject: [PATCH 01/49] =?UTF-8?q?=E5=88=9B=E5=BB=BA=20readme-contributors.?= =?UTF-8?q?yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/readme-contributors.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/readme-contributors.yml diff --git a/.github/workflows/readme-contributors.yml b/.github/workflows/readme-contributors.yml new file mode 100644 index 0000000..bd81ea8 --- /dev/null +++ b/.github/workflows/readme-contributors.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - master + +jobs: + contrib-readme-job: + runs-on: ubuntu-latest + name: A job to automate contrib in readme + permissions: + contents: write + pull-requests: write + steps: + - name: Contribute List + uses: akhilmhdh/contributors-readme-action@v2.3.10 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From c43a37624d974dc237bf79cd50cab0d78aa4e885 Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sat, 30 Nov 2024 22:42:45 +0800 Subject: [PATCH 02/49] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 85 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 8483fd1..b1f3a4e 100644 --- a/README.md +++ b/README.md @@ -9,35 +9,36 @@ ![WelcomePage](/.Screenshots/WelcomePage.jpg) ![ExamPage](/.Screenshots/ExamPage.jpg) -[![stars](https://img.shields.io/github/stars/MKStoler4096/dsz-exam-showboard-next?label=Stars)](https://github.com/MKStoler4096/dsz-exam-showboard-next/stargazers) -[![forks](https://img.shields.io/github/forks/MKStoler4096/dsz-exam-showboard-next?label=Forks)](https://github.com/MKStoler4096/dsz-exam-showboard-next/forks) -[![Watchers](https://img.shields.io/github/watchers/MKStoler4096/dsz-exam-showboard-next?style=social)](https://github.com/MKStoler4096/dsz-exam-showboard-next/watchers) -[![Downloads](https://img.shields.io/github/downloads/MKStoler4096/dsz-exam-showboard-next/total?style=social&label=Downloads&logo=github)](https://github.com/MKStoler4096/dsz-exam-showboard-next/releases) -[![GitHub Issues](https://img.shields.io/github/issues-search/MKStoler4096/dsz-exam-showboard-next?query=is%3Aopen&style=social-square&logo=github&label=Issues&color=%233fb950)](https://github.com/MKStoler4096/dsz-exam-showboard-next/issues) -[![GitHub Discussions](https://img.shields.io/github/discussions/MKStoler4096/dsz-exam-showboard-next?style=flat&logo=Github&label=Discussions)](https://github.com/MKStoler4096/dsz-exam-showboard-next/discussions) -[![Created At](https://img.shields.io/github/created-at/MKStoler4096/dsz-exam-showboard-next)](https://github.com/MKStoler4096/dsz-exam-showboard-next) -[![Github Last Commit](https://img.shields.io/github/last-commit/MKStoler4096/dsz-exam-showboard-next)](https://github.com/MKStoler4096/dsz-exam-showboard-next/commits/master) -[![GitHub Language Count](https://img.shields.io/github/languages/count/MKStoler4096/dsz-exam-showboard-next)](https://github.com/MKStoler4096/dsz-exam-showboard-next) -[![GitHub Top Language](https://img.shields.io/github/languages/top/MKStoler4096/dsz-exam-showboard-next)](https://github.com/MKStoler4096/dsz-exam-showboard-next) +[![stars](https://img.shields.io/github/stars/ProjectCampus-CH/dsz-exam-showboard-next?label=Stars)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/stargazers) +[![forks](https://img.shields.io/github/forks/ProjectCampus-CH/dsz-exam-showboard-next?label=Forks)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/forks) +[![Watchers](https://img.shields.io/github/watchers/ProjectCampus-CH/dsz-exam-showboard-next?style=social)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/watchers) +[![Downloads](https://img.shields.io/github/downloads/ProjectCampus-CH/dsz-exam-showboard-next/total?style=social&label=Downloads&logo=github)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases) +[![GitHub Issues](https://img.shields.io/github/issues-search/ProjectCampus-CH/dsz-exam-showboard-next?query=is%3Aopen&style=flat&logo=github&label=Issues&color=%233fb950)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/issues) +[![GitHub Discussions](https://img.shields.io/github/discussions/ProjectCampus-CH/dsz-exam-showboard-next?style=flat&logo=Github&label=Discussions)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/discussions) +[![Created At](https://img.shields.io/github/created-at/ProjectCampus-CH/dsz-exam-showboard-next)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next) +[![Github Last Commit](https://img.shields.io/github/last-commit/ProjectCampus-CH/dsz-exam-showboard-next)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/master) +[![GitHub Language Count](https://img.shields.io/github/languages/count/ProjectCampus-CH/dsz-exam-showboard-next)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next) +[![GitHub Top Language](https://img.shields.io/github/languages/top/ProjectCampus-CH/dsz-exam-showboard-next)](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next) [![LICENSE](https://img.shields.io/badge/License-GPL--3.0-red.svg 'LICENSE')](LICENSE) [![QQ群](https://img.shields.io/badge/-QQ%E7%BE%A4%EF%BD%9C901670561-blue?style=flat&logo=TencentQQ&logoColor=white)](https://qm.qq.com/q/zDiEipHsaI) 一款显示当前时间与考试详细信息的看板类软件 -| 下载 | [Releases](https://github.com/MKStoler4096/dsz-exam-showboard-next/releases) | [Actions](https://github.com/MKStoler4096/dsz-exam-showboard-next/actions) | +| 下载 | [Releases](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases) | [Actions](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/actions) | | ---- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -> [!tip] > **本软件使用`Vue` + `TypeScript` + `JavaScript`制作,使用`Node.js` + `Electron`完善系统级功能并打包。** +> [!tip] +> **本软件使用 `Vue` + `TypeScript` + `JavaScript` 制作,使用 `Node.js` + `Electron` 完善系统级功能并打包。** ## 功能 -- 起始页展示`打开配置`、`直接进入看板`按钮 +- 起始页展示 `打开配置` 、 `直接进入看板` 按钮 - 看板页面 - - 上方展示`考试标题`、`信息` - - 左侧展示`当前时间`、`当前科目`、`考试时间`、`考试状态` - - 右侧展示考试科目列表,包括`科目`、`开始`、`结束`、`状态` + - 上方展示 `考试标题` 、 `信息` + - 左侧展示 `当前时间` 、 `当前科目` 、 `考试时间` 、 `考试状态` + - 右侧展示考试科目列表,包括 `科目` 、 `开始` 、 `结束` 、 `状态` - 考试结束前15分钟黄字提醒 - 集控功能(早期测试) @@ -45,11 +46,11 @@ - 下载安装程序并运行 -默认安装在`AppData\Local\Programs\dsz-exam-showboard` +默认安装路径 `AppData\Local\Programs\dsz-exam-showboard` -- 编写`json`配置文件 +- 编写 `json` 配置文件 -新建文件`exam_config.json`,模板如下 +新建文件 `exam_config.json` ,模板如下 ```json { @@ -70,26 +71,32 @@ } ``` -- 打开软件,进入起始页面,点击`打开配置`按钮,选择配置文件,下次可点击`直接进入看板`按钮,将继续使用上次加载的配置。 - -- 集控 - -仿照 `ClassIsland` 的集控方法,把上面提到的 `exam_config.json` 传上去,获得 `raw` 直链粘贴回文本框并保存即可。 +- 打开软件,进入起始页面,点击 `打开配置` 按钮,选择配置文件,下次可点击 `直接进入看板` 按钮,将继续使用上次加载的配置。 +- 集控(仿照 [`ClassIsland` 集控使用方法](https://docs.classisland.tech/management/tutorial-create-management-config.html)) + - 新建 GitHub 公开存储仓库 + - 上传上面提到的 `exam_config.json` 文件 + - 复制 `raw` 直链粘贴到应用文本框并保存 ## 遇到问题 -💡 如果您遇到`Bug`,或需要提出`优化`建议或新的`功能`,请提交[`Issues`](https://github.com/MKStoler4096/dsz-exam-showboard-next/issues)或在[`Discussions`](https://github.com/MKStoler4096/dsz-exam-showboard-next/discussions)中讨论。 +💡 如果您遇到 `Bug` ,或需要提出`优化`建议或新的`功能`,请提交 [`Issues`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/issues) 或在 [`Discussions`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/discussions) 中讨论。 -👥 您也可以加入[`QQ群|901670561`](https://qm.qq.com/q/zDiEipHsaI)获取帮助或交流讨论。 +👥 您也可以加入 [`QQ群|901670561`](https://qm.qq.com/q/zDiEipHsaI)获取帮助或交流讨论。 -🛠️ 欢迎为本软件进行改进或编写新功能提交[`Pull Request`](https://github.com/MKStoler4096/dsz-exam-showboard-next/pulls) +🛠️ 欢迎为本软件进行改进或编写新功能提交 [`Pull Request`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/pulls) ## 开发 ### 推荐开发环境 -- [VSCode](https://code.visualstudio.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) - > [!Caution] > **必须使用Yarn包管理。Node版本要求为20。** +- [VSCode](https://code.visualstudio.com/) + - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) + - [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + +> [!Caution] +> +> **必须使用 Yarn 包管理。Node 版本要求为20。** ### 工程构建 @@ -109,9 +116,9 @@ $ yarn start > [!note] > -> **如果dev模式页面不显示或按钮点击无效等问题,请连续刷新至少3次后再进行操作。build后没有此问题。** +> **如果 dev 模式页面不显示或按钮点击无效等问题,请连续刷新至少3次后再进行操作。 build 后没有此问题。** -#### 生成 +#### 构建 ```bash # For windows @@ -126,19 +133,21 @@ $ yarn build:linux ### 开发进度 -- 正在[`master`](https://github.com/MKStoler4096/dsz-exam-showboard-next/commits/master)分支上维护`1.2-Yesod`版本。 +- 正在 [`master`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/master) 分支上维护`1.2-Yesod`版本。 -- 正在[`dev`](https://github.com/MKStoler4096/dsz-exam-showboard-next/commits/dev)分支上开发`1.3-HOD`版本。 +- 正在 [`dev`](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/commits/dev) 分支上开发`1.3-HOD`版本。 -> [!note] -> **如果dev模式页面不显示或按钮点击无效等问题,请连续刷新至少3次后再进行操作。build后没有此问题。** +## 贡献者 + + + ## Stars 历史 -[![Star 历史](https://starchart.cc/MKStoler4096/dsz-exam-showboard-next.svg?variant=adaptive)](https://starchart.cc/MKStoler4096/dsz-exam-showboard-next/stargazers) -
+[![Star 历史](https://starchart.cc/ProjectCampus-CH/dsz-exam-showboard-next.svg?variant=adaptive)](https://starchart.cc/ProjectCampus-CH/dsz-exam-showboard-next/stargazers) + 如果这个项目对您有帮助,请点亮 Star [⭐](#dsz-exam-showboard-next) -
+ \ No newline at end of file From 011c3a20b2f1256db193c155319aec6147fa9de0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 14:42:55 +0000 Subject: [PATCH 03/49] docs(contributor): contrib-readme-action has updated readme --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/README.md b/README.md index b1f3a4e..cb9c05b 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,40 @@ $ yarn build:linux ## 贡献者 + + + + + + + + + +
+ + Jursin +
+ Jursin +
+
+ + hello8693DSZ +
+ Hello8693 +
+
+ + MKStoler4096 +
+ MKStoler +
+
+ + fhz08 +
+ fhz08 +
+
## Stars 历史 From ac31ff6e35136f89417d26d6114506c0eb69576e Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sat, 30 Nov 2024 22:45:02 +0800 Subject: [PATCH 04/49] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cb9c05b..a138b28 100644 --- a/README.md +++ b/README.md @@ -143,13 +143,6 @@ $ yarn build:linux - +
- - Jursin -
- Jursin -
-
hello8693DSZ @@ -164,6 +157,13 @@ $ yarn build:linux MKStoler + + Jursin +
+ Jursin +
+
fhz08 From 14b05ac125341d819198805b3b17966a82437dba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 30 Nov 2024 14:45:13 +0000 Subject: [PATCH 05/49] docs(contributor): contrib-readme-action has updated readme --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a138b28..cb9c05b 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,13 @@ $ yarn build:linux + -
+ + Jursin +
+ Jursin +
+
hello8693DSZ @@ -157,13 +164,6 @@ $ yarn build:linux MKStoler - - Jursin -
- Jursin -
-
fhz08 From 759f3346045f34241f91e6c5c824f7e61c269d8c Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sat, 30 Nov 2024 22:47:41 +0800 Subject: [PATCH 06/49] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb9c05b..353e6e6 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ 一款显示当前时间与考试详细信息的看板类软件 | 下载 | [Releases](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/releases) | [Actions](https://github.com/ProjectCampus-CH/dsz-exam-showboard-next/actions) | -| ---- | ---------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| - | - | - | From 5cdc7803d23dc871dbb297f881d8975260532f39 Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sat, 30 Nov 2024 23:16:35 +0800 Subject: [PATCH 07/49] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 353e6e6..da913ff 100644 --- a/README.md +++ b/README.md @@ -71,11 +71,12 @@ } ``` -- 打开软件,进入起始页面,点击 `打开配置` 按钮,选择配置文件,下次可点击 `直接进入看板` 按钮,将继续使用上次加载的配置。 -- 集控(仿照 [`ClassIsland` 集控使用方法](https://docs.classisland.tech/management/tutorial-create-management-config.html)) +- 打开软件,进入起始页面,点击 `打开配置` 按钮,选择配置文件 +- 或使用集控(仿照 [`ClassIsland` 集控使用方法](https://docs.classisland.tech/management/tutorial-create-management-config.html)) - 新建 GitHub 公开存储仓库 - 上传上面提到的 `exam_config.json` 文件 - - 复制 `raw` 直链粘贴到应用文本框并保存 + - 复制 `raw` 直链粘贴到应用`请求地址`文本框并保存 +- 点击`请求配置`加载配置文件并进入看板(下次可直接点击`直接进入看板`加载上次配置文件) ## 遇到问题 From 821e735de121c854b68903eb83a8e690aeb15d37 Mon Sep 17 00:00:00 2001 From: Jursin <1836059252@qq.com> Date: Sun, 1 Dec 2024 09:37:18 +0800 Subject: [PATCH 08/49] Update Clock.vue --- src/renderer/src/components/Clock.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/renderer/src/components/Clock.vue b/src/renderer/src/components/Clock.vue index 45a4e7e..b57d751 100644 --- a/src/renderer/src/components/Clock.vue +++ b/src/renderer/src/components/Clock.vue @@ -1,7 +1,11 @@