SWSteven Wanderskiinblog.stevenwanderski.com·Aug 2, 2024 · 4 min readProject DoList: Drop-Down ActionsIn this article we will add the drop-down menus for tasks and projects that contain the "Edit" and "Delete" controls. We'll be utilizing AlpineJS to handle the visibility of each menu. Task Drop-Down Menu Let's start by changing the markup for each t...00
SWSteven Wanderskiinblog.stevenwanderski.com·Jul 27, 2024 · 4 min readProject DoList: Sortable Tasks and ProjectsIn this article we will add the ability to sort Tasks and Projects. We will need to do the following: Install a frontend sorting library Install a backend sorting library Save the new record order on sort Install Frontend Sorting For the fronten...00
SWSteven Wanderskiinblog.stevenwanderski.com·Jul 25, 2024 · 8 min readProject DoList: TasksIn this article we will add the ability to manage tasks per project and then mark them as completed. Create the Task Model Run the following command to generate the Task model and DB migration: bin/rails g model Task user_id:integer project_id:intege...00B
SWSteven Wanderskiinblog.stevenwanderski.com·Jul 20, 2024 · 10 min readProject DoList: "Project" CRUD / HotwireThis article will describe how to create the Project CRUD pages (Create, Read, Update, Delete) and then wire it all up with Hotwire Turbo. Create the Project Model Let's first create the Project model: bin/rails g model Project user_id:integer name ...00
SWSteven Wanderskiinblog.stevenwanderski.com·Jul 15, 2024 · 8 min readProject DoList: User AuthenticationThis article will describe how to setup user authentication (sign up, sign in, forgot password) using Devise (https://github.com/heartcombo/devise). Install Devise To begin, perform the following steps: Add gem "devise" to the Gemfile Run bundle in...00