From 7adfbe72cc602748cad3e546d5e696ae60c101a6 Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Fri, 23 Sep 2022 15:40:10 -0700 Subject: [PATCH 01/16] fix: adds links to footer (#432) * fix: adds links on desktop * npm run format --- components/organisms/Footer/footer.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/organisms/Footer/footer.tsx b/components/organisms/Footer/footer.tsx index 374e984d1c..1061593fdb 100644 --- a/components/organisms/Footer/footer.tsx +++ b/components/organisms/Footer/footer.tsx @@ -56,13 +56,13 @@ const Footer = (): JSX.Element => {
- + {footerContext[0].terms?.text} - + {footerContext[0].privacy?.text} - + {footerContext[0].status?.text}
From 18dd09474582269433cf36f29b17277b14ffceb5 Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Fri, 23 Sep 2022 15:40:40 -0700 Subject: [PATCH 02/16] fix: inverse the scatter chart (#433) #399 --- components/organisms/Dashboard/dashboard.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/organisms/Dashboard/dashboard.tsx b/components/organisms/Dashboard/dashboard.tsx index c72377bddb..11145b836e 100644 --- a/components/organisms/Dashboard/dashboard.tsx +++ b/components/organisms/Dashboard/dashboard.tsx @@ -81,6 +81,7 @@ export const Dashboard = (): JSX.Element => { }, xAxis: { boundaryGap: false, + inverse: true, scale: true, minInterval: isNotMobile ? 7 : 2, maxInterval: 7, From 004e32c98baabe42fda79d8544d45392cd809fad Mon Sep 17 00:00:00 2001 From: Brian Douglas Date: Fri, 23 Sep 2022 22:44:03 +0000 Subject: [PATCH 03/16] chore(patch): release 1.7.0-beta.8 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.7.0-beta.8](https://github.com/open-sauced/insights/compare/v1.7.0-beta.7...v1.7.0-beta.8) (2022-09-23) ### πŸ› Bug Fixes * adds links to footer ([#432](https://github.com/open-sauced/insights/issues/432)) ([7adfbe7](https://github.com/open-sauced/insights/commit/7adfbe72cc602748cad3e546d5e696ae60c101a6)) * inverse the scatter chart ([#433](https://github.com/open-sauced/insights/issues/433)) ([18dd094](https://github.com/open-sauced/insights/commit/18dd09474582269433cf36f29b17277b14ffceb5)), closes [#399](https://github.com/open-sauced/insights/issues/399) --- CHANGELOG.md | 8 ++++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cab0a5caee..eb7d0c1f0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ > All notable changes to this project will be documented in this file +## [1.7.0-beta.8](https://github.com/open-sauced/insights/compare/v1.7.0-beta.7...v1.7.0-beta.8) (2022-09-23) + + +### πŸ› Bug Fixes + +* adds links to footer ([#432](https://github.com/open-sauced/insights/issues/432)) ([7adfbe7](https://github.com/open-sauced/insights/commit/7adfbe72cc602748cad3e546d5e696ae60c101a6)) +* inverse the scatter chart ([#433](https://github.com/open-sauced/insights/issues/433)) ([18dd094](https://github.com/open-sauced/insights/commit/18dd09474582269433cf36f29b17277b14ffceb5)), closes [#399](https://github.com/open-sauced/insights/issues/399) + ## [1.7.0-beta.7](https://github.com/open-sauced/insights/compare/v1.7.0-beta.6...v1.7.0-beta.7) (2022-09-23) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index ff21267205..0f28c9f633 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.7", + "version": "1.7.0-beta.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.7", + "version": "1.7.0-beta.8", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 3f71df6244..6736b3d9b8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.7", + "version": "1.7.0-beta.8", "author": "TED Vortex ", "private": true, "license": "MIT", From 25b6997f8dbce1213ddbbaa367df9ebdd28b643e Mon Sep 17 00:00:00 2001 From: OGBONNA SUNDAY <62995161+SunGoldTech@users.noreply.github.com> Date: Mon, 26 Sep 2022 17:07:52 +0100 Subject: [PATCH 04/16] fix: remove link from highlight card component (#435) * fix: remove link from highlight card component * fix: eslint errors --- .../HighlightCard/highlight-card.tsx | 164 ++++++++++-------- components/organisms/Dashboard/dashboard.tsx | 8 +- 2 files changed, 100 insertions(+), 72 deletions(-) diff --git a/components/molecules/HighlightCard/highlight-card.tsx b/components/molecules/HighlightCard/highlight-card.tsx index 54040d0599..46b3f633dd 100644 --- a/components/molecules/HighlightCard/highlight-card.tsx +++ b/components/molecules/HighlightCard/highlight-card.tsx @@ -9,22 +9,22 @@ import Link from "next/link"; import Card from "components/atoms/Card/card"; interface HighlightCardProps { - className?: string; - label?: string; - icon?: "participation" | "accepted-pr" | "unlabeled-pr" | "spam"; - metricIncreases: boolean; - increased?: boolean; - numChanged?: number; - percentage?: number; - percentageLabel?: string; - url?: string | object; + className?: string; + label?: string; + icon?: "participation" | "accepted-pr" | "unlabeled-pr" | "spam"; + metricIncreases: boolean; + increased?: boolean; + numChanged?: number; + percentage?: number; + percentageLabel?: string; + } // TO-DO: // Replace these icons, or make them dynamic. // Maybe create an Icon component. const icons = { - "participation": { + participation: { src: repoIcon.src, label: "Participation", color: "bg-blue-100" @@ -39,78 +39,106 @@ const icons = { label: "Unlabeled PRs", color: "bg-cyan-100" }, - "spam": { + spam: { src: thumbsIcon.src, label: "Spam", color: "bg-orange-100" } }; -const HighlightCard: React.FC = ({ className, label, icon, metricIncreases, increased, numChanged, percentage, percentageLabel, url }) => { +const HighlightCard: React.FC = ({ + className, + label, + icon, + metricIncreases, + increased, + numChanged, + percentage, + percentageLabel +}) => { return ( - - - - <> - {/* Top Information */} -
- {/* Label */} -
- {/* Label: Icon */} -
- {icon -
- {/* Label: Text */} -
- { label ? label : "Label" } -
+ + <> + {/* Top Information */} +
+ {/* Label */} +
+ {/* Label: Icon */} +
+ {icon
+ {/* Label: Text */} +
{label ? label : "Label"}
+
- {/* Last Updated Information */} -
- {/* Last Updated: Number */} -
- { numChanged ? numChanged : 0 } -
- {/* Last Updated: Icon */} - {(increased -
+ {/* Last Updated Information */} +
+ {/* Last Updated: Number */} +
{numChanged ? numChanged : 0}
+ {/* Last Updated: Icon */} + {(increased
+
- {/* Main Information */} -
- {/* Main Number */} -
- {/* Percentage */} -
- { percentage ? percentage : 0 }% -
- - {/* Label */} -
- { percentageLabel ? percentageLabel : "Label"} -
-
+ {/* Main Information */} +
+ {/* Main Number */} +
+ {/* Percentage */} +
{percentage ? percentage : 0}%
- {/* Progress Bar */} -
0 || percentage < 99)) ? "gap-2" : ""}`}> -
70 ? "bg-green-500" : percentage && percentage > 30 ? "bg-yellow-500" : "bg-red-500") : (percentage && percentage > 70 ? "bg-red-500" : percentage && percentage > 30 ? "bg-yellow-500" : "bg-green-500")} h-3 rounded-full transition-all duration-500 ease-in-out`} - style={{width: (percentage ? percentage : 0) + "%"}}>
- -
+ {/* Label */} +
+ {percentageLabel ? percentageLabel : "Label"}
- - - + + {/* Progress Bar */} +
0 || percentage < 99) ? "gap-2" : "" + }`} + > +
70 + ? "bg-green-500" + : percentage && percentage > 30 + ? "bg-yellow-500" + : "bg-red-500" + : percentage && percentage > 70 + ? "bg-red-500" + : percentage && percentage > 30 + ? "bg-yellow-500" + : "bg-green-500" + } h-3 rounded-full transition-all duration-500 ease-in-out`} + style={{ width: (percentage ? percentage : 0) + "%" }} + >
+ +
+
+
+ + ); }; -export default HighlightCard; \ No newline at end of file +export default HighlightCard; diff --git a/components/organisms/Dashboard/dashboard.tsx b/components/organisms/Dashboard/dashboard.tsx index 11145b836e..c4480c635a 100644 --- a/components/organisms/Dashboard/dashboard.tsx +++ b/components/organisms/Dashboard/dashboard.tsx @@ -145,7 +145,7 @@ export const Dashboard = (): JSX.Element => {
{ percentageLabel={itemCountText} /> { percentageLabel={itemCountText} /> { percentageLabel={itemCountText} /> Date: Mon, 26 Sep 2022 16:11:40 +0000 Subject: [PATCH 05/16] chore(patch): release 1.7.0-beta.9 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.7.0-beta.9](https://github.com/open-sauced/insights/compare/v1.7.0-beta.8...v1.7.0-beta.9) (2022-09-26) ### πŸ› Bug Fixes * remove link from highlight card component ([#435](https://github.com/open-sauced/insights/issues/435)) ([25b6997](https://github.com/open-sauced/insights/commit/25b6997f8dbce1213ddbbaa367df9ebdd28b643e)) --- CHANGELOG.md | 7 +++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb7d0c1f0e..e0768e64e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ > All notable changes to this project will be documented in this file +## [1.7.0-beta.9](https://github.com/open-sauced/insights/compare/v1.7.0-beta.8...v1.7.0-beta.9) (2022-09-26) + + +### πŸ› Bug Fixes + +* remove link from highlight card component ([#435](https://github.com/open-sauced/insights/issues/435)) ([25b6997](https://github.com/open-sauced/insights/commit/25b6997f8dbce1213ddbbaa367df9ebdd28b643e)) + ## [1.7.0-beta.8](https://github.com/open-sauced/insights/compare/v1.7.0-beta.7...v1.7.0-beta.8) (2022-09-23) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 0f28c9f633..13d86d03fa 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.8", + "version": "1.7.0-beta.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.8", + "version": "1.7.0-beta.9", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 6736b3d9b8..e338951b71 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.8", + "version": "1.7.0-beta.9", "author": "TED Vortex ", "private": true, "license": "MIT", From 56e12ea18ec8a7983146a4f7a0f6fe13c10f36ca Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 27 Sep 2022 08:01:59 -0500 Subject: [PATCH 06/16] feat: add data from API to contributors page for hacktoberfest (#431) Relates to #404 --- .../ContributorTable/contributor-table.tsx | 156 +++++++++--------- components/molecules/RepoRow/repo-row.tsx | 29 +--- .../ContributorCard/contributor-card.tsx | 12 +- .../organisms/Contributors/contributors.tsx | 74 +++++---- interfaces/commit-graph.interface.ts | 4 + lib/hooks/useContributorData.ts | 127 +------------- lib/hooks/useNav.ts | 4 +- lib/hooks/useTopicContributions.ts | 27 +++ lib/hooks/useTopicContributorCommits.ts | 90 ++++++++++ lib/hooks/useTopicContributorPRs.ts | 23 +++ lib/utils/date-utils.ts | 24 +++ lib/utils/get-recent-commits.ts | 23 +++ next-types.d.ts | 10 +- .../molecules/contributor-table.stories.tsx | 2 - .../organisms/contributor-card.stories.tsx | 2 - 15 files changed, 325 insertions(+), 282 deletions(-) create mode 100644 interfaces/commit-graph.interface.ts create mode 100644 lib/hooks/useTopicContributions.ts create mode 100644 lib/hooks/useTopicContributorCommits.ts create mode 100644 lib/hooks/useTopicContributorPRs.ts create mode 100644 lib/utils/get-recent-commits.ts diff --git a/components/molecules/ContributorTable/contributor-table.tsx b/components/molecules/ContributorTable/contributor-table.tsx index cbe8836d4a..3489f3f8dc 100644 --- a/components/molecules/ContributorTable/contributor-table.tsx +++ b/components/molecules/ContributorTable/contributor-table.tsx @@ -3,7 +3,9 @@ import { IconContext } from "react-icons"; import { FaRegDotCircle, FaRegCheckCircle } from "react-icons/fa"; import { BsFileDiff } from "react-icons/bs"; import { GoDiff } from "react-icons/go"; -import { VscGitPullRequest,VscGitPullRequestClosed, VscGitMerge, VscGitPullRequestDraft } from "react-icons/vsc"; +import { VscGitPullRequest, VscGitPullRequestClosed, VscGitMerge, VscGitPullRequestDraft } from "react-icons/vsc"; +import { useTopicContributorPRs } from "lib/hooks/useTopicContributorPRs"; +import { calcDistanceFromToday } from "lib/utils/date-utils"; export interface PRs { prStatus: string; @@ -15,101 +17,93 @@ export interface PRs { } interface CardTableProps { - listOfPRs: PRs[]; + contributor: string; } -const ContributorTable = ({ listOfPRs }: CardTableProps) => { - return ( - listOfPRs.length > 0 ? - <> -
-
-
- - Latest PRs - -
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
+const ContributorTable = ({ contributor }: CardTableProps) => { + const { data, isLoading } = useTopicContributorPRs(contributor); + + return data.length > 0 ? ( + <> +
+
+
+ Latest PRs
-
- {listOfPRs.map(({prName, prStatus, prIssuedTime, prClosedTime, noOfFilesChanged, noOfLinesChanged}, index) => + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+
+
+ {data.map( + ( + { + title: prName, + state: prStatus, + merged, + merged_at: prMergedTime, + created_at: prIssuedTime, + filesCount: noOfFilesChanged, + linesCount: noOfLinesChanged + }, + index + ) => (
- {prStatus === "open" ? + {prStatus === "open" ? ( - + - - : - - prStatus === "closed" ? - - - - - : - - prStatus === "merged" ? - - - - - : - - - - - } - - {prIssuedTime} - - - {prName} - -
-
- {prIssuedTime} -
-
- {prClosedTime} + ) : prStatus === "closed" ? ( + + + + ) : merged ? ( + + + + ) : ( + + + + )} + {calcDistanceFromToday(new Date(parseInt(prIssuedTime, 10)))} + {prName}
- {noOfFilesChanged} + {calcDistanceFromToday(new Date(parseInt(prIssuedTime, 10)))}
- {noOfLinesChanged} + {merged ? calcDistanceFromToday(new Date(parseInt(prMergedTime, 10))) : "-"}
+
{noOfFilesChanged}
+
{noOfLinesChanged}
- )} -
+ ) + )}
- - - : - -
- There are currently no PRs...
+ + ) : ( +
{isLoading ? "Loading..." : "There are currently no PRs..."}
); }; -export default ContributorTable; \ No newline at end of file +export default ContributorTable; diff --git a/components/molecules/RepoRow/repo-row.tsx b/components/molecules/RepoRow/repo-row.tsx index 0ba9ba519c..21f911971b 100644 --- a/components/molecules/RepoRow/repo-row.tsx +++ b/components/molecules/RepoRow/repo-row.tsx @@ -3,7 +3,7 @@ import { RepositoriesRows } from "components/organisms/RepositoriesTable/reposit import Pill from "components/atoms/Pill/pill"; import { useContributionsList } from "lib/hooks/useContributionsList"; import { useRepositoryCommits } from "lib/hooks/useRepositoryCommits"; -import differenceInDays from "date-fns/differenceInDays"; +import { getCommitsLast30Days } from "lib/utils/get-recent-commits"; import TableRepositoryName from "../TableRepositoryName/table-repository-name"; import Sparkline from "components/atoms/Sparkline/sparkline"; import PullRequestOverview from "../PullRequestOverview/pull-request-overview"; @@ -11,15 +11,11 @@ import StackedAvatar from "../StackedAvatar/stacked-avatar"; import { useState } from "react"; import { classNames } from "components/organisms/RepositoriesTable/repositories-table"; import clsx from "clsx"; + interface RepoProps { repo: RepositoriesRows; } -interface CommitGraphData { - x: number, - y: number; -} - const getActivity = (total?: number, loading?: boolean) => { if (total === undefined || loading) { return "-"; @@ -36,27 +32,6 @@ const getActivity = (total?: number, loading?: boolean) => { return } text="Low" color="red" />; }; -const getCommitsLast30Days = (commits: DbRepoCommit[]): CommitGraphData[] => { - const commitDays = commits.reduce((days: { [name: string]: number }, curr: DbRepoCommit) => { - const day = differenceInDays(new Date(), new Date(Number(curr.commit_time))); - - if (days[day]) { - days[day]++; - } else { - days[day] = 1; - } - - return days; - }, {}); - - const days: any[] = []; - for(let d=30;d>=0;d--) { - days.push({ x: d, y: commitDays[d] || 0 }); - } - - return days; -}; - const getTotalPrs = (openPrsCount?: number, mergedPrsCount?: number, closedPrsCount?: number, draftPrsCount?: number): number => { const open = openPrsCount || 0; const merged = mergedPrsCount || 0; diff --git a/components/organisms/ContributorCard/contributor-card.tsx b/components/organisms/ContributorCard/contributor-card.tsx index 82effa883d..83e0bfad5b 100644 --- a/components/organisms/ContributorCard/contributor-card.tsx +++ b/components/organisms/ContributorCard/contributor-card.tsx @@ -5,7 +5,8 @@ import CardHorizontalBarChart, { LanguageObject } from "components/molecules/Car import CardLineChart from "components/molecules/CardLineChart/card-line-chart"; import CardProfile from "components/molecules/CardProfile/card-profile"; import CardRepoList, { RepoList } from "components/molecules/CardRepoList/card-repo-list"; -import ContributorTable, { PRs } from "components/molecules/ContributorTable/contributor-table"; +import ContributorTable from "components/molecules/ContributorTable/contributor-table"; +import { useTopicContributorCommits } from "lib/hooks/useTopicContributorCommits"; import { useState } from "react"; /* @@ -20,9 +21,7 @@ interface ContributorObject { dateOfFirstPR: string; }; repoList: RepoList[]; - lineChart: object; languageList: LanguageObject[]; - listOfPRs: PRs[]; } interface ContributorCardProps { @@ -31,8 +30,9 @@ interface ContributorCardProps { } const ContributorCard = ({ className, contributor }: ContributorCardProps) => { - const { profile, repoList, lineChart, languageList, listOfPRs } = contributor; + const { profile, repoList, languageList } = contributor; const [ showPRs, setShowPRs ] = useState(false); + const { chart } = useTopicContributorCommits(profile.githubName); return ( @@ -44,11 +44,11 @@ const ContributorCard = ({ className, contributor }: ContributorCardProps) => {
- +
{showPRs ? ( - + ) : null}
+

+
+ )} + + ); +}; + +export default WaitlistButton; diff --git a/components/organisms/Reports/reports.tsx b/components/organisms/Reports/reports.tsx index d677c1d8e5..0b70347450 100644 --- a/components/organisms/Reports/reports.tsx +++ b/components/organisms/Reports/reports.tsx @@ -1,9 +1,16 @@ +import Button from "components/atoms/Button/button"; +import Icon from "components/atoms/Icon/icon"; import Title from "components/atoms/Typography/title"; +import GitHubIcon from "public/icons/github-icon.svg"; import ReportsHistory from "components/molecules/ReportsHistory/reports-history"; import SelectReportsFilter from "components/molecules/SelectReportsFilter/select-reports-filter"; +import WaitlistButton from "components/molecules/WaitlistButton/waitlist-button"; +import { useGlobalStateContext } from "context/global-state"; import { Report } from "interfaces/report-type"; import useFilterOptions from "lib/hooks/useFilterOptions"; import { useRepositoriesList } from "lib/hooks/useRepositoriesList"; +import useSession from "lib/hooks/useSession"; +import useSupabaseAuth from "lib/hooks/useSupabaseAuth"; import getCurrentDate from "lib/utils/get-current-date"; import { useState } from "react"; @@ -13,10 +20,14 @@ const Reports = (): JSX.Element => { const userDeviceState = localStorage.getItem(USERDEVICESTORAGENAME); const initialState = userDeviceState ? JSON.parse(userDeviceState as string) : []; const { data, isLoading, isError } = useRepositoriesList(); - const [ reports, setReports ] = useState(initialState); + const [reports, setReports] = useState(initialState); + const { sessionToken, user, signIn } = useSupabaseAuth(); + const { setAppState } = useGlobalStateContext(); + const { hasReports, waitlisted } = useSession(); + const [submitting, setSubmitting] = useState(false); const filterOptions = useFilterOptions(); - const filterList = filterOptions.map(filter => { + const filterList = filterOptions.map((filter) => { return { filterName: filter, filterValue: filter.toLowerCase().replaceAll(" ", "-") @@ -31,17 +42,41 @@ const Reports = (): JSX.Element => { reportDate: getCurrentDate(), reportFormat: "CSV", isGenerated: dataReady, - data : dataReady ? data : [] + data: dataReady ? data : [] }; - setReports(prevState => { - const newState = [ ...prevState, constructedReport ]; + setReports((prevState) => { + const newState = [...prevState, constructedReport]; localStorage.setItem(USERDEVICESTORAGENAME, JSON.stringify(newState)); return newState; }); }; + const handleJoinClick = async (e: React.MouseEvent) => { + e.preventDefault(); + + setSubmitting(true); + + try { + await fetch(`${process.env.NEXT_PUBLIC_API_URL}/auth/waitlist`, { + method: "POST", + headers: { + Authorization: `Bearer ${sessionToken}` + } + }); + + setAppState((state) => ({ + ...state, + waitlisted: true + })); + } catch (e) { + // handle error + } finally { + setSubmitting(false); + } + }; + return (
@@ -49,20 +84,36 @@ const Reports = (): JSX.Element => { Contribution Insights
- - { reports.length > 0 && + {hasReports ? ( <> - - Download History - -
- + + + {reports.length > 0 && ( + <> + + Download History + +
+ + + )} - } + ) : hasReports === undefined ? ( +
+ {user ? ( +
Loading...
+ ) : ( +
+ +
+ )} +
+ ) : ( + + )}
); diff --git a/interfaces/global-state-types.ts b/interfaces/global-state-types.ts index 645c79b27b..0fcb0b8dbb 100644 --- a/interfaces/global-state-types.ts +++ b/interfaces/global-state-types.ts @@ -3,4 +3,5 @@ import { User } from "@supabase/gotrue-js/src/lib/types"; export interface GlobalStateInterface { user?: User | null; onboarded?: boolean; + waitlisted?: boolean; } \ No newline at end of file diff --git a/lib/hooks/useOnboarded.ts b/lib/hooks/useSession.ts similarity index 59% rename from lib/hooks/useOnboarded.ts rename to lib/hooks/useSession.ts index b7d0bf294e..1c3487beb6 100644 --- a/lib/hooks/useOnboarded.ts +++ b/lib/hooks/useSession.ts @@ -1,12 +1,13 @@ -import { useEffect } from "react"; +import { useEffect, useState } from "react"; import { useGlobalStateContext } from "context/global-state"; import useSupabaseAuth from "./useSupabaseAuth"; -const useOnboarded = () => { +const useSession = () => { const { sessionToken } = useSupabaseAuth(); const { appState, setAppState } = useGlobalStateContext(); + const [ hasReports, setHasReports ] = useState(undefined); - async function loadData() { + async function loadSession() { try { const resp = await fetch(`${process.env.NEXT_PUBLIC_API_URL}/auth/session`, { method: "GET", @@ -19,8 +20,11 @@ const useOnboarded = () => { setAppState((state) => ({ ...state, - onboarded: data.is_onboarded + onboarded: data.is_onboarded, + waitlisted: data.is_waitlisted })); + + setHasReports(data.insights_role >= 50); } catch (e) { // show an alert } @@ -28,11 +32,11 @@ const useOnboarded = () => { useEffect(() => { if (sessionToken) { - loadData(); + loadSession(); } }, [sessionToken]); - return { onboarded: appState?.onboarded }; + return { onboarded: appState?.onboarded, waitlisted: appState?.waitlisted, hasReports }; }; -export default useOnboarded; +export default useSession; diff --git a/pages/start.tsx b/pages/start.tsx index 1d016e29fb..e44434f673 100644 --- a/pages/start.tsx +++ b/pages/start.tsx @@ -25,7 +25,7 @@ import useSupabaseAuth from "lib/hooks/useSupabaseAuth"; import { User } from "@supabase/supabase-js"; import { useGlobalStateContext } from "context/global-state"; import { getAvatarLink } from "lib/utils/github"; -import useOnboarded from "lib/hooks/useOnboarded"; +import useSession from "lib/hooks/useSession"; type handleLoginStep = () => void; @@ -38,7 +38,7 @@ const LoginStep1: React.FC = ({ handleLoginStep, user }) => { captureAnayltics("User Onboarding", "onboardingStep1", "visited"); const router = useRouter(); - const { onboarded } = useOnboarded(); + const { onboarded } = useSession(); useEffect(() => { if (onboarded) { diff --git a/stories/molecules/wailtlist-button.stories.tsx b/stories/molecules/wailtlist-button.stories.tsx new file mode 100644 index 0000000000..3fe63dd31c --- /dev/null +++ b/stories/molecules/wailtlist-button.stories.tsx @@ -0,0 +1,29 @@ +import React from "react"; +import { ComponentStory } from "@storybook/react"; +import WaitlistButton from "../../components/molecules/WaitlistButton/waitlist-button"; + +const StoryConfig = { + title: "Design System/Molecules/Waitlist Button" +}; + +export default StoryConfig; + + +const WaitlistButtonTemplate: ComponentStory = (args) => ; + +export const Default = WaitlistButtonTemplate.bind({}); +export const Submitting = WaitlistButtonTemplate.bind({}); +export const Waitlisted = WaitlistButtonTemplate.bind({}); + +Default.args = { + waitlisted: false +}; + +Submitting.args = { + waitlisted: false, + submitting: true +}; + +Waitlisted.args = { + waitlisted: true, +} From 6d74a9ac14f42b2cca28cf61d43e6e4484070ba6 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 28 Sep 2022 17:17:30 +0000 Subject: [PATCH 11/16] chore(minor): release 1.7.0-beta.12 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.7.0-beta.12](https://github.com/open-sauced/insights/compare/v1.7.0-beta.11...v1.7.0-beta.12) (2022-09-28) ### πŸ• Features * adds initial support for restricting reports by user roles ([#451](https://github.com/open-sauced/insights/issues/451)) ([15a7643](https://github.com/open-sauced/insights/commit/15a764339c2b4cd87ecee8bc61d5c3c84cb9424a)), closes [#395](https://github.com/open-sauced/insights/issues/395) --- CHANGELOG.md | 7 +++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 343a424c7e..ecad7793f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ > All notable changes to this project will be documented in this file +## [1.7.0-beta.12](https://github.com/open-sauced/insights/compare/v1.7.0-beta.11...v1.7.0-beta.12) (2022-09-28) + + +### πŸ• Features + +* adds initial support for restricting reports by user roles ([#451](https://github.com/open-sauced/insights/issues/451)) ([15a7643](https://github.com/open-sauced/insights/commit/15a764339c2b4cd87ecee8bc61d5c3c84cb9424a)), closes [#395](https://github.com/open-sauced/insights/issues/395) + ## [1.7.0-beta.11](https://github.com/open-sauced/insights/compare/v1.7.0-beta.10...v1.7.0-beta.11) (2022-09-27) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index f709e8e132..9bb23841a2 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.11", + "version": "1.7.0-beta.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.11", + "version": "1.7.0-beta.12", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index e8fb40914e..0e8eff2747 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.11", + "version": "1.7.0-beta.12", "author": "TED Vortex ", "private": true, "license": "MIT", From 35b8541b71bcdd782af096f3332e64d75ea72d56 Mon Sep 17 00:00:00 2001 From: OGBONNA SUNDAY <62995161+SunGoldTech@users.noreply.github.com> Date: Wed, 28 Sep 2022 18:23:02 +0100 Subject: [PATCH 12/16] feat: Add truncate string for long pr names (#440) Closes #438 --- components/atoms/Typography/text.tsx | 8 ++++---- .../molecules/ContributorTable/contributor-table.tsx | 5 ++--- lib/utils/date-utils.ts | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/components/atoms/Typography/text.tsx b/components/atoms/Typography/text.tsx index 09b66e1d40..205f28f98d 100644 --- a/components/atoms/Typography/text.tsx +++ b/components/atoms/Typography/text.tsx @@ -5,15 +5,15 @@ const { Text: SupabaseTextComponent } = Typography; interface TextProps extends React.ComponentProps { //Add additional prop definitions here + title?: string } -const Text: React.FC = ( props ) => { - +const Text: React.FC = (props) => { return ( - {props.children} + {props.children} ); }; -export default Text; \ No newline at end of file +export default Text; diff --git a/components/molecules/ContributorTable/contributor-table.tsx b/components/molecules/ContributorTable/contributor-table.tsx index 3489f3f8dc..dc75fdb15c 100644 --- a/components/molecules/ContributorTable/contributor-table.tsx +++ b/components/molecules/ContributorTable/contributor-table.tsx @@ -22,7 +22,6 @@ interface CardTableProps { const ContributorTable = ({ contributor }: CardTableProps) => { const { data, isLoading } = useTopicContributorPRs(contributor); - return data.length > 0 ? ( <>
@@ -66,7 +65,7 @@ const ContributorTable = ({ contributor }: CardTableProps) => { index ) => (
-
+
{prStatus === "open" ? ( @@ -85,7 +84,7 @@ const ContributorTable = ({ contributor }: CardTableProps) => { )} {calcDistanceFromToday(new Date(parseInt(prIssuedTime, 10)))} - {prName} + {prName}
{calcDistanceFromToday(new Date(parseInt(prIssuedTime, 10)))} diff --git a/lib/utils/date-utils.ts b/lib/utils/date-utils.ts index b03f088fb0..22eeba7733 100644 --- a/lib/utils/date-utils.ts +++ b/lib/utils/date-utils.ts @@ -46,4 +46,4 @@ export const calcDistanceFromToday = (endDate: Date) => { } return `${daysFromNow}d`; -}; \ No newline at end of file +}; From d18bf26eb3c816f8bda18bcc829a96be6b248d62 Mon Sep 17 00:00:00 2001 From: OGBONNA SUNDAY <62995161+SunGoldTech@users.noreply.github.com> Date: Wed, 28 Sep 2022 17:26:33 +0000 Subject: [PATCH 13/16] chore(minor): release 1.7.0-beta.13 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.7.0-beta.13](https://github.com/open-sauced/insights/compare/v1.7.0-beta.12...v1.7.0-beta.13) (2022-09-28) ### πŸ• Features * Add truncate string for long pr names ([#440](https://github.com/open-sauced/insights/issues/440)) ([35b8541](https://github.com/open-sauced/insights/commit/35b8541b71bcdd782af096f3332e64d75ea72d56)), closes [#438](https://github.com/open-sauced/insights/issues/438) --- CHANGELOG.md | 7 +++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecad7793f0..3d18ead74c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ > All notable changes to this project will be documented in this file +## [1.7.0-beta.13](https://github.com/open-sauced/insights/compare/v1.7.0-beta.12...v1.7.0-beta.13) (2022-09-28) + + +### πŸ• Features + +* Add truncate string for long pr names ([#440](https://github.com/open-sauced/insights/issues/440)) ([35b8541](https://github.com/open-sauced/insights/commit/35b8541b71bcdd782af096f3332e64d75ea72d56)), closes [#438](https://github.com/open-sauced/insights/issues/438) + ## [1.7.0-beta.12](https://github.com/open-sauced/insights/compare/v1.7.0-beta.11...v1.7.0-beta.12) (2022-09-28) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 9bb23841a2..e57e04a394 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.12", + "version": "1.7.0-beta.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.12", + "version": "1.7.0-beta.13", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0e8eff2747..85595cb463 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.12", + "version": "1.7.0-beta.13", "author": "TED Vortex ", "private": true, "license": "MIT", From 4aba355220a0b4f342dddf8f3ad6a0f4adadaa3c Mon Sep 17 00:00:00 2001 From: OGBONNA SUNDAY <62995161+SunGoldTech@users.noreply.github.com> Date: Wed, 28 Sep 2022 20:29:12 +0100 Subject: [PATCH 14/16] fix: limit number of languages in contibutor's card (#441) Closes #402 --- .../card-horizontal-bar-chart.tsx | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/components/molecules/CardHorizontalBarChart/card-horizontal-bar-chart.tsx b/components/molecules/CardHorizontalBarChart/card-horizontal-bar-chart.tsx index 691835b9e7..6ca91993ef 100644 --- a/components/molecules/CardHorizontalBarChart/card-horizontal-bar-chart.tsx +++ b/components/molecules/CardHorizontalBarChart/card-horizontal-bar-chart.tsx @@ -1,4 +1,4 @@ -import { useState } from "react"; +import { useEffect, useState } from "react"; import Text from "components/atoms/Typography/text"; import colors from "../../../lib/utils/color.json"; @@ -24,6 +24,8 @@ const languageToColor: AllSimpleColors = colors as AllSimpleColors; const CardHorizontalBarChart = ({ languageList }: CardHorizontalBarChartProps): JSX.Element => { const sortedLangArray = languageList.sort((a, b) => b.percentageUsed - a.percentageUsed); + // used this state to calculate thte percentage of each language + const [percentage, setPercentage] = useState(0); const [descriptText, setDescriptText] = useState(sortedLangArray[0].languageName); @@ -31,17 +33,29 @@ const CardHorizontalBarChart = ({ languageList }: CardHorizontalBarChartProps): setDescriptText(descriptText); }; + useEffect(() =>{ + const totalSumOfFirstFivePercentage = sortedLangArray + .slice(0,4) + .map(lang => lang.percentageUsed) + .reduce((prev: number, next: number) => prev + next); // need some help fixing this type error, used any to bypass πŸ™ + setPercentage(totalSumOfFirstFivePercentage); + },[percentage, sortedLangArray]); + return (
{/* Progress Bar */} -
+
{sortedLangArray.map(({ languageName, percentageUsed }, index) => -
handleChangeDescriptText(languageName)} className="h-2 transition-all duration-500 ease-in-out" - style={{ width: `${percentageUsed}%`, backgroundColor: languageToColor[languageName] ? languageToColor[languageName].color as string : NOTSUPPORTED }} - /> + style={{ width: `${percentageUsed < 20 ? percentageUsed / percentage * 100 : percentageUsed}%`, backgroundColor: languageToColor[languageName] ? languageToColor[languageName].color as string : NOTSUPPORTED }} + />); + } + )}
From 2234e7d67a4827679f945fe38ae744891c917567 Mon Sep 17 00:00:00 2001 From: OGBONNA SUNDAY <62995161+SunGoldTech@users.noreply.github.com> Date: Wed, 28 Sep 2022 19:33:16 +0000 Subject: [PATCH 15/16] chore(patch): release 1.7.0-beta.14 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.7.0-beta.14](https://github.com/open-sauced/insights/compare/v1.7.0-beta.13...v1.7.0-beta.14) (2022-09-28) ### πŸ› Bug Fixes * limit number of languages in contibutor's card ([#441](https://github.com/open-sauced/insights/issues/441)) ([4aba355](https://github.com/open-sauced/insights/commit/4aba355220a0b4f342dddf8f3ad6a0f4adadaa3c)), closes [#402](https://github.com/open-sauced/insights/issues/402) --- CHANGELOG.md | 7 +++++++ npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d18ead74c..1c74a2ef90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ > All notable changes to this project will be documented in this file +## [1.7.0-beta.14](https://github.com/open-sauced/insights/compare/v1.7.0-beta.13...v1.7.0-beta.14) (2022-09-28) + + +### πŸ› Bug Fixes + +* limit number of languages in contibutor's card ([#441](https://github.com/open-sauced/insights/issues/441)) ([4aba355](https://github.com/open-sauced/insights/commit/4aba355220a0b4f342dddf8f3ad6a0f4adadaa3c)), closes [#402](https://github.com/open-sauced/insights/issues/402) + ## [1.7.0-beta.13](https://github.com/open-sauced/insights/compare/v1.7.0-beta.12...v1.7.0-beta.13) (2022-09-28) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index e57e04a394..8f562dbff0 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.13", + "version": "1.7.0-beta.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.13", + "version": "1.7.0-beta.14", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 85595cb463..91830da9aa 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.13", + "version": "1.7.0-beta.14", "author": "TED Vortex ", "private": true, "license": "MIT", From d2cd1b2f8a122d72399cb3a7a4359eb9aedbc403 Mon Sep 17 00:00:00 2001 From: Brian 'bdougie' Douglas Date: Wed, 28 Sep 2022 21:30:41 +0000 Subject: [PATCH 16/16] chore(minor): release 1.8.0-beta.1 on beta channel [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.8.0-beta.1](https://github.com/open-sauced/insights/compare/v1.7.0...v1.8.0-beta.1) (2022-09-28) ### πŸ• Features * add data from API to contributors page for hacktoberfest ([#431](https://github.com/open-sauced/insights/issues/431)) ([56e12ea](https://github.com/open-sauced/insights/commit/56e12ea18ec8a7983146a4f7a0f6fe13c10f36ca)), closes [#404](https://github.com/open-sauced/insights/issues/404) * Add truncate string for long pr names ([#440](https://github.com/open-sauced/insights/issues/440)) ([35b8541](https://github.com/open-sauced/insights/commit/35b8541b71bcdd782af096f3332e64d75ea72d56)), closes [#438](https://github.com/open-sauced/insights/issues/438) * adds initial support for restricting reports by user roles ([#451](https://github.com/open-sauced/insights/issues/451)) ([15a7643](https://github.com/open-sauced/insights/commit/15a764339c2b4cd87ecee8bc61d5c3c84cb9424a)), closes [#395](https://github.com/open-sauced/insights/issues/395) ### πŸ› Bug Fixes * adds links to footer ([#432](https://github.com/open-sauced/insights/issues/432)) ([7adfbe7](https://github.com/open-sauced/insights/commit/7adfbe72cc602748cad3e546d5e696ae60c101a6)) * inverse the scatter chart ([#433](https://github.com/open-sauced/insights/issues/433)) ([18dd094](https://github.com/open-sauced/insights/commit/18dd09474582269433cf36f29b17277b14ffceb5)), closes [#399](https://github.com/open-sauced/insights/issues/399) * limit number of languages in contibutor's card ([#441](https://github.com/open-sauced/insights/issues/441)) ([4aba355](https://github.com/open-sauced/insights/commit/4aba355220a0b4f342dddf8f3ad6a0f4adadaa3c)), closes [#402](https://github.com/open-sauced/insights/issues/402) * remove link from highlight card component ([#435](https://github.com/open-sauced/insights/issues/435)) ([25b6997](https://github.com/open-sauced/insights/commit/25b6997f8dbce1213ddbbaa367df9ebdd28b643e)) * remove remaining mock data for contributors ([#443](https://github.com/open-sauced/insights/issues/443)) ([974c739](https://github.com/open-sauced/insights/commit/974c7395f62c7518c14aaa6e1ab089ec0a5df88f)), closes [#404](https://github.com/open-sauced/insights/issues/404) [#444](https://github.com/open-sauced/insights/issues/444) --- CHANGELOG.md | 18 ++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00c368ef22..21f104d8ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,24 @@ > All notable changes to this project will be documented in this file +## [1.8.0-beta.1](https://github.com/open-sauced/insights/compare/v1.7.0...v1.8.0-beta.1) (2022-09-28) + + +### πŸ• Features + +* add data from API to contributors page for hacktoberfest ([#431](https://github.com/open-sauced/insights/issues/431)) ([56e12ea](https://github.com/open-sauced/insights/commit/56e12ea18ec8a7983146a4f7a0f6fe13c10f36ca)), closes [#404](https://github.com/open-sauced/insights/issues/404) +* Add truncate string for long pr names ([#440](https://github.com/open-sauced/insights/issues/440)) ([35b8541](https://github.com/open-sauced/insights/commit/35b8541b71bcdd782af096f3332e64d75ea72d56)), closes [#438](https://github.com/open-sauced/insights/issues/438) +* adds initial support for restricting reports by user roles ([#451](https://github.com/open-sauced/insights/issues/451)) ([15a7643](https://github.com/open-sauced/insights/commit/15a764339c2b4cd87ecee8bc61d5c3c84cb9424a)), closes [#395](https://github.com/open-sauced/insights/issues/395) + + +### πŸ› Bug Fixes + +* adds links to footer ([#432](https://github.com/open-sauced/insights/issues/432)) ([7adfbe7](https://github.com/open-sauced/insights/commit/7adfbe72cc602748cad3e546d5e696ae60c101a6)) +* inverse the scatter chart ([#433](https://github.com/open-sauced/insights/issues/433)) ([18dd094](https://github.com/open-sauced/insights/commit/18dd09474582269433cf36f29b17277b14ffceb5)), closes [#399](https://github.com/open-sauced/insights/issues/399) +* limit number of languages in contibutor's card ([#441](https://github.com/open-sauced/insights/issues/441)) ([4aba355](https://github.com/open-sauced/insights/commit/4aba355220a0b4f342dddf8f3ad6a0f4adadaa3c)), closes [#402](https://github.com/open-sauced/insights/issues/402) +* remove link from highlight card component ([#435](https://github.com/open-sauced/insights/issues/435)) ([25b6997](https://github.com/open-sauced/insights/commit/25b6997f8dbce1213ddbbaa367df9ebdd28b643e)) +* remove remaining mock data for contributors ([#443](https://github.com/open-sauced/insights/issues/443)) ([974c739](https://github.com/open-sauced/insights/commit/974c7395f62c7518c14aaa6e1ab089ec0a5df88f)), closes [#404](https://github.com/open-sauced/insights/issues/404) [#444](https://github.com/open-sauced/insights/issues/444) + ## [1.7.0-beta.14](https://github.com/open-sauced/insights/compare/v1.7.0-beta.13...v1.7.0-beta.14) (2022-09-28) ### πŸ› Bug Fixes diff --git a/package-lock.json b/package-lock.json index 297f860bf9..a8bf0d19a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@open-sauced/insights", - "version": "1.7.0-beta.14", + "version": "1.8.0-beta.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@open-sauced/insights", - "version": "1.7.0-beta.14", + "version": "1.8.0-beta.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 91830da9aa..1ec333dcbd 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@open-sauced/insights", "description": "πŸ•The dashboard for open source discovery.", "keywords": [], - "version": "1.7.0-beta.14", + "version": "1.8.0-beta.1", "author": "TED Vortex ", "private": true, "license": "MIT",