Ghost/apps
Ronald Langeveld 39c568b0b9
Refactored Pintura integration hook configuration (#18813)
no issue

- Refactored the Pintura integration to be easier to implement and also
more accurately display whether it's enabled or not.

---

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

This pull request refactors the code related to the Pintura image editor
integration in the admin settings. It introduces a custom hook that
handles the logic of checking and updating the integration status and
settings, and simplifies the UI components that use the hook. It also
removes unnecessary variables and props from the components and the
hook. The affected files are `Integrations.tsx`, `UserDetailModal.tsx`,
`BrandSettings.tsx`, `usePinturaEditor.ts`, `Facebook.tsx`, and
`Twitter.tsx`.
2023-11-01 13:06:24 +07:00
..
admin-x-settings Refactored Pintura integration hook configuration (#18813) 2023-11-01 13:06:24 +07:00
announcement-bar Update TryGhost packages 2023-10-31 20:54:17 +01:00
comments-ui Released Comments-UI v0.13.2 2023-10-26 15:42:15 +02:00
portal Update dependency vite to v4.5.0 2023-10-24 09:13:06 +02:00
signup-form Fixed typos (#18648) 2023-10-31 15:21:44 +00:00
sodo-search Update TryGhost packages 2023-10-31 20:54:17 +01:00