From 9653c13f3489f84bd995af6b211897a1710af5cd Mon Sep 17 00:00:00 2001 From: Kunniii Date: Fri, 29 Sep 2023 03:41:08 +0700 Subject: [PATCH] big update update UI, added CommendGrading, added loading, error icon :))) --- bun.lockb | Bin 59172 -> 59172 bytes public/manifest.json | 6 +-- src/App.vue | 2 +- src/assets/check.svg | 2 + src/assets/failed.svg | 6 +++ src/assets/loading.svg | 6 +++ src/components/Button.vue | 35 +++++++++++---- src/components/Card.vue | 2 +- src/store.ts | 91 ++++++++++++++++++++++++++++++++------ src/utils/endpoints.ts | 4 ++ src/utils/index.ts | 4 +- 11 files changed, 130 insertions(+), 28 deletions(-) create mode 100644 src/assets/check.svg create mode 100644 src/assets/failed.svg create mode 100644 src/assets/loading.svg diff --git a/bun.lockb b/bun.lockb index 2afea3ad259022832c153d60e70abec440cc4702..356107679ff10ceeaa8b2905a1b5856061c2d0eb 100755 GIT binary patch delta 61 zcmV-D0K)&I&I6>*1F$d(3DN`$Ts;K<00xr*3m*Ydvsnt?WRpA=9Fvf5RFi;jJhS9) TtuP1yUN9~-E;KW9(h diff --git a/public/manifest.json b/public/manifest.json index 2c367b3..dff8258 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { - "name": "END Auto V3", + "name": "EDN Auto V3", "description": "Automate grading tasks on edunext system ", - "version": "3.0.0", + "version": "3.1.0", "manifest_version": 3, "icons": { "128": "icon.png" @@ -25,7 +25,7 @@ "default_popup": "index.html", "default_title": "Edunext Auto" }, - "permissions": ["https://fu-edunext.fpt.edu.vn/*", "activeTab", "scripting"], + "permissions": ["activeTab", "scripting"], "host_permissions": ["https://fu-edunext.fpt.edu.vn/*"], "commands": { "_execute_action": { diff --git a/src/App.vue b/src/App.vue index dc27ee4..990a199 100644 --- a/src/App.vue +++ b/src/App.vue @@ -30,7 +30,7 @@ window.addEventListener("keydown", handleShortCut); src="/icon.png" class="mx-auto w-20 drop-shadow-lg animate-wiggle" /> -

{{ store.user?.name }}

+

{{ store.user?.name }}

+ \ No newline at end of file diff --git a/src/assets/failed.svg b/src/assets/failed.svg new file mode 100644 index 0000000..53054ad --- /dev/null +++ b/src/assets/failed.svg @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/src/assets/loading.svg b/src/assets/loading.svg new file mode 100644 index 0000000..bf262b3 --- /dev/null +++ b/src/assets/loading.svg @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/src/components/Button.vue b/src/components/Button.vue index 7e56cf4..2ef6cde 100644 --- a/src/components/Button.vue +++ b/src/components/Button.vue @@ -1,4 +1,8 @@ - diff --git a/src/components/Card.vue b/src/components/Card.vue index ff02472..ff3a27a 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -12,7 +12,7 @@ const props = defineProps({ });