Ghost/apps/admin-x-settings/src
Ronald Langeveld 8193040f29
Fixed analytics exports to fetch on demand in Admin X (#17802)
refs https://ghost.slack.com/archives/C0568LN2CGJ/p1692804385770949

- Analytics exports was previously retrieved on on page load instead of
on demand.
- This fixes that to ensure it gets fetched when the user hits the
download button.
- Renamed the file saving to `post-analytics.yyyy-mm-dd.csv`

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 2c96e78</samp>

Improved the export posts feature in the membership settings by fetching
the data only on demand and adding a date to the file name. Modified the
`usePostsExports` hook and the `exportPosts` function in
`Analytics.tsx`.
2023-08-23 18:18:44 +02:00
..
admin-x-ds Added tests for custom integrations (#17770) 2023-08-22 11:25:25 +01:00
api Wired up Slack integration in AdminX (#17781) 2023-08-22 12:15:38 +01:00
assets AdminX Labs static UI (#17754) 2023-08-18 04:55:50 +00:00
components Fixed analytics exports to fetch on demand in Admin X (#17802) 2023-08-23 18:18:44 +02:00
hooks Wired up Slack integration in AdminX (#17781) 2023-08-22 12:15:38 +01:00
styles
utils Added debounce to design modal on Admin X (#17793) 2023-08-23 13:59:43 +02:00
App.tsx Static Tips & Donations settings in AdminX (#17757) 2023-08-18 06:20:46 +00:00
index.tsx
main.tsx Wired up Zapier integration in AdminX (#17737) 2023-08-16 18:59:31 +01:00
typings.d.ts
vite-env.d.ts