From fd80c3423dd065c0dbf3b60421444ec73f9c0c24 Mon Sep 17 00:00:00 2001 From: Anjaliavv51 <154777864+Anjaliavv51@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:44:41 +0530 Subject: [PATCH 1/4] Updated workflow of auto label issue #1071 --- .github/workflows/auto-label-issues.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml index 73a20d7b..15ac430e 100644 --- a/.github/workflows/auto-label-issues.yml +++ b/.github/workflows/auto-label-issues.yml @@ -34,14 +34,14 @@ jobs: labels: [label] }); }; - if (issueBody.includes('documentation') || issueTitle.includes('doc') || issueBody.includes('readme')) { + if (issueTitle.includes('documentation')) { await addLabel('documentation'); } - if (issueBody.includes('feature') || issueBody.includes('enhancement') || issueTitle.includes('add') || issueTitle.includes('implement')) { + if (issueTitle.includes('feature')) { await addLabel('enhancement'); } - if (issueBody.includes('bug') || issueBody.includes('fix') || issueTitle.includes('fix') || issueTitle.includes('resolve')) { + if (issueTitle.includes('bug')) { await addLabel('bug'); } \ No newline at end of file From 573e446f4ba285a63e82a2c76015a2a7a78b0100 Mon Sep 17 00:00:00 2001 From: Anjaliavv51 <154777864+Anjaliavv51@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:50:14 +0530 Subject: [PATCH 2/4] Added popup feedback #1079 --- .github/workflows/auto-label-issues.yml | 1 - Css-Files/caduceus.css | 2 +- Css-Files/popupfeedbacksctioncss.css | 68 +++++++++++++++++++++++++ assets/css/visitors.css | 2 +- index.html | 44 ++++++++-------- js/popupfeedback.js | 36 +++++++++++++ style.css | 36 ++----------- 7 files changed, 133 insertions(+), 56 deletions(-) create mode 100644 Css-Files/popupfeedbacksctioncss.css create mode 100644 js/popupfeedback.js diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml index 15ac430e..d5dca018 100644 --- a/.github/workflows/auto-label-issues.yml +++ b/.github/workflows/auto-label-issues.yml @@ -16,7 +16,6 @@ jobs: github-token: ${{secrets.GITHUB_TOKEN}} script: | const issue = context.payload.issue; - const issueBody = issue.body ? issue.body.toLowerCase() : ''; const issueTitle = issue.title.toLowerCase(); // Add gssoc label to all issues diff --git a/Css-Files/caduceus.css b/Css-Files/caduceus.css index 2427f495..2371619b 100644 --- a/Css-Files/caduceus.css +++ b/Css-Files/caduceus.css @@ -2,7 +2,7 @@ position: fixed; top: 85px; right: 30px; - z-index: 1000; + z-index: 998; transform-origin: top center; animation: swing 3s ease-in-out infinite; } diff --git a/Css-Files/popupfeedbacksctioncss.css b/Css-Files/popupfeedbacksctioncss.css new file mode 100644 index 00000000..9152e850 --- /dev/null +++ b/Css-Files/popupfeedbacksctioncss.css @@ -0,0 +1,68 @@ +.overlay { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgb(0, 0, 0); + backdrop-filter: blur(5px); + z-index: 1000; + } + + .feedback-wrapper { + display: none; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background-color: transparent; + padding: 20px; + border-radius: 10px; + z-index: 1000; + max-width: 500px; + width: 90%; + } + + .close-btn { + position: absolute; + top: 10px; + right: 10px; + font-size: 24px; + cursor: pointer; + } + + .feedback-form { + display: flex; + flex-direction: column; + } + + .rating-container { + display: flex; + justify-content: space-between; + margin-bottom: 20px; + } + + .rating-container button { + font-size: 24px; + background: none; + border: none; + cursor: pointer; + } + + #feedback-form label { + margin-top: 10px; + } + + #feedback-form input, + #feedback-form textarea { + margin-bottom: 10px; + padding: 5px; + } + + .btn { + background-color: #007bff; + color: white; + border: none; + cursor: pointer; + } \ No newline at end of file diff --git a/assets/css/visitors.css b/assets/css/visitors.css index 633e4e56..d72f85cd 100644 --- a/assets/css/visitors.css +++ b/assets/css/visitors.css @@ -16,7 +16,7 @@ backdrop-filter: blur(5px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); - z-index: 1000; + z-index: 998; } .visitor-counter div:first-child { diff --git a/index.html b/index.html index 95081f12..ddaa06c3 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,7 @@ + - -
-
- -
Thanks for the feedback! ❤ī¸