RSC-Labs/medusa-store-analytics ? reverse-engineered prompt

Reverse engineered prompt

Build me a Medusa store analytics plugin that gives merchants a clear dashboard with the most useful stats about their shop.

I want it to show things like orders, sales, customers, products, and marketing performance, with charts and summary cards that are easy to scan. It should let me switch between a few date ranges, compare two time periods, and filter by order status. For orders, I want views like orders over time, region popularity, sales channel popularity, payment provider popularity, and order frequency. For sales, show sales over time, refunds, and totals by currency. For customers, show new customers, repeat customer rate, and cumulative growth. For products, show top variants, returned variants, sold counts, and out of stock variants. For marketing, show top discounts.

Make it fit cleanly into Medusa and keep the UI simple and modern. If you need current Medusa plugin details, look up the latest docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab