-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improving the styles and functionality of the PR detail page
- Loading branch information
1 parent
6c69d1f
commit f476d27
Showing
22 changed files
with
716 additions
and
330 deletions.
There are no files selected for viewing
297 changes: 297 additions & 0 deletions
297
...ign-system/src/subjects/views/pull-request-conversation/pull-request-conversation-data.ts
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,297 @@ | ||
export const data = [ | ||
{ | ||
author: { | ||
id: 1, | ||
uid: 'user1', | ||
display_name: 'Developer On1e', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
created: 1737724536265, | ||
edited: 1737724536265, | ||
id: 66, | ||
kind: 'change-comment', | ||
order: 1, | ||
parent_id: null, | ||
payload: { | ||
id: 66, | ||
created: 1737724536265, | ||
updated: 1737733066705, | ||
edited: 1737724536265, | ||
parent_id: null, | ||
repo_id: 2, | ||
pullreq_id: 11, | ||
order: 1, | ||
sub_order: 0, | ||
type: 'code-comment', | ||
kind: 'change-comment', | ||
text: 'Added import for tailwindcss-animate and PluginAPI configuration', | ||
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 | ||
}, | ||
resolved: 1737733066705, | ||
author: { | ||
id: 1, | ||
uid: 'user1', | ||
display_name: 'Developer One', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
resolver: { | ||
id: 1, | ||
uid: 'user1', | ||
display_name: 'Developer One', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
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 | ||
} | ||
}, | ||
pullreq_id: 11, | ||
repo_id: 2, | ||
resolved: 1737733066705, | ||
resolver: { | ||
id: 1, | ||
uid: 'user1', | ||
display_name: 'Developer One', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
sub_order: 0, | ||
text: 'Added import for tailwindcss-animate and PluginAPI configuration', | ||
type: 'code-comment', | ||
updated: 1737733066705 | ||
}, | ||
{ | ||
author: { | ||
id: 2, | ||
uid: 'user2', | ||
display_name: 'Developer Two', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
created: 1737726929298, | ||
edited: 1737726929298, | ||
id: 67, | ||
kind: 'change-comment', | ||
order: 1, | ||
parent_id: 66, | ||
payload: { | ||
id: 67, | ||
created: 1737726929298, | ||
updated: 1737726929298, | ||
edited: 1737726929298, | ||
parent_id: 66, | ||
repo_id: 2, | ||
pullreq_id: 11, | ||
order: 1, | ||
sub_order: 1, | ||
type: 'comment', | ||
kind: 'change-comment', | ||
text: 'This import will help with animation configurations', | ||
payload: {}, | ||
author: { | ||
id: 2, | ||
uid: 'user2', | ||
display_name: 'Developer Two', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
} | ||
}, | ||
pullreq_id: 11, | ||
repo_id: 2, | ||
sub_order: 1, | ||
text: 'This import will help with animation configurations', | ||
type: 'comment', | ||
updated: 1737726929298 | ||
}, | ||
{ | ||
author: { | ||
id: 3, | ||
uid: 'user3', | ||
display_name: 'Developer Three', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
created: 1737727497246, | ||
edited: 1737727497246, | ||
id: 68, | ||
kind: 'comment', | ||
order: 2, | ||
parent_id: null, | ||
payload: { | ||
id: 68, | ||
created: 1737727497246, | ||
updated: 1737737257708, | ||
edited: 1737727497246, | ||
parent_id: null, | ||
repo_id: 2, | ||
pullreq_id: 11, | ||
order: 2, | ||
sub_order: 0, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: "Let's discuss the plugin configuration approach", | ||
payload: {}, | ||
resolved: 1737737257708, | ||
author: { | ||
id: 3, | ||
uid: 'user3', | ||
display_name: 'Developer Three', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
resolver: { | ||
id: 3, | ||
uid: 'user3', | ||
display_name: 'Developer Three', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
} | ||
}, | ||
pullreq_id: 11, | ||
repo_id: 2, | ||
resolved: 1737737257708, | ||
resolver: { | ||
id: 3, | ||
uid: 'user3', | ||
display_name: 'Developer Three', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
sub_order: 0, | ||
text: "Let's discuss the plugin configuration approach", | ||
type: 'comment', | ||
updated: 1737737257708 | ||
}, | ||
{ | ||
author: { | ||
id: 4, | ||
uid: 'user4', | ||
display_name: 'Developer Four', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
created: 1737735053391, | ||
edited: 1737735053391, | ||
id: 69, | ||
kind: 'comment', | ||
order: 2, | ||
parent_id: 68, | ||
payload: { | ||
id: 69, | ||
created: 1737735053391, | ||
updated: 1737735053391, | ||
edited: 1737735053391, | ||
parent_id: 68, | ||
repo_id: 2, | ||
pullreq_id: 11, | ||
order: 2, | ||
sub_order: 1, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: 'We should consider adding type definitions', | ||
payload: {}, | ||
author: { | ||
id: 4, | ||
uid: 'user4', | ||
display_name: 'Developer Four', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
} | ||
}, | ||
pullreq_id: 11, | ||
repo_id: 2, | ||
sub_order: 1, | ||
text: 'We should consider adding type definitions', | ||
type: 'comment', | ||
updated: 1737735053391 | ||
}, | ||
{ | ||
author: { | ||
id: 5, | ||
uid: 'user5', | ||
display_name: 'Developer Five', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
}, | ||
created: 1737735323065, | ||
edited: 1737735323065, | ||
id: 70, | ||
kind: 'comment', | ||
order: 2, | ||
parent_id: 68, | ||
payload: { | ||
id: 70, | ||
created: 1737735323065, | ||
updated: 1737735323065, | ||
edited: 1737735323065, | ||
parent_id: 68, | ||
repo_id: 2, | ||
pullreq_id: 11, | ||
order: 2, | ||
sub_order: 2, | ||
type: 'comment', | ||
kind: 'comment', | ||
text: 'I suggest we also include documentation for the animation options', | ||
payload: {}, | ||
author: { | ||
id: 5, | ||
uid: 'user5', | ||
display_name: 'Developer Five', | ||
email: '[email protected]', | ||
type: 'user', | ||
created: 1736953478893, | ||
updated: 1736953614668 | ||
} | ||
}, | ||
pullreq_id: 11, | ||
repo_id: 2, | ||
sub_order: 2, | ||
text: 'I suggest we also include documentation for the animation options', | ||
type: 'comment', | ||
updated: 1737735323065 | ||
} | ||
] |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.