From fb5ca3ee4cee2acd9788fb1fce2cda8d678b45bc Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Tue, 16 Jan 2024 12:40:51 +0800 Subject: [PATCH] =?UTF-8?q?Feat:=20code=20diff=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D=E8=BF=87=E6=BB=A4=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/assets/icons/filter.svg | 1 + src/assets/styles/common.scss | 0 src/assets/styles/index.scss | 1 + src/components/Dashboard/index.vue | 2 +- src/components/IgnoreMatchingPopover.vue | 153 ++ src/views/code-diff.vue | 2 +- yarn.lock | 2331 +++++++++++----------- 8 files changed, 1321 insertions(+), 1171 deletions(-) create mode 100644 src/assets/icons/filter.svg create mode 100644 src/assets/styles/common.scss create mode 100644 src/components/IgnoreMatchingPopover.vue diff --git a/package.json b/package.json index 2a67ff8..7cefc1c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "driver.js": "^1.2.1", "element-ui": "^2.15.13", "moment": "^2.29.4", - "v-code-diff": "^1.8.0", + "v-code-diff": "^1.9.0", "vue": "^2.6.14", "vue-fullscreen": "^2.6.1", "vue-grid-layout": "^2.4.0", diff --git a/src/assets/icons/filter.svg b/src/assets/icons/filter.svg new file mode 100644 index 0000000..056456c --- /dev/null +++ b/src/assets/icons/filter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/styles/common.scss b/src/assets/styles/common.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 57e9ed5..f82a1ab 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -1,2 +1,3 @@ @import './variables.scss'; @import './layout.scss'; +@import './common.scss'; diff --git a/src/components/Dashboard/index.vue b/src/components/Dashboard/index.vue index 196c623..e826d58 100644 --- a/src/components/Dashboard/index.vue +++ b/src/components/Dashboard/index.vue @@ -164,7 +164,7 @@ {{ item.category }} ({{ item.components.length }}) - +