Skip to content

Commit

Permalink
chore: release 2.19.0 (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Apr 17, 2024
2 parents 7a32a52 + a4955bd commit e578ee4
Show file tree
Hide file tree
Showing 58 changed files with 3,823 additions and 2,139 deletions.
116 changes: 116 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,122 @@

> All notable changes to this project will be documented in this file

## [2.19.0-beta.16](https://github.com/open-sauced/app/compare/v2.19.0-beta.15...v2.19.0-beta.16) (2024-04-17)


### 馃崟 Features

* switch [#100](https://github.com/open-sauced/app/issues/100)DaysOfOSS banner with Workspaces banner on feed page ([#3216](https://github.com/open-sauced/app/issues/3216)) ([417e98b](https://github.com/open-sauced/app/commit/417e98bf416370bb842bba6ada28b627cc0df6ab))

## [2.19.0-beta.15](https://github.com/open-sauced/app/compare/v2.19.0-beta.14...v2.19.0-beta.15) (2024-04-17)


### 馃悰 Bug Fixes

* fixed star search URL for SEO ([#3218](https://github.com/open-sauced/app/issues/3218)) ([69f8d67](https://github.com/open-sauced/app/commit/69f8d67cfff5c77a95b3cf84b7ecf75e56c4683f))

## [2.19.0-beta.14](https://github.com/open-sauced/app/compare/v2.19.0-beta.13...v2.19.0-beta.14) (2024-04-17)


### 馃崟 Features

* add support for blogpost from generic platforms ([#2555](https://github.com/open-sauced/app/issues/2555)) ([8ca6f25](https://github.com/open-sauced/app/commit/8ca6f25a24c1563e317ddf5e315ef75bc9c534a6))
* styling `/starsearch` ([#3211](https://github.com/open-sauced/app/issues/3211)) ([5e4c037](https://github.com/open-sauced/app/commit/5e4c0370163b34036bde715c2be442fb3a9019ae))

## [2.19.0-beta.13](https://github.com/open-sauced/app/compare/v2.19.0-beta.12...v2.19.0-beta.13) (2024-04-17)


### 馃悰 Bug Fixes

* removed activity column from contributor grid ([#3206](https://github.com/open-sauced/app/issues/3206)) ([4b11168](https://github.com/open-sauced/app/commit/4b11168278a2a07a8ed7736ab276baae474eed36))

## [2.19.0-beta.12](https://github.com/open-sauced/app/compare/v2.19.0-beta.11...v2.19.0-beta.12) (2024-04-17)


### 馃崟 Features

* render markdown for `/starsearch` responses ([#3204](https://github.com/open-sauced/app/issues/3204)) ([49ce317](https://github.com/open-sauced/app/commit/49ce317c57ee0ba2a4ea53cbb9dc71f1f5e4e3be))

## [2.19.0-beta.11](https://github.com/open-sauced/app/compare/v2.19.0-beta.10...v2.19.0-beta.11) (2024-04-17)


### 馃悰 Bug Fixes

* update logic for most used languages to match contributor profile ([#3205](https://github.com/open-sauced/app/issues/3205)) ([e8f8a75](https://github.com/open-sauced/app/commit/e8f8a75319372a8f9aef548085f38e1b1f52f300))

## [2.19.0-beta.10](https://github.com/open-sauced/app/compare/v2.19.0-beta.9...v2.19.0-beta.10) (2024-04-17)


### 馃悰 Bug Fixes

* now links in collapsed sidebar no longer receive focus ([#3187](https://github.com/open-sauced/app/issues/3187)) ([5b05ace](https://github.com/open-sauced/app/commit/5b05acee0e54626167e230f6bee75f79ca5bec57))
* now there is feedback when saving or updating workspace settings ([#3184](https://github.com/open-sauced/app/issues/3184)) ([43784b2](https://github.com/open-sauced/app/commit/43784b21d828dba3233f41f4c10189b8bf9a755b))
* quick fix StarSearch response ([#3194](https://github.com/open-sauced/app/issues/3194)) ([0c2847e](https://github.com/open-sauced/app/commit/0c2847e5c1a0b889edfdc76b1ffde7e49e357124))
* removed deprecated list pages ([#3197](https://github.com/open-sauced/app/issues/3197)) ([fa14557](https://github.com/open-sauced/app/commit/fa14557de1004c7f394563d807160a0d7130036f))

## [2.19.0-beta.9](https://github.com/open-sauced/app/compare/v2.19.0-beta.8...v2.19.0-beta.9) (2024-04-17)


### 馃崟 Features

* rename cumulative to history in Repo pages ([#3195](https://github.com/open-sauced/app/issues/3195)) ([8a33e24](https://github.com/open-sauced/app/commit/8a33e24802da851a314571b05d97fdbcacda7adb))

## [2.19.0-beta.8](https://github.com/open-sauced/app/compare/v2.19.0-beta.7...v2.19.0-beta.8) (2024-04-16)


### 馃悰 Bug Fixes

* now repo page OG images are corrext for production ([#3179](https://github.com/open-sauced/app/issues/3179)) ([772c7b5](https://github.com/open-sauced/app/commit/772c7b532178fc97d803d4f21de8783136c70066))

## [2.19.0-beta.7](https://github.com/open-sauced/app/compare/v2.19.0-beta.6...v2.19.0-beta.7) (2024-04-15)


### 馃崟 Features

* Create robots.txt ([#3183](https://github.com/open-sauced/app/issues/3183)) ([751c561](https://github.com/open-sauced/app/commit/751c561a71b0b9f3e6c134f1a2a87288f3be488c))

## [2.19.0-beta.6](https://github.com/open-sauced/app/compare/v2.19.0-beta.5...v2.19.0-beta.6) (2024-04-15)


### 馃悰 Bug Fixes

* remove console.info call from mutateHandler in AppSidebar component ([#3185](https://github.com/open-sauced/app/issues/3185)) ([96b63d7](https://github.com/open-sauced/app/commit/96b63d72f7936c3177a9679c9765cfa4d06fe224))

## [2.19.0-beta.5](https://github.com/open-sauced/app/compare/v2.19.0-beta.4...v2.19.0-beta.5) (2024-04-12)


### 馃崟 Features

* change repo links from github to repo pages ([#3178](https://github.com/open-sauced/app/issues/3178)) ([506dde2](https://github.com/open-sauced/app/commit/506dde2c0326be1eb67692cdc568b007bc2c2fbe))

## [2.19.0-beta.4](https://github.com/open-sauced/app/compare/v2.19.0-beta.3...v2.19.0-beta.4) (2024-04-12)


### 馃崟 Features

* created the workspace activity page with a pull requests table ([#3147](https://github.com/open-sauced/app/issues/3147)) ([9f65b9c](https://github.com/open-sauced/app/commit/9f65b9c5b3c9fbf95aa8e984e952938cd195072b))

## [2.19.0-beta.3](https://github.com/open-sauced/app/compare/v2.19.0-beta.2...v2.19.0-beta.3) (2024-04-12)


### 馃崟 Features

* add link from Repo pages to GitHub ([#3177](https://github.com/open-sauced/app/issues/3177)) ([f4e1de4](https://github.com/open-sauced/app/commit/f4e1de4f687cc1f5793a9819944f3c924496afbb))

## [2.19.0-beta.2](https://github.com/open-sauced/app/compare/v2.19.0-beta.1...v2.19.0-beta.2) (2024-04-12)


### 馃悰 Bug Fixes

* updated styles of create insights links in sidebar ([#3173](https://github.com/open-sauced/app/issues/3173)) ([6c0c5ce](https://github.com/open-sauced/app/commit/6c0c5ce80a581669d1f8c0fbd7111c737b5fed6b))

## [2.19.0-beta.1](https://github.com/open-sauced/app/compare/v2.18.0...v2.19.0-beta.1) (2024-04-11)


### 馃崟 Features

* basic implementation of StarSearch ([#3162](https://github.com/open-sauced/app/issues/3162)) ([0086134](https://github.com/open-sauced/app/commit/008613421a6f4fe4a415558c779850d443ba7568))

## [2.18.0](https://github.com/open-sauced/app/compare/v2.17.0...v2.18.0) (2024-04-11)


Expand Down
20 changes: 7 additions & 13 deletions components/Graphs/ForksChart.tsx
Expand Up @@ -15,7 +15,7 @@ import {
import { BiGitRepoForked } from "react-icons/bi";
import { type DayRange } from "components/shared/DayRangePicker";
import { type StatsType } from "lib/hooks/api/useFetchMetricStats";
import { getCumulativeForksHistogramToDays, getDailyForksHistogramToDays, getTicks } from "lib/utils/repo-page-utils";
import { getHistoryForksHistogramToDays, getDailyForksHistogramToDays, getTicks } from "lib/utils/repo-page-utils";

import Card from "components/atoms/Card/card";
import Button from "components/shared/Button/button";
Expand All @@ -30,12 +30,9 @@ type ForksChartProps = {
};

export default function ForksChart({ stats, total, syncId, range = 30, isLoading }: ForksChartProps) {
const [category, setCategory] = useState<"daily" | "cumulative">("daily");
const [category, setCategory] = useState<"daily" | "history">("daily");
const dailyData = useMemo(() => getDailyForksHistogramToDays({ stats, range }), [stats, range]);
const cumulativeData = useMemo(
() => getCumulativeForksHistogramToDays({ stats, total, range }),
[stats, total, range]
);
const historyData = useMemo(() => getHistoryForksHistogramToDays({ stats, total, range }), [stats, total, range]);
const bucketTicks = useMemo(() => getTicks({ histogram: dailyData, range }), [dailyData, range]);

const renderChart = () => {
Expand All @@ -50,9 +47,9 @@ export default function ForksChart({ stats, total, syncId, range = 30, isLoading
<Bar dataKey="forks_count" fill="#FF5100" />
</BarChart>
);
case "cumulative":
case "history":
return (
<LineChart data={cumulativeData} syncId={syncId}>
<LineChart data={historyData} syncId={syncId}>
<XAxis dataKey="bucket" tick={false} />
<YAxis domain={["auto", "auto"]} />
<Tooltip content={CustomTooltip} filterNull={false} />
Expand All @@ -78,11 +75,8 @@ export default function ForksChart({ stats, total, syncId, range = 30, isLoading
<Button variant={category === "daily" ? "outline" : "default"} onClick={() => setCategory("daily")}>
Daily
</Button>
<Button
variant={category === "cumulative" ? "outline" : "default"}
onClick={() => setCategory("cumulative")}
>
Cumulative
<Button variant={category === "history" ? "outline" : "default"} onClick={() => setCategory("history")}>
History
</Button>
</div>
</>
Expand Down
20 changes: 7 additions & 13 deletions components/Graphs/StarsChart.tsx
Expand Up @@ -14,7 +14,7 @@ import {
CartesianGrid,
} from "recharts";
import { FaStar } from "react-icons/fa6";
import { getCumulativeStarsHistogramToDays, getDailyStarsHistogramToDays, getTicks } from "lib/utils/repo-page-utils";
import { getHistoryStarsHistogramToDays, getDailyStarsHistogramToDays, getTicks } from "lib/utils/repo-page-utils";
import { type DayRange } from "components/shared/DayRangePicker";
import { type StatsType } from "lib/hooks/api/useFetchMetricStats";
import Card from "components/atoms/Card/card";
Expand All @@ -30,12 +30,9 @@ type StarsChartProps = {
};

export default function StarsChart({ stats, total, syncId, range = 30, isLoading }: StarsChartProps) {
const [category, setCategory] = useState<"daily" | "cumulative">("daily");
const [category, setCategory] = useState<"daily" | "history">("daily");
const dailyData = useMemo(() => getDailyStarsHistogramToDays({ stats, range }), [stats, range]);
const cumulativeData = useMemo(
() => getCumulativeStarsHistogramToDays({ stats, total, range }),
[stats, total, range]
);
const historyData = useMemo(() => getHistoryStarsHistogramToDays({ stats, total, range }), [stats, total, range]);
const bucketTicks = useMemo(() => getTicks({ histogram: dailyData, range }), [dailyData, range]);

const renderChart = () => {
Expand All @@ -50,9 +47,9 @@ export default function StarsChart({ stats, total, syncId, range = 30, isLoading
<Bar dataKey="star_count" fill="#FF5100" />
</BarChart>
);
case "cumulative":
case "history":
return (
<LineChart data={cumulativeData} syncId={syncId}>
<LineChart data={historyData} syncId={syncId}>
<XAxis dataKey="bucket" ticks={bucketTicks} tick={CustomTick} />
<YAxis domain={["auto", "auto"]} />
<Tooltip content={CustomTooltip} filterNull={false} />
Expand All @@ -78,11 +75,8 @@ export default function StarsChart({ stats, total, syncId, range = 30, isLoading
<Button variant={category === "daily" ? "outline" : "default"} onClick={() => setCategory("daily")}>
Daily
</Button>
<Button
variant={category === "cumulative" ? "outline" : "default"}
onClick={() => setCategory("cumulative")}
>
Cumulative
<Button variant={category === "history" ? "outline" : "default"} onClick={() => setCategory("history")}>
History
</Button>
</div>
</>
Expand Down
5 changes: 4 additions & 1 deletion components/PullRequests/PrStateAuthorIcon.tsx
@@ -1,4 +1,5 @@
import { GitMergeIcon, GitPullRequestClosedIcon, GitPullRequestIcon } from "@primer/octicons-react";
import Link from "next/link";
import { Avatar } from "components/atoms/Avatar/avatar-hover-card";

function getPullRequestStateIcon(
Expand Down Expand Up @@ -51,7 +52,9 @@ export const PrStateAuthorIcon = ({

return (
<div className="relative w-max">
<Avatar contributor={author} size="medium" />
<Link href={`/user/${author}`} title={`User profile for ${author}`}>
<Avatar contributor={author} size="medium" />
</Link>
<div
className={`absolute -bottom-[10px] -right-[12px] p-1 border-[2px] border-white rounded-full [&_svg]:absolute [&_svg]:top-[3.5px] [&_svg]:left-[3.5px] ${backgroundColor}`}
style={{ width: "25px", height: "25px" }}
Expand Down
2 changes: 1 addition & 1 deletion components/Workspaces/TrackedRepositoryFilter.tsx
Expand Up @@ -18,7 +18,7 @@ export default function TrackedRepositoryFilter({ options, handleSelect }: Track
<MultiSelect
placeholder="Filter"
inputPlaceholder="Search repositories"
className="px-3"
className="px-3 text-sm"
options={options}
open={isMultiSelectOpen}
setOpen={setIsMultiSelectOpen}
Expand Down
2 changes: 1 addition & 1 deletion components/Workspaces/WorkspaceLayout.tsx
Expand Up @@ -50,7 +50,7 @@ export const WorkspaceLayout = ({ workspaceId, banner, children, footer }: Works
<TopNav />
<ClientOnly>
<span ref={sidebarRef}>
<AppSideBar workspaceId={workspaceId} hideSidebar={hideSidebar} sidebarCollapsed={showingSidebar} />
<AppSideBar workspaceId={workspaceId} hideSidebar={hideSidebar} sidebarCollapsed={!showingSidebar} />
</span>
{!showingSidebar && (
<button
Expand Down

0 comments on commit e578ee4

Please sign in to comment.