-
Notifications
You must be signed in to change notification settings - Fork 1
Edit Posts, Comments and Infinitely Scroll Posts in a Community #16
Commits on Apr 17, 2019
-
Fix for infinite scroll on Steem content
I forgot to carry over the 'action' variable across to the redux store, which made the infinite scroll wouldn't work.
Configuration menu - View commit details
-
Copy full SHA for 4173039 - Browse repository at this point
Copy the full SHA 4173039View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2556d - Browse repository at this point
Copy the full SHA cb2556dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f6b0a1 - Browse repository at this point
Copy the full SHA 9f6b0a1View commit details -
Fixed useless loading symbol when no more data to fetch
When scrolling for posts, the last fetch for data should have set the 'hasMore' to false, but didn't. Instead it would do another fetch and set it when the data was empty. Instead, the 'hasMore' should be set to false when the results are less than the limit for pagination.
Configuration menu - View commit details
-
Copy full SHA for 7c152ad - Browse repository at this point
Copy the full SHA 7c152adView commit details -
Steem posts you authored can now be edited and resubmitted to the Steem blockchain.
Configuration menu - View commit details
-
Copy full SHA for ae57460 - Browse repository at this point
Copy the full SHA ae57460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7104791 - Browse repository at this point
Copy the full SHA 7104791View commit details -
Added Clear button to Write posts page
When editing a post, but decided to not and cancel it, or to instead write a new post, there needed to be a way to clear the form data to start anew, without refreshing the page. Adding a clear button allows the page to be cleaned and ready for new data input.
Configuration menu - View commit details
-
Copy full SHA for ad5d6ab - Browse repository at this point
Copy the full SHA ad5d6abView commit details
Commits on Apr 18, 2019
-
Moved post editing to the post's page itself
The post editing was being done in the Write page. It seemed better to put the editing within the page itself, and not in the page where new posts are done to make it more clear where a user is.
Configuration menu - View commit details
-
Copy full SHA for 97aa0f5 - Browse repository at this point
Copy the full SHA 97aa0f5View commit details -
Comments can now be edited and update the changes to the Steem blockchain.
Configuration menu - View commit details
-
Copy full SHA for 32c93db - Browse repository at this point
Copy the full SHA 32c93dbView commit details -
Fixed edited comment losing child comments
When updating an edited comment, the child comments were lost. This was due to simply copying the updated comment fetch from Steem over the previous comment. When there were replies within the comment, they would be lose because the original comment fetching iterates to fetch child comments as long as there are some.
Configuration menu - View commit details
-
Copy full SHA for 8d44416 - Browse repository at this point
Copy the full SHA 8d44416View commit details
Commits on Apr 19, 2019
-
Added infinite scroll to individual Community pages
The fetching of individual communit data has been moved to Redux. After changing that, the infinite scroll was added to the individual community pages for pagination purposes.
Configuration menu - View commit details
-
Copy full SHA for 08f2b9d - Browse repository at this point
Copy the full SHA 08f2b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f95d390 - Browse repository at this point
Copy the full SHA f95d390View commit details -
Fixed previous community page data displaying on the next
When looking at another community page after already visiting one before, the previous page data was being shown. Adding a clear action to Redux to empty the groupData aobject resolved the issue.
Configuration menu - View commit details
-
Copy full SHA for f8cf110 - Browse repository at this point
Copy the full SHA f8cf110View commit details -
Moved the Join Communities feature to Redux
The join communities functionality was moved to Redux as well.
Configuration menu - View commit details
-
Copy full SHA for 1512a78 - Browse repository at this point
Copy the full SHA 1512a78View commit details -
Fixed no auth user before data fetch
On some pages that used the user name in order to get user related data, the returning user verification in Redux was being returned only after the data fetch was already sent. This made some data return as a not logged in user, when the user was. This was due to the asynchronous redux-thunk in the app. This has been corrected by checking if the redux store has the authenticated user, and if not, go get the username from the cookie instead of waiting for the asynchronous authentication.
Configuration menu - View commit details
-
Copy full SHA for 1bf5113 - Browse repository at this point
Copy the full SHA 1bf5113View commit details -
Fix no auth on Home page, and not logged in bug
The Home page also had the need for the user name. The previous fix is now applied to the Home page. The fix had an issue with non logged in user, as they had no cookie, thus the page would crash beacuse I wasn't testing for that, which I now do.
Configuration menu - View commit details
-
Copy full SHA for 87cbe47 - Browse repository at this point
Copy the full SHA 87cbe47View commit details
Commits on Apr 20, 2019
-
Fixed bug of route change from editing post to new post
When editing a post and then going to write a new one, the post that was edited was staying in view, and the form was not appearing. Clicking on the Write a second time had the form appear and route change. I had to add a check for the reset flag in teh Write component to make sure the edit form fisplayed, rather than the redirect for the edited post.
Configuration menu - View commit details
-
Copy full SHA for 1058eab - Browse repository at this point
Copy the full SHA 1058eabView commit details