KURE Community Curation App, Fundition Update - Storing Layout View Preference
The layout grid view has been revamped, but if you prefer the list layout like myself, you can pick that view, and each time you visit the site it will load as the default view for your experience on KURE.
Completed Tasks
Saving Layout Preference
Github commits for work done
Video demonstration
None this time.
Saving Layout Preference
When choosing a layout view, rather than it resetting when you open a new page or when you go back to the site later after closing it, it now is stored/saved for reuse. This makes your preferred layour view persist across visits, rather than always having to change and pick the view you like. This is done through localStorage in the browser.
The settings are handled in Redux where both the state (through a dispatch), and the localStorage is updated.
When a page for Steeem content loads, it calls the initViewStorage
to get the stored layout view settings. If this is the first time you visit the site or have never changed the view, then the stored value doesn't exist and will return null
. If there is a boolean value, then the layout view is set in the broswer via a Redux dispatch.
Ongoing Tasks
Look forward to these tasks and others I come up with being worked on next :)
- Adding sort functions to the Communities and Kurated pages
- Liking Kurated post submissions in communities
- Rating Kurated post submissions in communities
- Tweak comments (limit to 20, show more option, max nested depth)
- Implement PRPL Pattern for better performance
- Viewing comments in their own page view
- Follows, Followers and Post Count on user pages
- Dark skin for the site
- Selecting posts to vote at a later time
- Improve Blog page, with rep, description and location
- Add a settings page
- Add nsfw filtering
- Add progressive image loading
- Flag a post
- Steem Wallet
Additional Tasks
None to add.
If you appreciate and value the content, please consider: Upvoting, Sharing or Reblogging below.
me for more content to come!
Like what I do? Then consider giving me a vote on the Witness page :) Thanks!
My goal is to share knowledge, truth and moral understanding in order to help change the world for the better. If you appreciate and value what I do, please consider supporting me as a Steem Witness by voting for me at the bottom of the Witness page.
Posted from KURE