diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml index 73a20d7b..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 @@ -34,14 +33,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 diff --git a/.github/workflows/auto-label-pr.yml b/.github/workflows/auto-label-pr.yml index 25824c74..e6cbe781 100644 --- a/.github/workflows/auto-label-pr.yml +++ b/.github/workflows/auto-label-pr.yml @@ -23,31 +23,4 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, labels: ['gssoc'] - }) - - - name: Add additional labels based on title - uses: actions/github-script@v6 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const title = context.payload.pull_request.title.toLowerCase(); - const labelsToAdd = []; - - if (title.includes('documentation')) { - labelsToAdd.push('documentation'); - } - if (title.includes('feature')) { - labelsToAdd.push('feature'); - } - if (title.includes('bug')) { - labelsToAdd.push('bug'); - } - - if (labelsToAdd.length > 0) { - github.rest.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: labelsToAdd - }); - } \ No newline at end of file + }) \ No newline at end of file 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..0b953be2 --- /dev/null +++ b/Css-Files/popupfeedbacksctioncss.css @@ -0,0 +1,70 @@ +.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: 100px; + border-radius: 10px; + z-index: 1000; + max-width: 500px; + width: 90%; + margin-top: 10px; + margin-bottom: 10px; + } + + .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 @@ + - -
Let us know how we're doing and how we can improve.
RapiDoc Healthcare
This is a confused face emoji: 😕
+ + + +Let us know how we're doing and how we can improve.
RapiDoc Healthcare
This is a confused face emoji: 😕