diff --git a/interface/__tests__/components/NewScorer.test.tsx b/interface/__tests__/components/NewScorer.test.tsx index 1c03197f7..d5c1bbe05 100644 --- a/interface/__tests__/components/NewScorer.test.tsx +++ b/interface/__tests__/components/NewScorer.test.tsx @@ -65,8 +65,10 @@ describe("NewScorer", () => { it("should render the scoring mechanism page with localstorage items from use case modal", async () => { renderApp("/new-scorer"); + const airdropProtection = screen.getAllByText("Airdrop Protection"); expect(screen.getByText("Select a Scoring Mechanism")).toBeInTheDocument(); - expect(screen.getByText("Airdrop Protection")).toBeInTheDocument(); + expect(airdropProtection[0]).toHaveClass("md:hidden"); + expect(airdropProtection[1]).toHaveClass("md:inline"); expect(screen.getByText("Gitcoin Airdrop")).toBeInTheDocument(); expect( screen.getByText( diff --git a/interface/components/APIKeyList.tsx b/interface/components/APIKeyList.tsx index 5ac1c6bce..eb55ec17b 100644 --- a/interface/components/APIKeyList.tsx +++ b/interface/components/APIKeyList.tsx @@ -1,12 +1,11 @@ // --- React components/methods -import React, { useContext, useEffect, useState, useRef } from "react"; +import React, { useContext, useEffect, useState } from "react"; // --- Utils import { ApiKeys, getApiKeys, deleteApiKey, - createApiKey, updateApiKey, } from "../utils/account-requests"; import NoValues from "./NoValues"; @@ -112,7 +111,7 @@ const APIKeyList = () => { } const userInstructions = ( - + Use these API keys to programmatically access a Scorer. ); @@ -137,8 +136,9 @@ const APIKeyList = () => { {apiKeys.map((key, i) => (
diff --git a/interface/components/CommunityList.tsx b/interface/components/CommunityList.tsx index b46b69c36..49d77e37a 100644 --- a/interface/components/CommunityList.tsx +++ b/interface/components/CommunityList.tsx @@ -1,11 +1,7 @@ // --- React components/methods -import React, { useEffect, useState, useCallback, useContext, useRef } from "react"; - -// --- Context -import { UserContext } from "../context/userContext"; +import React, { useEffect, useState, useCallback } from "react"; // --- Components -import { CheckCircleIcon, CloseIcon, AddIcon } from "@chakra-ui/icons"; import CommunityCard from "./CommunityCard"; import NoValues from "./NoValues"; @@ -21,6 +17,7 @@ import UseCaseModal from "./UseCaseModal"; import { useToast } from "@chakra-ui/react"; import { successToast } from "./Toasts"; import { StarIcon } from "@heroicons/react/24/outline"; +import { PlusIcon } from "@heroicons/react/24/solid"; const CommunityList = () => { const toast = useToast(); @@ -118,7 +115,8 @@ const CommunityList = () => { communityLoadingStatus !== "done" || communities.length >= 5 } > - Scorer + {" "} + Scorer

The scorer limit is five. diff --git a/interface/components/Dashboard.tsx b/interface/components/Dashboard.tsx index df6baa512..d0cfa7057 100644 --- a/interface/components/Dashboard.tsx +++ b/interface/components/Dashboard.tsx @@ -30,7 +30,7 @@ const QuickLink = ({

{icon} @@ -43,7 +43,7 @@ const QuickLinks = ({ className }: { className: string }) => { const linkClassName = "text-purple-softpurple"; const iconClassName = "mr-2 w-3.5"; return ( -
+
{ }; const SampleApplications = ({ className }: { className?: string }) => { - const classOverwrite = "py-2" + const classOverwrite = "py-2"; return ( -
+
{
diff --git a/interface/components/Footer.tsx b/interface/components/Footer.tsx index 2f4469807..74bb6e7ff 100644 --- a/interface/components/Footer.tsx +++ b/interface/components/Footer.tsx @@ -27,7 +27,7 @@ const Footer = ({ mode, className }: FooterProps): JSX.Element => {
-
+
diff --git a/interface/components/NewScorer.tsx b/interface/components/NewScorer.tsx index 333647d58..1b00c86a5 100644 --- a/interface/components/NewScorer.tsx +++ b/interface/components/NewScorer.tsx @@ -8,9 +8,7 @@ import { Select, useToast, } from "@chakra-ui/react"; -import { - NoSymbolIcon, -} from "@heroicons/react/24/outline"; +import { NoSymbolIcon } from "@heroicons/react/24/outline"; import { ChartPieIcon, ScaleIcon, @@ -91,7 +89,7 @@ const PageFooter = ({

Scorer ID

-

N/A

+

N/A

); @@ -240,7 +244,9 @@ const NewScorer = () => { created.

- Select Deduplication + + Select Deduplication + Gitcoin scoring uses binary logic to verify stamp/account ownership, encrypted for privacy and to decrease deduplication risk. @@ -273,7 +279,9 @@ const NewScorer = () => {
- Scoring Mechanisms + + Scoring Mechanisms + The scoring rules evaluate Passports based on the "Verifiable Credentials" (VCs), or "Stamps" they hold.