1+ // Temporary mock data for testing the PR list modal functionality
2+ export const mockContributors = [
3+ {
4+ username : "testuser1" ,
5+ avatar : "https://github.com/testuser1.png" ,
6+ profile : "https://github.com/testuser1" ,
7+ points : 50 ,
8+ prs : 5 ,
9+ prDetails : [
10+ {
11+ title : "Add new feature: user authentication system" ,
12+ url : "https://github.com/recodehive/repo1/pull/123" ,
13+ mergedAt : "2024-01-15T10:30:00Z" ,
14+ repoName : "auth-service" ,
15+ number : 123
16+ } ,
17+ {
18+ title : "Fix: resolve security vulnerability in login flow" ,
19+ url : "https://github.com/recodehive/repo1/pull/124" ,
20+ mergedAt : "2024-01-14T14:22:00Z" ,
21+ repoName : "auth-service" ,
22+ number : 124
23+ } ,
24+ {
25+ title : "Update documentation for API endpoints" ,
26+ url : "https://github.com/recodehive/repo2/pull/45" ,
27+ mergedAt : "2024-01-13T09:15:00Z" ,
28+ repoName : "api-docs" ,
29+ number : 45
30+ } ,
31+ {
32+ title : "Implement dark mode toggle component" ,
33+ url : "https://github.com/recodehive/repo3/pull/67" ,
34+ mergedAt : "2024-01-12T16:45:00Z" ,
35+ repoName : "ui-components" ,
36+ number : 67
37+ } ,
38+ {
39+ title : "Optimize database queries for better performance" ,
40+ url : "https://github.com/recodehive/repo1/pull/125" ,
41+ mergedAt : "2024-01-11T11:30:00Z" ,
42+ repoName : "backend-core" ,
43+ number : 125
44+ }
45+ ]
46+ } ,
47+ {
48+ username : "testuser2" ,
49+ avatar : "https://github.com/testuser2.png" ,
50+ profile : "https://github.com/testuser2" ,
51+ points : 30 ,
52+ prs : 3 ,
53+ prDetails : [
54+ {
55+ title : "Add responsive design to landing page" ,
56+ url : "https://github.com/recodehive/repo4/pull/89" ,
57+ mergedAt : "2024-01-10T13:20:00Z" ,
58+ repoName : "frontend-website" ,
59+ number : 89
60+ } ,
61+ {
62+ title : "Fix mobile navigation menu issue" ,
63+ url : "https://github.com/recodehive/repo4/pull/90" ,
64+ mergedAt : "2024-01-09T08:45:00Z" ,
65+ repoName : "frontend-website" ,
66+ number : 90
67+ } ,
68+ {
69+ title : "Add unit tests for utility functions" ,
70+ url : "https://github.com/recodehive/repo5/pull/12" ,
71+ mergedAt : "2024-01-08T15:30:00Z" ,
72+ repoName : "utils-library" ,
73+ number : 12
74+ }
75+ ]
76+ } ,
77+ {
78+ username : "testuser3" ,
79+ avatar : "https://github.com/testuser3.png" ,
80+ profile : "https://github.com/testuser3" ,
81+ points : 20 ,
82+ prs : 2 ,
83+ prDetails : [
84+ {
85+ title : "Update README with installation instructions" ,
86+ url : "https://github.com/recodehive/repo6/pull/23" ,
87+ mergedAt : "2024-01-07T12:15:00Z" ,
88+ repoName : "documentation" ,
89+ number : 23
90+ } ,
91+ {
92+ title : "Add error handling for API failures" ,
93+ url : "https://github.com/recodehive/repo7/pull/34" ,
94+ mergedAt : "2024-01-06T10:00:00Z" ,
95+ repoName : "error-handling" ,
96+ number : 34
97+ }
98+ ]
99+ }
100+ ] ;
0 commit comments