From the course: Build with AI: Create a Follow-Up App with React, Supabase, and Cursor

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Admin dashboard completion

Admin dashboard completion

- [Instructor] Our application is near ready. In this lesson we'll add filtering controls, send followup buttons that trigger our Edge function and UIs for selecting email templates so that both super admins and sub admins have everything they need to manage and follow up leads. You need to let admins filter leads by status, source or dates. So let's give Cursor an instruction. So update LeadsTable to include filter controls above the table, a dropdown for source, which is All, Google, Referral, Others. Then a date range picker for submitted_at which is from and to, then don't forget to say okay, you're going to add styling because they already understand the styling of the application. So we can actually come to our application and try to log in. So let's test this functionality as it says it has been implemented. Signing as a super admin Leads, Filters. So there's an adjustment here which can be fixed,…

Contents