From c9d40cc38d54e400b223f99d42adc0b0d6585cc3 Mon Sep 17 00:00:00 2001 From: Nikhil Mehta Date: Thu, 26 Sep 2024 12:14:40 +0530 Subject: [PATCH 1/5] fix: fixed footer for root diff pages --- pages/diff.vue | 197 +++++++++++++++++++------------------------------ 1 file changed, 77 insertions(+), 120 deletions(-) diff --git a/pages/diff.vue b/pages/diff.vue index 7858320..aa9cca4 100644 --- a/pages/diff.vue +++ b/pages/diff.vue @@ -1,133 +1,90 @@ From 7c6dcf76dddacc892a654fff552db7f68cc225e9 Mon Sep 17 00:00:00 2001 From: Nikhil Mehta Date: Thu, 26 Sep 2024 12:15:24 +0530 Subject: [PATCH 2/5] chore: skipping prepare-commit-msg for message/amend --- .husky/prepare-commit-msg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index c19c821..2c9d9b3 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,4 +1,14 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" +if [ "$2" = "message" ]; then + echo "Skipping prepare-commit-msg hook due to message." + exit 0 +fi + +if [ "$2" = "commit" ]; then + echo "Skipping prepare-commit-msg hook due to amend." + exit 0 +fi + exec Date: Thu, 26 Sep 2024 14:08:59 +0530 Subject: [PATCH 3/5] chore: ran linter on whole project --- components/buttons/copyLink.vue | 18 +----- components/buttons/nextDiff.vue | 19 +----- components/buttons/prevDiff.vue | 19 +----- components/buttons/stickyCopy.vue | 15 +---- components/buttons/toggleInSync.vue | 4 +- components/buttons/toggleInlineDiffView.vue | 20 +------ components/diffActionBar.vue | 21 ++++++- components/footer.vue | 11 +--- components/navbar.vue | 28 +-------- components/singleDiff.vue | 2 +- components/v2/diffActionBar.vue | 7 +-- components/v2/footer.vue | 12 +--- components/v2/navbar.vue | 28 +-------- pages/index.vue | 38 ++---------- pages/v1/diff.vue | 10 +--- pages/v2/diff.vue | 30 +--------- pages/v2/index.vue | 65 ++------------------- 17 files changed, 47 insertions(+), 300 deletions(-) diff --git a/components/buttons/copyLink.vue b/components/buttons/copyLink.vue index fdb9735..b56008a 100644 --- a/components/buttons/copyLink.vue +++ b/components/buttons/copyLink.vue @@ -3,23 +3,7 @@