Skip to content

Commit

Permalink
chore: release 2.54.0 (#3916)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts authored Aug 12, 2024
2 parents c79555a + f72ee5f commit 8c278a9
Show file tree
Hide file tree
Showing 19 changed files with 559 additions and 470 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@

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

## [2.54.0-beta.1](https://github.com/open-sauced/app/compare/v2.53.1-beta.2...v2.54.0-beta.1) (2024-08-12)


### 🍕 Features

* update DevCard design ([#3879](https://github.com/open-sauced/app/issues/3879)) ([979576d](https://github.com/open-sauced/app/commit/979576d482ec1f0d6fe5cc6b63468ac27e1628a8))

## [2.53.1-beta.2](https://github.com/open-sauced/app/compare/v2.53.1-beta.1...v2.53.1-beta.2) (2024-08-12)


### 🐛 Bug Fixes

* contributor insight card orange dot no longer squished ([#3912](https://github.com/open-sauced/app/issues/3912)) ([01cb265](https://github.com/open-sauced/app/commit/01cb265d531e7b9392d89b397436afab12442c78))

## [2.53.1-beta.1](https://github.com/open-sauced/app/compare/v2.53.0...v2.53.1-beta.1) (2024-08-12)


### 🐛 Bug Fixes

* add margin left to prevent overflow of nav item ([#3904](https://github.com/open-sauced/app/issues/3904)) ([c8b8ace](https://github.com/open-sauced/app/commit/c8b8acec3595bf4a243f15ade411f4fe4d4e7693))

## [2.53.0](https://github.com/open-sauced/app/compare/v2.52.0...v2.53.0) (2024-08-12)


Expand Down
16 changes: 15 additions & 1 deletion components/atoms/Pill/pill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,21 @@ const Pill: React.FC<PillProps> = ({ className, text, color = "slate", size = "b
${size === "small" ? "py-1 px-1.5" : "py-1.5 px-2 "}
inline-flex items-center rounded-full w-fit gap-1 ${className}`}
>
{icon}
<span
className={`${
color === "green"
? "text-light-grass-11"
: color === "yellow"
? "text-amber-700"
: color === "red"
? "text-light-red-11"
: color === "purple"
? "text-purple-600"
: "text-light-slate-11"
}`}
>
{icon}
</span>

<p
className={clsx(
Expand Down
104 changes: 73 additions & 31 deletions components/molecules/DevCard/dev-card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,78 @@ const DevCardTemplate: ComponentStory<typeof DevCard> = (args) => <DevCard {...a
export const DevCardStory = DevCardTemplate.bind({});

DevCardStory.args = {
username: "foxyblocks",
name: "Chris Schlensker",
avatarURL: "https://avatars.githubusercontent.com/u/555044?v=4",
prs: 5,
repos: 57,
bio: "This is the story all about how my life got flipped turned upside down, and I'd like to take a minute just sit right there, I'll tell you how I became the prince of a town called Bel-Air.",
prVelocity: 102,
prMergePercentage: 74,
age: 656,
user: demoUser(),
isInteractive: true
};

export const Loading = DevCardTemplate.bind({});

Loading.args = {
username: "foxyblocks",
avatarURL: "https://avatars.githubusercontent.com/u/555044?v=4",
isLoading: true,
};

export const HighActivity = DevCardTemplate.bind({});

HighActivity.args = {
...DevCardStory.args,
repos: 200,
};

export const LowActivity = DevCardTemplate.bind({});

LowActivity.args = {
...DevCardStory.args,
repos: 0,
prs: 0,
};
function demoUser() {
return {
"email": "",
"notification_count": 0,
"insights_count": 0,
"personal_workspace_id": "",
"id": 20603494,
"open_issues": 31,
"created_at": "2016-07-22T19:49:17.000Z",
"updated_at": "2024-08-08T19:49:09.940Z",
"first_opened_pr_at": "2022-11-09T20:50:08.000Z",
"first_pushed_commit_at": "2019-04-11T20:59:57.000Z",
"connected_at": "2024-01-31T17:16:08.609Z",
"campaign_start_date": "2024-01-31T17:16:08.609Z",
"node_id": "",
"avatar_url": "https://avatars.githubusercontent.com/u/20603494?u=dab23ed63c98dc94be294eb1a826e8d204b72235&v=4",
"gravatar_id": "",
"url": "https://github.com/zeucapua",
"login": "zeucapua",
"is_private": false,
"is_open_sauced_member": true,
"is_onboarded": true,
"is_waitlisted": true,
"role": 10,
"bio": "Fullstack Web Developer and Coding Educator",
"blog": "zeu.dev",
"name": "zeudev",
"twitter_username": "zeu_dev",
"linkedin_url": "",
"github_sponsors_url": "",
"discord_url": "",
"company": "@open-sauced",
"location": "Los Angeles, CA",
"display_local_time": false,
"interests": "javascript,typescript,svelte,react",
"hireable": false,
"public_repos": 58,
"public_gists": 0,
"type": "User",
"display_email": false,
"receive_collaboration": false,
"receive_product_updates": true,
"timezone": "Pacific Daylight Time",
"coupon_code": "",
"languages": {
"CSS": 228,
"HTML": 346,
"Svelte": 10076,
"JavaScript": 1015,
"TypeScript": 5284
},
"highlights_count": 0,
"following_count": 1,
"followers_count": 1,
"oscr": 165.20000000000002,
"devstats_updated_at": "2024-08-08T19:49:08.000Z",
"accepted_usage_terms": false,
"recent_pull_request_velocity_count": 4,
"recent_pull_requests_count": 23,
"is_maintainer": true,
"commits": 0,
"prs_created": 19,
"prs_reviewed": 14,
"issues_created": 15,
"commit_comments": 0,
"issue_comments": 14,
"pr_review_comments": 3,
"comments": 17,
"total_contributions": 48
};
}
Loading

0 comments on commit 8c278a9

Please sign in to comment.