-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #263 - Added fetching and rendering of data from the backend to the frontend #346
Closed
Closed
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9db5a65
Fixes #263
lucacataldo a2b8253
Fixes #263
lucacataldo 71f9bd2
Fixes #263 cleanup
lucacataldo d837d72
Fixes #263 - remove temp fix in package.json
lucacataldo 85a65f2
#263 - Resolved conflicts for merge
lucacataldo 2631827
Updated using @humphd's integrated code
lucacataldo 94c7873
added limit to posts being fetched
lucacataldo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 was deleted.
Oops, something went wrong.
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,84 @@ | ||
{ | ||
"participants": [ | ||
{ | ||
"name": "John Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John S. Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smithers", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smiths", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "Smith Johnson", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smiths", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "Smith Johnson", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John S. Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smithers", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John S. Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smithers", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smithers", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smiths", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "Smith Johnson", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smiths", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "Smith Johnson", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John Smith", | ||
"url": "https://www.google.ca" | ||
}, | ||
{ | ||
"name": "John S. Smith", | ||
"url": "https://www.google.ca" | ||
} | ||
] | ||
} |
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,35 @@ | ||
{ | ||
"page": 1, | ||
"posts": [ | ||
{ | ||
"title": "A Telescope Blog Post A Telescope Blog Post", | ||
"author": "Tim Berners Lee", | ||
"content": "<p>Hello friends,</p>\n\n\n\n<p></p>\n\n\n\n<p>October is right around the corner and that means a lot of different “fests” are here. The one that has myself really excited for is <a href=https://hacktoberfest.digitalocean.com/>Hacktober Fest</a>. The premise is that it promotes open-source projects and development by having developers create a minimum of four pull requests. Also, the first 50,000 people who have four pull request get a free t-shirt! I have set myself up with some goals that I want to hit in this short period of time and have looked into issues/projects that help with it.</p>\n\n\n\n<h2>Personal Goals</h2>\n\n\n\n<ol><li>Improve my Javascript/Web programming skills</li><li>Work on a project that creates a helpful impact on the world</li></ol>\n\n\n\n<p>My goals are pretty broad and I feel are definitely attainable. I’d like to improve on my web-based programming skill since it is something I feel can be very useful for the future, but also help me immediately with my current projects that I am working on. Also, working on something that creates a helpful impact on the world is just something I feel everyone would love to do. I’d hope my work and code do good, not evil.</p>\n\n\n\n<h2>Possible Issues</h2>\n\n\n\n<h3>Issue #1</h3>\n\n\n\n<p><a href=https://github.com/layer5io/meshery/issues/304>meshery – Collapsable Navigation Menu</a></p>\n\n\n\n<p>This is basically updating meshery navigation menu. They want there navigation on the left to be able to collapse the left and not take up as much space. I believe this will help improve my JavaScript skills and will be useful to know in the future.</p>\n\n\n\n<h3>Issue #2</h3>\n\n\n\n<p><a href=https://github.com/yunity/karrot-frontend/issues/1555>karrot – Notify logged-out unsubscribtion via email</a></p>\n\n\n\n<p>This issue will a bit more challenging, but I feel it help push me to be a better developer. Also, I feel like notifying people via email will be a useful thing later down the road for other projects, so I might as well take a crack at it now.</p>\n\n\n\n<h3>Issue #3</h3>\n\n\n\n<p><a href=https://github.com/yunity/karrot-frontend/issues/1555>curosity – No option to enter a new tokencurosity</a></p>\n\n\n\n<p>Again, I think this issue will something I will need to learn down the road. It’s essentially making checking the token the user has is valid or still there; if it’s deleted, instead of throwing a bunch or errors they’d like to user to be prompted to add a new token. It’s something I might need to learn later, so I might as well learn it now.</p>\n\n\n\n<p>For most of the issues, I will have to really look at their code and try to grasp what is going on and how it is being done. I will then try to recreate the error and begin to search for the cause. This will lead me to figuring out a way to tackle the problem. All thats left after that is fixing the issue. </p>\n\n\n\n<h2>All in all</h2>\n\n\n\n<p>Hopefully, it’s a successful Hacktober Fest and I end up with a free t-shirt.</p>', postURL: 'https://neilong31.wordpress.com/2019/09/25/hacktober-fest/", | ||
"updated": "2019-11-28T23:15:30.000Z", | ||
"published": "2019-11-28T23:15:30.000Z", | ||
"url": "https://neilong31.wordpress.com/2019/09/13/web-based-note-taker-forevernote/", | ||
"site": "https://neilong31.wordpress.com/", | ||
"guid": "tag:blogger.com,1999:blog-3586542501367863430.post-1706207209862339192" | ||
}, | ||
{ | ||
"title": "First Issue (Hacktober Fest)", | ||
"author": "Neil", | ||
"content": "<p>Hello friends,</p>\n\n\n\n<p>Hacktober Fest is upon us and that means issues galore. As you guys know I’ve decided to participate in this years <a href='https://hacktoberfest.digitalocean.com/'>Hacktober Fest</a> (need that sweet merch). That means I am tasked with submitting four different pull request. It took me a while, but I found <a href='https://github.com/BlythMeister/Fitbit-Overview-Face/pull/26'>one</a> that was a decent beginner issue.</p>\n\n\n\n<p></p>\n\n\n\n<h2>Issue At Hand</h2>\n\n\n\n<p>The issue that I found was for <a href='https://github.com/BlythMeister'>Chris Blyth</a> and his <a href='https://github.com/BlythMeister/Fitbit-Overview-Face'>Fitbit-Overview-Face</a>. It’s his own repository for creating his own <a href='https://gallery.fitbit.com/details/7c4f7506-8ed8-4eb9-84e3-28b85671f26b'>custom face for fitbit watches.</a> </p>\n\n\n\n<figure class='wp-block-image size-large'><img data-attachment-id='55' data-permalink='https://neilong31.wordpress.com/fitbitsite/' data-orig-file='https://neilong31.files.wordpress.com/2019/10/fitbitsite.png' data-orig-size='1403,748' data-comments-opened='1' data-image-meta='{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}' data-image-title='fitbitsite' data-image-description='' data-medium-file='https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=300' data-large-file='https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=750' src='https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=1024' alt='' class='wp-image-55' srcset='https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=1024 1024w, https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=150 150w, https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=300 300w, https://neilong31.files.wordpress.com/2019/10/fitbitsite.png?w=768 768w, https://neilong31.files.wordpress.com/2019/10/fitbitsite.png 1403w' sizes='(max-width: 1024px) 100vw, 1024px' /></figure>\n\n\n\n<p>The <a href='https://github.com/BlythMeister/Fitbit-Overview-Face/issues/25'>issue</a> at hand was adding a new date format for his custom face. Once I got the go-ahead to start working on it I started to skim/scan through his code. I found where he kept and created new date formats under his date.js file in his getDateInFormat function. The original code for the function can be seen below</p>\n\n\n\n<figure class='wp-block-image size-large'><img data-attachment-id='57' data-permalink='https://neilong31.wordpress.com/fitbitdate/' data-orig-file='https://neilong31.files.wordpress.com/2019/10/fitbitdate.png' data-orig-size='1057,675' data-comments-opened='1' data-image-meta='{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}' data-image-title='fitbitdate' data-image-description='' data-medium-file='https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=300' data-large-file='https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=750' src='https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=1024' alt='' class='wp-image-57' srcset='https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=1024 1024w, https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=150 150w, https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=300 300w, https://neilong31.files.wordpress.com/2019/10/fitbitdate.png?w=768 768w, https://neilong31.files.wordpress.com/2019/10/fitbitdate.png 1057w' sizes='(max-width: 1024px) 100vw, 1024px' /></figure>\n\n\n\n<p>I scanned through the function and noticed the style he wrote it and how we wrote the code the other date formats. So, I followed suit and created the requested date format in the same style as the others. All I had to do was rearrange the return statement to ensure the code was following the right format. The code for the new date format can be seen below</p>\n\n\n\n<figure class='wp-block-image size-large'><img data-attachment-id='58' data-permalink='https://neilong31.wordpress.com/fitbitfix/' data-orig-file='https://neilong31.files.wordpress.com/2019/10/fitbitfix.png' data-orig-size='1087,598' data-comments-opened='1' data-image-meta='{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}' data-image-title='fitbitfix' data-image-description='' data-medium-file='https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=300' data-large-file='https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=750' src='https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=1024' alt='' class='wp-image-58' srcset='https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=1024 1024w, https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=150 150w, https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=300 300w, https://neilong31.files.wordpress.com/2019/10/fitbitfix.png?w=768 768w, https://neilong31.files.wordpress.com/2019/10/fitbitfix.png 1087w' sizes='(max-width: 1024px) 100vw, 1024px' /></figure>\n\n\n\n<h2>In the End</h2>\n\n\n\n<p>In the end the code for the issue wasn’t all that difficult, but it was a good way for getting my feet wet in the Open-Source world. It did help me by learning how to identify issues and how to find scan and understand someone else’s code. This will help later down the road with more complex and bigger projects. As of 4:03PM EST 10/4/2019 my pull request has not been viewed or merged.</p>", | ||
"updated": "2019-11-28T23:15:30.000Z", | ||
"published": "2019-11-28T23:15:30.000Z", | ||
"url": "https://neilong31.wordpress.com/2019/10/04/first-issue-hacktober-fest/", | ||
"site": "https://neilong31.wordpress.com/", | ||
"guid": "tag:blogger.com,1999:blog-3586542501367863430.post-1706207209862339193" | ||
}, | ||
{ | ||
"title": "A Very Extremely Quite Long Blog Post Title For Testing Overflow A Very Extremely Quite Long Blog Post Title For Testing Overflow", | ||
"author": "Tim Berners Lee", | ||
"content": "<p>Hello friends,</p>\n\n\n\n<p></p>\n\n\n\n<p>October is right around the corner and that means a lot of different “fests” are here. The one that has myself really excited for is <a href=https://hacktoberfest.digitalocean.com/>Hacktober Fest</a>. The premise is that it promotes open-source projects and development by having developers create a minimum of four pull requests. Also, the first 50,000 people who have four pull request get a free t-shirt! I have set myself up with some goals that I want to hit in this short period of time and have looked into issues/projects that help with it.</p>\n\n\n\n<h2>Personal Goals</h2>\n\n\n\n<ol><li>Improve my Javascript/Web programming skills</li><li>Work on a project that creates a helpful impact on the world</li></ol>\n\n\n\n<p>My goals are pretty broad and I feel are definitely attainable. I’d like to improve on my web-based programming skill since it is something I feel can be very useful for the future, but also help me immediately with my current projects that I am working on. Also, working on something that creates a helpful impact on the world is just something I feel everyone would love to do. I’d hope my work and code do good, not evil.</p>\n\n\n\n<h2>Possible Issues</h2>\n\n\n\n<h3>Issue #1</h3>\n\n\n\n<p><a href=https://github.com/layer5io/meshery/issues/304>meshery – Collapsable Navigation Menu</a></p>\n\n\n\n<p>This is basically updating meshery navigation menu. They want there navigation on the left to be able to collapse the left and not take up as much space. I believe this will help improve my JavaScript skills and will be useful to know in the future.</p>\n\n\n\n<h3>Issue #2</h3>\n\n\n\n<p><a href=https://github.com/yunity/karrot-frontend/issues/1555>karrot – Notify logged-out unsubscribtion via email</a></p>\n\n\n\n<p>This issue will a bit more challenging, but I feel it help push me to be a better developer. Also, I feel like notifying people via email will be a useful thing later down the road for other projects, so I might as well take a crack at it now.</p>\n\n\n\n<h3>Issue #3</h3>\n\n\n\n<p><a href=https://github.com/yunity/karrot-frontend/issues/1555>curosity – No option to enter a new tokencurosity</a></p>\n\n\n\n<p>Again, I think this issue will something I will need to learn down the road. It’s essentially making checking the token the user has is valid or still there; if it’s deleted, instead of throwing a bunch or errors they’d like to user to be prompted to add a new token. It’s something I might need to learn later, so I might as well learn it now.</p>\n\n\n\n<p>For most of the issues, I will have to really look at their code and try to grasp what is going on and how it is being done. I will then try to recreate the error and begin to search for the cause. This will lead me to figuring out a way to tackle the problem. All thats left after that is fixing the issue. </p>\n\n\n\n<h2>All in all</h2>\n\n\n\n<p>Hopefully, it’s a successful Hacktober Fest and I end up with a free t-shirt.</p>', postURL: 'https://neilong31.wordpress.com/2019/09/25/hacktober-fest/", | ||
"updated": "2019-11-28T23:15:30.000Z", | ||
"published": "2019-11-28T23:15:30.000Z", | ||
"url": "https://neilong31.wordpress.com/2019/09/13/web-based-note-taker-forevernote/", | ||
"site": "https://neilong31.wordpress.com/", | ||
"guid": "tag:blogger.com,1999:blog-3586542501367863430.post-1706207209862339194" | ||
} | ||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of these files should be changed in your branch as far as I can tell. We've had people overwrite these already in the past few days, I'm not eager to repeat it. If I'm wrong and you do need these to be updated, let me know why.