forked from harness/canary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'harness:main' into pixel-point-onboarding
- Loading branch information
Showing
56 changed files
with
829 additions
and
450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,144 @@ export const mockPullRequestActions = [ | |
] | ||
|
||
export const mockActivities = [ | ||
{ | ||
id: 795, | ||
created: 1737660580605, | ||
updated: 1737660580605, | ||
edited: 1737660580605, | ||
parent_id: null, | ||
repo_id: 22, | ||
pullreq_id: 174, | ||
order: 2, | ||
sub_order: 0, | ||
type: 'code-comment', | ||
kind: 'change-comment', | ||
text: 'We should add type checking for this function to improve type safety', | ||
payload: { | ||
title: '@@ -0,0 +1,4 @@', | ||
lines: [ | ||
"+import tailwindcssAnimate from 'tailwindcss-animate'", | ||
"+import { PluginAPI } from 'tailwindcss/types/config'", | ||
'+', | ||
'+export default {' | ||
], | ||
line_start_new: true, | ||
line_end_new: true | ||
}, | ||
author: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
}, | ||
resolved: 1737660580605, | ||
resolver: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
}, | ||
code_comment: { | ||
outdated: false, | ||
merge_base_sha: '12421f51a7cca90376cba8de0fe9b3289eb6e218', | ||
source_sha: '34f4d7bbfeda153e4965395ac6a20e80dec63e57', | ||
path: 'packages/canary/configs/tailwind.ts', | ||
line_new: 2, | ||
span_new: 1, | ||
line_old: 0, | ||
span_old: 0 | ||
} | ||
}, | ||
{ | ||
id: 796, | ||
created: 1737660580605, | ||
updated: 1737660580605, | ||
edited: 1737660580605, | ||
parent_id: null, | ||
repo_id: 22, | ||
pullreq_id: 174, | ||
order: 2, | ||
sub_order: 0, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: 'Should we consider adding unit tests for the new animation components?', | ||
payload: {}, | ||
author: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
}, | ||
resolved: 1737660580607, | ||
resolver: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
} | ||
}, | ||
|
||
{ | ||
id: 797, | ||
created: 1737660580606, | ||
updated: 1737660580606, | ||
edited: 1737660580606, | ||
parent_id: 796, | ||
repo_id: 22, | ||
pullreq_id: 174, | ||
order: 2, | ||
sub_order: 1, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: 'Yes, I agree. I will add tests for basic animations first.', | ||
payload: {}, | ||
author: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
} | ||
}, | ||
|
||
{ | ||
id: 798, | ||
created: 1737660580607, | ||
updated: 1737660580607, | ||
edited: 1737660580607, | ||
parent_id: 796, | ||
repo_id: 22, | ||
pullreq_id: 174, | ||
order: 2, | ||
sub_order: 2, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: 'Tests have been added in PR #123. We can close this discussion.', | ||
payload: {}, | ||
author: { | ||
id: 3, | ||
uid: 'admin', | ||
display_name: 'Administrator', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1699863416002, | ||
updated: 1699863416002 | ||
} | ||
}, | ||
{ | ||
id: 792, | ||
created: 1737660563002, | ||
|
12 changes: 12 additions & 0 deletions
12
apps/design-system/src/subjects/views/repo-empty/repo-empty-view.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { RepoEmptyView } from '@harnessio/ui/views' | ||
|
||
export const RepoEmpty = () => { | ||
return ( | ||
<RepoEmptyView | ||
httpUrl="https://github.com/mock-repo" | ||
repoName="mock-repo" | ||
projName="mock-project" | ||
sshUrl="[email protected]:mock-repo.git" | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ export default function ReposListPage() { | |
space_ref: `${spaceURL}/+` | ||
}, | ||
{ | ||
retry: false | ||
retry: 5 | ||
} | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.