issues
search
scaffeinate
/
socify
:rocket: Socify is an open source social networking platform written in Ruby on Rails
http://socifyapp.herokuapp.com
GNU General Public License v2.0
375
stars
211
forks
source link
Feature/posts
#39
Closed
scaffeinate
closed
7 years ago
scaffeinate
commented
7 years ago
This is part of a major cleanup/refactoring for better code maintainability.
Refactor the posts/form and activity DOM.
Introduced React components to rewrite some of the js and .js.erb flows.
Rewrite some of the partials using React. Find the react components under app/assets/javascripts/components/.
Some of the components include posts/form, comments/form, comments_block, image_preview, link_preview, avatar.
Move css for components to app/assets/stylesheets/components/.
Fix mentionable flow which caused the same queries being repeated.
Removed
auto_html
gem and replaced with
onebox
. Use
twitter-autolink
gem to automatically detect URLs in post and comment content.
Add Link Previews and Image previews when writing a post.
Add Link Preview to comments.
AutoLink the URLs in posts and comments content.
Added a Modal for edit post instead of a separate page.
Format time using javascript(timeago.js) instead of ruby
.
Tons of optimizations to queries and load times.
Remove unwanted templates and js.erb files since it's being handled by react.