Deleting link pages

46 views
14 hours watched
4 completions

Now that we can create and edit link pages, we need to be able to delete them, too!

Video thumbnail

Log in

This lesson is free, but you need to log in to get full access to the video and lesson content.

Join 4.6K+ learners from companies like Shopify, Microsoft, Tiktok, AppSumo and Instacart.

Initial Attempt

We started by adding the ability to delete link pages. Initially, we considered adding this functionality to the existing link page edit page. However, we decided it would be more convenient to have a delete option directly on the dashboard's link page list.

Implementing the Delete Button

We added a delete button to the link page list, which was supposed to trigger a modal. However, there were some issues with the modal implementation:

  1. The AI didn't understand our custom modal system.
  2. We needed to use x-modal directives instead of the proposed HTML structure.

Fixing the Modal and Toaster

...

This lesson is free, but you need to log in to view it.

Login →