Skip to content
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

Feature: Liking project submissions with Hotwire #3929

Merged
merged 1 commit into from
Jul 11, 2023

Commits on Jul 10, 2023

  1. Feature: Liking project submissions with Hotwire

    Because:
    * We are moving our React components to Hotwire
    
    This commit:
    * Add like view component to encapsulate the like button.
    * Add like singular resource route and controller - now with a proper delete route instead of reusing the create action.
    * Decorates submissions with current user likes when they are being fetched. This saves us from checking each one individually and hitting the database each time.
    * Adds a reusable sorting stimulus controller - can be used to automatically sort lists on page load or when a list item changes.
    KevinMulhern committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    f3a5829 View commit details
    Browse the repository at this point in the history